[antlr-interest] new line character rule
Terence Parr
parrt at cs.usfca.edu
Wed Nov 24 10:27:12 PST 2004
On Nov 24, 2004, at 8:45 AM, Paul J. Lucas wrote:
>
> On Wed, 24 Nov 2004, dsfsdf fdsfdsf wrote:
>
>> NL: ( '\n' | '\r');
>
> I believe that should be:
>
> NL: ('\r')? '\n' ;
Yes, I use this version myself now.
Ter
--
CS Professor & Grad Director, University of San Francisco
Creator, ANTLR Parser Generator, http://www.antlr.org
Cofounder, http://www.jguru.com
Cofounder, http://www.knowspam.net enjoy email again!
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