deterministic user-token-number redeclaration errors.
authorAkim Demaille <demaille@gostai.com>
Wed, 3 Jun 2009 21:15:38 +0000 (23:15 +0200)
committerAkim Demaille <demaille@gostai.com>
Wed, 10 Jun 2009 17:57:45 +0000 (19:57 +0200)
commit95d176ffd9f66a01125c366226e1a557b125e0d8
treed54b4291c09622f8d380c822e6fa82b6cbe6f3bc
parented15d907c5beb3a2a344f8cecd06af20bf14d596
deterministic user-token-number redeclaration errors.

Address nondeterminism reported by Joel E. Denny.
http://lists.gnu.org/archive/html/bison-patches/2009-05/msg00023.html

* src/uniqstr.h: Comment changes.
* src/location.h (boundary_cmp, location_cmp): New.
* src/symtab.c (user_token_number_redeclaration): New.
(symbol_translation): Use it.
* tests/input.at (Numbered tokens): Adjust the expected output.
ChangeLog
src/location.h
src/symtab.c
src/uniqstr.h
tests/input.at