tests: please C90 compilers

* tests/actions.at, tests/conflicts.at: Use /* ... */ comments.
Let "main" return a value.
This commit is contained in:
Akim Demaille
2013-01-28 17:10:30 +01:00
parent 15c14fdfb9
commit 312c0cff71
2 changed files with 2 additions and 1 deletions

View File

@@ -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)
{ {

View File

@@ -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;
} }
]]) ]])