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 117262fb..3c0823e3 100644
--- a/parser.y
+++ b/parser.y
@@ -279,7 +279,7 @@ elem : TEXT { $$ = rl(string_own($1), num(lineno)); }
| list { $$ = $1; }
| regex { $$ = cons(regex_compile(rest($1)),
rest($1));
- rl($1, num(lineno)); }
+ rl($$, num(lineno)); }
| COLL exprs_opt ')' elems END { $$ = list(coll_s, $4, nil, $2, nao);
rl($$, num($1)); }
| COLL exprs_opt ')' elems