From 858912fa675d4c42529bf5f02cbc0dc8438d92b7 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Sun, 10 Nov 2024 20:38:40 -0500 Subject: c++: include libcody in TAGS The C++ front-end uses symbols from these directories, so they should also be in TAGS. gcc/cp/ChangeLog: * Make-lang.in: Also collect tags from libcody and c++tools. --- gcc/cp/Make-lang.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gcc') diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in index fb7ae59..9ec86aa 100644 --- a/gcc/cp/Make-lang.in +++ b/gcc/cp/Make-lang.in @@ -232,8 +232,9 @@ c++.srcinfo: c++.srcextra: c++.tags: force - cd $(srcdir)/cp; $(ETAGS) -o TAGS.sub *.cc *.h --language=none \ - --regex='/DEFTREECODE [(]\([A-Z_]+\)/\1/' cp-tree.def; \ + cd $(srcdir)/cp; $(ETAGS) -o TAGS.sub *.cc *.h \ + ../../libcody/*.cc ../../c++tools/*.cc \ + --language=none --regex='/DEFTREECODE [(]\([A-Z_]+\)/\1/' cp-tree.def; \ $(ETAGS) --include TAGS.sub --include ../TAGS.sub c++.man: doc/g++.1 -- cgit v1.1