Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
niklwors committed Jul 2, 2015
2 parents 1b61666 + 509f225 commit bf98442
Show file tree
Hide file tree
Showing 12 changed files with 6,647 additions and 6,687 deletions.
4 changes: 2 additions & 2 deletions Compiler/Script/CevalScript.mo
Expand Up @@ -77,7 +77,7 @@ import CheckModel;
import ClassInf;
import ClassLoader;
import ClockIndexes;
import CodegenC;
import CodegenCFunctions;
import Config;
import Corba;
import DAEQuery;
Expand Down Expand Up @@ -2260,7 +2260,7 @@ algorithm

case (cache,_,"generateEntryPoint",{Values.STRING(filename),Values.CODE(Absyn.C_TYPENAME(path)),Values.STRING(str)},st as GlobalScript.SYMBOLTABLE(),_)
equation
str = Tpl.tplString2(CodegenC.generateEntryPoint, path, str);
str = Tpl.tplString2(CodegenCFunctions.generateEntryPoint, path, str);
System.writeFile(filename,str);
then (cache,Values.BOOL(true),st);

Expand Down
6 changes: 3 additions & 3 deletions Compiler/SimCode/SimCodeFunction.mo
Expand Up @@ -43,7 +43,7 @@ import SimCode;
// protected imports
protected
import BaseHashTable;
import CodegenC;
import CodegenCFunctions;
import SimCodeFunctionUtil;

public function translateFunctions "
Expand Down Expand Up @@ -77,7 +77,7 @@ algorithm
makefileParams = SimCodeFunctionUtil.createMakefileParams(includeDirs, libs,libPaths, true);
fnCode = SimCode.FUNCTIONCODE(name, SOME(mainFunction), fns, literals, includes, makefileParams, extraRecordDecls);
// Generate code
_ = Tpl.tplString(CodegenC.translateFunctions, fnCode);
_ = Tpl.tplString(CodegenCFunctions.translateFunctions, fnCode);
then
();
case (_, _, NONE(), daeElements, _, includes)
Expand All @@ -92,7 +92,7 @@ algorithm

fnCode = SimCode.FUNCTIONCODE(name, NONE(), fns, literals, includes, makefileParams, extraRecordDecls);
// Generate code
_ = Tpl.tplString(CodegenC.translateFunctions, fnCode);
_ = Tpl.tplString(CodegenCFunctions.translateFunctions, fnCode);
then
();
end match;
Expand Down
20 changes: 0 additions & 20 deletions Compiler/Stubs/HpcOmSimCodeMain.mo

This file was deleted.

0 comments on commit bf98442

Please sign in to comment.