]> git.saurik.com Git - bison.git/commit - src/reader.c
When a literal string is used to define two different tokens,
authorAkim Demaille <akim@epita.fr>
Wed, 4 Oct 2000 11:52:53 +0000 (11:52 +0000)
committerAkim Demaille <akim@epita.fr>
Wed, 4 Oct 2000 11:52:53 +0000 (11:52 +0000)
commit8e03724b11043943af86cb8213d90ce7a87f6e22
treedae13c08238bab9b674a91cdec4ab972ad4e6683
parenta9e64249c8ffa4f5113d0b98038437bb36af3c6e
When a literal string is used to define two different tokens,
`bison -v' segfaults.
Reported by Piotr Gackiewicz, and fixed by Neil Booth.
* tests/regression.m4: New file.
Include the core of the sample provided by Piotr Gackiewicz.
* src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
properly.
ChangeLog
THANKS
src/reader.c
tests/Makefile.am
tests/regression.m4 [new file with mode: 0644]
tests/suite.m4