Karsten Hopp 0e8dc8
To: vim-dev@vim.org
Karsten Hopp 0e8dc8
Subject: patch 7.1.029
Karsten Hopp 0e8dc8
Fcc: outbox
Karsten Hopp 0e8dc8
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 0e8dc8
Mime-Version: 1.0
Karsten Hopp 0e8dc8
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp 0e8dc8
Content-Transfer-Encoding: 8bit
Karsten Hopp 0e8dc8
------------
Karsten Hopp 0e8dc8
Karsten Hopp 0e8dc8
Patch 7.1.029 (after 7.1.019)
Karsten Hopp 0e8dc8
Problem:    Can't compile when all interfaces are used. (Taylor Venable)
Karsten Hopp 0e8dc8
Solution:   Only check for ex_script_ni when it's defined.
Karsten Hopp 0e8dc8
Files:	    src/ex_docmd.c
Karsten Hopp 0e8dc8
Karsten Hopp 0e8dc8
Karsten Hopp 0e8dc8
*** ../vim-7.1.028/src/ex_docmd.c	Thu Jul  5 09:53:20 2007
Karsten Hopp 0e8dc8
--- src/ex_docmd.c	Sun Jul 15 17:20:09 2007
Karsten Hopp 0e8dc8
***************
Karsten Hopp 0e8dc8
*** 133,138 ****
Karsten Hopp 0e8dc8
--- 133,139 ----
Karsten Hopp 0e8dc8
  static void	get_flags __ARGS((exarg_T *eap));
Karsten Hopp 0e8dc8
  #if !defined(FEAT_PERL) || !defined(FEAT_PYTHON) || !defined(FEAT_TCL) \
Karsten Hopp 0e8dc8
  	|| !defined(FEAT_RUBY) || !defined(FEAT_MZSCHEME)
Karsten Hopp 0e8dc8
+ # define HAVE_EX_SCRIPT_NI
Karsten Hopp 0e8dc8
  static void	ex_script_ni __ARGS((exarg_T *eap));
Karsten Hopp 0e8dc8
  #endif
Karsten Hopp 0e8dc8
  static char_u	*invalid_range __ARGS((exarg_T *eap));
Karsten Hopp 0e8dc8
***************
Karsten Hopp 0e8dc8
*** 2119,2125 ****
Karsten Hopp 0e8dc8
  	    !USER_CMDIDX(ea.cmdidx) &&
Karsten Hopp 0e8dc8
  #endif
Karsten Hopp 0e8dc8
  	    (cmdnames[ea.cmdidx].cmd_func == ex_ni
Karsten Hopp 0e8dc8
! 	     || cmdnames[ea.cmdidx].cmd_func == ex_script_ni));
Karsten Hopp 0e8dc8
  
Karsten Hopp 0e8dc8
  #ifndef FEAT_EVAL
Karsten Hopp 0e8dc8
      /*
Karsten Hopp 0e8dc8
--- 2120,2129 ----
Karsten Hopp 0e8dc8
  	    !USER_CMDIDX(ea.cmdidx) &&
Karsten Hopp 0e8dc8
  #endif
Karsten Hopp 0e8dc8
  	    (cmdnames[ea.cmdidx].cmd_func == ex_ni
Karsten Hopp 0e8dc8
! #ifdef HAVE_EX_SCRIPT_NI
Karsten Hopp 0e8dc8
! 	     || cmdnames[ea.cmdidx].cmd_func == ex_script_ni
Karsten Hopp 0e8dc8
! #endif
Karsten Hopp 0e8dc8
! 	     ));
Karsten Hopp 0e8dc8
  
Karsten Hopp 0e8dc8
  #ifndef FEAT_EVAL
Karsten Hopp 0e8dc8
      /*
Karsten Hopp 0e8dc8
***************
Karsten Hopp 0e8dc8
*** 3998,4005 ****
Karsten Hopp 0e8dc8
  	eap->errmsg = (char_u *)N_("E319: Sorry, the command is not available in this version");
Karsten Hopp 0e8dc8
  }
Karsten Hopp 0e8dc8
  
Karsten Hopp 0e8dc8
! #if !defined(FEAT_PERL) || !defined(FEAT_PYTHON) || !defined(FEAT_TCL) \
Karsten Hopp 0e8dc8
! 	|| !defined(FEAT_RUBY) || !defined(FEAT_MZSCHEME)
Karsten Hopp 0e8dc8
  /*
Karsten Hopp 0e8dc8
   * Function called for script command which is Not Implemented.  NI!
Karsten Hopp 0e8dc8
   * Skips over ":perl <
Karsten Hopp 0e8dc8
--- 3999,4005 ----
Karsten Hopp 0e8dc8
  	eap->errmsg = (char_u *)N_("E319: Sorry, the command is not available in this version");
Karsten Hopp 0e8dc8
  }
Karsten Hopp 0e8dc8
  
Karsten Hopp 0e8dc8
! #ifdef HAVE_EX_SCRIPT_NI
Karsten Hopp 0e8dc8
  /*
Karsten Hopp 0e8dc8
   * Function called for script command which is Not Implemented.  NI!
Karsten Hopp 0e8dc8
   * Skips over ":perl <
Karsten Hopp 0e8dc8
*** ../vim-7.1.028/src/version.c	Tue Jul 10 17:25:20 2007
Karsten Hopp 0e8dc8
--- src/version.c	Mon Jul 16 20:37:48 2007
Karsten Hopp 0e8dc8
***************
Karsten Hopp 0e8dc8
*** 668,669 ****
Karsten Hopp 0e8dc8
--- 668,671 ----
Karsten Hopp 0e8dc8
  {   /* Add new patch number below this line */
Karsten Hopp 0e8dc8
+ /**/
Karsten Hopp 0e8dc8
+     29,
Karsten Hopp 0e8dc8
  /**/
Karsten Hopp 0e8dc8
Karsten Hopp 0e8dc8
-- 
Karsten Hopp 0e8dc8
I used to wonder about the meaning of life.  But I looked it
Karsten Hopp 0e8dc8
up in the dictionary under "L" and there it was - the meaning
Karsten Hopp 0e8dc8
of life.  It was less than I expected.              - Dogbert
Karsten Hopp 0e8dc8
Karsten Hopp 0e8dc8
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 0e8dc8
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 0e8dc8
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 0e8dc8
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///