Skip to content

Commit

Permalink
cosmetic change
Browse files Browse the repository at this point in the history
  • Loading branch information
vruge authored and OpenModelica-Hudson committed Jun 8, 2015
1 parent 538b909 commit 90b6c5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Compiler/FFrontEnd/FBuiltin.mo
Expand Up @@ -291,7 +291,7 @@ protected constant DAE.Var finalTimeVar = DAE.TYPES_VAR("finalTime",
/* Optimica Extensions. The builtin variable objectiveIntegrand. */
protected constant DAE.Var objectiveIntegrandVar = DAE.TYPES_VAR("objectiveIntegrand",
DAE.dummyAttrInput,
DAE.T_REAL_DEFAULT,DAE.UNBOUND(),NONE()) "- The `finalTime\' variable" ;
DAE.T_REAL_DEFAULT,DAE.UNBOUND(),NONE()) "- The `objectiveIntegrand\' variable" ;

/* Optimica Extensions. The builtin variable objective. */
protected constant DAE.Var objectiveVar = DAE.TYPES_VAR("objective",
Expand Down
2 changes: 1 addition & 1 deletion Compiler/FrontEnd/Static.mo
Expand Up @@ -7665,8 +7665,8 @@ algorithm
// not functions. So it is not really a call Exp but the compiler treats it as if it is up until this point.
// This is a kind of trick to handle that.
case (cache,env,fn,{Absyn.CREF(Absyn.CREF_IDENT(name,_))},_,impl,_,_,pre,_,_)
guard Config.acceptOptimicaGrammar()
equation
true = Config.acceptOptimicaGrammar();
cref = Absyn.pathToCref(fn);

(cache,SOME((daeexp as DAE.CREF(daecref,tp),prop,_))) = elabCref(cache,env, cref, impl,true,pre,info);
Expand Down

0 comments on commit 90b6c5d

Please sign in to comment.