Karsten Hopp eb2546
To: vim_dev@googlegroups.com
Karsten Hopp eb2546
Subject: Patch 7.4.415
Karsten Hopp eb2546
Fcc: outbox
Karsten Hopp eb2546
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp eb2546
Mime-Version: 1.0
Karsten Hopp eb2546
Content-Type: text/plain; charset=UTF-8
Karsten Hopp eb2546
Content-Transfer-Encoding: 8bit
Karsten Hopp eb2546
------------
Karsten Hopp eb2546
Karsten Hopp eb2546
Patch 7.4.415 (after 7.4.414)
Karsten Hopp eb2546
Problem:    Cannot build.  Warning for shadowed variable. (John Little)
Karsten Hopp eb2546
Solution:   Add missing change.  Remove declaration.
Karsten Hopp eb2546
Files:	    src/vim.h, src/ex_docmd.c
Karsten Hopp eb2546
Karsten Hopp eb2546
Karsten Hopp eb2546
*** ../vim-7.4.414/src/vim.h	2014-08-06 14:52:05.047236174 +0200
Karsten Hopp eb2546
--- src/vim.h	2014-08-22 20:26:19.522953712 +0200
Karsten Hopp eb2546
***************
Karsten Hopp eb2546
*** 1326,1331 ****
Karsten Hopp eb2546
--- 1326,1332 ----
Karsten Hopp eb2546
      EVENT_SHELLFILTERPOST,	/* after ":1,2!cmd", ":w !cmd", ":r !cmd". */
Karsten Hopp eb2546
      EVENT_TEXTCHANGED,		/* text was modified */
Karsten Hopp eb2546
      EVENT_TEXTCHANGEDI,		/* text was modified in Insert mode*/
Karsten Hopp eb2546
+     EVENT_CMDUNDEFINED,		/* command undefined */
Karsten Hopp eb2546
      NUM_EVENTS			/* MUST be the last one */
Karsten Hopp eb2546
  };
Karsten Hopp eb2546
  
Karsten Hopp eb2546
*** ../vim-7.4.414/src/ex_docmd.c	2014-08-22 23:05:50.102606614 +0200
Karsten Hopp eb2546
--- src/ex_docmd.c	2014-08-23 14:11:52.640635039 +0200
Karsten Hopp eb2546
***************
Karsten Hopp eb2546
*** 2150,2158 ****
Karsten Hopp eb2546
  	    && ASCII_ISUPPER(*ea.cmd)
Karsten Hopp eb2546
  	    && has_cmdundefined())
Karsten Hopp eb2546
      {
Karsten Hopp eb2546
- 	char_u *p = ea.cmd;
Karsten Hopp eb2546
  	int ret;
Karsten Hopp eb2546
  
Karsten Hopp eb2546
  	while (ASCII_ISALNUM(*p))
Karsten Hopp eb2546
  	    ++p;
Karsten Hopp eb2546
  	p = vim_strnsave(ea.cmd, p - ea.cmd);
Karsten Hopp eb2546
--- 2150,2158 ----
Karsten Hopp eb2546
  	    && ASCII_ISUPPER(*ea.cmd)
Karsten Hopp eb2546
  	    && has_cmdundefined())
Karsten Hopp eb2546
      {
Karsten Hopp eb2546
  	int ret;
Karsten Hopp eb2546
  
Karsten Hopp eb2546
+ 	p = ea.cmd;
Karsten Hopp eb2546
  	while (ASCII_ISALNUM(*p))
Karsten Hopp eb2546
  	    ++p;
Karsten Hopp eb2546
  	p = vim_strnsave(ea.cmd, p - ea.cmd);
Karsten Hopp eb2546
*** ../vim-7.4.415/src/version.c	2014-08-22 23:05:50.106606614 +0200
Karsten Hopp eb2546
--- src/version.c	2014-08-23 14:15:50.620626408 +0200
Karsten Hopp eb2546
***************
Karsten Hopp eb2546
*** 743,744 ****
Karsten Hopp eb2546
--- 743,746 ----
Karsten Hopp eb2546
  {   /* Add new patch number below this line */
Karsten Hopp eb2546
+ /**/
Karsten Hopp eb2546
+     415,
Karsten Hopp eb2546
  /**/
Karsten Hopp eb2546
Karsten Hopp eb2546
-- 
Karsten Hopp eb2546
CVS sux, men don't like commitment
Karsten Hopp eb2546
Karsten Hopp eb2546
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp eb2546
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp eb2546
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp eb2546
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///