Skip to content

Commit

Permalink
Fixed bugs in lookup inside packages. SignalVoltage now works for Mod…
Browse files Browse the repository at this point in the history
…elica Stdlib v1.5.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@960 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Peter Aronsson committed Apr 16, 2003
1 parent 62c390d commit f045fd9
Show file tree
Hide file tree
Showing 7 changed files with 242 additions and 127 deletions.
1 change: 1 addition & 0 deletions modeq/dump.rml
Expand Up @@ -63,6 +63,7 @@ with "debug.rml"
relation print_list : ('a list, 'a => (), string) => ()
relation print_elementspec: Absyn.ElementSpec => ()
relation print_named_arg: Absyn.NamedArg => ()
relation print_import : Absyn.Import => ()
relation op_symbol : Absyn.Operator => string
relation print_bool : bool => ()
relation print_select: (bool,string,string) => ()
Expand Down
3 changes: 3 additions & 0 deletions modeq/env.rml
Expand Up @@ -420,6 +420,9 @@ relation print_frame_element: (Ident * Item) => () =
-------
print_frame_element ((n,TYPE(_)))

rule Print.print_buf "imp:" & Dump.print_import imp
-------
print_frame_element ((n,IMPORT(imp)))
end


Expand Down
7 changes: 6 additions & 1 deletion modeq/explode.rml
Expand Up @@ -664,7 +664,9 @@ end

relation print_mod : Mod => () =

axiom print_mod(NOMOD)
rule Print.print_buf "NOMOD"
----------------
print_mod(NOMOD)

rule Print.print_buf "redeclare(" &
Dump.print_bool b & Print.print_buf ", " &
Expand Down Expand Up @@ -801,4 +803,7 @@ relation print_element : Element => () =
----------------------------------------
print_element COMPONENT(n,final,repl,prot,attr,typath,mod)

rule Print.print_buf "IMPORT(_)\n"
-------------------------
print_element(IMPORT(_))
end

0 comments on commit f045fd9

Please sign in to comment.