Mercurial > hg > octave-nkf > gnulib-hg
changeset 15493:1634a5da2f6e
maint.mk: relax the default _gl_TS_function_match regexp
* top/maint.mk (_gl_TS_function_match): Don't require at least one
space between function name and "(" in an "extern" declaration.
That would fail to match a decl with no space there: extern void foo();
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Tue, 02 Aug 2011 14:54:34 +0200 |
parents | b54bff314db1 |
children | 58164867f0bf |
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 @@ +2011-08-02 Jim Meyering <meyering@redhat.com> + + maint.mk: relax the default _gl_TS_function_match regexp + * top/maint.mk (_gl_TS_function_match): Don't require at least one + space between function name and "(" in an "extern" declaration. + That would fail to match a decl with no space there: extern void foo(); + 2011-07-31 Iain Nicol <iain@thenicols.net> git-version-gen: document that EXTRA_DIST must include .version
--- a/top/maint.mk +++ b/top/maint.mk @@ -1427,7 +1427,7 @@ # do not need to be marked. Symbols matching `__.*' are # reserved by the compiler, so are automatically excluded below. _gl_TS_unmarked_extern_functions ?= main usage -_gl_TS_function_match ?= /^(?:$(_gl_TS_extern)) +.*?(\S+) +\(/ +_gl_TS_function_match ?= /^(?:$(_gl_TS_extern)) +.*?(\S+) *\(/ # If your project uses a macro like "XTERN", then put # the following in cfg.mk to override this default: