C++ PATCH to cp/TAGS rule
Jason Merrill
jason@redhat.com
Tue Jan 2 07:18:00 GMT 2001
This change avoids bogus M-. hits on parse.c and global variables.
2001-01-02 Jason Merrill <jason@redhat.com>
* Make-lang.in (cp/TAGS): Use --no-globals. Ignore parse.c, and treat
parse.y as C.
*** Make-lang.in.~1~ Sat Dec 30 00:22:25 2000
--- Make-lang.in Sat Dec 30 00:22:27 2000
*************** cp/parse.o: cp/parse.c $(CXX_TREE_H) fla
*** 279,287 ****
# Update the tags table.
cp/TAGS: force
cd $(srcdir)/cp ; \
! etags *.c *.h ; \
! echo 'l' | tr 'l' '\f' >> TAGS ; \
! echo 'parse.y,0' >> TAGS ; \
! etags -a ../*.h ../*.c;
.PHONY: cp/TAGS
--- 279,285 ----
# Update the tags table.
cp/TAGS: force
cd $(srcdir)/cp ; \
! etags --no-globals -l c `echo *.c | sed 's/parse.c//'` \
! parse.y *.h ../*.c ../*.h;
.PHONY: cp/TAGS
More information about the Gcc-patches
mailing list