]> git.saurik.com Git - bison.git/commit
* src/reader.c (readgram): Don't add the rule 0 if there were no
authorAkim Demaille <akim@epita.fr>
Sat, 29 Dec 2001 14:17:43 +0000 (14:17 +0000)
committerAkim Demaille <akim@epita.fr>
Sat, 29 Dec 2001 14:17:43 +0000 (14:17 +0000)
commitb68e774421d1896baa27a022842b0fc62c2f06ed
treea3181fb067e6810e3a3db13b491f5d2d9c8b628f
parent78d5bae94e161c0c002ba7df980dff029f8c7c74
* src/reader.c (readgram): Don't add the rule 0 if there were no
rules read.  In other words, add it _after_ having performed
grammar sanity checks.
Fixes the `tests/regression.at (Invalid input: 1)' Failure.
ChangeLog
src/reader.c