]> git.saurik.com Git - bison.git/commit
Do not allow identifiers that start with a negative number.
authorAlex Rozenman <rozenman@gmail.com>
Wed, 5 Jan 2011 13:47:25 +0000 (15:47 +0200)
committerAlex Rozenman <rozenman@gmail.com>
Wed, 5 Jan 2011 14:22:18 +0000 (16:22 +0200)
commitd236ad946b61526197a5e20322416ad99b045d97
tree839604159590e81947de7f8b04de0288e82b66ba
parent9a4292e5806d6e4f22a0d395e525e537adcaf47b
Do not allow identifiers that start with a negative number.

Reported by Paul Hilfinger as a side effect of named references
support at
<http://lists.gnu.org/archive/html/bug-bison/2011-01/msg00000.html>.
Suggested by Paul Eggert.
* src/scan-code.l ({letter}, {id}): Adjust lexical definitions.
* src/scan-gram.l ({letter}, {id}): Likewise.
ChangeLog
src/scan-code.l
src/scan-gram.l