diff options
| author | Eli Zaretskii | 2015-05-12 22:55:13 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2015-05-12 22:55:13 +0300 |
| commit | 4f5382c6e43cb67e0da7765056866745a2295698 (patch) | |
| tree | ff8e7fcbd2cbe25eabc994d57e49a3aa2a8e7bca /src | |
| parent | 000f5e0e43ee5784bedf6e70e5f324a24f2f455c (diff) | |
| download | emacs-4f5382c6e43cb67e0da7765056866745a2295698.tar.gz emacs-4f5382c6e43cb67e0da7765056866745a2295698.zip | |
Fix tags created from DEFVAR_* declarations in C
* src/Makefile.in (TAGS): Improve the --regex argument to etags,
to make tags extracted from DEFVAR_* declarations more accurate.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index 32615c848a7..44995a45a0c 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -603,9 +603,9 @@ ctagsfiles3 = [a-zA-Z]*.m | |||
| 603 | ## rather than the file contents. | 603 | ## rather than the file contents. |
| 604 | TAGS: $(srcdir)/$(ctagsfiles1) $(srcdir)/$(ctagsfiles2) $(srcdir)/$(ctagsfiles3) | 604 | TAGS: $(srcdir)/$(ctagsfiles1) $(srcdir)/$(ctagsfiles2) $(srcdir)/$(ctagsfiles3) |
| 605 | "$(ETAGS)" --include=../lisp/TAGS --include=$(lwlibdir)/TAGS \ | 605 | "$(ETAGS)" --include=../lisp/TAGS --include=$(lwlibdir)/TAGS \ |
| 606 | --regex='{c}/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/' \ | 606 | --regex='{c}/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/\1/' \ |
| 607 | $(srcdir)/$(ctagsfiles1) $(srcdir)/$(ctagsfiles2) \ | 607 | $(srcdir)/$(ctagsfiles1) $(srcdir)/$(ctagsfiles2) \ |
| 608 | --regex='{objc}/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/' \ | 608 | --regex='{objc}/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/\1/' \ |
| 609 | $(srcdir)/$(ctagsfiles3) | 609 | $(srcdir)/$(ctagsfiles3) |
| 610 | 610 | ||
| 611 | ## Arrange to make tags tables for ../lisp and ../lwlib, | 611 | ## Arrange to make tags tables for ../lisp and ../lwlib, |