changeset 16691:fcfa472825d5

quote: fix syntax-check * top/maint.mk (sc_prohibit_quote_without_use): quote.h also exports quote_quoting_options.
author Akim Demaille <akim@lrde.epita.fr>
date Tue, 13 Mar 2012 12:30:59 -0700
parents 7ccc15adf5b2
children fec1c580b58c
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,9 @@
+2012-03-13  Akim Demaille  <akim@lrde.epita.fr>
+
+	quote: fix syntax-check
+	* top/maint.mk (sc_prohibit_quote_without_use): quote.h
+	also exports quote_quoting_options.
+
 2012-03-12  Simon Josefsson  <simon@josefsson.org>
 
 	Collapse list of copyright years to ranges.  See
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -455,7 +455,8 @@
 
 # Don't include quote.h unless you use one of its functions.
 sc_prohibit_quote_without_use:
-	@h='quote.h' re='\<quote(_n)? *\(' $(_sc_header_without_use)
+	@h='quote.h' re='\<quote((_n)? *\(|_quoting_options\>)' \
+	  $(_sc_header_without_use)
 
 # Don't include this header unless you use one of its functions.
 sc_prohibit_long_options_without_use: