trivial diff: enable duplicate elimination
Simon Taylor
stayl at cs.mu.OZ.AU
Tue Mar 9 10:57:41 AEDT 1999
Estimated hours taken: 0.1
compiler/rl_out.m:
Turn on duplicate removal for sort.
Index: rl_out.m
===================================================================
RCS file: /home/staff/zs/imp/mercury/compiler/rl_out.m,v
retrieving revision 1.1
diff -u -u -r1.1 rl_out.m
--- rl_out.m 1998/12/06 23:45:37 1.1
+++ rl_out.m 1999/03/08 22:44:17
@@ -1026,8 +1026,7 @@
{ list__sort_and_remove_dups(Attrs, SortedAttrs) },
{ list__length(SortedAttrs, NumAttrs) },
{ list__length(OutputSchema, NumAttrs) ->
- % Filter = 1 XXX do we want to filter duplicates?
- Filter = 0
+ Filter = 1
;
Filter = 0
},
More information about the developers
mailing list