[m-dev.] trivial diff: fix inverted test in MR_DETISM_CAN_FAIL
Simon Taylor
stayl at cs.mu.OZ.AU
Sun Jan 21 14:26:21 AEDT 2001
Estimated hours taken: 0.25
runtime/mercury_stack_layout.h:
The test in the macro MR_DETISM_CAN_FAIL was inverted.
MR_DETISM_CAN_FAIL isn't used anywhere yet.
Index: mercury_stack_layout.h
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury_stack_layout.h,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -u -r1.47 -r1.48
--- mercury_stack_layout.h 2001/01/18 03:01:44 1.47
+++ mercury_stack_layout.h 2001/01/21 03:24:54 1.48
@@ -76,7 +76,7 @@
#define MR_DETISM_AT_MOST_ONE(d) (((d) & 3) == 2)
#define MR_DETISM_AT_MOST_MANY(d) (((d) & 1) != 0)
-#define MR_DETISM_CAN_FAIL(d) (((d) & 4) != 0)
+#define MR_DETISM_CAN_FAIL(d) (((d) & 4) == 0)
#define MR_DETISM_FIRST_SOLN(d) (((d) & 8) != 0)
--------------------------------------------------------------------------
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