mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-17 08:13:02 +00:00
* src/symtab.h, src/symtab.c (symbol_from_uniqstr): New.
(symbol_get): Use it. * src/parse-gram.y: Use it.
This commit is contained in:
@@ -97,6 +97,9 @@ struct symbol
|
||||
/* Print a symbol (for debugging). */
|
||||
void symbol_print (symbol *s, FILE *f);
|
||||
|
||||
/* Fetch (or create) the symbol associated to KEY. */
|
||||
symbol *symbol_from_uniqstr (const uniqstr key, location loc);
|
||||
|
||||
/* Fetch (or create) the symbol associated to KEY. */
|
||||
symbol *symbol_get (const char *key, location loc);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user