]> granicus.if.org Git - vim/commitdiff
patch 8.2.0654: building with Python fails v8.2.0654
authorBram Moolenaar <Bram@vim.org>
Mon, 27 Apr 2020 22:02:41 +0000 (00:02 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 27 Apr 2020 22:02:41 +0000 (00:02 +0200)
Problem:    Building with Python fails.
Solution:   Add missing argument.

src/if_py_both.h
src/version.c

index 5a878bd2bd3738ed76b055be98d52bed9d2039d3..d6a5b11a5d8c449e2e3eb6f3321ca0bd6737b02a 100644 (file)
@@ -2934,7 +2934,7 @@ FunctionNew(PyTypeObject *subtype, char_u *name, int argc, typval_T *argv,
 
     if (isdigit(*name))
     {
-       if (!translated_function_exists(name))
+       if (!translated_function_exists(name, FALSE))
        {
            PyErr_FORMAT(PyExc_ValueError,
                    N_("unnamed function %s does not exist"), name);
index 9bee5136b17a6e03cc982643bf66e7a13b296fd7..b99f9bedda270262b9827ce840696080f750c7d5 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    654,
 /**/
     653,
 /**/