[m-dev.] [reuse] diff: output quoted names for reuse pred

Peter Ross Peter.Ross at cs.kuleuven.ac.be
Mon Oct 2 22:48:40 AEDT 2000


Hi,


===================================================================


Estimated hours taken: 0.25

sr_reuse.m:
    When outputing the structure reuse pragmas, output the reuse
    predicate name with quotes.


Index: sr_reuse.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/Attic/sr_reuse.m,v
retrieving revision 1.1.2.5
diff -u -r1.1.2.5 sr_reuse.m
--- sr_reuse.m	2000/09/27 15:00:39	1.1.2.5
+++ sr_reuse.m	2000/10/02 11:46:50
@@ -605,7 +605,7 @@
 		io__write_string("yes(["),
 		io__write_list(CONDS, ",", reuse_condition_print(ProcInfo)),
 		io__write_string("], "),
-		prog_out__write_sym_name(Name),
+		prog_out__write_quoted_sym_name(Name),
 		io__write_string(")")
 	;
 		io__write_string("no")

--------------------------------------------------------------------------
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