From: Eli Zaretskii Date: Thu, 4 Feb 2016 17:23:12 +0000 (+0200) Subject: Minor fix in tagging Ruby accessors by etags X-Git-Tag: emacs-25.0.91~86 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4236944f19cb4df69dd3ae95fdcace83b76d4554;p=emacs.git Minor fix in tagging Ruby accessors by etags * lib-src/etags.c (Ruby_functions): Don't tag accessors whose names are not literal symbols. (Bug#22241) --- diff --git a/lib-src/etags.c b/lib-src/etags.c index bb2758941a4..0f5bfa3a951 100644 --- 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,