Skip to content

Commit

Permalink
- fix bug #2402
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@17552 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Oct 5, 2013
1 parent ffb07d7 commit 6772667
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Parser/Modelica.g
Expand Up @@ -1282,7 +1282,14 @@ output_expression_list [int* isTuple] returns [void* ast] :
| e1=expression
( COMMA {*isTuple = true;} el=output_expression_list[isTuple]
{
ast = mk_cons(e1, el);
if (RML_NILHDR != RML_GETHDR(el))
{
ast = mk_cons(e1, el);
}
else
{
ast = mk_cons(e1, mk_cons(Absyn__CREF(Absyn__WILD), el));
}
}
| RPAR
{
Expand Down

0 comments on commit 6772667

Please sign in to comment.