X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/321fe707f48f675a6b9f08f82c1f2bfdda808811..43dc3c8bc49885693e3e06c560c8d2ee71a984b9:/src/scan-gram.l diff --git a/src/scan-gram.l b/src/scan-gram.l index 7cb99f89..ee9f1174 100644 --- a/src/scan-gram.l +++ b/src/scan-gram.l @@ -439,7 +439,7 @@ splice (\\[ \f\t\v]*\n)* \\(.|\n) { char const *p = yytext + 1; /* Quote only if escaping won't make the character visible. */ - if (isspace (*p) && isprint (*p)) + if (isspace ((unsigned char) *p) && isprint ((unsigned char) *p)) p = quote (p); else p = quotearg_style_mem (escape_quoting_style, p, 1);