]> granicus.if.org Git - vim/commitdiff
updated for version 7.1-098 v7.1.098
authorBram Moolenaar <Bram@vim.org>
Thu, 6 Sep 2007 12:26:44 +0000 (12:26 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 6 Sep 2007 12:26:44 +0000 (12:26 +0000)
src/eval.c
src/version.c

index 77d641374ec494ce3b4a0684d366a5ab4b77412e..69f3af8cee2708a4c3f92baa4bfe828dd92179f7 100644 (file)
@@ -19371,6 +19371,28 @@ trans_function_name(pp, skip, flags, fdp)
        goto theend;
     }
 
+    /* Check if the name is a Funcref.  If so, use the value. */
+    if (lv.ll_exp_name != NULL)
+    {
+       len = (int)STRLEN(lv.ll_exp_name);
+       name = deref_func_name(lv.ll_exp_name, &len);
+       if (name == lv.ll_exp_name)
+           name = NULL;
+    }
+    else
+    {
+       len = (int)(end - *pp);
+       name = deref_func_name(*pp, &len);
+       if (name == *pp)
+           name = NULL;
+    }
+    if (name != NULL)
+    {
+       name = vim_strsave(name);
+       *pp = end;
+       goto theend;
+    }
+
     if (lv.ll_exp_name != NULL)
     {
        len = (int)STRLEN(lv.ll_exp_name);
index b39a4d996febe37fc6476454d8ac63dc2d9d653d..20c5be33b46b6686d4ef11846bb26d41259756b1 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    98,
 /**/
     97,
 /**/