Skip to content

Commit

Permalink
Removed inst. in get_nth_component
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@1049 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Peter Aronsson committed Dec 3, 2003
1 parent 3a7742c commit 125e96f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modeq/interactive.rml
Expand Up @@ -1508,11 +1508,9 @@ relation get_nth_component: (Absyn.ComponentRef,Absyn.Program, int) => string =
SCode.elaborate(p) => p' &
Inst.make_env_from_program(p',Absyn.IDENT("")) => env &
Lookup.lookup_class(env,modelpath,false) => (c,env') &
Inst.inst_class (env', Types.NOMOD, Prefix.NOPRE,[],c,[],true,Inst.TOP_CALL)
=> (_,env'',_,_,_) &
get_pathed_class_in_program(modelpath,p) => cdef &
get_nth_public_component_in_class(cdef,n) => comp &
get_component_name_and_type_and_comment (comp,env'') => s1 &
get_component_name_and_type_and_comment (comp,env') => s1 &
string_append("{",s1) => s2 &
string_append(s2,"}") => str
-------------------------------------------------
Expand Down

0 comments on commit 125e96f

Please sign in to comment.