[antlr-interest] How does one specify the single quote literal?
Jean Bovet
antlr-list at arizona-software.ch
Sat Mar 10 15:26:21 PST 2007
This is a typo in the PDF. It should be '\''.
Regards,
Jean
On Mar 5, 2007, at 11:26 AM, Johannes Luber wrote:
> Hello,
>
> the PDF mentions that one has to write ''' to get the single quote
> character, but ANTLRworks syntax highlighting doesn't seem to note my
> intent. If I write '''' or '\'', the remainder of the line doesn't
> look
> green. But the first variant is probably '' '', which is then useless.
> If it is '\'' then the next question is, how one does specify the
> backslash? Like '\\'? In any case, the PDF doesn't shed enough
> light on
> this.
>
> Best regards,
> Johannes Luber
More information about the antlr-interest
mailing list