On Wed, Nov 28, 2012 at 07:11:12PM +0100, Bram Moolenaar wrote:
> 
> Patch 7.3.741 (after 7.3.737)
> Problem:    Tiny build fails.
> Solution:   Move #ifdef. (Ike Devolder)
> Files:            src/ex_docmd.c
> 
> 
> *** ../vim-7.3.740/src/ex_docmd.c     2012-11-28 17:34:43.000000000 +0100
> --- src/ex_docmd.c    2012-11-28 19:09:39.000000000 +0100
> ***************
> *** 1534,1542 ****
>        * ":endif" (could be ":if x | foo | endif").
>        */
>       if_level = 0;
> - #endif
>   
>       did_endif = FALSE;  /* in case do_cmdline used recursively */
>   
>       --call_depth;
>       return retval;
> --- 1534,1542 ----
>        * ":endif" (could be ":if x | foo | endif").
>        */
>       if_level = 0;
>   
>       did_endif = FALSE;  /* in case do_cmdline used recursively */
> + #endif
>   
>       --call_depth;
>       return retval;
> *** ../vim-7.3.740/src/version.c      2012-11-28 18:31:49.000000000 +0100
> --- src/version.c     2012-11-28 19:09:15.000000000 +0100
> ***************
> *** 727,728 ****
> --- 727,730 ----
>   {   /* Add new patch number below this line */
> + /**/
> +     741,
>   /**/
> 
> -- 
> From "know your smileys":
>  :-O>-o   Smiley American tourist (note big mouth and camera)
> 
>  /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
> ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
> \\\  an exciting new programming language -- http://www.Zimbu.org        ///
>  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
> 
> -- 
> You received this message from the "vim_dev" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php

I am truly sorry i have sent you an incomplete patch.
I should have double checked what i was sending.

The attached patch is the completion of the previous.

-- 
Ike

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
diff -r 6e1fe64cf440 src/ex_docmd.c
--- a/src/ex_docmd.c    Wed Nov 28 19:10:54 2012 +0100
+++ b/src/ex_docmd.c    Wed Nov 28 20:04:18 2012 +0100
@@ -1534,7 +1534,9 @@
      * ":endif" (could be ":if x | foo | endif").
      */
     if_level = 0;
-
+#endif
+
+#ifdef FEAT_EVAL
     did_endif = FALSE;  /* in case do_cmdline used recursively */
 #endif
 

Raspunde prin e-mail lui