[antlr-interest] Can multi-lined string literals be done?

Matthew Tedder teddemc at yahoo.com
Mon Jun 13 16:32:19 PDT 2005


As in php or perl, can multi-lined, long string
literals be lexed with antlr? If so, how exactly?

php just allows pressing enter between quotes where
ever desired.  Perl does it by specified a keyword to
stop on like this (probably truelly not possible for
antlr):

print << "StopText";
one line
two line
three line
etc..
StopText

Matthew

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the antlr-interest mailing list