diff options
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/etags.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c index d511bc39588..6dde9c42e13 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c | |||
| @@ -5069,7 +5069,10 @@ Ruby_functions (FILE *inf) | |||
| 5069 | /* Ruby method names can end in a '='. Also, operator overloading can | 5069 | /* Ruby method names can end in a '='. Also, operator overloading can |
| 5070 | define operators whose names include '='. */ | 5070 | define operators whose names include '='. */ |
| 5071 | while (!notinname (*cp) || *cp == '=') | 5071 | while (!notinname (*cp) || *cp == '=') |
| 5072 | cp++; | 5072 | { |
| 5073 | cp++; | ||
| 5074 | if (*(cp - 1) == ':') name = cp; | ||
| 5075 | } | ||
| 5073 | 5076 | ||
| 5074 | /* Remove "self." from the method name. */ | 5077 | /* Remove "self." from the method name. */ |
| 5075 | if (cp - name > self_size1 | 5078 | if (cp - name > self_size1 |