mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
* src/parse-gram.y (rules_or_grammar_declaration): Add an error
recovery rule, and forbid extensions when --yacc. (gram_error): Use complain_at. * src/reader.c (reader): Exit if there were parse errors.
This commit is contained in:
@@ -128,7 +128,7 @@
|
||||
|
||||
|
||||
#ifndef YYSTYPE
|
||||
#line 88 "parse-gram.y"
|
||||
#line 89 "parse-gram.y"
|
||||
typedef union {
|
||||
symbol_t *symbol;
|
||||
symbol_list_t *list;
|
||||
@@ -136,7 +136,7 @@ typedef union {
|
||||
char *string;
|
||||
associativity assoc;
|
||||
} yystype;
|
||||
/* Line 1271 of /home/lrde/prof/akim/src/bison/data/yacc.c. */
|
||||
/* Line 1271 of /usr/local/share/bison/yacc.c. */
|
||||
#line 141 "y.tab.h"
|
||||
# define YYSTYPE yystype
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user