* 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:
Akim Demaille
2002-06-20 11:10:56 +00:00
parent 5c1180b3c4
commit e776192e4f
12 changed files with 213 additions and 204 deletions

View File

@@ -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