Problem: Vim9: build failure without the +eval feature.
Solution: Add #ifdef.
// 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:
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:
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 3505,
/**/
3504,
/**/