[antlr-interest] How does one specify the single quote literal?

Johannes Luber jaluber at gmx.de
Mon Mar 5 11:26:01 PST 2007


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