[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: handling of enums
From: |
Shigio YAMAGUCHI |
Subject: |
Re: handling of enums |
Date: |
Fri, 26 Oct 2007 23:07:58 +0900 |
Hi,
> I noticed another parsing speciality: In c++ "typedef enum" and "enum" is
> equally valid code. Gtags-parser handles them differently. Furthermore, I
> would suggest that the type names of enums are "tags" not "symbols", at
> least, if "--typedef" is given ("--typedef: Pick up not only function but
> also typedef name and enum member as a definition."). Probably, some of
> items apply to the C parser as well. For an example, see below.
You are right. We are planning the followings:
[http://www.gnu.org/software/global/plans.html]
* Pickup definitions of data type, enum name, enum value,
struct member name, union name and struct name in C language.
Finally, remove GSYMS. (gtags-parser, gtags)
Since the current parser is spaghetti, I feel the necessity of rewriting it.
--
Shigio Yamaguchi <address@hidden> - Tama Communications Corporation
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3
- handling of enums, polzin_spamprotect_, 2007/10/26
- Re: handling of enums,
Shigio YAMAGUCHI <=