mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-14 23:03:04 +00:00
code_props: factor more.
* src/symtab.h, src/symtab.c (code_props_type_string): No longer static. * src/output.c (CODE_PROPS): Remove, we can now iterate on both the destructor and the printer. (SET_KEY2): New.
This commit is contained in:
@@ -154,7 +154,10 @@ void symbol_print (symbol *s, FILE *f);
|
||||
/** Is this a dummy nonterminal? */
|
||||
bool symbol_is_dummy (const symbol *sym);
|
||||
|
||||
/** Return the name of the symbol that can be used as an identifier.
|
||||
/** The name of the code_props type: "\%destructor" or "\%printer". */
|
||||
char const *code_props_type_string (code_props_type kind);
|
||||
|
||||
/** The name of the symbol that can be used as an identifier.
|
||||
** Consider the alias if needed.
|
||||
** Return 0 if there is none (e.g., the symbol is only defined as
|
||||
** a string). */
|
||||
|
||||
Reference in New Issue
Block a user