[antlr-interest] C# target update (CL#5191) broke my tree parsers
Johannes Luber
jaluber at gmx.de
Mon Aug 11 09:03:18 PDT 2008
Sam Harwell schrieb:
> In TreeParser.cs, GetCurrentInputSymbol was changed to return null, so
> rules like the following don’t work anymore:
>
> rule
> : ^(SOMETHING (item=A | item=B) somethingElse?)
> {
> HandleItem( item.Token ); // now throws
> NullReferenceException
> }
> ;
Changed that back to original version in CL 5194. Does it work now for you?
Johannes
More information about the antlr-interest
mailing list