diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-05-26 22:32:55 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-05-26 22:32:55 -0700 |
commit | 644a28827acc238aefcd907820eed3378d41e3eb (patch) | |
tree | 15a3adedfa7eaae4fc65f6e7f250347618961fcd /lex.yy.c.shipped | |
parent | b4305c1689c0a1269d30086d9335411acb31d935 (diff) | |
download | txr-644a28827acc238aefcd907820eed3378d41e3eb.tar.gz txr-644a28827acc238aefcd907820eed3378d41e3eb.tar.bz2 txr-644a28827acc238aefcd907820eed3378d41e3eb.zip |
scanner: tweak buffer literal error message.
* parser.l (BUFLIT): When reporting a bad characters, do not
show it in the form of an escape sequence.
* lex.yy.c.shipped: Updated.
Diffstat (limited to 'lex.yy.c.shipped')
-rw-r--r-- | lex.yy.c.shipped | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lex.yy.c.shipped b/lex.yy.c.shipped index f8a74c51..bcf0a6f6 100644 --- a/lex.yy.c.shipped +++ b/lex.yy.c.shipped @@ -5405,7 +5405,7 @@ case 143: YY_RULE_SETUP #line 1118 "parser.l" { - yyerrorf(yyg, lit("bad character in buffer literal: \\~a"), + yyerrorf(yyg, lit("bad character ~s in buffer literal"), chr(yytext[0]), nao); } YY_BREAK |