Patch 8.2.3505

7 views
Skip to first unread message

Bram Moolenaar

unread,
Oct 13, 2021, 10:38:08 AM10/13/21
to vim...@googlegroups.com

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 -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages