Hum, I see this is also fixed in universal-ctags in universal-ctags/ctags@21e74e6a019975045a7975bc611ae63f0917f976 I'll import this patch and your test case update
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/940#issuecomment-193209027