mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
yysyntax_error: adjust prior fixes for branch-2.5's lalr1.cc.
On master, there is no yychar in lalr1.cc, but there is on branch-2.5, and the prior cherry-pick of "Fix handling of yychar manipulation in user semantic actions" wasn't adjusted for that difference. * data/lalr1.cc (yy::parser::parse): Translate yychar before every use of yytoken, and add comments explaining this approach. * tests/conflicts.at (%error-verbose and consistent errors): Extend to test yychar manipulation with lalr1.cc.
This commit is contained in:
12
ChangeLog
12
ChangeLog
@@ -1,3 +1,15 @@
|
||||
2010-11-07 Joel E. Denny <jdenny@clemson.edu>
|
||||
|
||||
yysyntax_error: adjust prior fixes for branch-2.5's lalr1.cc.
|
||||
On master, there is no yychar in lalr1.cc, but there is on
|
||||
branch-2.5, and the prior cherry-pick of "Fix handling of yychar
|
||||
manipulation in user semantic actions" wasn't adjusted for that
|
||||
difference.
|
||||
* data/lalr1.cc (yy::parser::parse): Translate yychar before
|
||||
every use of yytoken, and add comments explaining this approach.
|
||||
* tests/conflicts.at (%error-verbose and consistent errors):
|
||||
Extend to test yychar manipulation with lalr1.cc.
|
||||
|
||||
2010-11-07 Joel E. Denny <jdenny@clemson.edu>
|
||||
|
||||
yysyntax_error: fix for consistent error with lookahead.
|
||||
|
||||
Reference in New Issue
Block a user