Bug - conflict with special method and Java Unicode chars
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Richard_Gillingwater
Posted On:   Thursday, February 21, 2002 07:56 AM

ANTLR 2.7.2a2 generates the syntax error:


unexpected char 'u'


with the following lex rule:


			
TEST :
{ if(LA(2)!='u00FF') {
System.out.println($getText);
}
}
;


This still occurs if the $getText line is commented out! It does not occur if $getText is replaced with getText().

About | Sitemap | Contact