[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] fix handling of enum typedef
From: |
Shigio YAMAGUCHI |
Subject: |
Re: [PATCH] fix handling of enum typedef |
Date: |
Sat, 18 Feb 2012 13:36:34 +0900 |
Hi,
> C/C++ parser cannot handle typedef of the form of
> typedef enum tag_name TYPEDEF_NAME;
> correctly.
> The attached patch corrects this bug.
...
> [ patched version ]
$ global -f b.c
...
> foo 2 b.c typedef enum foo { X } BAR, *BAZ;
> $ global -frs b.c
> foo 3 b.c typedef enum foo BAR, *BAZ;
Understanding it took time for a while.
Thank you for nice work.
--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3