diff src/if_cscope.c @ 1078:a36d21d4a875 v7.0.204

updated for version 7.0-204
author vimboss
date Tue, 27 Feb 2007 17:08:16 +0000
parents a565175274f6
children 9a3b65713280
line wrap: on
line diff
--- a/src/if_cscope.c
+++ b/src/if_cscope.c
@@ -1932,14 +1932,8 @@ cs_print_tags_priv(matches, cntxts, num_
 	if ((fname = strtok(NULL, (const char *)"\t")) == NULL)
 	    continue;
 	if ((lno = strtok(NULL, (const char *)"\t")) == NULL)
-	{
-	    /* if NULL, then no "extra", although in cscope's case, there
-	     * should always be "extra".
-	     */
-	    extra = NULL;
-	}
-
-	extra = lno + strlen(lno) + 1;
+	    continue;
+	extra = strtok(NULL, (const char *)"\t");
 
 	lno[strlen(lno)-2] = '\0';  /* ignore ;" at the end */