mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-19 01:03:04 +00:00
Merge remote-tracking branch 'origin/maint'
* origin/maint: maint: remove useless file update files to ignore remove useless include use locale-indep. c_is* functions for parsing, not isspace, isprint etc gnulib: update --help: include a place to report translation issues tests: style changes tests: fix push-pull test yacc.c: style changes Conflicts: src/system.h
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
#include <src/reader.h>
|
||||
#include <src/uniqstr.h>
|
||||
|
||||
#include <ctype.h>
|
||||
#include <c-ctype.h>
|
||||
#include <mbswidth.h>
|
||||
#include <quote.h>
|
||||
|
||||
@@ -637,7 +637,7 @@ splice (\\[ \f\t\v]*\n)*
|
||||
\\(.|\n) {
|
||||
char const *p = yytext + 1;
|
||||
/* Quote only if escaping won't make the character visible. */
|
||||
if (isspace ((unsigned char) *p) && isprint ((unsigned char) *p))
|
||||
if (c_isspace ((unsigned char) *p) && c_isprint ((unsigned char) *p))
|
||||
p = quote (p);
|
||||
else
|
||||
p = quotearg_style_mem (escape_quoting_style, p, 1);
|
||||
|
||||
Reference in New Issue
Block a user