4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
10 Patch 7.1.029 (after 7.1.019)
11 Problem: Can't compile when all interfaces are used. (Taylor Venable)
12 Solution: Only check for ex_script_ni when it's defined.
16 *** ../vim-7.1.028/src/ex_docmd.c Thu Jul 5 09:53:20 2007
17 --- src/ex_docmd.c Sun Jul 15 17:20:09 2007
21 static void get_flags __ARGS((exarg_T *eap));
22 #if !defined(FEAT_PERL) || !defined(FEAT_PYTHON) || !defined(FEAT_TCL) \
23 || !defined(FEAT_RUBY) || !defined(FEAT_MZSCHEME)
24 + # define HAVE_EX_SCRIPT_NI
25 static void ex_script_ni __ARGS((exarg_T *eap));
27 static char_u *invalid_range __ARGS((exarg_T *eap));
30 !USER_CMDIDX(ea.cmdidx) &&
32 (cmdnames[ea.cmdidx].cmd_func == ex_ni
33 ! || cmdnames[ea.cmdidx].cmd_func == ex_script_ni));
38 !USER_CMDIDX(ea.cmdidx) &&
40 (cmdnames[ea.cmdidx].cmd_func == ex_ni
41 ! #ifdef HAVE_EX_SCRIPT_NI
42 ! || cmdnames[ea.cmdidx].cmd_func == ex_script_ni
50 eap->errmsg = (char_u *)N_("E319: Sorry, the command is not available in this version");
53 ! #if !defined(FEAT_PERL) || !defined(FEAT_PYTHON) || !defined(FEAT_TCL) \
54 ! || !defined(FEAT_RUBY) || !defined(FEAT_MZSCHEME)
56 * Function called for script command which is Not Implemented. NI!
57 * Skips over ":perl <<EOF" constructs.
59 eap->errmsg = (char_u *)N_("E319: Sorry, the command is not available in this version");
62 ! #ifdef HAVE_EX_SCRIPT_NI
64 * Function called for script command which is Not Implemented. NI!
65 * Skips over ":perl <<EOF" constructs.
66 *** ../vim-7.1.028/src/version.c Tue Jul 10 17:25:20 2007
67 --- src/version.c Mon Jul 16 20:37:48 2007
71 { /* Add new patch number below this line */
77 I used to wonder about the meaning of life. But I looked it
78 up in the dictionary under "L" and there it was - the meaning
79 of life. It was less than I expected. - Dogbert
81 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
82 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
83 \\\ download, build and distribute -- http://www.A-A-P.org ///
84 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///