SF.net SVN: geany:[3795] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Sun May 17 15:45:55 UTC 2009


Revision: 3795
          http://geany.svn.sourceforge.net/geany/?rev=3795&view=rev
Author:   eht16
Date:     2009-05-17 15:45:54 +0000 (Sun, 17 May 2009)

Log Message:
-----------
Fix missing symbols for variables when an equal sign is used in a comment on the same line as the variable declaration.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/tagmanager/python.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-05-13 22:17:30 UTC (rev 3794)
+++ trunk/ChangeLog	2009-05-17 15:45:54 UTC (rev 3795)
@@ -1,3 +1,10 @@
+2009-05-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
+
+ * tagmanager/python.c:
+   Fix missing symbols for variables when an equal sign is used
+   in a comment on the same line as the variable declaration.
+
+
 2009-05-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
 
  * src/keyfile.c:

Modified: trunk/tagmanager/python.c
===================================================================
--- trunk/tagmanager/python.c	2009-05-13 22:17:30 UTC (rev 3794)
+++ trunk/tagmanager/python.c	2009-05-17 15:45:54 UTC (rev 3795)
@@ -403,8 +403,8 @@
 	{
 		if (*eq == '=')
 			return NULL;	/* ignore '==' operator and 'x=5,y=6)' function lines */
-		if (*eq == '(')
-			break;	/* allow 'x = func(b=2,y=2,' lines */
+		if (*eq == '(' || *eq == '#')
+			break;	/* allow 'x = func(b=2,y=2,' lines and comments at the end of line */
 		eq++;
 	}
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list