From 6b2584b7a2460311df0cc92bae63c5b3ad732eff Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 14 May 2003 19:30:22 +0000 Subject: [PATCH] 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. --- ChangeLog | 11 +++++++++++ 1 file changed, 11 insertions(+) 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. -- 2.50.0