Fix wrong parsing of string literals (closes #2781264).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3741 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2009-04-27 19:31:21 +00:00
parent 63801f6e60
commit 4b79502943
2 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,8 @@
Remember the active sidebar page between sessions.
* src/project.c:
Add a recent project item after creating a new project.
* tagmanager/ruby.c:
Fix wrong parsing of string literals (closes #2781264).
2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>

View File

@ -382,6 +382,8 @@ static void findRubyTags (void)
do {
++cp;
} while (*cp != 0 && *cp != '"');
if (*cp == '"')
cp++; /* skip the last found '"' */
}
else if (*cp != '\0')
{