diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-03-05 21:18:27 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-03-05 21:18:27 +0100 |
commit | a6c07603ca2fa98a4184f5fd5ab021adcf5156b2 (patch) | |
tree | fd78ab3e8ea373d8bf6b3f4e398e71f03681fee9 /src/syntax.c | |
parent | f7e894dfb60b6fd8f426aa3da1452803f8de010c (diff) | |
download | vim-git-8.0.0425.tar.gz |
patch 8.0.0425: build errors when building without foldingv8.0.0425
Problem: Build errors when building without folding.
Solution: Add #ifdefs. (John Marriott)
Diffstat (limited to 'src/syntax.c')
-rw-r--r-- | src/syntax.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/syntax.c b/src/syntax.c index 0d9cd2ced..11f679c0c 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -1183,11 +1183,12 @@ syn_stack_free_block(synblock_T *block) void syn_stack_free_all(synblock_T *block) { +#ifdef FEAT_FOLDING win_T *wp; +#endif syn_stack_free_block(block); - #ifdef FEAT_FOLDING /* When using "syntax" fold method, must update all folds. */ FOR_ALL_WINDOWS(wp) |