Skip to content

Commit

Permalink
- Make continue work in cases also.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@22863 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
perost committed Oct 22, 2014
1 parent 1dd6aa6 commit 1144193
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Compiler/FrontEnd/Patternm.mo
Expand Up @@ -2724,6 +2724,7 @@ algorithm
then (inStatement,useTree);

case (DAE.STMT_BREAK(source=_),_,_) then (inStatement,inUseTree);
case (DAE.STMT_CONTINUE(source=_),_,_) then (inStatement,inUseTree);
case (DAE.STMT_ARRAY_INIT(source=_),_,_) then (inStatement,inUseTree);
case (DAE.STMT_FAILURE(body=body,source=source),_,_)
equation
Expand Down

0 comments on commit 1144193

Please sign in to comment.