On 10/13/14 09:27, Jeff Law wrote:
On 10/13/14 08:53, Aldy Hernandez wrote:
PING

On 10/07/14 09:37, Aldy Hernandez wrote:
Is there a reason we don't create etags for toplevel include files?  If
not, could I please apply this patch?
ENOPATCH

jeff

Sorry, patch was in original message.  Attached here.
commit a679529d14f005d8c88517f72d2b5295d8c82f0f
Author: Aldy Hernandez <al...@redhat.com>
Date:   Tue Oct 7 09:32:21 2014 -0700

        * Makefile.in (TAGS): Tag ../include files.

diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 97b439a..df43b9c 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -3772,6 +3772,7 @@ TAGS: lang.tags
          fi;                                           \
        done;                                           \
        etags -o TAGS.sub c-family/*.h c-family/*.c *.h *.c *.cc \
+             ../include/*.h \
              --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 \
              --language=none --regex="/DEFTIMEVAR (\([A-Za-z_0-9]+\)/\1/" 
timevar.def \

Reply via email to