diff options
author | Eli Zaretskii <eliz@gnu.org> | 2016-02-02 20:31:43 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2016-02-02 20:31:43 +0200 |
commit | 860da4dccb4f54391f3ff77a9dc23ca54e986cb4 (patch) | |
tree | b6b0836329b1adde6e82a7cf67ccbb21845ee0f3 /lib-src | |
parent | f6213ce79981747b3cb2c8213710986b93999fe5 (diff) |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c index 760685a669..ca6fe51bdb 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c @@ -4721,6 +4721,8 @@ Ruby_functions (FILE *inf) do { char *np = cp; + if (*np == ':') + np++; cp = skip_name (cp); if (reader) make_tag (np, cp - np, true, |