Skip to content

Commit

Permalink
Removed bogus errors.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@329 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
x97davka committed Jul 8, 1998
1 parent 8eceb86 commit 166b358
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modeq/lookup.rml
Expand Up @@ -177,10 +177,12 @@ relation lookup_class_in_frame: ((SCode.Ident * Env.Item) list,
---------------------------------------------------------
lookup_class_in_frame((n,Env.CLASS(c))::_, id) => c

(*
rule id = n & print "# Error while looking up class " &
print id & print ": found a component\n"
------------------------------------
lookup_class_in_frame((n,Env.VAR(_))::_,id) => fail
*)

rule lookup_class_in_frame(fs,id) => c
------------------------------
Expand All @@ -205,6 +207,7 @@ relation lookup_var2: ((SCode.Ident * Env.Item) list,SCode.Ident)
--------------------------------------------
lookup_var2((n,Env.VAR(fv))::_,id) => fv

(*
rule id = n & print "# Error while looking up component " &
print id & print ": found a class\n"
------------------------------------
Expand All @@ -214,6 +217,7 @@ relation lookup_var2: ((SCode.Ident * Env.Item) list,SCode.Ident)
print id & print ": found a type\n"
------------------------------------
lookup_var2((n,Env.TYPE(_))::_,id) => fail
*)

rule lookup_var2(fs,id) => fv
------------------------
Expand Down

0 comments on commit 166b358

Please sign in to comment.