gen_vimdoc.py: fix deprecated check

This commit is contained in:
Justin M. Keyes
2019-12-28 02:15:06 -08:00
parent f9be48436c
commit 27b678f577
2 changed files with 2 additions and 1 deletions

View File

@@ -637,7 +637,7 @@ def extract_from_xml(filename, mode, fmt_vimhelp):
if INCLUDE_C_DECL:
fn['c_decl'] = c_decl
if 'Deprecated' in xrefs:
if 'Deprecated' in str(xrefs):
deprecated_functions[name] = fn
elif name.startswith(CONFIG[mode]['func_name_prefix']):
functions[name] = fn