Skip to content

Commit

Permalink
Remove failtrace
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@17787 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Oct 21, 2013
1 parent 75d4f85 commit 0adccd7
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions Compiler/FrontEnd/Static.mo
Expand Up @@ -8461,25 +8461,6 @@ algorithm
String name;
DAE.Type tty;

case (_,tty as DAE.T_FUNCTION(functionAttributes = DAE.FUNCTION_ATTRIBUTES(isBuiltin=DAE.FUNCTION_BUILTIN(SOME(name)))), _)
equation
true = Flags.isSet(Flags.FAILTRACE);
fn = Absyn.IDENT(name);
false = Absyn.pathEqual(inPath, fn);
print("P1: " +& Env.getEnvNameStr(inEnv) +& "/" +& Absyn.pathString(inPath) +& "\n" +&
"N1: " +& name +& "\n-------------\n");
then
fail();

case (_,DAE.T_FUNCTION(funcArg = _, source = {fn}), _)
equation
true = Flags.isSet(Flags.FAILTRACE);
false = Absyn.pathEqual(inPath, fn);
print("P2: " +& Env.getEnvNameStr(inEnv) +& "/" +& Absyn.pathString(inPath) +& "\n" +&
"N2: " +& Absyn.pathString(fn) +& "\n-------------\n");
then
fail();

case (_,tty as DAE.T_FUNCTION(functionAttributes = DAE.FUNCTION_ATTRIBUTES(isBuiltin=DAE.FUNCTION_BUILTIN(SOME(name)))), _)
equation
fn = Absyn.IDENT(name);
Expand Down

0 comments on commit 0adccd7

Please sign in to comment.