diff options
author | Francesco Potortì <pot@gnu.org> | 2001-12-26 21:51:53 +0000 |
---|---|---|
committer | Francesco Potortì <pot@gnu.org> | 2001-12-26 21:51:53 +0000 |
commit | a5d6929218643babfff6e5c16e715c615ad6c7ec (patch) | |
tree | e7ef0c7f8064edbd3a5dbc1d58a3772c1eeb1bd9 /man/maintaining.texi | |
parent | c1a2d39d57fc98e09fd5aecbe8db9d8cdabbe786 (diff) | |
download | emacs-a5d6929218643babfff6e5c16e715c615ad6c7ec.tar.gz |
Perl changes for etags.
Diffstat (limited to 'man/maintaining.texi')
-rw-r--r-- | man/maintaining.texi | 13 |
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 |