Permalink
Browse files

Fix detection of keywords when followed by a semicolon

Closes #2130612.
  • Loading branch information...
1 parent c1a7b1b commit 2c6c210c6f1ed8d0b5ceacabdc67c497ab863f59 @b4n b4n committed Sep 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tagmanager/ctags/ruby.c
@@ -85,7 +85,7 @@ static boolean canMatch (const unsigned char** s, const char* literal)
return FALSE;
}
/* Additionally check that we're at the end of a token. */
- if ( ! (next_char == 0 || isspace (next_char) || next_char == '('))
+ if ( ! (next_char == 0 || isspace (next_char) || next_char == '(' || next_char == ';'))
{
return FALSE;
}

0 comments on commit 2c6c210

Please sign in to comment.