3ef2ca
To: vim_dev@googlegroups.com
3ef2ca
Subject: Patch 7.4.540
3ef2ca
Fcc: outbox
3ef2ca
From: Bram Moolenaar <Bram@moolenaar.net>
3ef2ca
Mime-Version: 1.0
3ef2ca
Content-Type: text/plain; charset=UTF-8
3ef2ca
Content-Transfer-Encoding: 8bit
3ef2ca
------------
3ef2ca
3ef2ca
Patch 7.4.540 (after 7.4.539)
3ef2ca
Problem:    Cannot build with tiny and small features. (Taro Muraoka)
3ef2ca
Solution:   Add #ifdef around CMD_USER.
3ef2ca
Files:	    src/ex_docmd.c
3ef2ca
3ef2ca
3ef2ca
*** ../vim-7.4.539/src/ex_docmd.c	2014-11-30 14:50:12.259356186 +0100
3ef2ca
--- src/ex_docmd.c	2014-11-30 22:32:24.213687119 +0100
3ef2ca
***************
3ef2ca
*** 2129,2135 ****
3ef2ca
   * is equal to the lower.
3ef2ca
   */
3ef2ca
  
3ef2ca
!     if (ea.cmdidx != CMD_USER && ea.cmdidx != CMD_SIZE)
3ef2ca
  	ea.addr_type = cmdnames[(int)ea.cmdidx].cmd_addr_type;
3ef2ca
      else
3ef2ca
  	ea.addr_type = ADDR_LINES;
3ef2ca
--- 2129,2139 ----
3ef2ca
   * is equal to the lower.
3ef2ca
   */
3ef2ca
  
3ef2ca
!     if (ea.cmdidx != CMD_SIZE
3ef2ca
! #ifdef FEAT_USR_CMDS
3ef2ca
! 	&& ea.cmdidx != CMD_USER
3ef2ca
! #endif
3ef2ca
!        )
3ef2ca
  	ea.addr_type = cmdnames[(int)ea.cmdidx].cmd_addr_type;
3ef2ca
      else
3ef2ca
  	ea.addr_type = ADDR_LINES;
3ef2ca
*** ../vim-7.4.539/src/version.c	2014-11-30 14:50:12.259356186 +0100
3ef2ca
--- src/version.c	2014-11-30 22:34:06.820539874 +0100
3ef2ca
***************
3ef2ca
*** 743,744 ****
3ef2ca
--- 743,746 ----
3ef2ca
  {   /* Add new patch number below this line */
3ef2ca
+ /**/
3ef2ca
+     540,
3ef2ca
  /**/
3ef2ca
3ef2ca
-- 
3ef2ca
SECOND SOLDIER: It could be carried by an African swallow!
3ef2ca
FIRST SOLDIER:  Oh  yes! An African swallow maybe ... but not a European
3ef2ca
                swallow. that's my point.
3ef2ca
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
3ef2ca
3ef2ca
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
3ef2ca
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
3ef2ca
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
3ef2ca
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///