summaryrefslogtreecommitdiffstats
path: root/parser.l
diff options
context:
space:
mode:
Diffstat (limited to 'parser.l')
-rw-r--r--parser.l7
1 files changed, 6 insertions, 1 deletions
diff --git a/parser.l b/parser.l
index 569c4a79..45187dc5 100644
--- a/parser.l
+++ b/parser.l
@@ -743,7 +743,7 @@ UONLY {U2}{U}|{U3}{U}{U}|{U4}{U}{U}{U}
return HASH_N_HASH;
}
-<NESTED>\.\. {
+<NESTED>{WS}\.\. {
yylval->lineno = yyextra->lineno;
return DOTDOT;
}
@@ -773,6 +773,11 @@ UONLY {U2}{U}|{U3}{U}{U}|{U4}{U}{U}{U}
return LAMBDOT;
}
+<SPECIAL,QSPECIAL,NESTED,BRACED>{REQWS}\. {
+ yylval->chr = '.';
+ return UREFDOT;
+}
+
<SPECIAL,QSPECIAL,NESTED,BRACED>\. {
yylval->chr = '.';
return '.';