[antlr-interest] C# target update (CL#5191) broke my tree parsers

Sam Harwell sharwell at pixelminegames.com
Mon Aug 11 08:08:14 PDT 2008


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

                }

;

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080811/c7aee98b/attachment.html 


More information about the antlr-interest mailing list