Changeset 4048 for trunk/configs

Show
Ignore:
Timestamp:
01/23/08 17:15:10 (12 months ago)
Author:
pmoura
Message:

Using the option derived_from/1 of the YAP load_files/2 predicate throws an error despite information to the contrary in the manual.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/configs/yap.config

    r4045 r4048  
    348348% Logtalk source file, given a list of options 
    349349 
    350 '$lgt_load_prolog_code'(File, Source, Options) :- 
    351     '$lgt_file_extension'(logtalk, Extension), 
    352     atom_concat(Source, Extension, SourceFile), 
    353     absolute_file_name(SourceFile, ExpandedSourceFile), 
    354     load_files(File, [derived_from(ExpandedSourceFile)| Options]). 
     350'$lgt_load_prolog_code'(File, _, Options) :- 
     351    load_files(File, Options). 
    355352 
    356353