Commit 6512088f3e7ef058ff77901efc3ffb9d4bd6420c
1 parent
4af06cfe
Exists in
master
expression lists now being correctly parsed
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
fzn-parser/flatzinc.y
@@ -228,7 +228,7 @@ set_ti_expr_tail: | @@ -228,7 +228,7 @@ set_ti_expr_tail: | ||
228 | //--------------------------------------------------------------------------- | 228 | //--------------------------------------------------------------------------- |
229 | 229 | ||
230 | exprs: | 230 | exprs: |
231 | - exprs ',' exprs { CONS (); } | 231 | + expr ',' exprs { RCONS (); } |
232 | | expr { AST ("E", ("[E]")); } | 232 | | expr { AST ("E", ("[E]")); } |
233 | 233 | ||
234 | expr: | 234 | expr: |