Skip to content

Commit

Permalink
Absyn no longer needs to be its own dependency class (Util no longer …
Browse files Browse the repository at this point in the history
…imports Absyn)

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@23140 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Nov 2, 2014
1 parent fc59b4b commit e64cd0c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Compiler/FrontEnd/Absyn.mo
Expand Up @@ -6178,5 +6178,5 @@ algorithm
end match;
end getElementItemsInClassPart;

annotation(__OpenModelica_Interface="absyn"); // TODO: Should be a frontend module
annotation(__OpenModelica_Interface="frontend");
end Absyn;
2 changes: 1 addition & 1 deletion Compiler/FrontEnd/Dump.mo
Expand Up @@ -4848,5 +4848,5 @@ algorithm
Print.printBuf("\"");
end printStringAsCorbaString;

annotation(__OpenModelica_Interface="absyn"); // TODO: Should be a frontend module
annotation(__OpenModelica_Interface="frontend");
end Dump;
2 changes: 1 addition & 1 deletion Compiler/Template/AbsynDumpTpl.tpl
Expand Up @@ -1044,5 +1044,5 @@ let() = Tpl.addTemplateError(errMessage)
>>
end errorMsg;

annotation(__OpenModelica_Interface="absyn");
annotation(__OpenModelica_Interface="frontend");
end AbsynDumpTpl;
2 changes: 1 addition & 1 deletion Compiler/Util/HashTableStringToPath.mo
Expand Up @@ -101,5 +101,5 @@ algorithm
hashTable := BaseHashTable.emptyHashTableWork(size,(System.stringHashDjb2Mod,stringEq,Util.id,Absyn.pathString));
end emptyHashTableSized;

annotation(__OpenModelica_Interface="util");
annotation(__OpenModelica_Interface="frontend");
end HashTableStringToPath;
11 changes: 5 additions & 6 deletions Compiler/boot/CompileFile.mos
Expand Up @@ -6,12 +6,11 @@ end if;
mkdir("build/tmp");
cd("build/tmp");
if not checkInterfaceOfPackages(mainClass, {
{"backendInterface", "absyn", "backend", "frontend", "util", "susan"},
{"backend", "absyn", "frontend", "util", "susan", "backendInterface"},
{"frontend", "absyn", "util", "susan", "backendInterface", ""},
{"susan", "util", "", "", "", ""},
{"util", "absyn", "", "", "", ""},
{"absyn", "susan", "util", "", "", ""}// Its own module because Absyn-Dump-Util depend on each other...
{"backendInterface", "backend", "frontend", "util", "susan"},
{"backend", "frontend", "util", "susan", "backendInterface"},
{"frontend", "util", "susan", "backendInterface", ""},
{"susan", "util", "", "", ""},
{"util", "", "", "", ""}
}) then
print(getErrorString());
exit(1);
Expand Down

0 comments on commit e64cd0c

Please sign in to comment.