Files
bison/src
Paul Hilfinger 25005f6ab0 * data/glr.c (YYERROR): Update definition.
(yyrecoverSyntaxError): Correct yyerrState logic. Correct comment.
Allow states with only a default reduction.

Fixes to avoid problem that $-N rules in GLR parsers can cause
buffer overruns, corrupting state.

* src/output.c (prepare_rules): Output max_left_semantic_context.
* src/reader.h (max_left_semantic_context): New
* src/scan-gram.l (max_left_semantic_context): Define.
(handle_action_dollar): Update max_left_semantic_context.
* data/glr.c (YYMAXLEFT): New.
(yydoAction): Increase yyrhsVals size.
(yyresolveAction): Ditto.

Fixes to problems with location handling in GLR parsers reported by
Frank Heckenbach (2003/06/05).

* data/glr.c (YYLTYPE): Make trivial if locations not used.
(YYRHSLOC): Add parentheses, make depend on whether locations used.
(YYLLOC_DEFAULT): Ditto.
(yyuserAction): Use YYLLOC_DEFAULT.
(yydoAction): Remove redundant code.

* tests/cxx-type.at: Exercise location information.
(yylex): Track locations.
(stmtMerge): Return value rather than printing.
2003-06-10 02:44:58 +00:00
..
2003-03-14 01:23:04 +00:00
2002-12-11 05:31:12 +00:00
2002-12-11 05:31:40 +00:00
2002-12-11 06:35:10 +00:00
2002-12-26 06:57:29 +00:00
2002-12-11 06:26:42 +00:00
2003-01-02 20:27:54 +00:00
2002-12-11 06:35:10 +00:00
2003-05-24 19:26:35 +00:00
2002-12-11 06:56:18 +00:00
2002-12-13 08:34:16 +00:00
2002-12-13 08:49:08 +00:00
2002-12-11 06:55:34 +00:00
2002-12-13 08:50:13 +00:00
2002-12-13 08:49:39 +00:00