[patch] tag ../include/*

Aldy Hernandez aldyh@redhat.com
Tue Oct 7 16:37:00 GMT 2014


Is there a reason we don't create etags for toplevel include files?  If 
not, could I please apply this patch?

Thanks.
Aldy
-------------- next part --------------
commit a679529d14f005d8c88517f72d2b5295d8c82f0f
Author: Aldy Hernandez <aldyh@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 \


More information about the Gcc-patches mailing list