Skip to content

Commit

Permalink
- support multiple indexes for ASUB (subscripting of general expressi…
Browse files Browse the repository at this point in the history
…ons like function calls) in XMLDump.mo

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@19499 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Mar 8, 2014
1 parent b7570b3 commit 13dec42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Compiler/BackEnd/XMLDump.mo
Expand Up @@ -2114,12 +2114,12 @@ algorithm
dumpStrCloseTag(MathMLOperator);
dumpStrCloseTag(MathMLApply);
then ();
case (e as DAE.ASUB(exp = e1,sub = {e2}))
case (e as DAE.ASUB(exp = e1,sub = args))
equation
dumpStrOpenTag(MathMLApply);
dumpStrVoidTag(MathMLSelector);
dumpExp2(e1);
dumpExp2(e2);
dumpList(args,dumpExp2);
dumpStrCloseTag(MathMLApply);
then ();
case (DAE.ENUM_LITERAL(name = fcn))
Expand Down Expand Up @@ -2150,7 +2150,7 @@ algorithm
then ();
case (_)
equation
dumpComment("UNKNOWN EXPRESSION");
dumpComment("UNKNOWN EXPRESSION: " +& ExpressionDump.printExpStr(inExp));
then ();
end matchcontinue;
end dumpExp2;
Expand Down

0 comments on commit 13dec42

Please sign in to comment.