[antlr-interest] How to have strings enclosed in " and/or "
matthew ford
Matthew.Ford at forward.com.au
Fri Dec 10 14:25:31 PST 2004
From: "Terence Parr" <parrt at cs.usfca.edu>
Sent: Saturday, December 11, 2004 9:17 AM
Subject: Re: [antlr-interest] How to have strings enclosed in " and/or
"
> > and !![""" !![ ]""" ] in the template will output
> > "!![ ]"
>
> Do you really want to allow """ to mean double quote?
"" is an escaped quote and the next " is the end of the string.
If the user cannot see a difference there should not be one.
>
> Anyway, I understand your issue, but I think i'd do something to make
> it more obvious to the scanner.
>
What are you suggesting given I don't want to mess with the user's input
inside the string which eventually
become the outpu?
matthew
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