jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone
073263
To: vim_dev@googlegroups.com
073263
Subject: Patch 7.4.298
073263
Fcc: outbox
073263
From: Bram Moolenaar <Bram@moolenaar.net>
073263
Mime-Version: 1.0
073263
Content-Type: text/plain; charset=UTF-8
073263
Content-Transfer-Encoding: 8bit
073263
------------
073263
073263
Patch 7.4.298
073263
Problem:    Can't have a funcref start with "t:".
073263
Solution:   Add "t" to the list of accepted names. (Yukihiro Nakadaira)
073263
Files:	    src/eval.c
073263
073263
073263
*** ../vim-7.4.297/src/eval.c	2014-05-13 13:46:30.593602262 +0200
073263
--- src/eval.c	2014-05-22 14:09:46.902523041 +0200
073263
***************
073263
*** 21064,21070 ****
073263
      char_u *name;    /* points to start of variable name */
073263
      int    new_var;  /* TRUE when creating the variable */
073263
  {
073263
!     if (!(vim_strchr((char_u *)"wbs", name[0]) != NULL && name[1] == ':')
073263
  	    && !ASCII_ISUPPER((name[0] != NUL && name[1] == ':')
073263
  						     ? name[2] : name[0]))
073263
      {
073263
--- 21064,21071 ----
073263
      char_u *name;    /* points to start of variable name */
073263
      int    new_var;  /* TRUE when creating the variable */
073263
  {
073263
!     /* Allow for w: b: s: and t:. */
073263
!     if (!(vim_strchr((char_u *)"wbst", name[0]) != NULL && name[1] == ':')
073263
  	    && !ASCII_ISUPPER((name[0] != NUL && name[1] == ':')
073263
  						     ? name[2] : name[0]))
073263
      {
073263
*** ../vim-7.4.297/src/version.c	2014-05-22 14:00:12.698534712 +0200
073263
--- src/version.c	2014-05-22 14:08:43.874524322 +0200
073263
***************
073263
*** 736,737 ****
073263
--- 736,739 ----
073263
  {   /* Add new patch number below this line */
073263
+ /**/
073263
+     298,
073263
  /**/
073263
073263
-- 
073263
I'm in shape.  Round IS a shape.
073263
073263
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
073263
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
073263
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
073263
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///