maint.mk: tweak preceding change
authorJim Meyering <meyering@redhat.com>
Tue, 11 May 2010 16:49:29 +0000 (18:49 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 11 May 2010 16:49:29 +0000 (18:49 +0200)
* 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.

ChangeLog
top/maint.mk

index 9af20597eda039a3178f69074e296af56779027e..db77eb3a27627a21f7d3d459fef5ef964a45d481 100644 (file)
--- 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
index 54fcbe9b262c144dc849ac8c9055fe0256b6a37d..3bcab0c2d82706eb1e6be66bf0164db89d273c2e 100644 (file)
@@ -676,7 +676,7 @@ gl_other_headers_ ?= \
 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