From: Akim Demaille Date: Fri, 9 Mar 2012 07:11:17 +0000 (+0100) Subject: maint: update gnulib. X-Git-Tag: v2.5.1_rc2~86 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/f0f62c8c4d98bd4d10fb7164b82352d98fc32564?hp=c14ceb55b9dd1961a8e234dfd789b31d7763604a maint: update gnulib. * gnulib: update. * src/scan-gram.l: Don't use the (former version of) STREQ. --- diff --git a/gnulib b/gnulib index 50bb21ea..4730c3e3 160000 --- a/gnulib +++ b/gnulib @@ -1 +1 @@ -Subproject commit 50bb21eab7dfc87bbfcbc75f0232407110cdd296 +Subproject commit 4730c3e3692b344effb72d46b3ff92db0bdb797a 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); }