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)
This commit is contained in:
Eli Zaretskii 2016-02-04 19:23:12 +02:00
parent 35fc77dceb
commit 4236944f19

View file

@ -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,