Mercurial > vim
comparison src/syntax.c @ 11073:d2178a6cc9f3 v8.0.0425
patch 8.0.0425: build errors when building without folding
commit https://github.com/vim/vim/commit/a6c07603ca2fa98a4184f5fd5ab021adcf5156b2
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 5 21:18:27 2017 +0100
patch 8.0.0425: build errors when building without folding
Problem: Build errors when building without folding.
Solution: Add #ifdefs. (John Marriott)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 05 Mar 2017 21:30:05 +0100 |
parents | 835604f3c37a |
children | d8a550329a97 |
comparison
equal
deleted
inserted
replaced
11072:35d25dacc361 | 11073:d2178a6cc9f3 |
---|---|
1181 * Used when syntax items changed to force resyncing everywhere. | 1181 * Used when syntax items changed to force resyncing everywhere. |
1182 */ | 1182 */ |
1183 void | 1183 void |
1184 syn_stack_free_all(synblock_T *block) | 1184 syn_stack_free_all(synblock_T *block) |
1185 { | 1185 { |
1186 #ifdef FEAT_FOLDING | |
1186 win_T *wp; | 1187 win_T *wp; |
1188 #endif | |
1187 | 1189 |
1188 syn_stack_free_block(block); | 1190 syn_stack_free_block(block); |
1189 | |
1190 | 1191 |
1191 #ifdef FEAT_FOLDING | 1192 #ifdef FEAT_FOLDING |
1192 /* When using "syntax" fold method, must update all folds. */ | 1193 /* When using "syntax" fold method, must update all folds. */ |
1193 FOR_ALL_WINDOWS(wp) | 1194 FOR_ALL_WINDOWS(wp) |
1194 { | 1195 { |