[antlr-interest] Antlr Easypal Last problem

Martin Kohl martin.kohl at gmail.com
Sat Sep 8 15:51:39 PDT 2007


Usuallz you require the user to escape the double quotes in a string (as in
"Foo said,\"Bar!\""), if the string is delimited by double quotes. If this
isnt possible change the delimiters.

On 9/8/07, Mohammed Ibrahim <snouto at gmail.com> wrote:
>
>  i have a problem here friends ,
>
> there is a command called
>
> trans_id : "String+integers+ascii codes"
>
> here the double qoutes exist in two places the first one in the command
> syntax itself  and the other time may be written inside the double qoutes
> from the user so i need antlr to recognize the first and last delima as of
> the command syntax itself and also recognize the double qoutes that may
> exist in the string entered itself , How can i do that ?
>
>
> Thanks.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070909/df090c10/attachment.html 


More information about the antlr-interest mailing list