X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/2062d72deb37782eb2c842e8dd1e606db5accbd1..06ec0105b12cdfa2994283e345154e6720354808:/src/scan-gram.l diff --git a/src/scan-gram.l b/src/scan-gram.l index 95edacc5..98124556 100644 --- a/src/scan-gram.l +++ b/src/scan-gram.l @@ -354,7 +354,8 @@ eqopt ([[:space:]]*=)? } . { - complain (loc, complaint, _("invalid character: %s"), quote (yytext)); + complain (loc, complaint, _("invalid character: %s"), + quote_mem (yytext, yyleng)); } <> { @@ -450,7 +451,7 @@ eqopt ([[:space:]]*=)? } . { complain (loc, complaint, _("invalid character in bracketed name: %s"), - quote (yytext)); + quote_mem (yytext, yyleng)); } <> { BEGIN bracketed_id_context_state;