diff options
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/etags.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c index 65720e85f49..796adaa5d05 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c | |||
| @@ -4731,8 +4731,12 @@ Ruby_functions (FILE *inf) | |||
| 4731 | if (reader || writer || alias) | 4731 | if (reader || writer || alias) |
| 4732 | { | 4732 | { |
| 4733 | do { | 4733 | do { |
| 4734 | char *np = cp; | 4734 | char *np; |
| 4735 | 4735 | ||
| 4736 | cp = skip_spaces (cp); | ||
| 4737 | if (*cp == '(') | ||
| 4738 | cp = skip_spaces (cp + 1); | ||
| 4739 | np = cp; | ||
| 4736 | cp = skip_name (cp); | 4740 | cp = skip_name (cp); |
| 4737 | if (*np != ':') | 4741 | if (*np != ':') |
| 4738 | continue; | 4742 | continue; |