* 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:
Akim Demaille
2006-06-20 11:39:22 +00:00
parent 1b818f33ad
commit 203b927414
6 changed files with 142 additions and 122 deletions

View File

@@ -150,7 +150,7 @@
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
#line 97 "parse-gram.y"
#line 97 "../../src/parse-gram.y"
{
symbol *symbol;
symbol_list *list;
@@ -161,7 +161,7 @@ typedef union YYSTYPE
unsigned char character;
}
/* Line 1529 of yacc.c. */
#line 165 "parse-gram.h"
#line 165 "../../src/parse-gram.h"
YYSTYPE;
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1