Skip to content

Commit a6e1a0d

Browse files
committed
- Remove garbage
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@8640 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent 96f010d commit a6e1a0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Compiler/FrontEnd/Inst.mo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6215,7 +6215,7 @@ algorithm
62156215
//If the type is one of the simple, predifined types a simple variable
62166216
//declaration is added to the DAE.
62176217
env_1 = Env.updateFrameV(env2_1, new_var, Env.VAR_DAE(), compenv);
6218-
vars = Util.if_(alreadyDeclared,{},{DAE.TYPES_VAR(n,DAE.ATTR(flowPrefix,streamPrefix,acc,param,dir,io),prot,ty,binding,NONE())});
6218+
vars = Util.if_(alreadyDeclared,{},{new_var});
62196219
dae = Util.if_(alreadyDeclared,DAEUtil.emptyDae /*DAEUtil.extractFunctions(dae)*/,dae);
62206220
(/*dae*/_,ih,graphNew) = InnerOuter.handleInnerOuterEquations(io,/*dae*/DAEUtil.emptyDae,ih,graphNew,graph);
62216221

@@ -6326,7 +6326,7 @@ algorithm
63266326
// If the type is one of the simple, predifined types a simple variable
63276327
// declaration is added to the DAE.
63286328
env_1 = Env.updateFrameV(env, new_var, Env.VAR_DAE(), compenv) ;
6329-
vars = Util.if_(alreadyDeclared,{},{DAE.TYPES_VAR(n,DAE.ATTR(flowPrefix,streamPrefix,acc,param,dir,io),prot,ty,binding,NONE())});
6329+
vars = Util.if_(alreadyDeclared,{},{new_var});
63306330
dae = Util.if_(alreadyDeclared,DAEUtil.emptyDae /*DAEUtil.extractFunctions(dae)*/,dae);
63316331
(/*dae*/_,ih,graph) = InnerOuter.handleInnerOuterEquations(io,/*dae*/DAEUtil.emptyDae,ih,graphNew,graph);
63326332
// If an outer element, remove this variable from the DAE. Variable references will be bound to

0 commit comments

Comments
 (0)