bug-global
[Top][All Lists]
Advanced

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

Re: GNU GLOBAL skips indexing of inline functions in files having C++ su


From: Shigio YAMAGUCHI
Subject: Re: GNU GLOBAL skips indexing of inline functions in files having C++ support macros
Date: Tue, 11 Nov 2008 15:00:30 +0900

On Mon, 10 Nov 2008 18:34:17 -0800 (PST)
Hirohito Kato <address@hidden> wrote:

> I think that a 'peekc(int)' function, defined in libutil/token.c, should
>  ignore the comment part of codes.
> Because, my patch doesn't work well under the following code:
> 
> >>>
>   extern /* comment */ "C" ...
> <<<
> 
> The reason why it doesn't do is peekc(0) returns '/'.
> If the peekc() ignores the comment block, not only my patch but also
> 
> "Re: gtags missing functions with comments before their parameters"
>   --- On Thu, 28 Feb 2008 08:13:17
> 
> problem will be fixed.
> 
> I know the current most important task is rewriting parser by flex,
>  but I hope you will apply patches for peekc() and extern "C/C++" issue
>  for othe global user.
> 
> I would like to know your opinion.

I agree with you.
Could you please send me the patch?
--
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]