0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.0654: building with Python fails

Problem:    Building with Python fails.
Solution:   Add missing argument.
This commit is contained in:
Bram Moolenaar
2020-04-28 00:02:41 +02:00
parent 03afdcf1f4
commit a14bb7e113
2 changed files with 3 additions and 1 deletions

View 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);

View File

@@ -746,6 +746,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
654,
/**/
653,
/**/