]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.0-024 v7.0.024
authorBram Moolenaar <Bram@vim.org>
Thu, 22 Jun 2006 15:35:14 +0000 (15:35 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 22 Jun 2006 15:35:14 +0000 (15:35 +0000)
src/eval.c
src/version.c

index 2e4cd12f05b4c15b4cf4be53af3cbdc8271d0125..45872be3557b4161d774a327c9a4f74153c11524 100644 (file)
@@ -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))
index ad900240fbf80e266ecc66fe0b9779cf7aab6a4e..15e38e2432184554749059dfd0b07fdbf1902c23 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    24,
 /**/
     23,
 /**/