patch 8.2.3505: Vim9: build failure without the +eval feature
Problem: Vim9: build failure without the +eval feature.
Solution: Add #ifdef.
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 78a87e7..ff91517 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -3724,9 +3724,11 @@
// 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,8 +4904,10 @@
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: