* data/yacc.c (yyparse): Correct the comment when locations aren't used.

Problem reported by Claudio Saavedra in
<http://lists.gnu.org/archive/html/bug-bison/2008-01/msg00003.html>.
This commit is contained in:
Paul Eggert
2008-01-10 00:58:14 +00:00
parent e2dcf9964a
commit 5d1cfef46d
2 changed files with 10 additions and 4 deletions

View File

@@ -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. */