Mercurial > vim
comparison src/if_cscope.c @ 944:b2dcb8457067 v7.0.070
updated for version 7.0-070
author | vimboss |
---|---|
date | Tue, 29 Aug 2006 15:30:07 +0000 |
parents | 5a7843c57316 |
children | c37ed44f014f |
comparison
equal
deleted
inserted
replaced
943:e70aad5761b5 | 944:b2dcb8457067 |
---|---|
987 int verbose; | 987 int verbose; |
988 int use_ll; | 988 int use_ll; |
989 { | 989 { |
990 int i; | 990 int i; |
991 char *cmd; | 991 char *cmd; |
992 char **matches, **contexts; | 992 int nummatches[CSCOPE_MAX_CONNECTIONS], totmatches; |
993 int nummatches[CSCOPE_MAX_CONNECTIONS], totmatches, matched; | |
994 #ifdef FEAT_QUICKFIX | 993 #ifdef FEAT_QUICKFIX |
995 char cmdletter; | 994 char cmdletter; |
996 char *qfpos; | 995 char *qfpos; |
997 #endif | 996 #endif |
998 | 997 |
1139 return TRUE; | 1138 return TRUE; |
1140 } | 1139 } |
1141 else | 1140 else |
1142 #endif /* FEAT_QUICKFIX */ | 1141 #endif /* FEAT_QUICKFIX */ |
1143 { | 1142 { |
1143 char **matches = NULL, **contexts = NULL; | |
1144 int matched = 0; | |
1145 | |
1144 /* read output */ | 1146 /* read output */ |
1145 cs_fill_results((char *)pat, totmatches, nummatches, &matches, | 1147 cs_fill_results((char *)pat, totmatches, nummatches, &matches, |
1146 &contexts, &matched); | 1148 &contexts, &matched); |
1147 if (matches == NULL) | 1149 if (matches == NULL) |
1148 return FALSE; | 1150 return FALSE; |