Mercurial > emacs
changeset 57087:be3afbddb35b
Added support in etags for the Lua script language.
author | Francesco Potortì <pot@gnu.org> |
---|---|
date | Mon, 13 Sep 2004 13:42:00 +0000 |
parents | a10fd092f06f |
children | 46f0c98a04a2 |
files | etc/NEWS man/maintaining.texi |
diffstat | 2 files changed, 16 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- 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. +++
--- 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}.