summaryrefslogtreecommitdiffstats
path: root/parser.l
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-11-10 11:59:10 -0800
committerKaz Kylheku <kaz@kylheku.com>2011-11-10 11:59:10 -0800
commitf9d713f3fc2fbd1c3ead07121b3bc39f5088a7d7 (patch)
treefb57a1c93b1eba7919f0e350b73da3d1e3da60ef /parser.l
parent67af8c39f31a738af98694375768192795f33ec4 (diff)
downloadtxr-f9d713f3fc2fbd1c3ead07121b3bc39f5088a7d7.tar.gz
txr-f9d713f3fc2fbd1c3ead07121b3bc39f5088a7d7.tar.bz2
txr-f9d713f3fc2fbd1c3ead07121b3bc39f5088a7d7.zip
* parser.l: Fixed wrong error message.
Diffstat (limited to 'parser.l')
-rw-r--r--parser.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.l b/parser.l
index 2a36a05b..db95ef3e 100644
--- a/parser.l
+++ b/parser.l
@@ -579,7 +579,7 @@ UONLY {U2}{U}|{U3}{U}{U}|{U4}{U}{U}{U}
}
<STRLIT,CHRLIT,QSILIT>. {
- yyerrprepf(lit("non-UTF-8 byte in regex: '\\x~02x'"),
+ yyerrprepf(lit("non-UTF-8 byte in literal: '\\x~02x'"),
num((unsigned char) yytext[0]), nao);
return ERRTOK;
}