Skip to content

Commit

Permalink
*** empty log message ***
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@839 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Peter Aronsson committed Aug 28, 2002
1 parent c0bf6c2 commit 0a14853
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions modeq/inst.rml
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,7 @@ end
relation update_variable_in_env: (Mod.Mod,Absyn.ComponentRef, Env.Env) => Env.Env =


rule Lookup.lookup_ident(env,id) => (ty,SOME(SCode.COMPONENT(n,final,prot,
rule Lookup.lookup_ident(env,id) => (ty,SOME(SCode.COMPONENT(n,final,prot,
attr as SCode.ATTR(ad,flow,acc,param,dir),
t,m)),_) &

Expand Down Expand Up @@ -1050,7 +1050,12 @@ relation update_variable_in_env: (Mod.Mod,Absyn.ComponentRef, Env.Env) => Env.En
rule Lookup.lookup_ident(env,id) => (ty,NONE,_)
----------------------------------
update_variable_in_env (mods,cref as Absyn.CREF_IDENT(id,subscr),env) => env

(* Qualified names should not be considered, because:
FIXME: explanation...
*)
rule print "nisse\n"
----------------
update_variable_in_env(mods,Absyn.CREF_QUAL(_,_,_),env) => env
rule print "update_variable_in_env failed\n ident =" &
Dump.print_component_ref cref &
print "\n"
Expand Down

0 comments on commit 0a14853

Please sign in to comment.