mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
updated for version 7.0158
This commit is contained in:
@@ -16538,7 +16538,8 @@ set_var(name, tv, copy)
|
||||
{
|
||||
/* Make sure the variable name is valid. */
|
||||
for (p = varname; *p != NUL; ++p)
|
||||
if (!eval_isnamec1(*p) && (p == varname || !VIM_ISDIGIT(*p)))
|
||||
if (!eval_isnamec1(*p) && (p == varname || !VIM_ISDIGIT(*p))
|
||||
&& *p != AUTOLOAD_CHAR)
|
||||
{
|
||||
EMSG2(_(e_illvar), varname);
|
||||
return;
|
||||
|
Reference in New Issue
Block a user