Bram Moolenaar wrote:
Patch 7.2.443
Problem: Using taglist() on a tag file with duplicate fields generates an
internal error. (Peter Odding)
Solution: Check for duplicate field names.
Files: src/eval.c, src/proto/eval.pro, src/tag.c
I just updated and recompiled Vim to include this patch and can confirm
it fixes the problem. A normal taglist('.') call now returns the valid
results without the E685 error:
:echo len(taglist('.'))
5804
While with the verbose option set, functionality is exactly the same
(still no E685!) but Vim warns the user about a duplicate field name:
:verbose echo len(taglist('.'))
Duplicate field name: language
5804
Thank you very much for the quick patch!
- Peter Odding
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php