projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35fc77d
)
Minor fix in tagging Ruby accessors by etags
author
Eli Zaretskii
<eliz@gnu.org>
Thu, 4 Feb 2016 17:23:12 +0000
(19:23 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Thu, 4 Feb 2016 17:23:12 +0000
(19:23 +0200)
* lib-src/etags.c (Ruby_functions): Don't tag accessors whose
names are not literal symbols. (Bug#22241)
lib-src/etags.c
patch
|
blob
|
history
diff --git
a/lib-src/etags.c
b/lib-src/etags.c
index bb2758941a413ae001cb16666ebc4f9c56c7aac9..0f5bfa3a951b64be5699d99ad4ff0f1bbc37029b 100644
(file)
--- a/
lib-src/etags.c
+++ b/
lib-src/etags.c
@@
-4732,9
+4732,10
@@
Ruby_functions (FILE *inf)
do {
char *np = cp;
- if (*np == ':')
- np++;
cp = skip_name (cp);
+ if (*np != ':')
+ continue;
+ np++;
if (reader)
{
make_tag (np, cp - np, true,