Mercurial > vim
changeset 1078:a36d21d4a875 v7.0.204
updated for version 7.0-204
author | vimboss |
---|---|
date | Tue, 27 Feb 2007 17:08:16 +0000 |
parents | a11e2070c964 |
children | 183c3187b20d |
files | src/if_cscope.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 8 deletions(-) [+] |
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 */