Hi.
Global couldn't handle in the case that there are newlines between "enum" and "
{".
This bug was fixed in the repository.
http://cvs.savannah.gnu.org/viewcvs/global/libparser/C.c?cvsroot=global&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/global/libparser/Cpp.c?cvsroot=global&r1=1.20&r2=1.21
On Thu, 3 Dec 2015 19:09:57 +0900
Shigio YAMAGUCHI <[email protected]> wrote:
> Hi,
> > It seems that the last member of an enum is not being found. For instance,
>
> You are right. I have added the bug to the TODO list.
> (http://www.gnu.org/software/global/bugs.html)
>
> Thank you for the report.
>
> Regards,
> Shigio
>
>
> 2015-12-03 2:16 GMT+09:00 njfm <[email protected]>:
>
> > It seems that the last member of an enum is not being found. For instance,
> > if we have:
> >
> > test.h
> >
> > typedef enum
> > {
> > E_FIRST = 1,
> > E_SECOND
> > } FIRST_SECOND;
> >
> >
> > When running "global E_SECOND" or "global -s E_SECOND" they are not found.
> > But E_FIRST is found. Is this normal?
> >
> >
> > _______________________________________________
> > Bug-global mailing list
> > [email protected]
> > https://lists.gnu.org/mailman/listinfo/bug-global
> >
>
>
>
> --
> Shigio YAMAGUCHI <[email protected]>
> PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3
--
Hideki IWAMOTO <[email protected]>
_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global