[m-dev.] [reuse] diff: bug fix with opt_exported procedures
Peter Ross
peter.ross at miscrit.be
Tue Feb 27 01:34:55 AEDT 2001
Hi,
===================================================================
Estimated hours taken: 6
Fix a bug where procedures where not being marked as exported, so their
symbols where undefined when linking.
hlds_pred.m:
A procedure is exported if its import_status is opt_exported.
Index: hlds_pred.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/hlds_pred.m,v
retrieving revision 1.81.2.12
diff -u -r1.81.2.12 hlds_pred.m
--- hlds_pred.m 2001/02/07 14:29:08 1.81.2.12
+++ hlds_pred.m 2001/02/26 14:31:06
@@ -1116,6 +1116,8 @@
(
pred_info_is_exported(PredInfo)
;
+ pred_info_is_opt_exported(PredInfo)
+ ;
pred_info_is_exported_to_submodules(PredInfo)
;
pred_info_is_pseudo_exported(PredInfo),
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list