[antlr-interest] Handling explicit continuation characters

Gavin Lambert antlr at mirality.co.nz
Tue Jan 13 03:01:46 PST 2009


At 21:05 13/01/2009, Johannes Luber wrote:
 >Wouldn't it be easier to create an own StringStream (dreived 
from
 >ANTLRStringStream) which silently swallows the + and - as well 
the
 >following newline? Then both lexer and parser are cleaner.

That's certainly a possibility (and perhaps a good one), but 
that'd end up screwing up the line numbering, wouldn't it?



More information about the antlr-interest mailing list