Skip to content

Commit

Permalink
- make function SimCodeUtil.zeroCrossingsEquations protected
Browse files Browse the repository at this point in the history
- remove unused modules


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@17823 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
lochel committed Oct 22, 2013
1 parent b1033e0 commit 4797d69
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 12 deletions.
2 changes: 0 additions & 2 deletions Compiler/BackEnd/BackendDAECreate.mo
Expand Up @@ -56,10 +56,8 @@ protected import ClassInf;
protected import DAEDump;
protected import DAEUtil;
protected import Debug;
protected import Derive;
protected import Error;
protected import Expression;
protected import ExpressionSimplify;
protected import ExpressionDump;
protected import Flags;
protected import Global;
Expand Down
3 changes: 1 addition & 2 deletions Compiler/BackEnd/SimCodeUtil.mo
Expand Up @@ -56,7 +56,6 @@ public import Values;
public import SimCode;

// protected imports
protected import BackendDAECreate;
protected import BackendDAEOptimize;
protected import BackendDAETransform;
protected import BackendDump;
Expand Down Expand Up @@ -2504,7 +2503,7 @@ end createEquationsWork;
//
// =============================================================================

public function zeroCrossingsEquations "
protected function zeroCrossingsEquations "
Returns a list of all equations (by their index) that contain a zero crossing
Used e.g. to find out which discrete equations are not part of a zero crossing"
input BackendDAE.EqSystem syst;
Expand Down
1 change: 0 additions & 1 deletion Compiler/FrontEnd/InstBinding.mo
Expand Up @@ -66,7 +66,6 @@ protected import DAEUtil;
protected import PrefixUtil;
protected import Types;
protected import InstSection;
protected import Config;

public constant DAE.Type stateSelectType =
DAE.T_ENUMERATION(NONE(),Absyn.IDENT(""),{"never","avoid","default","prefer","always"},
Expand Down
1 change: 0 additions & 1 deletion Compiler/FrontEnd/NFEnv.mo
Expand Up @@ -48,7 +48,6 @@ protected import Error;
protected import Flags;
protected import List;
protected import NFBuiltin;
protected import Util;

public type EntryOrigin = NFInstTypes.EntryOrigin;
public type Entry = NFInstTypes.Entry;
Expand Down
1 change: 0 additions & 1 deletion Compiler/FrontEnd/NFLookup.mo
Expand Up @@ -47,7 +47,6 @@ public import SCode;

protected import List;
protected import NFBuiltin;
protected import NFRedeclare;
protected import System;

public type Env = NFEnv.Env;
Expand Down
1 change: 0 additions & 1 deletion Compiler/FrontEnd/NFRedeclare.mo
Expand Up @@ -44,7 +44,6 @@ public import NFMod;
public import SCode;

protected import Error;
protected import List;

public type Env = NFEnv.Env;
public type Modifier = NFMod.Modifier;
Expand Down
4 changes: 0 additions & 4 deletions Compiler/FrontEnd/SCodeUtil.mo
Expand Up @@ -48,18 +48,14 @@ encapsulated package SCodeUtil
public import Absyn;
public import SCode;

protected import Builtin;
protected import Debug;
protected import Error;
protected import Flags;
protected import Global;
protected import Inst;
protected import List;
protected import MetaUtil;
protected import System;
protected import Types;
protected import Util;
protected import NFSCodeFlatten;
protected import SCodeDump;

public function translateAbsyn2SCode
Expand Down

0 comments on commit 4797d69

Please sign in to comment.