Skip to content

Commit

Permalink
- Merging
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund committed Oct 6, 2010
2 parents 526b6ad + e22cd43 commit 44e8d01
Show file tree
Hide file tree
Showing 3 changed files with 606 additions and 539 deletions.
5 changes: 3 additions & 2 deletions Compiler/DAEUtil.mo
Expand Up @@ -676,6 +676,7 @@ algorithm
case (SOME(DAE.VAR_ATTR_INT(initial_ = SOME(r))),_) then r;
case (SOME(DAE.VAR_ATTR_BOOL(initial_ = SOME(r))),_) then r;
case (SOME(DAE.VAR_ATTR_STRING(initial_ = SOME(r))),_) then r;
case (SOME(DAE.VAR_ATTR_ENUMERATION(start = SOME(r))),_) then r;
case(_,optExp) then optExp;
end matchcontinue;
end getStartAttrEmpty;
Expand Down Expand Up @@ -715,7 +716,7 @@ algorithm
case (SOME(DAE.VAR_ATTR_INT(initial_ = SOME(r)))) then r;
case (SOME(DAE.VAR_ATTR_BOOL(initial_ = SOME(r)))) then r;
case (SOME(DAE.VAR_ATTR_STRING(initial_ = SOME(r)))) then r;
//ppriv- ??? should be here: case (SOME(DAE.VAR_ATTR_ENUMERATION(start = SOME(r)))) then r;
case (SOME(DAE.VAR_ATTR_ENUMERATION(start = SOME(r)))) then r;
case (_) then DAE.RCONST(0.0);
end matchcontinue;
end getStartAttr;
Expand All @@ -731,7 +732,7 @@ algorithm start:= matchcontinue (inVariableAttributesOption)
case (SOME(DAE.VAR_ATTR_INT(initial_ = SOME(r)))) then r;
case (SOME(DAE.VAR_ATTR_BOOL(initial_ = SOME(r)))) then r;
case (SOME(DAE.VAR_ATTR_STRING(initial_ = SOME(r)))) then r;
//ppriv- ??? should be here: case (SOME(DAE.VAR_ATTR_ENUMERATION(start = SOME(r)))) then r;
case (SOME(DAE.VAR_ATTR_ENUMERATION(start = SOME(r)))) then r;
end matchcontinue;
end getStartAttrFail;

Expand Down

0 comments on commit 44e8d01

Please sign in to comment.