4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: ":function" redefining a dict function doesn't work properly.
13 Solution: Allow a function name to be a number when it's a function
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
25 ! /* Check the name of the function. */
32 if (*arg == K_SPECIAL)
38 ! /* Check the name of the function. Unless it's a dictionary function
39 ! * (that we are overwriting). */
44 ! if (arg != NULL && (fudi.fd_di == NULL
45 ! || fudi.fd_di->di_tv.v_type != VAR_FUNC))
47 if (*arg == K_SPECIAL)
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
54 { /* Add new patch number below this line */
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
63 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
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 ///