comparison src/if_cscope.c @ 293:f811be6fa9b5

updated for version 7.0077
author vimboss
date Tue, 31 May 2005 22:14:58 +0000
parents 2463194c8cdd
children 9a1c2a8186b7
comparison
equal deleted inserted replaced
292:bf6ee000a80c 293:f811be6fa9b5
1128 cs_fill_results((char *)pat, totmatches, nummatches, &matches, 1128 cs_fill_results((char *)pat, totmatches, nummatches, &matches,
1129 &contexts, &matched); 1129 &contexts, &matched);
1130 if (matches == NULL) 1130 if (matches == NULL)
1131 return FALSE; 1131 return FALSE;
1132 1132
1133 (void)cs_manage_matches(matches, contexts, totmatches, Store); 1133 (void)cs_manage_matches(matches, contexts, matched, Store);
1134 1134
1135 return do_tag((char_u *)pat, DT_CSCOPE, 0, forceit, verbose); 1135 return do_tag((char_u *)pat, DT_CSCOPE, 0, forceit, verbose);
1136 } 1136 }
1137 1137
1138 } /* cs_find_common */ 1138 } /* cs_find_common */
1691 if (nummatches_a[i] < 1) 1691 if (nummatches_a[i] < 1)
1692 continue; 1692 continue;
1693 1693
1694 for (j = 0; j < nummatches_a[i]; j++) 1694 for (j = 0; j < nummatches_a[i]; j++)
1695 { 1695 {
1696 if ((fullname=cs_parse_results(i, buf, CSREAD_BUFSIZE, &cntx, 1696 if ((fullname = cs_parse_results(i, buf, CSREAD_BUFSIZE, &cntx,
1697 &slno, &search))==NULL) 1697 &slno, &search)) == NULL)
1698 continue; 1698 continue;
1699 1699
1700 context = (char *)alloc(strlen(cntx)+5); 1700 context = (char *)alloc(strlen(cntx)+5);
1701 if (context==NULL) 1701 if (context==NULL)
1702 continue; 1702 continue;