mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
updated for version 7.0-024
This commit is contained in:
@@ -17759,6 +17759,13 @@ set_var(name, tv, copy)
|
|||||||
}
|
}
|
||||||
else /* add a new variable */
|
else /* add a new variable */
|
||||||
{
|
{
|
||||||
|
/* Can't add "v:" variable. */
|
||||||
|
if (ht == &vimvarht)
|
||||||
|
{
|
||||||
|
EMSG2(_(e_illvar), name);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/* Make sure the variable name is valid. */
|
/* Make sure the variable name is valid. */
|
||||||
for (p = varname; *p != NUL; ++p)
|
for (p = varname; *p != NUL; ++p)
|
||||||
if (!eval_isnamec1(*p) && (p == varname || !VIM_ISDIGIT(*p))
|
if (!eval_isnamec1(*p) && (p == varname || !VIM_ISDIGIT(*p))
|
||||||
|
@@ -666,6 +666,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 */
|
||||||
|
/**/
|
||||||
|
24,
|
||||||
/**/
|
/**/
|
||||||
23,
|
23,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user