Skip to content

Commit

Permalink
Added some trace info
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@113 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
x97davka committed Feb 9, 1998
1 parent d2fd268 commit 48a4272
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions modeq/env.rml
Expand Up @@ -60,7 +60,9 @@ end
relation lookup_class_f: ((Absyn.Ident*Absyn.Class) list,Absyn.Ident)
=> Absyn.Class =

rule id = n
rule (* print " lookup_class_f(" & print id & print "): " &
print n & print "\n" & *)
id = n
---------------------------------------------------------
lookup_class_f((n,c)::_, id) => c

Expand Down Expand Up @@ -117,7 +119,9 @@ end

relation extend_frame_c : (Env,Absyn.Class) => Env =

axiom extend_frame_c(FRAME(vs,cs)::fs,c as Absyn.CLASS(n,_,_,_))
rule print " extend_frame_c: " & print n & print "\n"
------------------------------------------------
extend_frame_c(FRAME(vs,cs)::fs,c as Absyn.CLASS(n,_,_,_))
=> ((FRAME(vs,(n,c)::cs)::fs))

end
Expand Down

0 comments on commit 48a4272

Please sign in to comment.