X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/4a9cd8f24abba232b4a07ccdda4c6f109d27acac..59fba180a5b8c7135445bfbada5e96266a3286e8:/src/scan-gram.l?ds=sidebyside diff --git a/src/scan-gram.l b/src/scan-gram.l index e2e08f9a..fa200d64 100644 --- a/src/scan-gram.l +++ b/src/scan-gram.l @@ -39,7 +39,6 @@ #include #include #include -#include #include @@ -968,7 +967,7 @@ unexpected_end (boundary start, char const *msgid, char const *token_end) loc.end = scanner_cursor; token_end = quote (token_end); // Instead of '\'', display "'". - if (STREQ (token_end, "'\\''", '\'', '\\', '\'', '\'', 0,0,0,0,0)) + if (STREQ (token_end, "'\\''")) token_end = "\"'\""; complain_at (loc, _(msgid), token_end); }