diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-12-27 17:35:18 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-12-27 17:35:18 +0100 |
commit | 39cb2dab18e85fc60f116a4543e433616872b690 (patch) | |
tree | 1bd986b302e5d2f2beb0974e31e8e615db279379 /src | |
parent | 4389f9cd00632adc0216d5ead13d859b186bcbf8 (diff) |
patch 8.2.2229: build failure without the +eval featurev8.2.2229
Problem: build failure without the +eval feature.
Solution: Add #ifdef.
Diffstat (limited to 'src')
-rw-r--r-- | src/ex_docmd.c | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 5e90ad16a3..bb191b53cd 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -8633,7 +8633,9 @@ eval_vars( switch (spec_idx) { case SPEC_PERC: +#ifdef FEAT_EVAL if (!in_vim9script() || src[1] != '%') +#endif { // '%': current file if (curbuf->b_fname == NULL) @@ -8648,9 +8650,11 @@ eval_vars( } break; } +#ifdef FEAT_EVAL // "%%" alternate file off = 1; // FALLTHROUGH +#endif case SPEC_HASH: // '#' or "#99": alternate file if (off == 0 ? src[1] == '#' : src[2] == '%') diff --git a/src/version.c b/src/version.c index 985e48e6b0..adfaf50ebb 100644 --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2229, +/**/ 2228, /**/ 2227, |