[C2hs] patch applied (c2hs): Allow all unnamed struct members,
not just unamed nested structs
Duncan Coutts
duncan.coutts at worc.ox.ac.uk
Sun Apr 15 06:34:34 EDT 2007
Sun Apr 15 00:54:06 PDT 2007 Duncan Coutts <duncan.coutts at worc.ox.ac.uk>
* Allow all unnamed struct members, not just unamed nested structs
This does make the grammar too liberal but it's much easier to parse this
more general grammar than trying to select just the unnamed nested structs.
Unnamed members other than structs/unions can be checked in the AST later.
It worked before, but once we introduce GNU C attributes it becomes virtually
impossible to parse unambigiously.
M ./c2hs/c/CParser.y -15 +7
More information about the C2hs
mailing list