Skip to content

Commit

Permalink
[BE] added support for INITIAL_ASSERT in BackendCreate
Browse files Browse the repository at this point in the history
  • Loading branch information
Willi Braun authored and OpenModelica-Hudson committed Jan 28, 2019
1 parent db18f0d commit fcedc05
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Compiler/BackEnd/BackendDAECreate.mo
Expand Up @@ -1430,6 +1430,12 @@ algorithm
then
(eqns,reqns,ieqns);

case DAE.INITIAL_ASSERT()
equation
(eqns,reqns,ieqns) = lowerAlgorithm(inElement,functionTree,inEquations,inREquations,inIEquations, DAE.NOT_EXPAND(), inInitialization);
then
(eqns,reqns,ieqns);

case DAE.TERMINATE(message=msg,source=source)
then
(inEquations,inREquations,BackendDAE.ALGORITHM(0, DAE.ALGORITHM_STMTS({DAE.STMT_TERMINATE(msg,source)}), source, DAE.NOT_EXPAND(), BackendDAE.EQ_ATTR_DEFAULT_DYNAMIC)::inIEquations);
Expand Down

0 comments on commit fcedc05

Please sign in to comment.