[antlr-interest] null pointer to ADAPTOR->setTokenBoundaries
Alan Condit
acondit at IPNS.COM
Wed May 19 11:24:43 PDT 2010
Help!!!
I am getting a null pointer to setTokenBoundaries in the following line of generated code.
"ADAPTOR->setTokenBoundaries(ADAPTOR, retval.tree, retval.start, retval.stop);"
The grammar works under Java. In moving it back to 'C', I changed the language option to 'C', added option ASTLabelType=pANTLR3_BASE_TREE; and added the necessary includes to compile and link under Objective-C.
Is there anything obvious that I am doing wrong?
Thanks,
Alan
---
Alan Condit
1085 Tierra Ct.
Woodburn, OR 97071
Email -- acondit at ipns.com
Home-Office (503) 982-0906
More information about the antlr-interest
mailing list