Skip to content

Commit

Permalink
- Fix component order in SCodeInst.
Browse files Browse the repository at this point in the history
- Added a couple of tests I'd forgotten.


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13990 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
perost committed Nov 20, 2012
1 parent 4de0aa5 commit 2b8bc0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Compiler/FrontEnd/SCodeInst.mo
Expand Up @@ -615,7 +615,8 @@ algorithm
then
(accum_el, cse, globals);

case ({}, _, {}, _, _, _, _, cse, globals) then (inAccumEl, cse, globals);
case ({}, _, {}, _, _, _, _, cse, globals)
then (listReverse(inAccumEl), cse, globals);

// instElementList takes a list of Extends, which contains the extends
// information from the environment. We should have one Extends element for
Expand Down

0 comments on commit 2b8bc0b

Please sign in to comment.