Skip to content

Commit

Permalink
- Fixed OMC parsing issues in Inst.mo. RML didn't complain even thoug…
Browse files Browse the repository at this point in the history
…h the syntax was clearly incorrect.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@5108 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Mar 10, 2010
1 parent c28f2cb commit 484b849
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Compiler/Inst.mo
Expand Up @@ -12183,7 +12183,7 @@ algorithm
list<Integer> ds;
DAE.FunctionTree funcs;
/* Initial array equations with function calls => initial array equations */
case (lhs, rhs, tp, source, initial_ = SCode.INITIAL())
case (lhs, rhs, tp, source, SCode.INITIAL())
equation
b1 = Exp.containVectorFunctioncall(lhs);
b2 = Exp.containVectorFunctioncall(rhs);
Expand All @@ -12196,7 +12196,7 @@ algorithm
DAE.DAE({DAE.INITIAL_ARRAY_EQUATION(ds, lhs, rhs, source)}, funcs);

/* Arrays with function calls => array equations */
case (lhs, rhs, tp, source, initial_ = SCode.NON_INITIAL())
case (lhs, rhs, tp, source, SCode.NON_INITIAL())
equation
b1 = Exp.containVectorFunctioncall(lhs);
b2 = Exp.containVectorFunctioncall(rhs);
Expand Down

0 comments on commit 484b849

Please sign in to comment.