1
0
forked from aniani/vim

patch 7.4.2249

Problem:    Missing colon in error message.
Solution:   Add the colon. (Dominique Pelle)
This commit is contained in:
Bram Moolenaar
2016-08-24 22:06:38 +02:00
parent 358308dd99
commit ba2099034f
2 changed files with 5 additions and 3 deletions

View File

@@ -1955,7 +1955,7 @@ ex_function(exarg_T *eap)
p += 7; p += 7;
if (current_funccal == NULL) if (current_funccal == NULL)
{ {
emsg_funcname(N_("E932 Closure function should not be at top level: %s"), emsg_funcname(N_("E932: Closure function should not be at top level: %s"),
name == NULL ? (char_u *)"" : name); name == NULL ? (char_u *)"" : name);
goto erret; goto erret;
} }
@@ -2738,7 +2738,7 @@ ex_delfunction(exarg_T *eap)
/* A normal function (not a numbered function or lambda) has a /* A normal function (not a numbered function or lambda) has a
* refcount of 1 for the entry in the hashtable. When deleting * refcount of 1 for the entry in the hashtable. When deleting
* it and the refcount is more than one, it should be kept. * it and the refcount is more than one, it should be kept.
* A numbered function and lambda snould be kept if the refcount is * A numbered function and lambda should be kept if the refcount is
* one or more. */ * one or more. */
if (fp->uf_refcount > (func_name_refcount(fp->uf_name) ? 0 : 1)) if (fp->uf_refcount > (func_name_refcount(fp->uf_name) ? 0 : 1))
{ {
@@ -3479,7 +3479,7 @@ free_unref_funccal(int copyID, int testing)
} }
/* /*
* Get function call environment based on bactrace debug level * Get function call environment based on backtrace debug level
*/ */
static funccall_T * static funccall_T *
get_funccal(void) get_funccal(void)

View File

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