Skip to content

Commit

Permalink
- more fixes so it compiles.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/branches/OpenModelica1.5.0@4268 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Sep 25, 2009
1 parent aaf8dcd commit 7cfdabc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Compiler/Types.mo
Expand Up @@ -2271,10 +2271,14 @@ algorithm (s,s2) := matchcontinue(t)
Option<Type> bc;
Option<Absyn.Path> op;
list<String> varNames;
case((T_COMPLEX(complexClassType = (st as ClassInf.CONNECTOR(connectorName)),complexVarLst = vars,complexTypeOption = bc),op))
Boolean isExpandable;
String isExpandableStr;

case((T_COMPLEX(complexClassType = (st as ClassInf.CONNECTOR(connectorName,isExpandable)),complexVarLst = vars,complexTypeOption = bc),op))
equation
varNames = Util.listMap(vars,varName);
s = connectorName ;
isExpandableStr = Util.if_(isExpandable,"/* expandable */ ", "");
s = isExpandableStr +& connectorName;
s2 = "{" +& Util.stringDelimitList(varNames,", ") +& "}";
then
(s,s2);
Expand Down

0 comments on commit 7cfdabc

Please sign in to comment.