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