mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 04:13:03 +00:00
* 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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user