1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-13 02:42:48 +03:00

maint.mk: update regex to reflect 2013 addition of "assume" to verify.h

* top/maint.mk (sc_prohibit_verify_without_use): Don't reject a source
file that uses the assume macro, claiming that verify.h is unused.
This commit is contained in:
Jim Meyering
2017-05-13 18:18:22 -07:00
parent 47727ffa41
commit 8e2bc0b51c
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2017-05-13 Jim Meyering <meyering@fb.com>
maint.mk: update regex to reflect 2013 addition of "assume" to verify.h
* top/maint.mk (sc_prohibit_verify_without_use): Don't reject a source
file that uses the assume macro, claiming that verify.h is unused.
2017-05-13 Bruno Haible <bruno@clisp.org> 2017-05-13 Bruno Haible <bruno@clisp.org>
Use symbolic values for _WIN32_WINNT. Use symbolic values for _WIN32_WINNT.

View File

@@ -696,7 +696,7 @@ sc_prohibit_dirent_without_use:
# Prohibit the inclusion of verify.h without an actual use. # Prohibit the inclusion of verify.h without an actual use.
sc_prohibit_verify_without_use: sc_prohibit_verify_without_use:
@h='verify.h' \ @h='verify.h' \
re='\<(verify(true|expr)?|static_assert) *\(' \ re='\<(verify(true|expr)?|assume|static_assert) *\(' \
$(_sc_header_without_use) $(_sc_header_without_use)
# Don't include xfreopen.h unless you use one of its functions. # Don't include xfreopen.h unless you use one of its functions.