X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/4c787a31df24b3bf184a4e109056a41d5712e5a7..e34e97bcd736ab3193bfd3abd4162db3b159836d:/src/scan-gram.l diff --git a/src/scan-gram.l b/src/scan-gram.l index 463d2263..75023f4f 100644 --- a/src/scan-gram.l +++ b/src/scan-gram.l @@ -39,7 +39,6 @@ #include #include #include -#include #include "scan-gram.h" @@ -875,7 +874,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 (!strcmp (token_end, "'\\''")) token_end = "\"'\""; complain_at (loc, _(msgid), token_end); }