mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-17 00:03:03 +00:00
symbols: set tag_seen when assigning a type to symbols
* src/reader.h, src/reader.c (tag_seen): Move to... * src/symtab.h, src/symtab.c: here. (symbol_type_set): Set it to true. * src/parse-gram.y: Don't.
This commit is contained in:
@@ -248,6 +248,8 @@ extern symbol *startsymbol;
|
||||
/** The location of the \c \%start declaration. */
|
||||
extern location startsymbol_location;
|
||||
|
||||
/** Whether a symbol declared with a type tag. */
|
||||
extern bool tag_seen;
|
||||
|
||||
|
||||
/*-------------------.
|
||||
|
||||
Reference in New Issue
Block a user