diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-07-27 22:41:43 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-07-27 22:41:43 +0200 |
commit | 8765a4ac3a9dfb994ad7051183353ead25cfbb64 (patch) | |
tree | 92b7309028f41799a44ef42512802188b4470a07 /src/structs.h | |
parent | 3b95389d45bacf90f4ef04a7a7726e5ddc29027a (diff) | |
download | vim-git-8765a4ac3a9dfb994ad7051183353ead25cfbb64.tar.gz |
Fix build warnings and problems for tiny/small Win32 build. (Mike Williams)
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/src/structs.h b/src/structs.h index 7b8acee79..d959b5c09 100644 --- a/src/structs.h +++ b/src/structs.h @@ -1202,20 +1202,20 @@ typedef struct { int b_syn_folditems; /* number of patterns with the HL_FOLD flag set */ # endif -/* - * b_sst_array[] contains the state stack for a number of lines, for the start - * of that line (col == 0). This avoids having to recompute the syntax state - * too often. - * b_sst_array[] is allocated to hold the state for all displayed lines, and - * states for 1 out of about 20 other lines. - * b_sst_array pointer to an array of synstate_T - * b_sst_len number of entries in b_sst_array[] - * b_sst_first pointer to first used entry in b_sst_array[] or NULL - * b_sst_firstfree pointer to first free entry in b_sst_array[] or NULL - * b_sst_freecount number of free entries in b_sst_array[] - * b_sst_check_lnum entries after this lnum need to be checked for - * validity (MAXLNUM means no check needed) - */ + /* + * b_sst_array[] contains the state stack for a number of lines, for the + * start of that line (col == 0). This avoids having to recompute the + * syntax state too often. + * b_sst_array[] is allocated to hold the state for all displayed lines, + * and states for 1 out of about 20 other lines. + * b_sst_array pointer to an array of synstate_T + * b_sst_len number of entries in b_sst_array[] + * b_sst_first pointer to first used entry in b_sst_array[] or NULL + * b_sst_firstfree pointer to first free entry in b_sst_array[] or NULL + * b_sst_freecount number of free entries in b_sst_array[] + * b_sst_check_lnum entries after this lnum need to be checked for + * validity (MAXLNUM means no check needed) + */ synstate_T *b_sst_array; int b_sst_len; synstate_T *b_sst_first; @@ -1237,6 +1237,9 @@ typedef struct { char_u *b_p_spf; /* 'spellfile' */ char_u *b_p_spl; /* 'spelllang' */ #endif +#if !defined(FEAT_SYN_HL) && !defined(FEAT_SPELL) + int dummy; +#endif } synblock_T; |