mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 08:43:03 +00:00
tests: please C90 compilers
* tests/actions.at, tests/conflicts.at: Use /* ... */ comments. Let "main" return a value.
This commit is contained in:
@@ -1011,7 +1011,7 @@ AT_DATA_GRAMMAR([[input]]$1[[.y]],
|
|||||||
start: { $$ = 'S'; } ;
|
start: { $$ = 'S'; } ;
|
||||||
|
|
||||||
%%
|
%%
|
||||||
#include <stdlib.h> // abort
|
#include <stdlib.h> /* abort */
|
||||||
static int
|
static int
|
||||||
yylex (void)
|
yylex (void)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ int main (void)
|
|||||||
assert (T < U);
|
assert (T < U);
|
||||||
assert (U < V);
|
assert (U < V);
|
||||||
assert (V < W);
|
assert (V < W);
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
]])
|
]])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user