summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-04-28 00:02:41 +0200
committerBram Moolenaar <Bram@vim.org>2020-04-28 00:02:41 +0200
commita14bb7e1132377af60910402f1a9e4796297f5df (patch)
treef7ebcef31c09c9483924db5019f9febb592f9af3
parent03afdcf1f449d23c9b6bc56d8b61f31dd4e11836 (diff)
downloadvim-git-8.2.0654.tar.gz
patch 8.2.0654: building with Python failsv8.2.0654
Problem: Building with Python fails. Solution: Add missing argument.
-rw-r--r--src/if_py_both.h2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/if_py_both.h b/src/if_py_both.h
index 5a878bd2b..d6a5b11a5 100644
--- a/src/if_py_both.h
+++ b/src/if_py_both.h
@@ -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);
diff --git a/src/version.c b/src/version.c
index 9bee5136b..b99f9bedd 100644
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 654,
+/**/
653,
/**/
652,