Patch 8.2.2229
Problem: build failure without the +eval feature.
Solution: Add #ifdef.
Files: src/ex_docmd.c
*** ../vim-8.2.2228/src/ex_docmd.c 2020-12-27 16:55:07.401084654 +0100
--- src/ex_docmd.c 2020-12-27 17:32:33.329650875 +0100
***************
*** 8633,8639 ****
--- 8633,8641 ----
switch (spec_idx)
{
case SPEC_PERC:
+ #ifdef FEAT_EVAL
if (!in_vim9script() || src[1] != '%')
+ #endif
{
// '%': current file
if (curbuf->b_fname == NULL)
***************
*** 8648,8656 ****
--- 8650,8660 ----
}
break;
}
+ #ifdef FEAT_EVAL
// "%%" alternate file
off = 1;
// FALLTHROUGH
+ #endif
case SPEC_HASH: // '#' or "#99": alternate file
if (off == 0 ? src[1] == '#' : src[2] == '%')
*** ../vim-8.2.2228/src/version.c 2020-12-27 16:55:07.405084640 +0100
--- src/version.c 2020-12-27 17:35:04.657447576 +0100
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2229,
/**/
--
hundred-and-one symptoms of being an internet addict:
29. Your phone bill comes to your doorstep in a box.
/// Bram Moolenaar -- Br...@Moolenaar.net --
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 ///