Skip to content

Commit

Permalink
forgot to add "setCompileCommand" to Static.rml
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@1984 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
x02lucpo committed Nov 24, 2005
1 parent 7bb11d9 commit 3ea048d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Ceval.rml
Expand Up @@ -1240,7 +1240,7 @@ axiom ceval_interactive_functions (env, Exp.CALL(Absyn.IDENT("clear"),[],_,_),s
st as Interactive.SYMBOLTABLE(p,sp,ic,iv,cf),msg)
=> (ret_val,st')(*(Values.STRING("The model have been translated"),st')*)

rule System. set_compile_command(cmd)
rule System.set_compile_command(cmd)
-------------------------
ceval_interactive_functions (env, Exp.CALL(Absyn.IDENT("setCompileCommand"),
[Exp.SCONST(cmd)],_,_),
Expand Down
10 changes: 10 additions & 0 deletions Compiler/Static.rml
Expand Up @@ -2917,6 +2917,16 @@ relation elab_call_interactive : (Env.Env, Absyn.ComponentRef, Absyn.Exp list,Ab
Types.PROP((Types.T_BOOL([]),NONE),Types.C_VAR),
SOME(st))

axiom elab_call_interactive(env, Absyn.CREF_IDENT("setCompileCommand",_),
[ Absyn.STRING(str)],[],impl,
SOME(st))
=> (Exp.CALL(Absyn.IDENT("setCompileCommand"),
[Exp.SCONST(str)],
false,
true),
Types.PROP((Types.T_BOOL([]),NONE),Types.C_VAR),
SOME(st))

axiom elab_call_interactive(env, Absyn.CREF_IDENT("setCompilerFlags",_),
[ Absyn.STRING(str)],[],impl,
SOME(st))
Expand Down

0 comments on commit 3ea048d

Please sign in to comment.