4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: When evaluating an argument of a function throws an exception the
12 function is still called. (Hari Krishna Dara)
13 Solution: Don't call the function when an exception was thrown.
17 *** ../vim-6.2.045/src/eval.c Fri Jul 25 22:43:59 2003
18 --- src/eval.c Sat Jul 26 18:35:19 2003
25 ! ret = call_func(name, len, retvar, argcount, argvars,
26 firstline, lastline, doesrange, evaluate);
27 ! else if (!aborting())
28 ! EMSG2(_("E116: Invalid arguments for function %s"), name);
30 while (--argcount >= 0)
31 clear_var(&argvars[argcount]);
39 ! ret = call_func(name, len, retvar, argcount, argvars,
40 firstline, lastline, doesrange, evaluate);
42 ! EMSG2(_("E116: Invalid arguments for function %s"), name);
45 while (--argcount >= 0)
46 clear_var(&argvars[argcount]);
47 *** ../vim-6.2.045/src/version.c Sun Jul 27 14:22:19 2003
48 --- src/version.c Sun Jul 27 14:25:19 2003
52 { /* Add new patch number below this line */
58 Hacker: Someone skilled in computer programming (good guy).
59 Cracker: A hacker that uses his skills to crack software (bad guy).
61 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
62 /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
63 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
64 \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///