Skip to content

Commit

Permalink
- Bootstrapping
Browse files Browse the repository at this point in the history
- Expected output


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@12473 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Aug 10, 2012
1 parent b24c1a0 commit 19db907
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
3 changes: 0 additions & 3 deletions Compiler/BackEnd/BackendDAEOptimize.mo
Expand Up @@ -1239,7 +1239,6 @@ algorithm
BackendDAE.SymbolicJacobians symjacs;
list<BackendDAE.WhenClause> whenClauseLst,whenClauseLst1;
list<BackendDAE.ZeroCrossing> zeroCrossingLst;
Boolean b;
BackendDAE.BackendDAEType btp;
case (false,syst,shared,_,_,_,_) then (syst,shared);
case (true,BackendDAE.EQSYSTEM(orderedVars=ordvars,orderedEqs=eqns),BackendDAE.SHARED(knvars,exobj,aliasVars,inieqns,remeqns,constrs,clsAttrs,cache,env,funcTree,einfo,eoc,btp,symjacs),repl,movedVars,movedAVars,meqns)
Expand Down Expand Up @@ -1283,7 +1282,6 @@ algorithm
BackendDAE.SymbolicJacobians symjacs;
list<BackendDAE.WhenClause> whenClauseLst,whenClauseLst1;
list<BackendDAE.ZeroCrossing> zeroCrossingLst;
Boolean b;
BackendDAE.BackendDAEType btp;
BackendDAE.EqSystems systs,systs1;
BackendDAE.Shared shared;
Expand Down Expand Up @@ -11017,7 +11015,6 @@ algorithm
list<BackendDAE.Equation> eqsLst;
list<BackendDAE.Var> varLst;
BackendDAE.Var var;
list<Integer> clst;
case ({},_,_,_,_,_)
then
(inVarLst,inRepl);
Expand Down
2 changes: 1 addition & 1 deletion Compiler/FrontEnd/ClassLoader.mo
Expand Up @@ -425,7 +425,7 @@ algorithm
Error.assertionOrAddSourceMessage(stringEqual(cname,pack), Error.LIBRARY_UNEXPECTED_NAME, {pack,cname}, info);
s1 = Absyn.withinString(w1);
s2 = Absyn.withinString(w2);
Error.assertionOrAddSourceMessage(Absyn.withinEqual(w1,w2) or Config.languageStandardAtMost(Config.MODELICA_1_X), Error.LIBRARY_UNEXPECTED_WITHIN, {s1,s2}, info);
Error.assertionOrAddSourceMessage(Absyn.withinEqual(w1,w2) or Config.languageStandardAtMost(Config.MODELICA_1_X()), Error.LIBRARY_UNEXPECTED_WITHIN, {s1,s2}, info);
then Absyn.PROGRAM(cs,w1 /* Modelica 1.x did not keep within */,ts);

// faliling
Expand Down
5 changes: 3 additions & 2 deletions Compiler/FrontEnd/Expression.mo
Expand Up @@ -5796,11 +5796,12 @@ end isConstWork;
protected function isConstValueWork
"Returns true if an expression is a constant value"
input DAE.Exp inExp;
input Boolean res;
input Boolean inRes;
output Boolean outBoolean;
algorithm
outBoolean := match (inExp,res)
outBoolean := match (inExp,inRes)
local
Boolean res;
Operator op;
DAE.Exp e,e1,e2;
Type t;
Expand Down
1 change: 0 additions & 1 deletion Compiler/FrontEnd/InstExtends.mo
Expand Up @@ -1826,7 +1826,6 @@ algorithm
local
String id;
Absyn.Exp exp;
Absyn.NamedArg inNarg;
Env.Cache cache;
Env.Env env;
HashTableStringToPath.HashTable ht;
Expand Down

0 comments on commit 19db907

Please sign in to comment.