|
Karsten Hopp |
76f9a8 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
76f9a8 |
Subject: Patch 7.0.173
|
|
Karsten Hopp |
76f9a8 |
Fcc: outbox
|
|
Karsten Hopp |
76f9a8 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
76f9a8 |
Mime-Version: 1.0
|
|
Karsten Hopp |
76f9a8 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
76f9a8 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
76f9a8 |
------------
|
|
Karsten Hopp |
76f9a8 |
|
|
Karsten Hopp |
76f9a8 |
Patch 7.0.173
|
|
Karsten Hopp |
76f9a8 |
Problem: ":call f().TT()" doesn't work. (Richard Emberson)
|
|
Karsten Hopp |
76f9a8 |
Solution: When a function returns a Dictionary or another composite continue
|
|
Karsten Hopp |
76f9a8 |
evaluating what follows.
|
|
Karsten Hopp |
76f9a8 |
Files: src/eval.c
|
|
Karsten Hopp |
76f9a8 |
|
|
Karsten Hopp |
76f9a8 |
|
|
Karsten Hopp |
76f9a8 |
*** ../vim-7.0.172/src/eval.c Tue Nov 21 19:36:00 2006
|
|
Karsten Hopp |
76f9a8 |
--- src/eval.c Tue Nov 28 20:50:02 2006
|
|
Karsten Hopp |
76f9a8 |
***************
|
|
Karsten Hopp |
76f9a8 |
*** 3184,3192 ****
|
|
Karsten Hopp |
76f9a8 |
--- 3184,3201 ----
|
|
Karsten Hopp |
76f9a8 |
failed = TRUE;
|
|
Karsten Hopp |
76f9a8 |
break;
|
|
Karsten Hopp |
76f9a8 |
}
|
|
Karsten Hopp |
76f9a8 |
+
|
|
Karsten Hopp |
76f9a8 |
+ /* Handle a function returning a Funcref, Dictionary or List. */
|
|
Karsten Hopp |
76f9a8 |
+ if (handle_subscript(&arg, &rettv, !eap->skip, TRUE) == FAIL)
|
|
Karsten Hopp |
76f9a8 |
+ {
|
|
Karsten Hopp |
76f9a8 |
+ failed = TRUE;
|
|
Karsten Hopp |
76f9a8 |
+ break;
|
|
Karsten Hopp |
76f9a8 |
+ }
|
|
Karsten Hopp |
76f9a8 |
+
|
|
Karsten Hopp |
76f9a8 |
clear_tv(&rettv);
|
|
Karsten Hopp |
76f9a8 |
if (doesrange || eap->skip)
|
|
Karsten Hopp |
76f9a8 |
break;
|
|
Karsten Hopp |
76f9a8 |
+
|
|
Karsten Hopp |
76f9a8 |
/* Stop when immediately aborting on error, or when an interrupt
|
|
Karsten Hopp |
76f9a8 |
* occurred or an exception was thrown but not caught.
|
|
Karsten Hopp |
76f9a8 |
* get_func_tv() returned OK, so that the check for trailing
|
|
Karsten Hopp |
76f9a8 |
*** ../vim-7.0.172/src/version.c Tue Nov 28 18:37:55 2006
|
|
Karsten Hopp |
76f9a8 |
--- src/version.c Tue Nov 28 20:53:18 2006
|
|
Karsten Hopp |
76f9a8 |
***************
|
|
Karsten Hopp |
76f9a8 |
*** 668,669 ****
|
|
Karsten Hopp |
76f9a8 |
--- 668,671 ----
|
|
Karsten Hopp |
76f9a8 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
76f9a8 |
+ /**/
|
|
Karsten Hopp |
76f9a8 |
+ 173,
|
|
Karsten Hopp |
76f9a8 |
/**/
|
|
Karsten Hopp |
76f9a8 |
|
|
Karsten Hopp |
76f9a8 |
--
|
|
Karsten Hopp |
76f9a8 |
"A mouse can be just as dangerous as a bullet or a bomb."
|
|
Karsten Hopp |
76f9a8 |
(US Representative Lamar Smith, R-Texas)
|
|
Karsten Hopp |
76f9a8 |
|
|
Karsten Hopp |
76f9a8 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
76f9a8 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
76f9a8 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
76f9a8 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|