Changeset 4514 for trunk/compiler
- Timestamp:
- 10/18/08 10:17:22 (3 months ago)
- Files:
-
- 1 modified
-
trunk/compiler/logtalk.pl (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/compiler/logtalk.pl
r4513 r4514 260 260 :- dynamic('$lgt_pp_file_encoding_'/2). % '$lgt_pp_file_encoding_'(LogtalkEncoding, PrologEncoding) 261 261 :- dynamic('$lgt_pp_file_bom_'/1). % '$lgt_pp_file_bom_'(BOM) 262 :- dynamic('$lgt_pp_file_ name_'/1). % '$lgt_pp_file_name_'(File)262 :- dynamic('$lgt_pp_file_path_'/2). % '$lgt_pp_file_path_'(File, Path) 263 263 264 264 :- dynamic('$lgt_pp_file_rclause_'/1). % '$lgt_pp_file_rclause_'(Clause) … … 4561 4561 '$lgt_save_global_op_table', 4562 4562 '$lgt_file_name'(logtalk, File, Source), 4563 asserta('$lgt_pp_file_name_'(Source)), 4563 '$lgt_current_directory'(Directory), 4564 asserta('$lgt_pp_file_path_'(Source, Directory)), 4564 4565 catch( 4565 4566 open(Source, read, Input), … … 4589 4590 '$lgt_compiler_error_handler'(Output, OutputError)), % with non-ISO compliant Prolog compilers 4590 4591 close(Output), 4591 retractall('$lgt_pp_file_ name_'(_)),4592 retractall('$lgt_pp_file_path_'(_, _)), 4592 4593 '$lgt_restore_global_op_table'. 4593 4594 … … 4665 4666 % ; true 4666 4667 % ), 4667 '$lgt_pp_file_ name_'(File) ->4668 assertz('$lgt_pp_rclause_'('$lgt_entity_property_'(Entity, file(File )))).4668 '$lgt_pp_file_path_'(File, Path) -> 4669 assertz('$lgt_pp_rclause_'('$lgt_entity_property_'(Entity, file(File, Path)))). 4669 4670 4670 4671 … … 4912 4913 retractall('$lgt_pp_file_encoding_'(_, _)), 4913 4914 retractall('$lgt_pp_file_bom_'(_)), 4914 retractall('$lgt_pp_file_ name_'(_)),4915 retractall('$lgt_pp_file_path_'(_, _)), 4915 4916 retractall('$lgt_pp_file_rclause_'(_)). 4916 4917
