* tests/input.at (Invalid $n, Invalid @n): Add the ending `;'.

* tests/output.at (AT_CHECK_OUTPUT): Likewise.
* tests/headers.at (AT_TEST_CPP_GUARD_H): Ditto.
* tests/semantic.at (Parsing Guards): Similarly.
* src/reader.at (readgram): Complain if the last rule is not ended
with a semi-colon.
This commit is contained in:
Akim Demaille
2002-03-04 16:23:35 +00:00
parent 65ccf9fc1d
commit bfcf1f3af0
7 changed files with 20 additions and 7 deletions

View File

@@ -29,7 +29,7 @@ AT_SETUP([Invalid $n])
AT_DATA([input.y],
[[%%
exp: { $$ = $1 ; }
exp: { $$ = $1 ; };
]])
AT_CHECK([bison input.y], [1], [],
@@ -48,7 +48,7 @@ AT_SETUP([Invalid @n])
AT_DATA([input.y],
[[%%
exp: { @$ = @1 ; }
exp: { @$ = @1 ; };
]])
AT_CHECK([bison input.y], [1], [],