home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.0 / 7.0.148 < prev    next >
Encoding:
Internet Message Format  |  2006-10-23  |  1.7 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 7.0.148
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.0.148
  11. Problem:    When doing "call a.xyz()" and "xyz" does not exist in dictionary
  12.         "a" there is no error message. (Yegappan Lakshmanan)
  13. Solution:   Add the error message.
  14. Files:        src/eval.c
  15.  
  16.  
  17. *** ../vim-7.0.147/src/eval.c    Tue Oct 17 15:17:41 2006
  18. --- src/eval.c    Tue Oct 24 11:01:25 2006
  19. ***************
  20. *** 3125,3131 ****
  21.       funcdict_T    fudi;
  22.   
  23.       tofree = trans_function_name(&arg, eap->skip, TFN_INT, &fudi);
  24. !     vim_free(fudi.fd_newkey);
  25.       if (tofree == NULL)
  26.       return;
  27.   
  28. --- 3125,3136 ----
  29.       funcdict_T    fudi;
  30.   
  31.       tofree = trans_function_name(&arg, eap->skip, TFN_INT, &fudi);
  32. !     if (fudi.fd_newkey != NULL)
  33. !     {
  34. !     /* Still need to give an error message for missing key. */
  35. !     EMSG2(_(e_dictkey), fudi.fd_newkey);
  36. !     vim_free(fudi.fd_newkey);
  37. !     }
  38.       if (tofree == NULL)
  39.       return;
  40.   
  41. *** ../vim-7.0.147/src/version.c    Tue Oct 24 13:02:27 2006
  42. --- src/version.c    Tue Oct 24 13:50:39 2006
  43. ***************
  44. *** 668,669 ****
  45. --- 668,671 ----
  46.   {   /* Add new patch number below this line */
  47. + /**/
  48. +     148,
  49.   /**/
  50.  
  51. -- 
  52. hundred-and-one symptoms of being an internet addict:
  53. 99. The hum of a cooling fan and the click of keys is comforting to you.
  54.  
  55.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  56. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  57. \\\        download, build and distribute -- http://www.A-A-P.org        ///
  58.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  59.