Skip to content

Commit

Permalink
Check modelica_output
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@451 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
x97davka committed Sep 28, 1998
1 parent f8b1410 commit ac7bf3f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion modeq/exp.rml
Expand Up @@ -412,7 +412,13 @@ relation print_exp2: (Exp,int) => () =
-------------------------
print_exp2 (RANGE(start,SOME(step),stop),pri1)

rule print "Real(" & print_exp e & print ")"
rule RTOpts.modelica_output => false &
print "Real(" & print_exp e & print ")"
---------------------------------------
print_exp2 (CAST(REAL,e),_)

rule RTOpts.modelica_output => true &
print_exp e
---------------------------------------
print_exp2 (CAST(REAL,e),_)

Expand Down

0 comments on commit ac7bf3f

Please sign in to comment.