# HG changeset patch # User Francesco Potort # Date 1024563142 0 # Node ID 82005f29044d8706d7a554bacfd40b5dd4e3fa48 # Parent 1c3f7d78e90a7a1d4067b15f71d1815cae689d34 etags diff -r 1c3f7d78e90a -r 82005f29044d etc/NEWS --- a/etc/NEWS Thu Jun 20 08:43:57 2002 +0000 +++ b/etc/NEWS Thu Jun 20 08:52:22 2002 +0000 @@ -610,19 +610,23 @@ *** 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 -r 1c3f7d78e90a -r 82005f29044d lib-src/ChangeLog --- a/lib-src/ChangeLog Thu Jun 20 08:43:57 2002 +0000 +++ b/lib-src/ChangeLog Thu Jun 20 08:52:22 2002 +0000 @@ -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 -r 1c3f7d78e90a -r 82005f29044d man/maintaining.texi --- a/man/maintaining.texi Thu Jun 20 08:43:57 2002 +0000 +++ b/man/maintaining.texi Thu Jun 20 08:52:22 2002 +0000 @@ -332,7 +332,8 @@ 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,