Hello,
    gtags unable to generate a  definition for symbol 'BCD' in the
following code:

-----------------------------------------------------------------------------------

/**
  * file: a.c
  **/
#define AAA __attribute__((packed))

void foo(void) AAA;
#define BCD (1)

========================================

It seems that gtags tries to match function 'foo' in K&R style
definition (see function 'function_definition' in gtags-parser/C.c) and
skips all the symbols until it sees character '{'

 Regards
Jianbin


_______________________________________________
Bug-global mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to