mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-11 05:13:04 +00:00
* tests/sets.at (Broken Closure): Add the ending `;'.
* src/reader.at (readgram): Complain if a rule is not ended with a semi-colon.
This commit is contained in:
@@ -1326,7 +1326,10 @@ readgram (void)
|
||||
unlex (t1);
|
||||
symval = ssave;
|
||||
if (t1 == tok_colon)
|
||||
break;
|
||||
{
|
||||
complain (_("previous rule lacks an ending `;'"));
|
||||
break;
|
||||
}
|
||||
|
||||
if (!first_rhs) /* JF */
|
||||
first_rhs = symval;
|
||||
|
||||
Reference in New Issue
Block a user