[antlr-interest] Not generating parts of AST (argh!)
Paul J. Lucas
pauljlucas at mac.com
Sun Oct 24 20:56:20 PDT 2004
On Sun, 24 Oct 2004, Monty Zukowski wrote:
> Maybe I'm missing something, but isn't that equivalent to
>
> comparisonExpr:
> rangeExpr (comparisonOp^ rangeExpr)?;
Ideally, yes. However, ANTLR complains about having ^ on
non-terminals:
ANTLR Parser Generator Version 2.7.2 1989-2003 jGuru.com
XQueryParser.g:2015:33: rule classDef trapped:
XQueryParser.g:2015:33: unexpected token: ^
error: aborting grammar 'XQueryParser' due to errors
Exiting due to errors.
- Paul
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list