Show
Ignore:
Timestamp:
06/21/09 12:00:40 (15 months ago)
Author:
pmoura
Message:

Added missing dynamic directives in the definition of the pseudo-object "debugger".

Allow the "debugger" built-in object to play the role of both a class and a prototype when being specialized or extended.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/compiler/logtalk.pl

    r5039 r5040  
    39653965% the following clauses correspond to a virtual compilation of the built-in object debugger 
    39663966 
     3967:- dynamic('$lgt_bio_debugger_0__ddcl'/2). 
     3968:- dynamic('$lgt_bio_debugger_0__ddef'/3). 
     3969 
    39673970 
    39683971% debugger public protocol 
     
    39913994    '$lgt_bio_debugger_0__dcl'(Pred, Scope, Type, Meta, NonTerminal, Synchronized). 
    39923995 
     3996'$lgt_bio_debugger_0__dcl'(Pred, Scope, (dynamic), no, no, no, debugger, debugger) :- 
     3997    '$lgt_bio_debugger_0__ddcl'(Pred, Scope). 
     3998 
    39933999 
    39944000'$lgt_bio_debugger_0__def'(reset, _, '$lgt_dbg_reset'). 
     
    40144020'$lgt_bio_debugger_0__def'(Pred, ExCtx, Call, debugger) :- 
    40154021    '$lgt_bio_debugger_0__def'(Pred, ExCtx, Call). 
     4022 
     4023'$lgt_bio_debugger_0__def'(Pred, ExCtx, Call, debugger) :- 
     4024    '$lgt_bio_debugger_0__ddef'(Pred, ExCtx, Call). 
     4025 
     4026 
     4027'$lgt_bio_debugger_0__idcl'(Pred, Scope, (dynamic), no, no, no, debugger, debugger) :- 
     4028    '$lgt_bio_debugger_0__ddcl'(Pred, Scope). 
     4029 
     4030 
     4031'$lgt_bio_debugger_0__idef'(Pred, ExCtx, Call, debugger) :- 
     4032    '$lgt_bio_debugger_0__ddef'(Pred, ExCtx, Call). 
    40164033 
    40174034