]> git.pld-linux.org Git - packages/vim.git/blob - 7.0.167
- missing patch
[packages/vim.git] / 7.0.167
1 To: vim-dev@vim.org
2 Subject: Patch 7.0.167
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.0.167
11 Problem:    ":function" redefining a dict function doesn't work properly.
12             (Richard Emberson)
13 Solution:   Allow a function name to be a number when it's a function
14             reference.
15 Files:      src/eval.c
16
17
18 *** ../vim-7.0.166/src/eval.c   Wed Nov  1 18:33:43 2006
19 --- src/eval.c  Tue Nov 21 11:04:13 2006
20 ***************
21 *** 18539,18550 ****
22   
23       if (!eap->skip)
24       {
25 !       /* Check the name of the function. */
26         if (name != NULL)
27             arg = name;
28         else
29             arg = fudi.fd_newkey;
30 !       if (arg != NULL)
31         {
32             if (*arg == K_SPECIAL)
33                 j = 3;
34 --- 18539,18552 ----
35   
36       if (!eap->skip)
37       {
38 !       /* Check the name of the function.  Unless it's a dictionary function
39 !        * (that we are overwriting). */
40         if (name != NULL)
41             arg = name;
42         else
43             arg = fudi.fd_newkey;
44 !       if (arg != NULL && (fudi.fd_di == NULL
45 !                                    || fudi.fd_di->di_tv.v_type != VAR_FUNC))
46         {
47             if (*arg == K_SPECIAL)
48                 j = 3;
49 *** ../vim-7.0.166/src/version.c        Tue Nov 21 11:43:49 2006
50 --- src/version.c       Tue Nov 21 11:48:12 2006
51 ***************
52 *** 668,669 ****
53 --- 668,671 ----
54   {   /* Add new patch number below this line */
55 + /**/
56 +     167,
57   /**/
58
59 -- 
60    They now pass three KNIGHTS impaled to a tree.  With their feet off the
61    ground,  with one lance through the lot of them, they are skewered up
62    like a barbecue.
63                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
64
65  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
66 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
67 \\\        download, build and distribute -- http://www.A-A-P.org        ///
68  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.024922 seconds and 3 git commands to generate.