From 5d1cfef46d61877d29ee9d638317f4ca3c3915c9 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 10 Jan 2008 00:58:14 +0000 Subject: [PATCH] * data/yacc.c (yyparse): Correct the comment when locations aren't used. Problem reported by Claudio Saavedra in . --- ChangeLog | 6 ++++++ data/yacc.c | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index dfa0a38c..3c5421aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-01-09 Paul Eggert + + * data/yacc.c (yyparse): Correct the comment when locations aren't used. + Problem reported by Claudio Saavedra in + . + 2008-01-05 Wojciech Polak * data/xslt/xml2xhtml.xsl (xsl:template match="/"): Precede an XHTML diff --git a/data/yacc.c b/data/yacc.c index f76b06f4..32a1e20a 100644 --- a/data/yacc.c +++ b/data/yacc.c @@ -1018,10 +1018,10 @@ b4_c_function_def([yyparse], [int], b4_parse_param) YYSIZE_T yymsg_alloc = sizeof yymsgbuf; #endif - /* Three stacks and their tools: - `yyss': related to states, - `yyvs': related to semantic values, - `yyls': related to locations. + /* The stacks and their tools: + `yyss' is related to states. + `yyvs' is related to semantic values.]b4_locations_if([[ + `yyls' is related to locations.]])[ Refer to the stacks thru separate pointers, to allow yyoverflow to reallocate them elsewhere. */ -- 2.45.2