Mercurial > vim
diff src/globals.h @ 14536:4caa51067cb8 v8.1.0281
patch 8.1.0281: parsing command modifiers is not separated
commit https://github.com/vim/vim/commit/effed9315c6c5a35fc2824b90da4af753c7a02dc
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 14 13:38:17 2018 +0200
patch 8.1.0281: parsing command modifiers is not separated
Problem: Parsing command modifiers is not separated.
Solution: Move command modifier parsing to a separate function.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 14 Aug 2018 13:45:04 +0200 |
parents | 3648e74dd523 |
children | 27e814e21594 |
line wrap: on
line diff
--- a/src/globals.h +++ b/src/globals.h @@ -678,8 +678,7 @@ EXTERN int allbuf_lock INIT(= 0); * changed, no buffer can be deleted and * current directory can't be changed. * Used for SwapExists et al. */ -#ifdef FEAT_EVAL -# define HAVE_SANDBOX +#ifdef HAVE_SANDBOX EXTERN int sandbox INIT(= 0); /* Non-zero when evaluating an expression in a * "sandbox". Several things are not allowed