diff options
Diffstat (limited to 'dev-util/ctags/files/ctags-5.7-python-vars-starting-with-def.patch')
-rw-r--r-- | dev-util/ctags/files/ctags-5.7-python-vars-starting-with-def.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-util/ctags/files/ctags-5.7-python-vars-starting-with-def.patch b/dev-util/ctags/files/ctags-5.7-python-vars-starting-with-def.patch new file mode 100644 index 0000000..a20007a --- /dev/null +++ b/dev-util/ctags/files/ctags-5.7-python-vars-starting-with-def.patch @@ -0,0 +1,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; + } |