summaryrefslogtreecommitdiffstats
path: root/parser.l
diff options
context:
space:
mode:
Diffstat (limited to 'parser.l')
-rw-r--r--parser.l11
1 files changed, 11 insertions, 0 deletions
diff --git a/parser.l b/parser.l
index ca7c893d..dc083867 100644
--- a/parser.l
+++ b/parser.l
@@ -197,6 +197,7 @@ NTREG ({NT0}|{NT1})?:{NT2}?|({NT0}|{NT1})(:{NT2})?
NTKEY @?:{NT2}?
NTOK {NTREG}|{NTKEY}
WS [\t ]*
+REQWS [\t ]+
HEX [0-9A-Fa-f]
OCT [0-7]
@@ -665,6 +666,16 @@ UONLY {U2}{U}|{U3}{U}{U}|{U4}{U}{U}{U}
return '/';
}
+<SPECIAL,QSPECIAL,NESTED>{REQWS}\.{REQWS} {
+ yylval->chr = '.';
+ return CONSDOT;
+}
+
+<SPECIAL,QSPECIAL,NESTED>\.{REQWS} {
+ yylval->chr = '.';
+ return LAMBDOT;
+}
+
<SPECIAL,QSPECIAL,NESTED>\. {
yylval->chr = '.';
return '.';