Skip to content

Commit

Permalink
- First revision of the new SCodeFlatten module. It's not used yet.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@7065 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
perost committed Nov 17, 2010
1 parent c3c75be commit 29023cb
Show file tree
Hide file tree
Showing 4 changed files with 618 additions and 9 deletions.
6 changes: 2 additions & 4 deletions Compiler/Absyn.mo
Expand Up @@ -2177,12 +2177,10 @@ public function pathReplaceFirstIdent "
algorithm
outPath := matchcontinue(path,replPath)
local
String n;
Path p;
list<String> strings;
// Should not be possible to replace FQ paths
case (QUALIFIED(path = p),replPath) then joinPaths(replPath,p);
case (IDENT(name = n),replPath) then replPath;
case (QUALIFIED(path = p), _) then joinPaths(replPath,p);
case (IDENT(name = _), _) then replPath;
end matchcontinue;
end pathReplaceFirstIdent;

Expand Down
1 change: 1 addition & 0 deletions Compiler/Makefile.common
Expand Up @@ -66,6 +66,7 @@ ExpressionSimplify.mo \
ExpandableConnectors.mo \
SCode.mo \
SCodeUtil.mo \
SCodeFlatten.mo \
Graphviz.mo \
HashTable.mo \
HashTable2.mo \
Expand Down

0 comments on commit 29023cb

Please sign in to comment.