mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-12 22:03:02 +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:
@@ -151,14 +151,14 @@ AT_SETUP([Broken Closure])
|
||||
|
||||
AT_DATA([input.y],
|
||||
[[%%
|
||||
a: b
|
||||
b: c
|
||||
c: d
|
||||
d: e
|
||||
e: f
|
||||
f: g
|
||||
g: h
|
||||
h: 'h'
|
||||
a: b;
|
||||
b: c;
|
||||
c: d;
|
||||
d: e;
|
||||
e: f;
|
||||
f: g;
|
||||
g: h;
|
||||
h: 'h';
|
||||
]])
|
||||
|
||||
AT_CHECK([[bison --trace input.y]], [], [], [stderr])
|
||||
|
||||
Reference in New Issue
Block a user