summaryrefslogtreecommitdiff
path: root/dev-util/ctags/files/ctags-5.7-python-vars-starting-with-def.patch
blob: a20007a73dc852052f9e504f0c45091822275200 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- python.c	2008-03-26 20:31:26.000000000 +0200
+++ python.c	2008-03-26 20:31:35.000000000 +0200
@@ -185,7 +185,7 @@
 	while (*cp)
 	{
 		cp = skipEverything (cp);
-		if (!strncmp(cp, "def", 3) || !strncmp(cp, "class", 5))
+		if (!strncmp(cp, "def ", 4) || !strncmp(cp, "class ", 6))
 		{
 			return cp;
 		}