Skip to content

Commit

Permalink
fixed bug #1809024
Browse files Browse the repository at this point in the history
git-svn-id: https://ctags.svn.sourceforge.net/svnroot/ctags/trunk@629 c5d04d22-be80-434c-894e-aa346cc9e8e8
  • Loading branch information
allefant committed Oct 7, 2007
1 parent 6db52b3 commit cc46e7b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions python.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,13 @@ static const char *skipEverything (const char *cp)
{
for (; *cp; cp++)
{
if (isIdentifierFirstCharacter ((int) *cp))
return cp;
if (*cp == '"' || *cp == '\'')
if (*cp == '"' || *cp == '\'')
{
cp = skipString(cp);
if (!*cp) break;
}
if (isIdentifierFirstCharacter ((int) *cp))
return cp;
}
return cp;
}
Expand Down

0 comments on commit cc46e7b

Please sign in to comment.