Bizarre set of characters causing parse errors
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Michael_Iatauro
Posted On:   Friday, May 7, 2004 03:24 PM

I have a STRING token defined thusly:



ESC : '\\' ( 'n' | 't' | '"' | '\'' | '\\') ;

STRING : '\'' (ESC|~('\''|'\\'))* '\'' ;



antlr.Tool, however, doesn't generate any cases in the mSTRING method for any of
the characters 'ghlqvwxz', as well as a few others that I
would expect to be in there, causing parse errors. I'm stumped.
Does anybody know why this might be?

~MJI

About | Sitemap | Contact