Taken from https://github.com/universal-ctags/ctags/issues/2965 submitted by @rickalex21.
