maint.mk: update sc_prohibit_intprops_without_use
authorEric Blake <eblake@redhat.com>
Fri, 24 Jun 2011 17:51:56 +0000 (11:51 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 24 Jun 2011 17:51:56 +0000 (11:51 -0600)
This syntax check needs to reflect commit 8cc0fee and following.

* top/maint.mk (_intprops_names): Match recent changes.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
top/maint.mk

index 86cde24..2ce487c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-06-24  Eric Blake  <eblake@redhat.com>
+
+       maint.mk: update sc_prohibit_intprops_without_use
+       * top/maint.mk (_intprops_names): Match recent changes.
+
 2011-06-24  Bruno Haible  <bruno@clisp.org>
 
        strerror-override: No-op tweak.
index 766d9c9..ed598e0 100644 (file)
@@ -596,11 +596,17 @@ sc_prohibit_strings_without_use:
          $(_sc_header_without_use)
 
 # Get the list of symbol names with this:
-# perl -lne '/^# *define (\w+)\(/ and print $1' lib/intprops.h|grep -v '^s'|fmt
+# perl -lne '/^# *define ([A-Z]\w+)\(/ and print $1' lib/intprops.h|fmt
 _intprops_names =                                                      \
   TYPE_IS_INTEGER TYPE_TWOS_COMPLEMENT TYPE_ONES_COMPLEMENT            \
   TYPE_SIGNED_MAGNITUDE TYPE_SIGNED TYPE_MINIMUM TYPE_MAXIMUM          \
-  INT_STRLEN_BOUND INT_BUFSIZE_BOUND
+  INT_BITS_STRLEN_BOUND INT_STRLEN_BOUND INT_BUFSIZE_BOUND             \
+  INT_ADD_RANGE_OVERFLOW INT_SUBTRACT_RANGE_OVERFLOW                   \
+  INT_NEGATE_RANGE_OVERFLOW INT_MULTIPLY_RANGE_OVERFLOW                        \
+  INT_DIVIDE_RANGE_OVERFLOW INT_REMAINDER_RANGE_OVERFLOW               \
+  INT_LEFT_SHIFT_RANGE_OVERFLOW INT_ADD_OVERFLOW INT_SUBTRACT_OVERFLOW \
+  INT_NEGATE_OVERFLOW INT_MULTIPLY_OVERFLOW INT_DIVIDE_OVERFLOW                \
+  INT_REMAINDER_OVERFLOW INT_LEFT_SHIFT_OVERFLOW
 _intprops_syms_re = $(subst $(_sp),|,$(strip $(_intprops_names)))
 # Prohibit the inclusion of intprops.h without an actual use.
 sc_prohibit_intprops_without_use: