bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unable To find definition


From: Shigio YAMAGUCHI
Subject: Re: Unable To find definition
Date: Sat, 29 Nov 2008 12:13:45 +0900

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 <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]