Permalink
Browse files

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

…s and other tags.
  • Loading branch information...
1 parent bc54b5e commit daafff34ed569333da205a9499c9cc25df9e9252 @allefant allefant committed Aug 26, 2009
Showing with 2 additions and 1 deletion.
  1. +1 −0 NEWS
  2. +1 −1 python.c
View
1 NEWS
@@ -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)
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;

0 comments on commit daafff3

Please sign in to comment.