# HG changeset patch # User Francesco Potort # Date 1095082920 0 # Node ID be3afbddb35b86413adeaebd75f08a28f66c5781 # Parent a10fd092f06ffdde5c6d1bcccb7a78cda5a44a74 Added support in etags for the Lua script language. diff -r a10fd092f06f -r be3afbddb35b etc/NEWS --- a/etc/NEWS Mon Sep 13 13:35:43 2004 +0000 +++ b/etc/NEWS Mon Sep 13 13:42:00 2004 +0000 @@ -1496,29 +1496,31 @@ **** The `::' qualifier triggers C++ parsing in C file. Previously, only the `template' and `class' keywords had this effect. +**** New language HTML. +Title and h1, h2, h3 are tagged. Also, tags are generated when name= is +used inside an anchor and whenever id= is used. + +**** In Makefiles, constants are tagged. +If you want the old behavior instead, thus avoiding to increase the +size of the tags file, use the --no-globals option. + +**** In Lua, all functions are tagged. + **** 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. +**** In Prolog, etags creates tags for rules in addition to predicates. + **** New language PHP. Tags are functions, classes and defines. If the --members option is specified to etags, tags are vars also. -**** New language HTML. -Title and h1, h2, h3 are tagged. Also, tags are generated when name= is -used inside an anchor and whenever id= is used. - **** New default keywords for TeX. The new keywords are def, newcommand, renewcommand, newenvironment and renewenvironment. -**** In Makefiles, constants are tagged. -If you want the old behavior 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 directives, it creates tags using the file name and line number @@ -1529,7 +1531,7 @@ *** New option --parse-stdin=FILE. This option is mostly useful when calling etags from programs. It can be used (only once) in place of a file name on the command line. Etags -reads from standard input and mark the produced tags as belonging to +reads from standard input and marks the produced tags as belonging to the file FILE. +++ diff -r a10fd092f06f -r be3afbddb35b man/maintaining.texi --- a/man/maintaining.texi Mon Sep 13 13:35:43 2004 +0000 +++ b/man/maintaining.texi Mon Sep 13 13:42:00 2004 +0000 @@ -343,6 +343,9 @@ and all occurrences of @code{id=}. @item +In Lua input files, all functions are tags. + +@item In makefiles, targets are tags; additionally, variables are tags unless you specify @samp{--no-globals}.