Skip to content

Commit

Permalink
- Fix for bootstrapping
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@9483 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Jul 15, 2011
1 parent 948d8cc commit 494b310
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Compiler/Script/Interactive.mo
Expand Up @@ -9448,6 +9448,13 @@ algorithm
list<Values.Value> vals;
DAE.Type t;

case (id1::_, (IVAR(varIdent = id2) :: rest))
equation
false = stringEq(id1, id2);
v = getVariableValueLst(ids, rest);
then
v;

case (id1::id2::ids, (IVAR(varIdent = id3,value = Values.RECORD(orderd = vals, comp = comp),type_ = t) :: _))
equation
true = stringEq(id1, id3);
Expand All @@ -9463,13 +9470,6 @@ algorithm
then
v;

case (id1::_, (IVAR(varIdent = id2) :: rest))
equation
false = stringEq(id1, id2);
v = getVariableValueLst(ids, rest);
then
v;

end matchcontinue;
end getVariableValueLst;

Expand Down

0 comments on commit 494b310

Please sign in to comment.