summaryrefslogtreecommitdiffstats
path: root/parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'parser.y')
-rw-r--r--parser.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/parser.y b/parser.y
index a2553f88..819630b9 100644
--- a/parser.y
+++ b/parser.y
@@ -702,6 +702,7 @@ hash : HASH_H list { if (unquotes_occur($2))
list : '(' n_exprs ')' { $$ = rl($2, num($1)); }
| '(' ')' { $$ = nil; }
+ | '(' '.' n_expr ')' { $$ = $3; }
| '[' n_exprs ']' { $$ = rl(cons(dwim_s, $2), num($1)); }
| '[' ']' { $$ = rl(cons(dwim_s, nil), num($1)); }
| '@' n_expr { if (consp($2))