[antlr-interest] how to get rid of newlines in the ast
Dave Cramer
davec at postgresintl.com
Fri Mar 23 06:00:02 PDT 2007
I've tried following the examples where they suggest
NEWLINE ->
however if you have a completely empty line you end up with a null
pointer exception
So the solution seems to be to put NEWLINES into the ast and then
take them out there ?
I want my grammar to not use any special end of line terminator other
than NEWLINE.
Dave
More information about the antlr-interest
mailing list