aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorEli Zaretskii2016-02-02 20:31:43 +0200
committerEli Zaretskii2016-02-02 20:31:43 +0200
commit860da4dccb4f54391f3ff77a9dc23ca54e986cb4 (patch)
treeb6b0836329b1adde6e82a7cf67ccbb21845ee0f3 /lib-src
parentf6213ce79981747b3cb2c8213710986b93999fe5 (diff)
downloademacs-860da4dccb4f54391f3ff77a9dc23ca54e986cb4.tar.gz
emacs-860da4dccb4f54391f3ff77a9dc23ca54e986cb4.zip
Fix names of tags generated for Ruby accessors
* lib-src/etags.c (Ruby_functions): Don't include the leading colon ':' in tags for Ruby accessors and aliases. (Bug#22241) * test/etags/ETAGS.good_1: * test/etags/ETAGS.good_2: * test/etags/ETAGS.good_3: * test/etags/ETAGS.good_4: * test/etags/ETAGS.good_5: * test/etags/ETAGS.good_6: * test/etags/CTAGS.good: Adapt to changes in Ruby tags.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/etags.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c
index 760685a6693..ca6fe51bdb6 100644
--- a/lib-src/etags.c
+++ b/lib-src/etags.c
@@ -4721,6 +4721,8 @@ Ruby_functions (FILE *inf)
4721 do { 4721 do {
4722 char *np = cp; 4722 char *np = cp;
4723 4723
4724 if (*np == ':')
4725 np++;
4724 cp = skip_name (cp); 4726 cp = skip_name (cp);
4725 if (reader) 4727 if (reader)
4726 make_tag (np, cp - np, true, 4728 make_tag (np, cp - np, true,