mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-16 07:43:03 +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:
@@ -463,7 +463,7 @@ rhs:
|
||||
|
||||
id:
|
||||
ID
|
||||
{ $$ = symbol_get ($1, @1); }
|
||||
{ $$ = symbol_from_uniqstr ($1, @1); }
|
||||
| CHAR
|
||||
{
|
||||
$$ = symbol_get (char_name ($1), @1);
|
||||
@@ -473,7 +473,7 @@ id:
|
||||
;
|
||||
|
||||
id_colon:
|
||||
ID_COLON { $$ = symbol_get ($1, @1); }
|
||||
ID_COLON { $$ = symbol_from_uniqstr ($1, @1); }
|
||||
;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user