Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merged Geany commit 4125: Don't parse comments after import statement…

…s and other tags.
  • Loading branch information...
commit daafff34ed569333da205a9499c9cc25df9e9252 1 parent bc54b5e
elias-pschernig elias-pschernig authored
Showing with 2 additions and 1 deletion.
  1. +1 −0  NEWS
  2. +1 −1  python.c
1  NEWS
View
@@ -1,6 +1,7 @@
Current Version: @VERSION@
ctags-@VERSION@ (@DATE@)
+* Don't parse comments after import statements and other tags, contributed by Huandari Lopez to Geany [Python].
* Fixed PHP parser to ignore keywords inside comments [PHP, Bug #1795926].
ctags-5.8 (09 Jul 2009)
2  python.c
View
@@ -240,7 +240,7 @@ static const char *skipEverything (const char *cp)
{
for (; *cp; cp++)
{
- if (*cp == '"' || *cp == '\'')
+ if (*cp == '"' || *cp == '\'' || *cp == '#')
{
cp = skipString(cp);
if (!*cp) break;
Please sign in to comment.
Something went wrong with that request. Please try again.