Skip to content

Commit

Permalink
- Compilation errors found by make clean (not found by RML dep.analysis)
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@10752 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Dec 17, 2011
1 parent 88956c8 commit 2793537
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Compiler/FrontEnd/Static.mo
Expand Up @@ -4899,7 +4899,7 @@ algorithm
cref_list = listAppend(cref_list1, cref_list2);
symbol_table = absynCrefListToInteractiveVarList(cref_list, Interactive.emptySymboltable,
DAE.T_REAL_DEFAULT);
gen_env = Interactive.buildEnvFromSymboltable(symbol_table);
(gen_env,_) = Interactive.buildEnvFromSymboltable(symbol_table);
(cache,s1_1,st,_) = elabExp(cache,gen_env, s1, impl,NONE(),true,pre,info);
(cache,s2_1,st,_) = elabExp(cache,gen_env, s2, impl,NONE(),true,pre,info);
call = Expression.makeBuiltinCall("differentiate", {s1_1, s2_1}, DAE.T_REAL_DEFAULT);
Expand Down Expand Up @@ -4950,7 +4950,7 @@ algorithm
cref_list = Absyn.getCrefFromExp(s1,true);
symbol_table = absynCrefListToInteractiveVarList(cref_list, Interactive.emptySymboltable,
DAE.T_REAL_DEFAULT);
gen_env = Interactive.buildEnvFromSymboltable(symbol_table);
(gen_env,_) = Interactive.buildEnvFromSymboltable(symbol_table);
(cache,s1_1,st,_) = elabExp(cache,gen_env, s1, impl,NONE(),true,pre,info);
s1_1 = Expression.makeBuiltinCall("simplify", {s1_1}, DAE.T_REAL_DEFAULT);
then
Expand All @@ -4960,7 +4960,7 @@ algorithm
cref_list = Absyn.getCrefFromExp(s1,true);
symbol_table = absynCrefListToInteractiveVarList(cref_list, Interactive.emptySymboltable,
DAE.T_INTEGER_DEFAULT);
gen_env = Interactive.buildEnvFromSymboltable(symbol_table);
(gen_env,_) = Interactive.buildEnvFromSymboltable(symbol_table);
(cache,s1_1,st,_) = elabExp(cache,gen_env, s1, impl,NONE(),true,pre,info);
s1_1 = Expression.makeBuiltinCall("simplify", {s1_1}, DAE.T_INTEGER_DEFAULT);
then
Expand Down

0 comments on commit 2793537

Please sign in to comment.