[antlr-interest] newbie question

Randall R Schulz rschulz at sonic.net
Wed Jul 4 12:49:30 PDT 2007


On Wednesday 04 July 2007 12:42, ali azimi wrote:
> Hi,
>
>   How can I use apostrophe in antlr grammar? Obviously, I can not use
> ' ' '.

Use the usual C / C++ / Java escape character, backslash before the 
quote mark you want to include in a string: '\''



Randall Schulz


More information about the antlr-interest mailing list