]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Makefile.in (TAGS): Handle constructs in common.opt, rtl.def, tree.def, and gimple.def
authorAldy Hernandez <aldyh@redhat.com>
Tue, 2 Sep 2014 15:09:54 +0000 (15:09 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Tue, 2 Sep 2014 15:09:54 +0000 (15:09 +0000)
* Makefile.in (TAGS): Handle constructs in common.opt, rtl.def,
tree.def, and gimple.def

From-SVN: r214822

gcc/ChangeLog
gcc/Makefile.in

index a59c8a4cd8c71c97a3b08fd2bd9a250623aa8fdb..910c04dba579d510aaa686983eb9e27d42d31571 100644 (file)
@@ -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>
index 4763e10a45312f3af71e30e4a518eb5d9d26498b..63124f85e164d22bc4f1a2273d9b695971fed0dd 100644 (file)
@@ -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)
 
 # -----------------------------------------------------