changeset 13338:43bae0ee08b9

maint.mk: tweak preceding change * top/maint.mk (gl_extract_significant_defines_): Make exclusion regexps tighter by anchoring at EOL, and make the new group "shy" for slightly decreased overhead.
author Jim Meyering <meyering@redhat.com>
date Tue, 11 May 2010 18:49:29 +0200
parents 23825f79a03a
children 77a366ebede4
files ChangeLog top/maint.mk
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-05-11  Jim Meyering  <meyering@redhat.com>
+
+	maint.mk: tweak preceding change
+	* top/maint.mk (gl_extract_significant_defines_): Make exclusion
+	regexps tighter by anchoring at EOL, and make the new group "shy"
+	for slightly decreased overhead.
+
 2010-05-11  Eric Blake  <eblake@redhat.com>
 
 	maint.mk: gnulib doesn't guarantee NSIG
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -676,7 +676,7 @@
 gl_extract_significant_defines_ = \
   /^\# *define ([^_ (][^ (]*)(\s*\(|\s+\w+)/\
     && $$2 !~ /(?:rpl_|_used_without_)/\
-    && $$1 !~ /^(NSIG|ATTRIBUTE_NORETURN)/\
+    && $$1 !~ /^(?:NSIG|ATTRIBUTE_NORETURN)$$/\
     and print $$1
 
 # Create a list of regular expressions matching the names