Changeset 4551 for trunk/compiler

Show
Ignore:
Timestamp:
10/31/08 10:06:18 (2 months ago)
Author:
pmoura
Message:

Added missing "built_in" properties for the built-in protocols "expanding" and "monitoring".

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/compiler/logtalk.pl

    r4550 r4551  
    479479    throw(error(domain_error(object_property, Prop), object_property(Obj, Prop))). 
    480480 
    481 object_property(user, built_in). 
    482 object_property(debugger, built_in). 
    483 object_property(logtalk, built_in). 
    484  
    485481object_property(Obj, Prop) :- 
    486482    '$lgt_current_object_'(Obj, _, _, _, _, _, _, _, _, _, Type), 
     
    524520 
    525521protocol_property(Ptc, Prop) :- 
    526     '$lgt_current_protocol_'(Ptc, _, _, _, _, Type), 
     522    '$lgt_current_protocol_'(Ptc, _, _, _, Type), 
    527523    (   Prop = Type                         % static/dynamic property 
    528524    ;   '$lgt_entity_property_'(Ptc, Prop)  % other properties 
     
    33953391%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
    33963392% 
    3397 %  built-in entity runtime table clauses 
     3393%  built-in entity runtime table clauses and properties 
    33983394% 
    33993395%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
     
    34103406 
    34113407 
     3408'$lgt_entity_property_'(logtalk, built_in). 
     3409'$lgt_entity_property_'(user, built_in). 
    34123410'$lgt_entity_property_'(user, threaded). 
     3411'$lgt_entity_property_'(debugger, built_in). 
     3412'$lgt_entity_property_'(expanding, built_in). 
     3413'$lgt_entity_property_'(monitoring, built_in). 
    34133414 
    34143415