Skip to content

Commit

Permalink
- activate case from r24039
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@24042 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Willi Braun committed Jan 14, 2015
1 parent 3927067 commit c015ec3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Compiler/SimCode/SimCodeUtil.mo
Expand Up @@ -6033,7 +6033,6 @@ algorithm
/* consider also array and record crefs */
case (DAE.CREF(componentRef=cr), _)
equation

crefs = ComponentReference.expandCref(cr, true);
false = valueEq({cr},crefs); // Not an expanded element
expLst = List.map(crefs, Expression.crefExp);
Expand All @@ -6043,12 +6042,10 @@ algorithm
case (DAE.ICONST(_), _) then (true, iht);
case (DAE.BCONST(_), _) then (true, iht);
case (DAE.CREF(componentRef=DAE.WILD()), _) then (true, iht);
/* Consider also record contructor */
/*
/* Consider also record constructor */
case (DAE.CALL(expLst=expLst),_) equation
List.foldAllValue(expLst, createSingleComplexEqnCode3, true, iht);
then (true, iht);
*/
else
(false, iht);
end matchcontinue;
Expand Down

0 comments on commit c015ec3

Please sign in to comment.