parsers: detect old/new doxygen format