mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 23:33:03 +00:00
* 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:
@@ -103,7 +103,7 @@ AT_DATA([input.y],
|
||||
[[/* Bison used to swallow the character after `}'. */
|
||||
|
||||
%%
|
||||
exp: { tests = {{{{{{{{{{}}}}}}}}}}; }
|
||||
exp: { tests = {{{{{{{{{{}}}}}}}}}}; };
|
||||
%%
|
||||
]])
|
||||
|
||||
@@ -382,7 +382,7 @@ expr:
|
||||
|
||||
{
|
||||
|
||||
}
|
||||
};
|
||||
]])
|
||||
|
||||
AT_CHECK([bison input.y -o input.c -v], 0, [], [])
|
||||
|
||||
Reference in New Issue
Block a user