[antlr-interest] Paraphrase option and C++ generation
    Lubos Vnuk 
    lubos.vnuk at rts.at
       
    Mon Jul  7 09:04:31 PDT 2003
    
    
  
Hi;
If I specify:
DOUBLE_QUOTE options { paraphrase = "\"";} : "\"";
then I'll get this in the generated C++ Parser source:
const char* MyParser::tokenNames[] = {
...
	"\\\"",
...
}
I suppose it should be just a single backslash.
How can I define a double qoute paraphrase?
Lubos.
 
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
    
    
More information about the antlr-interest
mailing list