From 279353712e1dd01174ce92e9f55b6e8006acefd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Sj=C3=B6lund?= Date: Sat, 17 Dec 2011 10:19:55 +0000 Subject: [PATCH] - Compilation errors found by make clean (not found by RML dep.analysis) git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@10752 f25d12d1-65f4-0310-ae8a-bbce733d8d8e --- Compiler/FrontEnd/Static.mo | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Compiler/FrontEnd/Static.mo b/Compiler/FrontEnd/Static.mo index 4db21ce34db..1f657160be3 100644 --- a/Compiler/FrontEnd/Static.mo +++ b/Compiler/FrontEnd/Static.mo @@ -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); @@ -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 @@ -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