fix C90 compliance

* data/glr.c, src/graphviz.h, src/ielr.c, src/scan-gram.l,
* src/system.h, tests/actions.at, tests/glr-regression.at: Do not
use // comments.
Do not introduce variables after statements.
Provide "main" with a return value.
This commit is contained in:
Akim Demaille
2012-12-12 11:37:02 +01:00
parent fc28638e1c
commit 1127a75a72
8 changed files with 49 additions and 32 deletions

View File

@@ -883,7 +883,7 @@ unexpected_end (boundary start, char const *msgid, char const *token_end)
loc.start = start;
loc.end = scanner_cursor;
token_end = quote (token_end);
// Instead of '\'', display "'".
/* Instead of '\'', display "'". */
if (!strcmp (token_end, "'\\''"))
token_end = "\"'\"";
complain_at (loc, _(msgid), token_end);