|
Karsten Hopp |
c5098d |
To: vim-dev@vim.org
|
|
Karsten Hopp |
c5098d |
Subject: Patch 7.0.148
|
|
Karsten Hopp |
c5098d |
Fcc: outbox
|
|
Karsten Hopp |
c5098d |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
c5098d |
Mime-Version: 1.0
|
|
Karsten Hopp |
c5098d |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
c5098d |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
c5098d |
------------
|
|
Karsten Hopp |
c5098d |
|
|
Karsten Hopp |
c5098d |
Patch 7.0.148
|
|
Karsten Hopp |
c5098d |
Problem: When doing "call a.xyz()" and "xyz" does not exist in dictionary
|
|
Karsten Hopp |
c5098d |
"a" there is no error message. (Yegappan Lakshmanan)
|
|
Karsten Hopp |
c5098d |
Solution: Add the error message.
|
|
Karsten Hopp |
c5098d |
Files: src/eval.c
|
|
Karsten Hopp |
c5098d |
|
|
Karsten Hopp |
c5098d |
|
|
Karsten Hopp |
c5098d |
*** ../vim-7.0.147/src/eval.c Tue Oct 17 15:17:41 2006
|
|
Karsten Hopp |
c5098d |
--- src/eval.c Tue Oct 24 11:01:25 2006
|
|
Karsten Hopp |
c5098d |
***************
|
|
Karsten Hopp |
c5098d |
*** 3125,3131 ****
|
|
Karsten Hopp |
c5098d |
funcdict_T fudi;
|
|
Karsten Hopp |
c5098d |
|
|
Karsten Hopp |
c5098d |
tofree = trans_function_name(&arg, eap->skip, TFN_INT, &fudi);
|
|
Karsten Hopp |
c5098d |
! vim_free(fudi.fd_newkey);
|
|
Karsten Hopp |
c5098d |
if (tofree == NULL)
|
|
Karsten Hopp |
c5098d |
return;
|
|
Karsten Hopp |
c5098d |
|
|
Karsten Hopp |
c5098d |
--- 3125,3136 ----
|
|
Karsten Hopp |
c5098d |
funcdict_T fudi;
|
|
Karsten Hopp |
c5098d |
|
|
Karsten Hopp |
c5098d |
tofree = trans_function_name(&arg, eap->skip, TFN_INT, &fudi);
|
|
Karsten Hopp |
c5098d |
! if (fudi.fd_newkey != NULL)
|
|
Karsten Hopp |
c5098d |
! {
|
|
Karsten Hopp |
c5098d |
! /* Still need to give an error message for missing key. */
|
|
Karsten Hopp |
c5098d |
! EMSG2(_(e_dictkey), fudi.fd_newkey);
|
|
Karsten Hopp |
c5098d |
! vim_free(fudi.fd_newkey);
|
|
Karsten Hopp |
c5098d |
! }
|
|
Karsten Hopp |
c5098d |
if (tofree == NULL)
|
|
Karsten Hopp |
c5098d |
return;
|
|
Karsten Hopp |
c5098d |
|
|
Karsten Hopp |
c5098d |
*** ../vim-7.0.147/src/version.c Tue Oct 24 13:02:27 2006
|
|
Karsten Hopp |
c5098d |
--- src/version.c Tue Oct 24 13:50:39 2006
|
|
Karsten Hopp |
c5098d |
***************
|
|
Karsten Hopp |
c5098d |
*** 668,669 ****
|
|
Karsten Hopp |
c5098d |
--- 668,671 ----
|
|
Karsten Hopp |
c5098d |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
c5098d |
+ /**/
|
|
Karsten Hopp |
c5098d |
+ 148,
|
|
Karsten Hopp |
c5098d |
/**/
|
|
Karsten Hopp |
c5098d |
|
|
Karsten Hopp |
c5098d |
--
|
|
Karsten Hopp |
c5098d |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
c5098d |
99. The hum of a cooling fan and the click of keys is comforting to you.
|
|
Karsten Hopp |
c5098d |
|
|
Karsten Hopp |
c5098d |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
c5098d |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
c5098d |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
c5098d |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|