Wednesday, January 12, 2005 11:40 AM
I'm trying to parse c++ like structs but i wasn't not able to avoid nondeterminism warnings trying to implement c++ access specifiers.
what i want to parse (for ex.) is something like this:
I've got grammar like this
LCURLY! (aggregate_definition_body_item)* RCURLY! SEMI!
: (access_specifier COLON)* (aggregate_definition_body_item_definition)*
: IDENTIFIER SEMI! //real definitions will be here
Re: c++ like structs and nondeterminisms
Thursday, January 13, 2005 01:54 PM