Changeset 4553 for trunk/compiler

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

Corrected a bug that prevented using synchronized/1 predicate directives within protocols.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/compiler/logtalk.pl

    r4551 r4553  
    89178917    assertz('$lgt_pp_referenced_protocol_'(Ptc)), 
    89188918    '$lgt_construct_protocol_functors'(Ptc, Prefix, Dcl, Rnm), 
    8919     assertz('$lgt_pp_protocol_'(Ptc, Prefix, Dcl, Rnm, Mode)). 
     8919    assertz('$lgt_pp_protocol_'(Ptc, Prefix, Dcl, Rnm, Mode)), 
     8920    % needed in order to be able to save synchronized predicate properties: 
     8921    asserta('$lgt_pp_pred_mutex_count_'(0)).  
    89208922 
    89218923