Skip to content

Commit

Permalink
Fix for #2720:
Browse files Browse the repository at this point in the history
- Call external object constructors in the order as they are defined in.


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@21020 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
perost committed Jun 9, 2014
1 parent 3632c44 commit 2b5e60a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Compiler/BackEnd/SimCodeUtil.mo
Expand Up @@ -5351,6 +5351,7 @@ protected
algorithm
BackendDAE.SHARED(externalObjects=evars) := shared;
evarLst := BackendVariable.varList(evars);
evarLst := listReverse(evarLst);
(simvars, aliases) := extractExtObjInfo2(evarLst, evars, {}, {});
extObjInfo := SimCode.EXTOBJINFO(simvars, aliases);
end createExtObjInfo;
Expand Down

0 comments on commit 2b5e60a

Please sign in to comment.