diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-04-18 21:55:01 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-04-18 21:55:01 +0000 |
commit | c1e37901fc8486c9960d7290e521ba51e292e94b (patch) | |
tree | 5367e8f83d9d313dd73c0499fd310f57df5e605f /src/tag.c | |
parent | a93fa7ee7856b54d3778e613c7b7e4b76aaeb2af (diff) | |
download | vim-git-c1e37901fc8486c9960d7290e521ba51e292e94b.tar.gz |
updated for version 7.0e02v7.0e02
Diffstat (limited to 'src/tag.c')
-rw-r--r-- | src/tag.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -3844,14 +3844,17 @@ get_tags(list, pat) if (*p == ':' && len > 0) { s = ++p; - while (*p != NUL && *p >= ' ' && *p < 127) + while (*p != NUL && *p >= ' ') ++p; n[len] = NUL; if (add_tag_field(dict, (char *)n, s, p) == FAIL) ret = FAIL; n[len] = ':'; } - --p; + else + /* Skip field without colon. */ + while (*p != NUL && *p >= ' ') + ++p; } } } |