]> git.saurik.com Git - bison.git/commit - src/parse-gram.c
* src/parse-gram.y (rules_or_grammar_declaration): Add an error
authorAkim Demaille <akim@epita.fr>
Tue, 9 Jul 2002 14:48:01 +0000 (14:48 +0000)
committerAkim Demaille <akim@epita.fr>
Tue, 9 Jul 2002 14:48:01 +0000 (14:48 +0000)
commitb275314e2dbe2eb5d4706f728aefe132fa93b9c5
tree3c2d9cc45aec74024a4e20a29648a3222d0e906d
parentc5f5043618c1dc31244cdb045980eb77e29d859c
* src/parse-gram.y (rules_or_grammar_declaration): Add an error
recovery rule, and forbid extensions when --yacc.
(gram_error): Use complain_at.
* src/reader.c (reader): Exit if there were parse errors.
ChangeLog
src/parse-gram.c
src/parse-gram.h
src/parse-gram.y
src/reader.c