From: Paul Eggert Date: Wed, 14 May 2003 19:30:22 +0000 (+0000) Subject: Require a semicolon after a grammar declaration, in the interest of X-Git-Tag: BISON-2_0~305 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/6b2584b7a2460311df0cc92bae63c5b3ad732eff Require a semicolon after a grammar declaration, in the interest of possible future changes to the Bison input language. Do not allow a stray semicolon at the start of the grammar. Allow one or more semicolons after any rule, including just before "|" as required by POSIX. --- diff --git a/ChangeLog b/ChangeLog index dde7deb0..402f6130 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2003-05-14 Paul Eggert + + * src/parse-gram.y (rules_or_grammar_declaration): Require a + semicolon after a grammar declaration, in the interest of possible + future changes to the Bison input language. + Do not allow a stray semicolon at the start of the grammar. + (rhses.1): Allow one or more semicolons after any rule, including + just before "|" as required by POSIX. + * tests/input.at (Torturing the Scanner): Add tests for ";|" in a + grammar. + 2003-05-14 Alexandre Duret-Lutz %parse-param support for lalr1.cc.