mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-16 15:53:03 +00:00
* src/symtab.h (SALIAS, SUNDEF): Rename as...
(USER_NUMBER_ALIAS, USER_NUMBER_UNDEFINED): these. Adjust dependencies. * src/output.c (token_definitions_output): Be sure not to output a `#define 'a'' when fed with `%token 'a' "a"'. * tests/regression.at (Token definitions): New.
This commit is contained in:
@@ -38,7 +38,7 @@ symbol_new (const char *tag)
|
||||
res->number = NUMBER_UNDEFINED;
|
||||
res->prec = 0;
|
||||
res->assoc = right_assoc;
|
||||
res->user_token_number = SUNDEF;
|
||||
res->user_token_number = USER_NUMBER_UNDEFINED;
|
||||
res->alias = NULL;
|
||||
res->class = unknown_sym;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user