Tracker: Bugs

5 Less sign confuses parsing - ID: 1187505
Last Update: Comment added ( elliotth )

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.


Ivan Dobrianov ( wertyq11 ) - 2005-04-21 09:27:32 PDT

5

Open

None

Darren Hiebert

None

None

Public


Comment ( 1 )

Date: 2007-06-09 21:32:35 PDT
Sender: elliotth


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.


Attached File

No Files Currently Attached

Change ( 1 )

Field Old Value Date By
assigned_to nobody 2005-05-23 11:02:14 PDT dhiebert