Hello,
Thank you for your bug report.

> 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
--
Shigio YAMAGUCHI <[EMAIL PROTECTED]>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3


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

Reply via email to