Skip to content

Commit

Permalink
RML compilation
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@19795 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Mar 26, 2014
1 parent 8331cb1 commit adb1b09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Compiler/FrontEnd/Algorithm.mo
Expand Up @@ -103,7 +103,7 @@ public function makeAssignmentNoTypeCheck
output DAE.Statement outStatement;
algorithm
outStatement := match (ty,lhs,rhs,source)
case (_,DAE.CREF(componentRef=DAE.WILD()),_,DAE.SOURCE())
case (_,DAE.CREF(componentRef=DAE.WILD()),_,_)
then DAE.STMT_NORETCALL(rhs, source);
case (_,DAE.PATTERN(pattern=DAE.PAT_WILD()),_,_)
then DAE.STMT_NORETCALL(rhs, source);
Expand All @@ -120,7 +120,7 @@ public function makeArrayAssignmentNoTypeCheck
output DAE.Statement outStatement;
algorithm
outStatement := match (ty,lhs,rhs,source)
case (_,DAE.WILD(),_,DAE.SOURCE())
case (_,DAE.WILD(),_,_)
then DAE.STMT_NORETCALL(rhs, source);
else DAE.STMT_ASSIGN_ARR(ty, lhs, rhs, source);
end match;
Expand Down

0 comments on commit adb1b09

Please sign in to comment.