mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-20 17:53:02 +00:00
maint: update gnulib.
* gnulib: update. * src/scan-gram.l: Don't use the (former version of) STREQ.
This commit is contained in:
2
gnulib
2
gnulib
Submodule gnulib updated: 50bb21eab7...4730c3e369
@@ -39,7 +39,6 @@
|
|||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <mbswidth.h>
|
#include <mbswidth.h>
|
||||||
#include <quote.h>
|
#include <quote.h>
|
||||||
#include <streq.h>
|
|
||||||
|
|
||||||
#include "scan-gram.h"
|
#include "scan-gram.h"
|
||||||
|
|
||||||
@@ -875,7 +874,7 @@ unexpected_end (boundary start, char const *msgid, char const *token_end)
|
|||||||
loc.end = scanner_cursor;
|
loc.end = scanner_cursor;
|
||||||
token_end = quote (token_end);
|
token_end = quote (token_end);
|
||||||
// Instead of '\'', display "'".
|
// Instead of '\'', display "'".
|
||||||
if (STREQ (token_end, "'\\''", '\'', '\\', '\'', '\'', 0,0,0,0,0))
|
if (!strcmp (token_end, "'\\''"))
|
||||||
token_end = "\"'\"";
|
token_end = "\"'\"";
|
||||||
complain_at (loc, _(msgid), token_end);
|
complain_at (loc, _(msgid), token_end);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user