]> git.saurik.com Git - bison.git/commit - src/symtab.c
* src/symtab.h (SUNDEF): New.
authorAkim Demaille <akim@epita.fr>
Fri, 2 Nov 2001 15:27:11 +0000 (15:27 +0000)
committerAkim Demaille <akim@epita.fr>
Fri, 2 Nov 2001 15:27:11 +0000 (15:27 +0000)
commit6b7e85b9940d4313ab2f1663a449fdcb8b61df4b
treeb565eb878c67b881e43da00e48fe4df87c75da37
parentcd5aafcf8ccf2fb098ea08e933c3b1541cb7545b
* src/symtab.h (SUNDEF): New.
* src/symtab.c (bucket_new): Init user_token_number to SUNDEF to
stand for `uninitialized', instead of 0.
* src/reader.c (packsymbols, parse_thong_decl): Adjust.
* src/lex.c (lex): Adjust.
* tests/calc.at (_AT_DATA_CALC_Y): Declare a token for EOF.
Number it 0.
Let yylex return it instead of a plain 0.
Reported by Dick Streefland.
ChangeLog
src/lex.c
src/reader.c
src/symtab.c
src/symtab.h
tests/calc.at