From: Akim Demaille Date: Mon, 28 Jan 2013 16:10:30 +0000 (+0100) Subject: tests: please C90 compilers X-Git-Tag: v2.7.90~142 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/312c0cff71e784e116c0ecac4c33bc94d54f78de tests: please C90 compilers * tests/actions.at, tests/conflicts.at: Use /* ... */ comments. Let "main" return a value. --- diff --git a/tests/actions.at b/tests/actions.at index 302c1bbb..9473f6ef 100644 --- a/tests/actions.at +++ b/tests/actions.at @@ -1011,7 +1011,7 @@ AT_DATA_GRAMMAR([[input]]$1[[.y]], start: { $$ = 'S'; } ; %% -#include // abort +#include /* abort */ static int yylex (void) { diff --git a/tests/conflicts.at b/tests/conflicts.at index 5325b69e..7828cdf0 100644 --- a/tests/conflicts.at +++ b/tests/conflicts.at @@ -74,6 +74,7 @@ int main (void) assert (T < U); assert (U < V); assert (V < W); + return 0; } ]])