- Timestamp:
- 07/02/08 10:55:15 (2 months ago)
- Files:
-
- 1 modified
-
trunk/compiler/logtalk.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/compiler/logtalk.pl
r4335 r4337 3179 3179 3180 3180 3181 % '$lgt_call_ctg_pred'(+atom, + callable, +object_identifier, +object_identifier, +object_identifier)3181 % '$lgt_call_ctg_pred'(+atom, +atom, +callable, +object_identifier, +object_identifier, +object_identifier) 3182 3182 % 3183 3183 % calls a category predicate directly, without using the message sending mechanism 3184 3184 3185 '$lgt_call_ctg_pred'(Dcl, Pred, Sender, This, Self) :- 3186 ( call_with_args(Dcl, Pred, _, _, _, _, _, _, _) -> 3185 '$lgt_call_ctg_pred'(Dcl, Rnm, Alias, Sender, This, Self) :- 3186 ( call_with_args(Dcl, Alias, _, _, _, _, _, _, _) -> 3187 call_with_args(Rnm, Ctg, Pred, Alias), 3187 3188 ( '$lgt_imports_category_'(This, Ctg, _), 3188 3189 '$lgt_current_category_'(Ctg, _, _, Def, _, _, _), … … 3190 3191 call(Call) 3191 3192 ) 3192 ; throw(error(existence_error(predicate_declaration, Pred), ':'(Pred), This))3193 ; throw(error(existence_error(predicate_declaration, Alias), ':'(Alias), This)) 3193 3194 ). 3194 3195 … … 7011 7012 true 7012 7013 ; Pred = Alias, 7013 '$lgt_pp_object_'(_, _, Dcl, _, _, IDcl, _, _, _, _, _),7014 '$lgt_pp_object_'(_, _, Dcl, _, _, IDcl, _, _, _, Rnm, _), 7014 7015 ( \+ '$lgt_pp_instantiated_class_'(_, _, _, _, _, _, _, _, _, _), 7015 7016 \+ '$lgt_pp_specialized_class_'(_, _, _, _, _, _, _, _, _, _) -> 7016 TPred = '$lgt_call_ctg_pred'(Dcl, Pred, Sender, This, Self)7017 ; TPred = '$lgt_call_ctg_pred'(IDcl, Pred, Sender, This, Self)7017 TPred = '$lgt_call_ctg_pred'(Dcl, Rnm, Pred, Sender, This, Self) 7018 ; TPred = '$lgt_call_ctg_pred'(IDcl, Rnm, Pred, Sender, This, Self) 7018 7019 ) 7019 7020 ).
