Based on a patch from Elias Pschernig, thanks. Parser was taken from upstream CTags. Closes patch#3325139.