Protect tm_ctags_*() functions against TM_PARSER_NONE language parameter
commitdcd46bbe62e32d3ed1f6f25b977cdfeecd95ee2d
authorJiří Techet <techet@gmail.com>
Sat, 4 May 2024 22:26:59 +0000 (5 00:26 +0200)
committerJiří Techet <techet@gmail.com>
Sun, 26 May 2024 21:36:37 +0000 (26 23:36 +0200)
tree9f2c9c7319a8544de3495ccc25e268158d92306c
parentde4f029fb23c4058a71db6f05a4c892643a0ec62
Protect tm_ctags_*() functions against TM_PARSER_NONE language parameter

This can happen when in the filetype configuration we set

[settings]
tag_parser=

This then leads to a crash in the ctags code.
src/tagmanager/tm_ctags.c