Skip to content

Commit

Permalink
- Removed lookupVar failed failtrace (I re-added it by accident after…
Browse files Browse the repository at this point in the history
… debugging).

- Added printing of scope used when instantiateDaeFunction fails.


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@5292 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Apr 12, 2010
1 parent 999aaf6 commit 234d69e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Compiler/Lookup.mo
Expand Up @@ -1157,7 +1157,7 @@ algorithm
// fail if we couldn't find it
case (_,env,cref)
equation
Debug.fprintln("failtrace", "- Lookup.lookupVar failed " +& Exp.printComponentRefStr(cref) +& " in " +& Env.printEnvPathStr(env));
// Debug.fprintln("failtrace", "- Lookup.lookupVar failed " +& Exp.printComponentRefStr(cref) +& " in " +& Env.printEnvPathStr(env));
then fail();
end matchcontinue;
end lookupVar;
Expand Down
2 changes: 1 addition & 1 deletion Compiler/Static.mo
Expand Up @@ -8456,7 +8456,7 @@ algorithm

case(cache,env,name,_,_)
equation
print("instantiateDaeFunction failed for "+&Absyn.pathString(name)+&"\n");
print("instantiateDaeFunction failed for "+&Absyn.pathString(name)+&" in scope: " +& Env.printEnvPathStr(env) +& "\n");
then fail();
end matchcontinue;
end instantiateDaeFunction;
Expand Down

0 comments on commit 234d69e

Please sign in to comment.