[antlr-interest] TreeParser fails to find matched node in input tree

micheal_jor open.zone at virgin.net
Wed May 7 11:27:06 PDT 2003


Given the rules below (assume memberDecl is properly defined), my 
TreeParser always complains about the RCURLY not being found (it 
finds ASTNULL instead) even though the RCURLY is definitely in the 
input tree.

classDecl
: #( CLASS IDENT
     #( BASE (typeName)* )
     #( BODY memberDecls RCURLY )
  )

memberDecls
: ( memberDecl )*

I am using ANTLR/C# and I just wanted to check this isn't a known 
issue.

Cheers,

Micheal



 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




More information about the antlr-interest mailing list