Revision: 4563 http://geany.svn.sourceforge.net/geany/?rev=4563&view=rev Author: eht16 Date: 2010-01-25 21:16:27 +0000 (Mon, 25 Jan 2010)
Log Message: ----------- Backport from trunk: Don't parse comments after import statements and other tags (closes #2838938, patch by Huandari Lopez, thanks).
Modified Paths: -------------- branches/geany-0.18.1/ChangeLog branches/geany-0.18.1/tagmanager/python.c
Modified: branches/geany-0.18.1/ChangeLog =================================================================== --- branches/geany-0.18.1/ChangeLog 2010-01-25 21:16:16 UTC (rev 4562) +++ branches/geany-0.18.1/ChangeLog 2010-01-25 21:16:27 UTC (rev 4563) @@ -5,6 +5,9 @@ whitespace before the 'function' keyword to ignore some false positives like function tags inside comments (patch by Harold Aling, thanks). + * tagmanager/python.c: + Don't parse comments after import statements and other tags + (closes #2838938, patch by Huandari Lopez, thanks).
2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: branches/geany-0.18.1/tagmanager/python.c =================================================================== --- branches/geany-0.18.1/tagmanager/python.c 2010-01-25 21:16:16 UTC (rev 4562) +++ branches/geany-0.18.1/tagmanager/python.c 2010-01-25 21:16:27 UTC (rev 4563) @@ -166,7 +166,7 @@ { for (; *cp; cp++) { - if (*cp == '"' || *cp == ''') + if (*cp == '"' || *cp == ''' || *cp == '#') { cp = skipString(cp); if (!*cp) break;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.