mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-21 10:13:03 +00:00
Support yyerrok in lalr1.cc.
YYBACKUP is still to import back into lalr1.cc. * data/lalr1.cc (yyerrork, yyclearin, YYRECOVERING): Define.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2008-08-27 Akim Demaille <demaille@gostai.com>
|
||||||
|
|
||||||
|
Support yyerrok in lalr1.cc.
|
||||||
|
YYBACKUP is still to import back into lalr1.cc.
|
||||||
|
* data/lalr1.cc (yyerrork, yyclearin, YYRECOVERING): Define.
|
||||||
|
|
||||||
2008-08-26 Joel E. Denny <jdenny@ces.clemson.edu>
|
2008-08-26 Joel E. Denny <jdenny@ces.clemson.edu>
|
||||||
|
|
||||||
For maintainer-check*, don't recompile for a $(VERSION) update.
|
For maintainer-check*, don't recompile for a $(VERSION) update.
|
||||||
|
|||||||
@@ -367,9 +367,13 @@ do { \
|
|||||||
|
|
||||||
#endif /* !YYDEBUG */
|
#endif /* !YYDEBUG */
|
||||||
|
|
||||||
|
#define yyerrok (yyerrstatus_ = 0)
|
||||||
|
#define yyclearin (yychar = yyempty_)
|
||||||
|
|
||||||
#define YYACCEPT goto yyacceptlab
|
#define YYACCEPT goto yyacceptlab
|
||||||
#define YYABORT goto yyabortlab
|
#define YYABORT goto yyabortlab
|
||||||
#define YYERROR goto yyerrorlab
|
#define YYERROR goto yyerrorlab
|
||||||
|
#define YYRECOVERING() (!!yyerrstatus_)
|
||||||
|
|
||||||
]b4_namespace_open[
|
]b4_namespace_open[
|
||||||
#if YYERROR_VERBOSE
|
#if YYERROR_VERBOSE
|
||||||
|
|||||||
Reference in New Issue
Block a user