Skip to content

Commit

Permalink
- got rid of all the not-needed files for the front-end:
Browse files Browse the repository at this point in the history
  I added not a Main_stub.mo which only does translateFile.
  I splited Derive.mo into 2.
  I also took out from the compilation: 
  DAELow.mo, Codegen.mo, SimCodegen.mo, TaskGraph.mo, TaskGraphExt.mo
  DAEExt.mo.
  See omc_frontend/Makefile.omdev.mingw
  Unfortunately I had to fix the dependencies manually in the makefile,
  but we can fix that later.

git-svn-id: https://openmodelica.org/svn/OpenModelica/branches/MathCoreOSMC@3784 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Dec 18, 2008
1 parent 992d112 commit ad1a927
Show file tree
Hide file tree
Showing 5 changed files with 1,017 additions and 40 deletions.
34 changes: 0 additions & 34 deletions Compiler/BackendVarTransform_stub.mo
Expand Up @@ -37,42 +37,8 @@ package BackendVarTransform
This file is a stub!"

public import DAELow;
public import Exp;
public import VarTransform;
protected import Util;

public function replaceEquations
"function: replaceEquations
This function takes a list of equations ana a set of variable
replacements and applies the replacements on all equations.
The function returns the updated list of equations"
input list<DAELow.Equation> inDAELowEquationLst;
input VarTransform.VariableReplacements inVariableReplacements;
output list<DAELow.Equation> outDAELowEquationLst;
algorithm
outDAELowEquationLst := {};
end replaceEquations;

protected function replaceWhenEquation "Replaces variables in a when equation"
input DAELow.WhenEquation whenEqn;
input VarTransform.VariableReplacements repl;
output DAELow.WhenEquation outWhenEqn;
algorithm
outWhenEqn := whenEqn;
end replaceWhenEquation;

public function replaceMultiDimEquations "function: replaceMultiDimEquations
This function takes a list of equations ana a set of variable replacements
and applies the replacements on all array equations.
The function returns the updated list of array equations
"
input list<DAELow.MultiDimEquation> inDAELowEquationLst;
input VarTransform.VariableReplacements inVariableReplacements;
output list<DAELow.MultiDimEquation> outDAELowEquationLst;
algorithm
outDAELowEquationLst := {};
end replaceMultiDimEquations;

end BackendVarTransform;
5 changes: 0 additions & 5 deletions Compiler/CevalScript_stub.mo
Expand Up @@ -49,7 +49,6 @@ package CevalScript
InteractiveSymbolTable: Modified symbol table
Subscript list : Evaluates subscripts and generates constant expressions."

public import DAELow;
public import Exp;
public import Env;
public import Interactive;
Expand All @@ -58,16 +57,12 @@ public import Absyn;
public import Types;
public import Ceval;

protected import SimCodegen;
protected import AbsynDep;
protected import Refactor;
protected import DAEQuery;
protected import XMLDump;
protected import ClassLoader;
protected import Parser;
protected import Dump;
protected import ClassInf;
protected import Codegen;
protected import Settings;
protected import SCode;
protected import DAE;
Expand Down

0 comments on commit ad1a927

Please sign in to comment.