Changeset 4574 for trunk/configs

Show
Ignore:
Timestamp:
11/06/08 20:16:44 (2 months ago)
Author:
pmoura
Message:

Added conditional compilation support, as found in some Prolog compilers, using the new directives if/1, elif/1, else/0, and endif/0.

Location:
trunk/configs
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/configs/swi.config

    r4572 r4574  
    1212%  configuration file for SWI Prolog 5.6.44 and later versions 
    1313% 
    14 %  last updated: October 20, 2008 
     14%  last updated: November 7, 2008 
    1515%  
    1616%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
     
    513513 
    514514% '$lgt_rewrite_and_copy_pl_directive'(@callable, -callable) 
    515  
    516 '$lgt_rewrite_and_copy_pl_directive'(if(Goal), if(Goal)). 
    517 '$lgt_rewrite_and_copy_pl_directive'(elif(Goal), elif(Goal)). 
    518 '$lgt_rewrite_and_copy_pl_directive'(else, else). 
    519 '$lgt_rewrite_and_copy_pl_directive'(endif, endif). 
    520515 
    521516'$lgt_rewrite_and_copy_pl_directive'(license(License), license(License)). 
  • trunk/configs/yap.config

    r4572 r4574  
    1212%  configuration file for YAP Prolog 5.1.3 and later versions 
    1313% 
    14 %  last updated: October 28, 2008 
     14%  last updated: November 7, 2008 
    1515% 
    1616%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
     
    552552% '$lgt_rewrite_and_copy_pl_directive'(@callable, -callable) 
    553553 
    554 '$lgt_rewrite_and_copy_pl_directive'(if(Goal), if(Goal)). 
    555 '$lgt_rewrite_and_copy_pl_directive'(elif(Goal), elif(Goal)). 
    556 '$lgt_rewrite_and_copy_pl_directive'(else, else). 
    557 '$lgt_rewrite_and_copy_pl_directive'(endif, endif). 
    558  
    559554'$lgt_rewrite_and_copy_pl_directive'(table(PIs), table(CPIs)) :- 
    560555    '$lgt_rewrite_and_copy_pl_directive_pis'(PIs, CPIs).