summaryrefslogtreecommitdiffstats
path: root/parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'parser.y')
-rw-r--r--parser.y7
1 files changed, 7 insertions, 0 deletions
diff --git a/parser.y b/parser.y
index 875a808e..d15aa225 100644
--- a/parser.y
+++ b/parser.y
@@ -1005,9 +1005,16 @@ listacc : n_expr { $$ = cons($1, nil);
n_expr { parser->ignore = 0;
$$ = cons(nil, nil);
$$->c.cdr = $$; }
+ | HASH_SEMI '.' { parser->ignore = 1; }
+ n_expr { parser->ignore = 0;
+ $$ = cons(nil, nil);
+ $$->c.cdr = $$; }
| listacc HASH_SEMI { parser->ignore = 1; }
n_expr { parser->ignore = 0;
$$ = $1; }
+ | listacc HASH_SEMI '.' { parser->ignore = 1; }
+ n_expr { parser->ignore = 0;
+ $$ = $1; }
| listacc n_expr { uses_or2;
$$ = rlc(cons($2, $1->c.cdr), or2($2, $1->c.cdr));
$1->c.cdr = $$; }