Skip to content

Commit

Permalink
Make reinit message output a readable cref
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund authored and OpenModelica-Hudson committed May 25, 2016
1 parent 05eb8b9 commit 087bdd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Template/CodegenC.tpl
Expand Up @@ -5201,7 +5201,7 @@ template whenOperators(list<WhenOperator> whenOps, Context context, Text &varDec
<<
<%preExp%>
<%lhs%>
infoStreamPrint(LOG_EVENTS, 0, "reinit <%cref(stateVar)%> = <%crefToPrintfArg(stateVar)%>", <%cref(stateVar)%>);
infoStreamPrint(LOG_EVENTS, 0, "reinit <%crefStrNoUnderscore(stateVar)%> = <%crefToPrintfArg(stateVar)%>", <%cref(stateVar)%>);
data->simulationInfo->needToIterate = 1;
>>
case TERMINATE(__) then
Expand Down

0 comments on commit 087bdd2

Please sign in to comment.