tag ../include/*
diff mbox

Message ID 543416D2.4050100@redhat.com
State New
Headers show

Commit Message

Aldy Hernandez Oct. 7, 2014, 4:37 p.m. UTC
Is there a reason we don't create etags for toplevel include files?  If 
not, could I please apply this patch?

Thanks.
Aldy
commit a679529d14f005d8c88517f72d2b5295d8c82f0f
Author: Aldy Hernandez <aldyh@redhat.com>
Date:   Tue Oct 7 09:32:21 2014 -0700

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

Comments

Mike Stump Oct. 7, 2014, 7:09 p.m. UTC | #1
On Oct 7, 2014, at 9:37 AM, Aldy Hernandez <aldyh@redhat.com> wrote:
> Is there a reason we don't create etags for toplevel include files?

I don’t think there is.

>  If not, could I please apply this patch?

I’m in favor.
Aldy Hernandez Oct. 13, 2014, 2:53 p.m. UTC | #2
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?
>
> Thanks.
> Aldy
Jeff Law Oct. 13, 2014, 4:27 p.m. UTC | #3
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

Patch
diff mbox

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 \