Skip to content

Commit

Permalink
- fix testsuite
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@12129 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Jens Frenkel committed Jun 20, 2012
1 parent d172acd commit 630a8dc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Compiler/susan_codegen/SimCode/CodegenC.tpl
Expand Up @@ -4471,7 +4471,9 @@ end algStmtNoretcall;
template algStmtWhen(DAE.Statement when, Context context, Text &varDecls /*BUFP*/)
"Generates a when algorithm statement."
::=
match when
match context
case SIMULATION(__) then
match when
case STMT_WHEN(__) then
let preIf = algStatementWhenPre(when, &varDecls /*BUFD*/)
let statements = (statementLst |> stmt =>
Expand All @@ -4488,6 +4490,7 @@ match when
}
>>
end match
end match
end algStmtWhen;


Expand Down

0 comments on commit 630a8dc

Please sign in to comment.