Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
3e7eaab2
Commit
3e7eaab2
authored
Dec 26, 2001
by
Francesco Potortì
Browse files
Perl changes for etags.
parent
62728cf0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
etc/NEWS
etc/NEWS
+4
-0
man/maintaining.texi
man/maintaining.texi
+9
-4
No files found.
etc/NEWS
View file @
3e7eaab2
...
...
@@ -135,6 +135,10 @@ now uses normal-erase-is-backspace-mode.
*** In Prolog, etags creates tags for rules in addition to predicates.
*** 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.
*** New language PHP: tags are functions, classes and defines. If
the --members option is specified to etags, tags are vars also.
...
...
man/maintaining.texi
View file @
3e7eaab2
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment