From f175bfffb0cee3f0c346e01465afc56dfc7177de Mon Sep 17 00:00:00 2001 From: =?utf8?q?Francesco=20Potort=C3=AC?= Date: Thu, 20 Jun 2002 08:52:22 +0000 Subject: [PATCH] etags --- etc/NEWS | 12 ++++++++---- lib-src/ChangeLog | 6 ++++++ man/maintaining.texi | 3 ++- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index ae2fbe5b8b4..fc1ea56f9a2 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -610,19 +610,23 @@ per line. Lines beginning with space or tab are ignored. *** New language parsing features -**** In Prolog, etags creates tags for rules in addition to predicates. - **** In Perl, packages are tags. Subroutine tags are named from their package. You can jump to sub tags as you did before, by the sub name, or additionally by looking for package::sub. +**** New language PHP: tags are functions, classes and defines. +If the --members option is specified to etags, tags are vars also. + **** New default keywords for TeX. The new keywords are def, newcommand, renewcommand, newenvironment and renewenvironment. -**** New language PHP: tags are functions, classes and defines. -If the --members option is specified to etags, tags are vars also. +**** In Makefiles, constants are tagged +If you want the old behaviour instead, thus avoiding to increase the +size of the tags file, use the --no-globals option. + +**** In Prolog, etags creates tags for rules in addition to predicates. *** Honour #line directives. When Etags parses an input file that contains C preprocessor's #line diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index cff5c455508..d642b5fd6e2 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,9 @@ +2002-06-19 Francesco Potorti` + + * etags.c (add_regex): Invalid regexp modifiers are ignored. + (Makefile_targets): Tag variables unless --no-globals. + (LOOP_ON_INPUT_LINES): Serious bug corrected. + 2002-06-13 Francesco Potorti` * etags.c (erlang_atom, erlang_attribute): Bugs corrected. diff --git a/man/maintaining.texi b/man/maintaining.texi index c92c45d3172..a9d126816e3 100644 --- a/man/maintaining.texi +++ b/man/maintaining.texi @@ -332,7 +332,8 @@ in the file. In Fortran code, functions, subroutines and block data are tags. @item -In makefiles, targets are tags. +In makefiles, targets are tags; additionally, variables are tags +unless you specify @samp{--no-globals}. @item In Objective C code, tags include Objective C definitions for classes, -- 2.39.2