From: Eli Zaretskii Date: Wed, 13 May 2015 17:26:07 +0000 (+0300) Subject: Improve tagging of C bindings in DEFVAR_* X-Git-Tag: emacs-25.0.90~2104 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8d69f38a94fd1584a1ee6fc33f39c8f1ff9eaf59;p=emacs.git Improve tagging of C bindings in DEFVAR_* * src/Makefile.in (TAGS): Add --regex options to tag the C binding from DEFVAR_*. --- diff --git a/src/Makefile.in b/src/Makefile.in index 44995a45a0c..1c03b27c2c3 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -604,8 +604,10 @@ ctagsfiles3 = [a-zA-Z]*.m TAGS: $(srcdir)/$(ctagsfiles1) $(srcdir)/$(ctagsfiles2) $(srcdir)/$(ctagsfiles3) "$(ETAGS)" --include=../lisp/TAGS --include=$(lwlibdir)/TAGS \ --regex='{c}/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/\1/' \ + --regex='{c}/[ ]*DEFVAR_[A-Z_ (]+"[^"]+",[ ]\([A-Za-z0-9_]+\)/\1/' \ $(srcdir)/$(ctagsfiles1) $(srcdir)/$(ctagsfiles2) \ --regex='{objc}/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/\1/' \ + --regex='{objc}/[ ]*DEFVAR_[A-Z_ (]+"[^"]+",[ ]\([A-Za-z0-9_]+\)/\1/' \ $(srcdir)/$(ctagsfiles3) ## Arrange to make tags tables for ../lisp and ../lwlib,