dcsimg
Using ""Integer.valueOf"
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Guillaume_Rolland
Posted On:   Friday, July 11, 2003 03:00 AM

Does anyone know how to compile these fucking lines :

protected
INT returns [int v]
: ('0'..'9')+
{ v=Integer.valueOf($getText); }
;

in VC++ 6.0 ?

Following lines appear :

e:projectsguillaumelexer est estlexer.cpp(165) : error C2065: 'Integer' : undeclared identifier
e:projectsguillaumelexer est estlexer.cpp(165) : error C2228: left of '.valueOf' must have class/struct/union type

Thanks in advance !

About | Sitemap | Contact