[m-rev.] trivial diff: fix namespace cleanliness check

Julien Fischer juliensf at cs.mu.OZ.AU
Fri Dec 2 23:46:45 AEDT 2005


Estimated hours taken: 0.1
Branches: main

Mmake.common.in:
	Update the namespace cleanliness check to conform to Peter's
	change of the header guards for .mh files.

Julien.

Index: Mmake.common.in
===================================================================
RCS file: /home/mercury1/repository/mercury/Mmake.common.in,v
retrieving revision 1.83
diff -u -r1.83 Mmake.common.in
--- Mmake.common.in	16 Aug 2005 15:51:28 -0000	1.83
+++ Mmake.common.in	2 Dec 2005 12:41:01 -0000
@@ -425,6 +425,7 @@
 		-E $*.check_mhdr.c -nostdinc -dN \
 		2> /dev/null | $(AWK) '/[ \t]*#define/ { print $$2; }' | \
 		grep -v -e `echo $(subst .check.mmacros,,$@) | tr '[a-z]' '[A-Z]'`_H | \
+		grep -v -e `echo $(subst .check.mmacros,,$@) | tr '[a-z]' '[A-Z]'`_MH | \
 		grep -v -e `echo $(subst .check.mmacros,,$@) | tr '[a-z]' '[A-Z]'`_DECL_GUARD | \
 		$(HEADER_CLEAN_FILTER) | sort -u > $*.mactual
 	@comm -1 -3 $*.mbase $*.mactual > $@

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