diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-06 22:13:03 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-06 22:13:03 +0100 |
commit | da70cf30ef9c03e5645de0df6f7d44ffb6b31f58 (patch) | |
tree | 953696adc6363cff1e11a71d0dad9053a59a029e /src/ex_docmd.c | |
parent | 48ca24d913105a14cf6d723d45f6b39e7b7b7b77 (diff) |
patch 9.0.0159: cannot build with small featuresv9.0.0159
Problem: Cannot build with small features.
Solution: Check for E1170 only with FEAT_EVAL.
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index d8a724393b..70c54025bd 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -2846,9 +2846,11 @@ parse_command_modifiers( { if (has_cmdmod(cmod, FALSE)) *errormsg = _(e_command_modifier_without_command); +#ifdef FEAT_EVAL if (eap->cmd[0] == '#' && eap->cmd[1] == '{' && eap->cmd[2] != '{') *errormsg = _(e_cannot_use_hash_curly_to_start_comment); +#endif } return FAIL; } |