summaryrefslogtreecommitdiffstats
path: root/parser.l
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-10-24 08:41:09 -0700
committerKaz Kylheku <kaz@kylheku.com>2014-10-24 08:41:09 -0700
commit57276037c1357e54730a94fb1191362d4f694252 (patch)
treef933609cb8870c42478a71a2c3f3b416c93d57aa /parser.l
parent43418aad5d8214c1b60b080dff2c36a2caf27391 (diff)
downloadtxr-57276037c1357e54730a94fb1191362d4f694252.tar.gz
txr-57276037c1357e54730a94fb1191362d4f694252.tar.bz2
txr-57276037c1357e54730a94fb1191362d4f694252.zip
* Makefile: Removing trailing spaces.
(GREP_CHECK): New macro. (enforce): Rewritten using GREP_CHECK, with new checks. * arith.c, combi.c, debug.c, eval.c, filter.c, gc.c, hash.c, lib.c, * lib.h, match.c, parser.l, parser.y, rand.c, regex.c, signal.c, * signal.h, stream.c, syslog.c, txr.c, unwind.c, utf8.c: Remove trailing spaces.
Diffstat (limited to 'parser.l')
-rw-r--r--parser.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/parser.l b/parser.l
index 92a3b08e..180f5fa4 100644
--- a/parser.l
+++ b/parser.l
@@ -197,7 +197,7 @@ U3 [\xe0-\xef]
U4 [\xf0-\xf4]
UANY {ASC}|{U2}{U}|{U3}{U}{U}|{U4}{U}{U}{U}
-UANYN {ASCN}|{U2}{U}|{U3}{U}{U}|{U4}{U}{U}{U}
+UANYN {ASCN}|{U2}{U}|{U3}{U}{U}|{U4}{U}{U}{U}
UONLY {U2}{U}|{U3}{U}{U}|{U4}{U}{U}{U}
%x SPECIAL BRACED NESTED REGEX STRLIT CHRLIT QSILIT QSPECIAL WLIT QWLIT
@@ -832,7 +832,7 @@ UONLY {U2}{U}|{U3}{U}{U}|{U4}{U}{U}{U}
<STRLIT,QSILIT,WLIT,QWLIT>{WS}[\\]\n{WS} {
yyextra->lineno++;
}
-
+
<STRLIT,QSILIT,WLIT,QWLIT>[\\](x{HEX}+|{OCT}+);? {
yylval->chr = num_esc(yyg, yytext+1);
return LITCHAR;