4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
10 Patch 6.2.486 (6.2.482)
11 Problem: Diff for eval.c is missing.
12 Solution: Addition to patch 6.2.482.
16 *** ../vim-6.2.485/src/eval.c Tue Apr 20 12:52:53 2004
17 --- src/eval.c Tue Apr 20 10:37:31 2004
20 /* If the result is a string, check if there is a non-digit before
22 s = retvar.var_val.var_string;
23 ! if (!isdigit(*s) && *s != '-')
25 retval = atol((char *)s);
28 /* If the result is a string, check if there is a non-digit before
30 s = retvar.var_val.var_string;
31 ! if (!VIM_ISDIGIT(*s) && *s != '-')
33 retval = atol((char *)s);
38 * ":let var = expr": Set internal variable.
40 ! else if (eval_isnamec(*arg) && !isdigit(*arg))
42 /* Find the end of the name. */
43 p = find_name_end(arg, &expr_start, &expr_end);
46 * ":let var = expr": Set internal variable.
48 ! else if (eval_isnamec(*arg) && !VIM_ISDIGIT(*arg))
50 /* Find the end of the name. */
51 p = find_name_end(arg, &expr_start, &expr_end);
55 case 'u': /* Unicode: "\u0023" */
63 case 'u': /* Unicode: "\u0023" */
65 ! if (vim_isxdigit(p[1]))
74 ! while (--n >= 0 && isxdigit(p[1]))
77 nr = (nr << 4) + hex2nr(*p);
82 ! while (--n >= 0 && vim_isxdigit(p[1]))
85 nr = (nr << 4) + hex2nr(*p);
88 for (stropt = get_var_string(&argvars[2]); *stropt != NUL; ++stropt)
91 ! case 'a': case 'A': /* append */
94 ! case 'v': case 'c': /* character-wise selection */
97 ! case 'V': case 'l': /*line-wise selection */
101 ! case 'b': case Ctrl_V: /*block-wise selection*/
103 ! if (isdigit(stropt[1]))
106 block_len = getdigits(&stropt) - 1;
108 for (stropt = get_var_string(&argvars[2]); *stropt != NUL; ++stropt)
111 ! case 'a': case 'A': /* append */
114 ! case 'v': case 'c': /* character-wise selection */
117 ! case 'V': case 'l': /* line-wise selection */
121 ! case 'b': case Ctrl_V: /* block-wise selection */
123 ! if (VIM_ISDIGIT(stropt[1]))
126 block_len = getdigits(&stropt) - 1;
130 if (current_funccal == NULL)
132 ! if (isdigit(*name))
134 i = atol((char *)name);
135 if (i == 0) /* a:0 */
138 if (current_funccal == NULL)
140 ! if (VIM_ISDIGIT(*name))
142 i = atol((char *)name);
143 if (i == 0) /* a:0 */
144 *** ../vim-6.2.485/src/version.c Tue Apr 20 12:52:53 2004
145 --- src/version.c Tue Apr 20 12:59:38 2004
149 { /* Add new patch number below this line */
155 We apologise again for the fault in the subtitles. Those responsible for
156 sacking the people who have just been sacked have been sacked.
157 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
159 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
160 /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
161 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
162 \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///