aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorKevin Ryde2012-12-01 09:22:28 +0800
committerChong Yidong2012-12-01 09:22:28 +0800
commit00054d2199d929eb224ae62dec2e55608ff1c07f (patch)
treecbd9761c40dddbc55d54d3a02476300714728951 /doc
parentf64898abf40b09990c4974c921ddc2ebc698609a (diff)
downloademacs-00054d2199d929eb224ae62dec2e55608ff1c07f.tar.gz
emacs-00054d2199d929eb224ae62dec2e55608ff1c07f.zip
* lib-src/etags.c (Perl_functions): Support "use constant".
* doc/emacs/maintaining.texi (Tag Syntax): Mention Perl's "use constant". Fixes: debbugs:5055
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog4
-rw-r--r--doc/emacs/maintaining.texi10
2 files changed, 9 insertions, 5 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 5c4ae2e1ee0..fd543789751 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,7 @@
12012-12-01 Kevin Ryde <user42@zip.com.au>
2
3 * maintaining.texi (Tag Syntax): Mention Perl's "use constant".
4
12012-11-24 Paul Eggert <eggert@cs.ucla.edu> 52012-11-24 Paul Eggert <eggert@cs.ucla.edu>
2 6
3 * doclicense.texi, gpl.texi: Update to latest version from FSF. 7 * doclicense.texi, gpl.texi: Update to latest version from FSF.
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi
index 67214bde22c..06680a6b4e3 100644
--- a/doc/emacs/maintaining.texi
+++ b/doc/emacs/maintaining.texi
@@ -1766,11 +1766,11 @@ the file.
1766 1766
1767@item 1767@item
1768In Perl code, the tags are the packages, subroutines and variables 1768In Perl code, the tags are the packages, subroutines and variables
1769defined by the @code{package}, @code{sub}, @code{my} and @code{local} 1769defined by the @code{package}, @code{sub}, @code{use constant},
1770keywords. Use @samp{--globals} if you want to tag global variables. 1770@code{my}, and @code{local} keywords. Use @samp{--globals} if you
1771Tags for subroutines are named @samp{@var{package}::@var{sub}}. The 1771want to tag global variables. Tags for subroutines are named
1772name for subroutines defined in the default package is 1772@samp{@var{package}::@var{sub}}. The name for subroutines defined in
1773@samp{main::@var{sub}}. 1773the default package is @samp{main::@var{sub}}.
1774 1774
1775@item 1775@item
1776In PHP code, tags are functions, classes and defines. Vars are tags 1776In PHP code, tags are functions, classes and defines. Vars are tags