Changeset 4580 for trunk/compiler

Show
Ignore:
Timestamp:
11/07/08 16:33:23 (2 months ago)
Author:
pmoura
Message:

Added a "prolog" read-only compiler flag whose value is the name of the back-end Prolog compiler (an atom). This flag can be used for conditional compilation of Prolog specific code.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/compiler/logtalk.pl

    r4579 r4580  
    1201612016'$lgt_valid_flag'(debug). 
    1201712017% read-only compilation flags: 
     12018'$lgt_valid_flag'(prolog). 
    1201812019'$lgt_valid_flag'(startup_message). 
    1201912020'$lgt_valid_flag'(version). 
     
    1203112032% true if the argument is a read only Logtalk flag name 
    1203212033 
     12034'$lgt_read_only_flag'(prolog). 
    1203312035'$lgt_read_only_flag'(startup_message). 
    1203412036'$lgt_read_only_flag'(break_predicate). 
     
    1412814130    '$lgt_default_flag'(tmpdir, TmpDir), write(', tmpdir: '), write(TmpDir), nl, 
    1412914131    write('Read-only compilation flags:'), nl, 
    14130     '$lgt_default_flag'(break_predicate, Break), write('  break_predicate: '), write(Break), 
    14131     '$lgt_default_flag'(startup_message, Startup), write(', startup_message: '), write(Startup), 
    14132     '$lgt_default_flag'(altdirs, Altdirs), write(', altdirs: '), write(Altdirs), nl, 
    14133     '$lgt_default_flag'(context_switching_calls, ContextCalls), write('  context_switching_calls: '), write(ContextCalls), 
     14132    '$lgt_default_flag'(prolog, Prolog), write('  prolog: '), write(Prolog), 
     14133    '$lgt_default_flag'(break_predicate, Break), write(', break_predicate: '), write(Break), 
     14134    '$lgt_default_flag'(startup_message, Startup), write(', startup_message: '), write(Startup), nl, 
     14135    '$lgt_default_flag'(altdirs, Altdirs), write('  altdirs: '), write(Altdirs), 
     14136    '$lgt_default_flag'(context_switching_calls, ContextCalls), write(', context_switching_calls: '), write(ContextCalls), 
    1413414137     '$lgt_default_flag'(threads, Threads), write(', threads: '), write(Threads), nl, 
    1413514138    '$lgt_default_flag'(encoding_directive, Encodings), write('  encoding_directive: '), write(Encodings), 
     
    1418714190    write('  Directory for compiler generated temporary files (tmpdir):  '), write(TmpDir), nl, 
    1418814191    write('Read-only compilation flags:'), nl, 
     14192    '$lgt_default_flag'(prolog, Prolog), 
     14193    write('  Name of the back-end Prolog compiler (prolog):              '), write(Prolog), nl, 
    1418914194    '$lgt_default_flag'(break_predicate, Break), 
    1419014195    write('  Support for break/0 predicate (break_predicate):            '), write(Break), nl,