From 312c0cff71e784e116c0ecac4c33bc94d54f78de Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Mon, 28 Jan 2013 17:10:30 +0100 Subject: [PATCH] tests: please C90 compilers * tests/actions.at, tests/conflicts.at: Use /* ... */ comments. Let "main" return a value. --- tests/actions.at | 2 +- tests/conflicts.at | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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; } ]]) -- 2.45.2