Skip to content

Commit

Permalink
- fix some bugs from last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Frenkel committed Oct 24, 2010
1 parent 32c2df8 commit aceedfd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Compiler/ConnectUtil.mo
Expand Up @@ -46,6 +46,7 @@ package ConnectUtil
in DAEUtil.mo."

public import Absyn;
public import ComponentReference;
public import Connect;
public import DAE;
public import Env;
Expand Down Expand Up @@ -1387,7 +1388,7 @@ algorithm
res := matchcontinue(inElem1, inElem2)
local
DAE.ComponentRef cr1, cr2;
case ((cr1, _), (cr2, _)) then Exp.crefSortFunc(cr2, cr1);
case ((cr1, _), (cr2, _)) then ComponentReference.crefSortFunc(cr2, cr1);
end matchcontinue;
end equSetElementLess;

Expand Down
2 changes: 1 addition & 1 deletion Compiler/InnerOuter.mo
Expand Up @@ -2015,7 +2015,7 @@ algorithm
case((k,v))
equation
str = "{" +&
Exp.crefStr(k) +&
ComponentReference.crefStr(k) +&
" opaque InstInner for now, implement printing. " +& "}\n";
then str;
end matchcontinue;
Expand Down
3 changes: 2 additions & 1 deletion Compiler/TaskGraph.mo
Expand Up @@ -45,6 +45,7 @@ package TaskGraph
The package uses TaskGraphExt for the task graph datastructure itself, which
is implemented using Boost Graph Library in C++"

public import ComponentReference;
public import DAELow;
public import SCode;

Expand Down Expand Up @@ -741,7 +742,7 @@ algorithm
cr2 = Exp.getCrefFromExp(e2);
crs = listAppend(cr1, cr2);
crs_1 = Util.listDeleteMember(crs, cr);
crs_2 = Util.listMap(crs_1, Exp.crefStr);
crs_2 = Util.listMap(crs_1, ComponentReference.crefStr);
crstr = ComponentReference.crefStr(cr);
origname_str = Exp.printComponentRefStr(cr);
TaskGraphExt.storeResult(crstr, tid, true, origname_str);
Expand Down

0 comments on commit aceedfd

Please sign in to comment.