0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

updated for version 7.0-096

This commit is contained in:
Bram Moolenaar
2006-09-10 11:56:59 +00:00
parent 45125098b3
commit 82ce8c7d0f
2 changed files with 8 additions and 2 deletions

View File

@@ -3787,6 +3787,7 @@ get_tags(list, pat)
{ {
int num_matches, i, ret; int num_matches, i, ret;
char_u **matches, *p; char_u **matches, *p;
char_u *full_fname;
dict_T *dict; dict_T *dict;
tagptrs_T tp; tagptrs_T tp;
long is_static; long is_static;
@@ -3809,9 +3810,10 @@ get_tags(list, pat)
if (list_append_dict(list, dict) == FAIL) if (list_append_dict(list, dict) == FAIL)
ret = FAIL; ret = FAIL;
full_fname = tag_full_fname(&tp);
if (add_tag_field(dict, "name", tp.tagname, tp.tagname_end) == FAIL if (add_tag_field(dict, "name", tp.tagname, tp.tagname_end) == FAIL
|| add_tag_field(dict, "filename", tp.fname, || add_tag_field(dict, "filename", full_fname,
tp.fname_end) == FAIL NULL) == FAIL
|| add_tag_field(dict, "cmd", tp.command, || add_tag_field(dict, "cmd", tp.command,
tp.command_end) == FAIL tp.command_end) == FAIL
|| add_tag_field(dict, "kind", tp.tagkind, || add_tag_field(dict, "kind", tp.tagkind,
@@ -3819,6 +3821,8 @@ get_tags(list, pat)
|| dict_add_nr_str(dict, "static", is_static, NULL) == FAIL) || dict_add_nr_str(dict, "static", is_static, NULL) == FAIL)
ret = FAIL; ret = FAIL;
vim_free(full_fname);
if (tp.command_end != NULL) if (tp.command_end != NULL)
{ {
for (p = tp.command_end + 3; for (p = tp.command_end + 3;

View File

@@ -666,6 +666,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
96,
/**/ /**/
95, 95,
/**/ /**/