[antlr-interest] how to quote things?

Vaclav Barta vbar at comp.cz
Tue Feb 26 22:48:36 PST 2008


Jim Idle wrote:
> C# requires two quotes per embedded quote and you probably need to 
That's not true - C# uses C escapes (there might be some differences 
I've never seen but "\"\"" is correct for both C and C#). If it doesn't 
work in ANTLR, I suppose it's always possible to define a constant for 2 
double quotes and use the symbolic name in ANTLR grammar - but I didn't 
try that...

	Bye
		Vasek
--
http://www.mangrove.cz/
Open Source integration



More information about the antlr-interest mailing list