generate TAGS for params.def file
diff mbox series

Message ID 8f05dbb1-a0e9-34bd-6fa3-db603b2ceaa5@redhat.com
State New
Headers show
Series
  • generate TAGS for params.def file
Related show

Commit Message

Aldy Hernandez Oct. 9, 2017, 10:23 a.m. UTC
I hate grepping around for those --param definitions, so I've fixed it.

I also merged all the *.def files into one pattern.

OK for trunk?
gcc/

	* Makefile.in (TAGS): Merge all the *.def files into one pattern.
	Handle params.def.

Comments

Jeff Law Oct. 12, 2017, 4:48 a.m. UTC | #1
On 10/09/2017 04:23 AM, Aldy Hernandez wrote:
> I hate grepping around for those --param definitions, so I've fixed it.
> 
> I also merged all the *.def files into one pattern.
> 
> OK for trunk?
> 
> curr
> 
> 
> gcc/
> 
> 	* Makefile.in (TAGS): Merge all the *.def files into one pattern.
> 	Handle params.def.
OK.
jeff

Patch
diff mbox series

diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 0bde7acf914..878ce7bc452 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -4135,8 +4135,7 @@  TAGS: lang.tags
 	      ../include/*.h ../libiberty/*.c \
 	      ../libcpp/*.c ../libcpp/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 \
+	      --language=none --regex="/\(DEF_RTL_EXPR\|DEFTREECODE\|DEFGSCODE\|DEFTIMEVAR\|DEFPARAM\|DEFPARAMENUM5\)[ ]?(\([A-Za-z_0-9]+\)/\2/" rtl.def tree.def gimple.def timevar.def params.def \
 		; \
 	etags --include TAGS.sub $$incs)