[m-rev.] trivial diff: work around lcc bug

Simon Taylor stayl at cs.mu.OZ.AU
Sat Oct 27 17:48:56 AEST 2001


Estimated hours taken: 0.25

recompilation_version.m:
	Slightly modify the types defined in this module to work
	around an lcc bug which caused it to report a spurious
	syntax error when compiling the generated C code.

Index: recompilation_version.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/recompilation_version.m,v
retrieving revision 1.5
diff -u -u -r1.5 recompilation_version.m
--- recompilation_version.m	24 Oct 2001 13:34:37 -0000	1.5
+++ recompilation_version.m	27 Oct 2001 07:46:32 -0000
@@ -218,7 +218,8 @@
 :- type instance_item_map == map(item_name, item_list).
 
 	% The constructors set should always be empty.
-:- type gathered_items == item_id_set(map(pair(string, arity), item_list)).
+:- type gathered_items == item_id_set(gathered_item_map).
+:- type gathered_item_map == map(pair(string, arity), item_list).
 
 :- pred recompilation_version__gather_items_2(item_and_context::in,
 		gathered_item_info::in, gathered_item_info::out) is det.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list