mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-11 05:13:04 +00:00
* src/parse-gram.y (YYPRINT, yyprint): Don't mess with the parser
internals. * src/reader.h, src/reader.c (grammar_current_rule_prec_set): Takes a location. * src/symtab.h, src/symtab.c (symbol_class_set) (symbol_user_token_number_set): Likewise. Adjust all callers. Promote complain_at. * tests/input.at (Type Clashes): Adjust.
This commit is contained in:
@@ -97,7 +97,7 @@
|
||||
|
||||
|
||||
#ifndef YYSTYPE
|
||||
#line 91 "parse-gram.y"
|
||||
#line 88 "parse-gram.y"
|
||||
typedef union {
|
||||
symbol_t *symbol;
|
||||
symbol_list_t *list;
|
||||
@@ -105,7 +105,7 @@ typedef union {
|
||||
char *string;
|
||||
associativity assoc;
|
||||
} yystype;
|
||||
/* Line 1313 of /usr/local/share/bison/bison.simple. */
|
||||
/* Line 1331 of /usr/local/share/bison/bison.simple. */
|
||||
#line 110 "y.tab.h"
|
||||
# define YYSTYPE yystype
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user