X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/baf0bd614507a86f280312e401dff03b4acb031f..95066e92087dfe296b74d637cab4dfb8d8fc253b:/src/scan-gram.l diff --git a/src/scan-gram.l b/src/scan-gram.l index dbea2a1d..ad061cc6 100644 --- a/src/scan-gram.l +++ b/src/scan-gram.l @@ -291,7 +291,7 @@ splice (\\[ \f\t\v]*\n)* } . { - complain_at (*loc, _("invalid character: %s"), quote (yytext)); + complain_at (*loc, _("invalid character: %s"), quote_mem (yytext, yyleng)); } <> { @@ -375,7 +375,7 @@ splice (\\[ \f\t\v]*\n)* } . { complain_at (*loc, _("invalid character in bracketed name: %s"), - quote (yytext)); + quote_mem (yytext, yyleng)); } <> { BEGIN bracketed_id_context_state;