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:
parent
35fc77dceb
commit
4236944f19
1 changed files with 3 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue