diff options
author | Akim Demaille <demaille@gostai.com> | 2012-03-09 08:11:17 +0100 |
---|---|---|
committer | Akim Demaille <demaille@gostai.com> | 2012-03-09 08:28:31 +0100 |
commit | f0f62c8c4d98bd4d10fb7164b82352d98fc32564 (patch) | |
tree | 549d3441e21e00cd0c2b23ba36bedf821a89a765 | |
parent | c14ceb55b9dd1961a8e234dfd789b31d7763604a (diff) | |
download | bison-f0f62c8c4d98bd4d10fb7164b82352d98fc32564.tar.gz |
maint: update gnulib.
* gnulib: update.
* src/scan-gram.l: Don't use the (former version of) STREQ.
m--------- | gnulib | 0 | ||||
-rw-r--r-- | src/scan-gram.l | 3 |
2 files changed, 1 insertions, 2 deletions
diff --git a/gnulib b/gnulib -Subproject 50bb21eab7dfc87bbfcbc75f0232407110cdd29 +Subproject 4730c3e3692b344effb72d46b3ff92db0bdb797 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 <ctype.h> #include <mbswidth.h> #include <quote.h> -#include <streq.h> #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); } |