1
0
forked from aniani/vim

updated for version 7.0f03

This commit is contained in:
Bram Moolenaar
2006-04-27 21:40:34 +00:00
parent f193fffd16
commit 25e2c9e3e6
12 changed files with 402 additions and 190 deletions

View File

@@ -218,7 +218,8 @@ do_tag(tag, type, count, forceit, verbose)
use_tagstack = TRUE;
/* new pattern, add to the tag stack */
if (*tag && (type == DT_TAG || type == DT_SELECT || type == DT_JUMP
if (*tag != NUL
&& (type == DT_TAG || type == DT_SELECT || type == DT_JUMP
#ifdef FEAT_QUICKFIX
|| type == DT_LTAG
#endif
@@ -356,14 +357,15 @@ do_tag(tag, type, count, forceit, verbose)
cs_free_tags();
#endif
num_matches = 0;
tag_freematch();
goto end_do_tag;
}
if (type == DT_TAG
#if defined(FEAT_QUICKFIX)
|| type == DT_LTAG
|| type == DT_LTAG
#endif
)
)
{
#if defined(FEAT_WINDOWS) && defined(FEAT_QUICKFIX)
if (g_do_tagpreview)