[geany/geany] 2c6c21: Fix detection of keywords when followed by a semicolon
Colomban Wendling
git-noreply at xxxxx
Sun Sep 30 13:46:59 UTC 2012
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Sun, 30 Sep 2012 13:46:59
Commit: 2c6c210c6f1ed8d0b5ceacabdc67c497ab863f59
https://github.com/geany/geany/commit/2c6c210c6f1ed8d0b5ceacabdc67c497ab863f59
Log Message:
-----------
Fix detection of keywords when followed by a semicolon
Closes #2130612.
Modified Paths:
--------------
tagmanager/ctags/ruby.c
Modified: tagmanager/ctags/ruby.c
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -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;
}
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
More information about the Commits
mailing list