Changeset 4468 for trunk/compiler
- Timestamp:
- 09/11/08 16:43:05 (4 months ago)
- Files:
-
- 1 modified
-
trunk/compiler/logtalk.pl (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/compiler/logtalk.pl
r4466 r4468 4707 4707 '$lgt_compiler_error_handler'(Input, Output, Error) :- 4708 4708 '$lgt_report_compiler_error'(Input, Error), 4709 '$lgt_restore_global_op_table', 4709 4710 '$lgt_clean_pp_clauses', 4710 '$lgt_restore_global_op_table',4711 4711 '$lgt_reset_warnings_counter', 4712 4712 catch(close(Input), _, true), … … 4723 4723 '$lgt_compiler_error_handler'(Stream, Error) :- 4724 4724 '$lgt_report_compiler_error'(Stream, Error), 4725 '$lgt_restore_global_op_table', 4725 4726 '$lgt_clean_pp_clauses', 4726 '$lgt_restore_global_op_table',4727 4727 '$lgt_reset_warnings_counter', 4728 4728 catch(close(Stream), _, true), … … 4738 4738 ('$lgt_pp_entity'(_, _, _, _, _) -> nl; true), 4739 4739 write(' ERROR! '), writeq(Error), nl, 4740 '$lgt_restore_global_op_table', 4740 4741 '$lgt_clean_pp_clauses', 4741 '$lgt_restore_global_op_table',4742 4742 '$lgt_reset_warnings_counter', 4743 4743 throw(Error). … … 4805 4805 '$lgt_write_tr_entity'(Stream), 4806 4806 '$lgt_write_entity_doc'(Entity), 4807 '$lgt_restore_file_op_table',4808 4807 '$lgt_save_entity_rclauses', 4809 4808 '$lgt_clean_pp_entity_clauses'. … … 4832 4831 retractall('$lgt_pp_global_op_'(_, _, _)), 4833 4832 retractall('$lgt_pp_file_op_'(_, _, _)), 4833 retractall('$lgt_pp_entity_op_'(_, _, _)), 4834 4834 retractall('$lgt_pp_file_init_'(_)), 4835 4835 retractall('$lgt_pp_entity_init_'(_, _, _)), … … 4895 4895 retractall('$lgt_pp_referenced_protocol_'(_)), 4896 4896 retractall('$lgt_pp_referenced_category_'(_)), 4897 retractall('$lgt_pp_entity_op_'(_, _, _)),4898 4897 retractall('$lgt_pp_threaded_'), 4899 4898 retractall('$lgt_pp_synchronized_'). … … 5276 5275 '$lgt_tr_directive'(object, [Obj| Rels], _, _) :- 5277 5276 '$lgt_report_compiling_entity'(object, Obj), 5277 '$lgt_save_file_op_table', 5278 5278 '$lgt_tr_object_id'(Obj, static), % assume static object 5279 '$lgt_tr_object_relations'(Rels, Obj), 5280 '$lgt_save_file_op_table'. 5279 '$lgt_tr_object_relations'(Rels, Obj). 5281 5280 5282 5281 '$lgt_tr_directive'(end_object, [], _, Output) :- 5283 5282 ( '$lgt_pp_object_'(Obj, _, _, _, _, _, _, _, _, _, _) -> 5284 5283 '$lgt_tr_entity'(object, Obj, Output), 5284 '$lgt_restore_file_op_table', 5285 5285 '$lgt_report_compiled_entity'(object, Obj) 5286 5286 ; throw(closing_directive_mismatch) … … 5306 5306 '$lgt_tr_directive'(protocol, [Ptc| Rels], _, _) :- 5307 5307 '$lgt_report_compiling_entity'(protocol, Ptc), 5308 '$lgt_save_file_op_table', 5308 5309 '$lgt_tr_protocol_id'(Ptc, static), % assume static protocol 5309 '$lgt_tr_protocol_relations'(Rels, Ptc), 5310 '$lgt_save_file_op_table'. 5310 '$lgt_tr_protocol_relations'(Rels, Ptc). 5311 5311 5312 5312 '$lgt_tr_directive'(end_protocol, [], _, Output) :- 5313 5313 ( '$lgt_pp_protocol_'(Ptc, _, _, _, _) -> 5314 5314 '$lgt_tr_entity'(protocol, Ptc, Output), 5315 '$lgt_restore_file_op_table', 5315 5316 '$lgt_report_compiled_entity'(protocol, Ptc) 5316 5317 ; throw(closing_directive_mismatch) … … 5337 5338 '$lgt_tr_directive'(category, [Ctg| Rels], _, _) :- 5338 5339 '$lgt_report_compiling_entity'(category, Ctg), 5340 '$lgt_save_file_op_table', 5339 5341 '$lgt_tr_category_id'(Ctg, static), % assume static category 5340 '$lgt_tr_category_relations'(Rels, Ctg), 5341 '$lgt_save_file_op_table'. 5342 '$lgt_tr_category_relations'(Rels, Ctg). 5342 5343 5343 5344 '$lgt_tr_directive'(end_category, [], _, Output) :- 5344 5345 ( '$lgt_pp_category_'(Ctg, _, _, _, _, _) -> 5345 5346 '$lgt_tr_entity'(category, Ctg, Output), 5347 '$lgt_restore_file_op_table', 5346 5348 '$lgt_report_compiled_entity'(category, Ctg) 5347 5349 ; throw(closing_directive_mismatch)
