Less sign confuses parsing
Brought to you by:
dhiebert
Paste the following into a c++ header file
--------------------------
MY_MACRO(qwerty < 1);
class Abra : public Kadabra
{
};
-------------------------
Then say:
ctags --fields=+naimKzsS c++_header.h
Look at the output file - tags. The expected line:
Abra c++_header.h /^class Abra : public
Kadabra$/;" kind:class line:4 inherits:Kadabra
is missing! The offender seems to be the "<" in the
macro. Removing it or even just changing it to ">"
seems to fix the problem.
Logged In: YES
user_id=1127237
Originator: NO
the submitter's problem can be worked around with -IMY_MACRO+ and that's probably what the submitter wants anyway, but i'll leave this bug open because darren may or may not want to change things so that parsing isn't stopped by examples like this.