This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gengtype and typedef to enum
Geoff Keating <geoffk at geoffk dot org> writes:
[...]
| which it certainly could handle properly with very little work, in
| fact by replacing
|
| [^[:alnum:]_]typedef{WS}{ITYPE}{WS}{ID}{WS}?";" {
|
| in gengtype-lex.l with
|
| [^[:alnum:]_]typedef{WS}({ITYPE}|"enum"{WS}{ID}){WS}{ID}{WS}?";" {
Thank you very much. I should probably put your suggestion in a form
of formal patch.
-- Gaby