mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-19 01:03:04 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user