summaryrefslogtreecommitdiff
path: root/man/maintaining.texi
diff options
context:
space:
mode:
authorFrancesco Potortì <pot@gnu.org>2001-12-26 21:51:53 +0000
committerFrancesco Potortì <pot@gnu.org>2001-12-26 21:51:53 +0000
commit3e7eaab2dc13492449edae25ca1b43883eb24c07 (patch)
tree95557b24ba5cf786fedb83ba88f9bde71fabf5d6 /man/maintaining.texi
parent62728cf048e9fc198818a32a2fb4a3f33c260169 (diff)
downloademacs-3e7eaab2dc13492449edae25ca1b43883eb24c07.tar.gz
Perl changes for etags.
Diffstat (limited to 'man/maintaining.texi')
-rw-r--r--man/maintaining.texi13
1 files changed, 9 insertions, 4 deletions
diff --git a/man/maintaining.texi b/man/maintaining.texi
index 59c2d7cf9db..36a030901eb 100644
--- a/man/maintaining.texi
+++ b/man/maintaining.texi
@@ -332,16 +332,21 @@ In makefiles, targets are tags.
@item
In Objective C code, tags include Objective C definitions for classes,
-class categories, methods, and protocols.
+class categories, methods, and protocols. Tags for variables and
+functions in classes are named @samp{@var{class}::@var{variable}} and
+@samp{@var{class}::@var{function}}.
@item
In Pascal code, the tags are the functions and procedures defined in
the file.
@item
-In Perl code, the tags are the procedures defined by the @code{sub},
-@code{my} and @code{local} keywords. Use @samp{--globals} if you want
-to tag global variables.
+In Perl code, the tags are the packages, subroutines and variables
+defined by the @code{package}, @code{sub}, @code{my} and @code{local}
+keywords. Use @samp{--globals} if you want to tag global variables.
+Tags for subroutines are named @samp{@var{package}::@var{sub}}. The
+name for subroutines defined in the default package is
+@samp{main::@var{sub}}.
@item
In PHP code, tags are functions, classes and defines. When using the