[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 4f5382c: Fix tags created from DEFVAR_* declaration
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] master 4f5382c: Fix tags created from DEFVAR_* declarations in C |
Date: |
Tue, 12 May 2015 19:56:15 +0000 |
branch: master
commit 4f5382c6e43cb67e0da7765056866745a2295698
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
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.
---
src/Makefile.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Makefile.in b/src/Makefile.in
index 32615c8..44995a4 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -603,9 +603,9 @@ ctagsfiles3 = [a-zA-Z]*.m
## rather than the file contents.
TAGS: $(srcdir)/$(ctagsfiles1) $(srcdir)/$(ctagsfiles2)
$(srcdir)/$(ctagsfiles3)
"$(ETAGS)" --include=../lisp/TAGS --include=$(lwlibdir)/TAGS \
- --regex='{c}/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/' \
+ --regex='{c}/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/\1/' \
$(srcdir)/$(ctagsfiles1) $(srcdir)/$(ctagsfiles2) \
- --regex='{objc}/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/' \
+ --regex='{objc}/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/\1/' \
$(srcdir)/$(ctagsfiles3)
## Arrange to make tags tables for ../lisp and ../lwlib,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 4f5382c: Fix tags created from DEFVAR_* declarations in C,
Eli Zaretskii <=