Patch 8.2.3505 (after 8.2.3503)
Problem:    Vim9: build failure without the +eval feature.
Solution:   Add #ifdef.
Files:      src/ex_cmds.c


*** ../vim-8.2.3504/src/ex_cmds.c       2021-10-13 15:04:28.859631740 +0100
--- src/ex_cmds.c       2021-10-13 15:35:16.649272028 +0100
***************
*** 3724,3732 ****
--- 3724,3734 ----
                                // don't accept alphanumeric for separator
        if (check_regexp_delim(*cmd) == FAIL)
            return;
+ #ifdef FEAT_EVAL
        if (in_vim9script() && check_global_and_subst(eap->cmd, eap->arg)
                                                                      == FAIL)
            return;
+ #endif
  
        /*
         * undocumented vi feature:
***************
*** 4902,4909 ****
--- 4904,4913 ----
      cmd = eap->arg;
      which_pat = RE_LAST;          // default: use last used regexp
  
+ #ifdef FEAT_EVAL
      if (in_vim9script() && check_global_and_subst(eap->cmd, eap->arg) == FAIL)
        return;
+ #endif
  
      /*
       * undocumented vi feature:
*** ../vim-8.2.3504/src/version.c       2021-10-13 15:28:22.759581625 +0100
--- src/version.c       2021-10-13 15:37:01.802735381 +0100
***************
*** 759,760 ****
--- 759,762 ----
  {   /* Add new patch number below this line */
+ /**/
+     3505,
  /**/

-- 
Drink wet cement and get really stoned.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20211013143803.47E86C80053%40moolenaar.net.

Raspunde prin e-mail lui