Mercurial > vim
comparison src/quickfix.c @ 236:4707450c2b33
updated for version 7.0066
author | vimboss |
---|---|
date | Fri, 15 Apr 2005 21:00:38 +0000 |
parents | 9281a51ca7a2 |
children | 2463194c8cdd |
comparison
equal
deleted
inserted
replaced
235:23d380e32c95 | 236:4707450c2b33 |
---|---|
2336 regmmatch_T regmatch; | 2336 regmmatch_T regmatch; |
2337 int fcount; | 2337 int fcount; |
2338 char_u **fnames; | 2338 char_u **fnames; |
2339 char_u *s; | 2339 char_u *s; |
2340 char_u *p; | 2340 char_u *p; |
2341 int i; | |
2342 int fi; | 2341 int fi; |
2343 qfline_T *prevp = NULL; | 2342 qfline_T *prevp = NULL; |
2344 long lnum; | 2343 long lnum; |
2345 garray_T ga; | |
2346 buf_T *buf; | 2344 buf_T *buf; |
2347 int duplicate_name = FALSE; | 2345 int duplicate_name = FALSE; |
2348 int using_dummy; | 2346 int using_dummy; |
2349 int found_match; | 2347 int found_match; |
2350 buf_T *first_match_buf = NULL; | 2348 buf_T *first_match_buf = NULL; |
2402 for (prevp = qf_lists[qf_curlist].qf_start; | 2400 for (prevp = qf_lists[qf_curlist].qf_start; |
2403 prevp->qf_next != prevp; prevp = prevp->qf_next) | 2401 prevp->qf_next != prevp; prevp = prevp->qf_next) |
2404 ; | 2402 ; |
2405 | 2403 |
2406 /* parse the list of arguments */ | 2404 /* parse the list of arguments */ |
2407 if (get_arglist(&ga, p) == FAIL) | 2405 if (get_arglist_exp(p, &fcount, &fnames) == FAIL) |
2408 goto theend; | |
2409 i = gen_expand_wildcards(ga.ga_len, (char_u **)ga.ga_data, | |
2410 &fcount, &fnames, EW_FILE|EW_NOTFOUND); | |
2411 ga_clear(&ga); | |
2412 if (i == FAIL) | |
2413 goto theend; | 2406 goto theend; |
2414 if (fcount == 0) | 2407 if (fcount == 0) |
2415 { | 2408 { |
2416 EMSG(_(e_nomatch)); | 2409 EMSG(_(e_nomatch)); |
2417 goto theend; | 2410 goto theend; |