Changeset 3899 for trunk/compiler

Show
Ignore:
Timestamp:
10/24/07 11:25:45 (15 months ago)
Author:
pmoura
Message:

Updated the Logtalk runtime to print the value of the "context_switching_calls". Fixed a singleton warning in the Logtalk compiler. Updated upgrading instructions.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/compiler/logtalk.pl

    r3898 r3899  
    251251        ;   catch(TPred, Error, '$lgt_runtime_error_handler'(Error)) 
    252252        ) 
    253     ;   throw(error(resource_error(context_switching_calls), Obj<<Goal, user)) 
     253    ;   throw(error(resource_error(context_switching_calls), Obj<<Pred, user)) 
    254254    ). 
    255255 
     
    1299312993    '$lgt_default_flag'(startup_message, Startup), write(', startup_message: '), write(Startup), nl, 
    1299412994    '$lgt_default_flag'(altdirs, Altdirs), write('  altdirs: '), write(Altdirs), 
     12995    '$lgt_default_flag'(context_switching_calls, ContextCalls), write('  context_switching_calls: '), write(ContextCalls), 
    1299512996    '$lgt_default_flag'(encoding_directive, Encodings), write(', encoding_directive: '), write(Encodings), 
    1299612997     '$lgt_default_flag'(threads, Threads), write(', threads: '), write(Threads), nl, nl. 
     
    1304913050    '$lgt_default_flag'(altdirs, Altdirs), 
    1305013051    write('  Alternative compilation directories (altdirs):              '), write(Altdirs), nl, 
     13052    '$lgt_default_flag'(context_switching_calls, ContextCalls), 
     13053    write('  Context-switching calls (context_switching_calls):          '), write(ContextCalls), nl, 
    1305113054    '$lgt_default_flag'(encoding_directive, Encodings), 
    1305213055    write('  Support for encoding/1 directive (encoding_directive):      '), write(Encodings), nl,