Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@441 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
x97davka committed Sep 22, 1998
1 parent 2c5a197 commit 2300138
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions modeq/main.rml
Expand Up @@ -29,28 +29,18 @@ with "rtopts.rml"

relation translate_file : string list => () =

rule (* print "\n = Parsing\n\n" & *)
Parser.parse f => p &
(* Dump.dump p & *)

(* print "\n = Exploding\n\n" & *)
rule Parser.parse f => p &
SCode.elaborate(p) => p' &
(* Dump.dump p' & *)

(* print "\n = Instantiating\n\n" & *)
Inst.instantiate(p') => d &
print "\n[result]\n\n" &
DAE.dump d &

print "\n[end result]\n"
----------------
DAE.dump d
----------
translate_file [f]

rule print "Too many arguments\n"
rule print "# Too many arguments\n"
----------------------------
translate_file _::_::_

rule print "Supply a file name\n"
rule print "# Supply a file name\n"
----------------------------
translate_file []

Expand Down

0 comments on commit 2300138

Please sign in to comment.