0
0
mirror of https://github.com/vim/vim.git synced 2025-09-30 04:44:14 -04:00

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.
This commit is contained in:
Bram Moolenaar
2018-08-14 13:38:17 +02:00
parent def7b1dc61
commit effed9315c
6 changed files with 276 additions and 245 deletions

View File

@@ -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