Skip to content

Commit

Permalink
- made some fail-messages dependent on +d=evalFuncDump
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@20639 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Volker Waurich committed May 16, 2014
1 parent 3530a3f commit b0c21e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Compiler/BackEnd/EvaluateFunctions.mo
Expand Up @@ -1571,7 +1571,7 @@ algorithm
then (rest,(funcTree,repl,idx));
else
equation
print("evaluateFunctions_updateStatement failed for!\n"+&DAEDump.ppStatementStr(List.first(algsIn))+&"\n");
Debug.bcall1(Flags.isSet(Flags.EVAL_FUNC_DUMP),print,"evaluateFunctions_updateStatement failed for!\n"+&DAEDump.ppStatementStr(List.first(algsIn))+&"\n");
then
fail();
end matchcontinue;
Expand Down Expand Up @@ -1618,7 +1618,7 @@ algorithm
(eval,stmts1);
else
equation
print("evaluateIfStatement failed \n");
Debug.bcall1(Flags.isSet(Flags.EVAL_FUNC_DUMP),print,"evaluateIfStatement failed \n");
then
fail();
end matchcontinue;
Expand Down

0 comments on commit b0c21e0

Please sign in to comment.