summaryrefslogtreecommitdiffstats
path: root/parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'parser.y')
-rw-r--r--parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.y b/parser.y
index efbc485b..19332684 100644
--- a/parser.y
+++ b/parser.y
@@ -334,7 +334,6 @@ else_clause_opt : ELSE newl
| { $$ = nil; }
;
-
line : elems_opt '\n' { $$ = $1; }
;
@@ -363,6 +362,7 @@ text : TEXT { $$ = rl(string_own($1), num(lineno)); }
| regex { $$ = cons(regex_compile(rest($1), nil),
rest($1));
rl($$, num(lineno)); }
+ | EMPTY { $$ = null_string; }
;
texts : text %prec LOW { $$ = rlcp(cons($1, nil), $1); }