Skip to content

Commit

Permalink
Use ClassInf.print_restr
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@225 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
x97davka committed Mar 25, 1998
1 parent d35c3e9 commit d172193
Showing 1 changed file with 5 additions and 31 deletions.
36 changes: 5 additions & 31 deletions modeq/dump.rml
Expand Up @@ -17,6 +17,8 @@ module Dump:

end

with "classinf.rml"

(*************************************************************************)
(* Dump routines for debugging of AST *)

Expand Down Expand Up @@ -167,37 +169,9 @@ end

relation dump_class_restriction: Absyn.ClassRestriction => () =

rule print "CLASS"
--------------------------------------------
dump_class_restriction(Absyn.CL_CLASS) => ()

rule print "TYPE"
----------------------------
dump_class_restriction(Absyn.CL_TYPE) => ()

rule print "CONNECTOR"
----------------------------
dump_class_restriction(Absyn.CL_CONNECTOR) => ()

rule print "MODEL"
----------------------------
dump_class_restriction(Absyn.CL_MODEL) => ()

rule print "MODEL"
------------------------------------------------
dump_class_restriction(Absyn.CL_MODEL) => ()

rule print "BLOCK"
------------------------------------------------
dump_class_restriction(Absyn.CL_BLOCK) => ()

rule print "PACKAGE"
--------------------------------------------------
dump_class_restriction(Absyn.CL_PACKAGE) => ()

rule print "FUNCTION"
---------------------------------------------------
dump_class_restriction(Absyn.CL_FUNCTION) => ()
rule ClassInf.print_restr re
-----------------------
dump_class_restriction re

end

Expand Down

0 comments on commit d172193

Please sign in to comment.