From: Bram Moolenaar Date: Thu, 22 Jun 2006 15:35:14 +0000 (+0000) Subject: updated for version 7.0-024 X-Git-Tag: v7.0.024 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fcc3fead5d01039182ba266b9c53a64fdf31ee1;p=thirdparty%2Fvim.git updated for version 7.0-024 --- diff --git a/src/eval.c b/src/eval.c index 2e4cd12f05..45872be355 100644 --- a/src/eval.c +++ b/src/eval.c @@ -17759,6 +17759,13 @@ set_var(name, tv, copy) } 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. */ for (p = varname; *p != NUL; ++p) if (!eval_isnamec1(*p) && (p == varname || !VIM_ISDIGIT(*p)) diff --git a/src/version.c b/src/version.c index ad900240fb..15e38e2432 100644 --- a/src/version.c +++ b/src/version.c @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 24, /**/ 23, /**/