Mercurial > vim
comparison src/syntax.c @ 6698:67e7a819c811 v7.4.673
updated for version 7.4.673
Problem: The first syntax entry gets sequence number zero, which doesn't
work. (Clinton McKay)
Solution: Start at number one. (Bjorn Linse)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 21 Mar 2015 21:46:13 +0100 |
parents | 476a12a96bb1 |
children | bcc0909b379e |
comparison
equal
deleted
inserted
replaced
6697:12155a47f6c2 | 6698:67e7a819c811 |
---|---|
309 #define KEYWORD_IDX -1 /* value of si_idx for keywords */ | 309 #define KEYWORD_IDX -1 /* value of si_idx for keywords */ |
310 #define ID_LIST_ALL (short *)-1 /* valid of si_cont_list for containing all | 310 #define ID_LIST_ALL (short *)-1 /* valid of si_cont_list for containing all |
311 but contained groups */ | 311 but contained groups */ |
312 | 312 |
313 #ifdef FEAT_CONCEAL | 313 #ifdef FEAT_CONCEAL |
314 static int next_seqnr = 0; /* value to use for si_seqnr */ | 314 static int next_seqnr = 1; /* value to use for si_seqnr */ |
315 #endif | 315 #endif |
316 | 316 |
317 /* | 317 /* |
318 * Struct to reduce the number of arguments to get_syn_options(), it's used | 318 * Struct to reduce the number of arguments to get_syn_options(), it's used |
319 * very often. | 319 * very often. |