Mercurial > vim
comparison src/tag.c @ 41:f529edb9bab3 v7.0025
updated for version 7.0025
author | vimboss |
---|---|
date | Mon, 27 Dec 2004 21:59:20 +0000 |
parents | f1d2a58883b9 |
children | 7fd70926e2e1 |
comparison
equal
deleted
inserted
replaced
40:f1d2a58883b9 | 41:f529edb9bab3 |
---|---|
2172 } | 2172 } |
2173 if (i < 0) | 2173 if (i < 0) |
2174 { | 2174 { |
2175 ((struct match_found **)(ga_match[mtt].ga_data)) | 2175 ((struct match_found **)(ga_match[mtt].ga_data)) |
2176 [ga_match[mtt].ga_len++] = mfp; | 2176 [ga_match[mtt].ga_len++] = mfp; |
2177 ga_match[mtt].ga_room--; | |
2178 ++match_count; | 2177 ++match_count; |
2179 } | 2178 } |
2180 else | 2179 else |
2181 vim_free(mfp); | 2180 vim_free(mfp); |
2182 } | 2181 } |
2343 static void | 2342 static void |
2344 found_tagfile_cb(fname) | 2343 found_tagfile_cb(fname) |
2345 char_u *fname; | 2344 char_u *fname; |
2346 { | 2345 { |
2347 if (ga_grow(&tag_fnames, 1) == OK) | 2346 if (ga_grow(&tag_fnames, 1) == OK) |
2348 { | |
2349 ((char_u **)(tag_fnames.ga_data))[tag_fnames.ga_len++] = | 2347 ((char_u **)(tag_fnames.ga_data))[tag_fnames.ga_len++] = |
2350 vim_strsave(fname); | 2348 vim_strsave(fname); |
2351 --tag_fnames.ga_room; | |
2352 } | |
2353 } | 2349 } |
2354 | 2350 |
2355 /* | 2351 /* |
2356 * Get the next name of a tag file from the tag file list. | 2352 * Get the next name of a tag file from the tag file list. |
2357 * For help files, use "tags" file only. | 2353 * For help files, use "tags" file only. |