[m-rev.] trivial diff: fix bugs in mdemangle.c

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Jul 24 05:38:34 AEST 2002


Estimated hours taken: 0.25
Branches: main

util/mdemangle.c:
	Fix some bugs where the code was using == instead of =.

Workspace: /home/ceres/fjh/mercury
Index: util/mdemangle.c
===================================================================
RCS file: /home/mercury1/repository/mercury/util/mdemangle.c,v
retrieving revision 1.44
diff -u -d -r1.44 mdemangle.c
--- util/mdemangle.c	18 Feb 2002 07:01:33 -0000	1.44
+++ util/mdemangle.c	23 Jul 2002 19:31:39 -0000
@@ -510,7 +510,7 @@
 			lambda_line = 0;
 
 			if (start >= end || !MR_isdigit(*start)) {
-				category == ORDINARY;
+				category = ORDINARY;
 				start = name_before_prefixes;
 			}
 
@@ -531,7 +531,7 @@
 				}
 				*end_of_lambda_pred_name = '\0';
 			    } else {
-				category == ORDINARY;
+				category = ORDINARY;
 				start = name_before_prefixes;
 			    }
 			} else {

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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