Changeset 4425 for trunk/compiler
- Timestamp:
- 08/14/08 13:36:34 (5 months ago)
- Files:
-
- 1 modified
-
trunk/compiler/logtalk.pl (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/compiler/logtalk.pl
r4417 r4425 2090 2090 '$lgt_current_object_'(Obj, _, Dcl, _, _, _, _, DDcl, DDef, _, _, _, _), 2091 2091 !, 2092 (functor(Pred, Functor, Arity),2093 call_with_args(Dcl, Pred, PScope, Compilation, _, _, _, SCtn, _) ->2092 functor(Pred, Functor, Arity), 2093 ( call_with_args(Dcl, Pred, PScope, Compilation, _, _, _, SCtn, _) -> 2094 2094 ( (\+ \+ PScope = Scope; Sender = SCtn) -> 2095 2095 ( Compilation == (dynamic) -> … … 2809 2809 2810 2810 '$lgt_phrase'(Obj, NonTerminal, Input, Rest, Sender, Scope) :- 2811 NonTerminal =.. [Functor| Args], 2812 '$lgt_append'(Args, [Input, Rest], Args2), 2813 Pred =.. [Functor| Args2], 2811 2814 ( '$lgt_current_object_'(Obj, _, Dcl, Def, _, _, _, _, DDef, _, _, _, _) -> 2812 NonTerminal =.. [Functor| Args],2813 '$lgt_append'(Args, [Input, Rest], Args2),2814 Pred =.. [Functor| Args2],2815 2815 ( call_with_args(Dcl, Pred, PScope, _, _, _, _, SCtn, _) -> 2816 2816 ( (\+ \+ PScope = Scope; Sender = SCtn) -> … … 8737 8737 assertz('$lgt_pp_implemented_protocol_'(Ptc, Prefix, Dcl, Scope)), 8738 8738 '$lgt_tr_implements_protocol'(Refs, ObjOrCtg) 8739 ; throw(type_error(protocol_identifier, Ptc))8739 ; throw(type_error(protocol_identifier, Ref)) 8740 8740 ) 8741 8741 ; throw(type_error(scope, Ref)) … … 8766 8766 assertz('$lgt_pp_imported_category_'(Ctg, Prefix, Dcl, Def, Scope)), 8767 8767 '$lgt_tr_imports_category'(Refs, Obj) 8768 ; throw(type_error(category_identifier, Ctg))8768 ; throw(type_error(category_identifier, Ref)) 8769 8769 ) 8770 8770 ; throw(type_error(scope, Ref)) … … 8795 8795 assertz('$lgt_pp_instantiated_class_'(Class, Prefix, Dcl, Def, Super, IDcl, IDef, DDcl, DDef, Scope)), 8796 8796 '$lgt_tr_instantiates_class'(Refs, Obj) 8797 ; throw(type_error(object_identifier, Class))8797 ; throw(type_error(object_identifier, Ref)) 8798 8798 ) 8799 8799 ; throw(type_error(scope, Ref)) … … 8824 8824 assertz('$lgt_pp_specialized_class_'(Superclass, Prefix, Dcl, Def, Super, IDcl, IDef, DDcl, DDef, Scope)), 8825 8825 '$lgt_tr_specializes_class'(Refs, Class) 8826 ; throw(type_error(object_identifier, Superclass))8826 ; throw(type_error(object_identifier, Ref)) 8827 8827 ) 8828 8828 ; throw(type_error(scope, Ref)) … … 8853 8853 assertz('$lgt_pp_extended_object_'(Parent, Prefix, Dcl, Def, Super, IDcl, IDef, DDcl, DDef, Scope)), 8854 8854 '$lgt_tr_extends_object'(Refs, Obj) 8855 ; throw(type_error(object_identifier, Parent))8855 ; throw(type_error(object_identifier, Ref)) 8856 8856 ) 8857 8857 ; throw(type_error(scope, Ref)) … … 8882 8882 assertz('$lgt_pp_extended_protocol_'(Ptc2, Prefix, Dcl, Scope)), 8883 8883 '$lgt_tr_extends_protocol'(Refs, Ptc1) 8884 ; throw(type_error(protocol_identifier, Ptc2))8884 ; throw(type_error(protocol_identifier, Ref)) 8885 8885 ) 8886 8886 ; throw(type_error(scope, Ref)) … … 8911 8911 assertz('$lgt_pp_extended_category_'(Ctg2, Prefix, Dcl, Def, Scope)), 8912 8912 '$lgt_tr_extends_category'(Refs, Ctg1) 8913 ; throw(type_error(category_identifier, Ctg2))8913 ; throw(type_error(category_identifier, Ref)) 8914 8914 ) 8915 8915 ; throw(type_error(scope, Ref))
