SF.net SVN: geany: [696] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Fri Aug 11 18:01:12 UTC 2006


Revision: 696
Author:   eht16
Date:     2006-08-11 11:01:02 -0700 (Fri, 11 Aug 2006)
ViewCVS:  http://svn.sourceforge.net/geany/?rev=696&view=rev

Log Message:
-----------
Fixed wrong classification of local functions as methods(thanks to Sebastian Koch).

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/tagmanager/python.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2006-08-11 17:19:16 UTC (rev 695)
+++ trunk/ChangeLog	2006-08-11 18:01:02 UTC (rev 696)
@@ -3,6 +3,8 @@
  * src/document.c:
    Changed SEARCH_NOT_FOUND_TXT.
    Fixed possible segfault when replacing tabs by spaces.
+ * tagmanager/python.c: Fixed wrong classification of local functions
+                        as methods(thanks to Sebastian Koch).
 
 
 2006-08-09  Enrico Tröger  <enrico.troeger at uvena.de>

Modified: trunk/tagmanager/python.c
===================================================================
--- trunk/tagmanager/python.c	2006-08-11 17:19:16 UTC (rev 695)
+++ trunk/tagmanager/python.c	2006-08-11 18:01:02 UTC (rev 696)
@@ -97,7 +97,7 @@
 			++cp;
 		    }
 		    vStringTerminate (name);
-		    if (!isspace(*line) || vStringSize(lastClass) <= 0)
+		    if (!isspace(*line) || vStringLength(lastClass) <= 0)
 			makeSimpleTag (name, PythonKinds, K_FUNCTION);
 		    else
 			makeSimpleScopedTag (name, PythonKinds, K_METHOD,


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