Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@304 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
x97davka committed Jul 1, 1998
1 parent 2580189 commit 6f12b03
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions modeq/exp.rml
Expand Up @@ -178,11 +178,11 @@ relation print_exp: Exp => () =
---------------------------------
print_exp(SCONST(s))

rule print "FALSE"
rule print "false"
-------------
print_exp(BCONST(false))

rule print "TRUE"
rule print "true"
-------------
print_exp(BCONST(true))

Expand Down Expand Up @@ -211,9 +211,9 @@ relation print_exp: Exp => () =
-----------------------------------------------------------------
print_exp(RELATION(e1, op, e2))

rule print "IF " & print_exp(c) &
print " THEN " & print_exp(t) &
print " ELSE " & print_exp(f)
rule print "if " & print_exp(c) &
print " then " & print_exp(t) &
print " else " & print_exp(f)
----------------------------
print_exp(IFEXP(c,t,f))

Expand Down Expand Up @@ -241,7 +241,7 @@ relation print_exp: Exp => () =
-------------------------------------------------------------
print_exp RANGE(start,SOME(step),stop)

rule print "real(" & print_exp e & print ")"
rule print "Real(" & print_exp e & print ")"
---------------------------------------
print_exp CAST_TO_REAL(e)

Expand Down

0 comments on commit 6f12b03

Please sign in to comment.