aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2014-09-02 15:09:54 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2014-09-02 15:09:54 +0000
commit4e2b2eeec93479e9a6ecde090e7b748fabcae107 (patch)
treeee728e3fa0045a40546cdb17c51f846800c5a0fa /gcc
parent9a771876d342f9cf0b64c2ceada267ff50e18206 (diff)
downloadgcc-4e2b2eeec93479e9a6ecde090e7b748fabcae107.zip
gcc-4e2b2eeec93479e9a6ecde090e7b748fabcae107.tar.gz
gcc-4e2b2eeec93479e9a6ecde090e7b748fabcae107.tar.bz2
Makefile.in (TAGS): Handle constructs in common.opt, rtl.def, tree.def, and gimple.def
* Makefile.in (TAGS): Handle constructs in common.opt, rtl.def, tree.def, and gimple.def From-SVN: r214822
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/Makefile.in5
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a59c8a4..910c04d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2014-09-02 Aldy Hernandez <aldyh@redhat.com>
+
+ * Makefile.in (TAGS): Handle constructs in common.opt, rtl.def,
+ tree.def, and gimple.def
+
2014-09-02 Jakub Jelinek <jakub@redhat.com>
Balaji V. Iyer <balaji.v.iyer@intel.com>
Igor Zamyatin <igor.zamyatin@intel.com>
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 4763e10..63124f8 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -3803,7 +3803,10 @@ TAGS: lang.tags
incs="$$incs --include $$dir/TAGS.sub"; \
fi; \
done; \
- etags -o TAGS.sub c-family/*.h c-family/*.c *.h *.c *.cc; \
+ etags -o TAGS.sub c-family/*.h c-family/*.c *.h *.c *.cc \
+ --language=none --regex="/\(char\|unsigned int\|int\|bool\|void\|HOST_WIDE_INT\|enum [A-Za-z_0-9]+\) [*]?\([A-Za-z_0-9]+\)/\2/" common.opt \
+ --language=none --regex="/\(DEF_RTL_EXPR\|DEFTREECODE\|DEFGSCODE\).*(\([A-Za-z_0-9]+\)/\2/" rtl.def tree.def gimple.def \
+ ; \
etags --include TAGS.sub $$incs)
# -----------------------------------------------------