[antlr-interest] please help

monaabs monaabs at yahoo.com
Tue Jun 10 09:11:18 PDT 2003


Hi ,
I am using 2.7.2 .. how do i set the tokens? SetTokenName() is 
removed.

When i do 
SQL_Parser::SQL_Parser(ANTLR_USE_NAMESPACE(antlr)TokenBuffer& 
tokenBuf, int k)
: ANTLR_USE_NAMESPACE(antlr)LLkParser(tokenBuf,k)
{
	tokenNames = _tokenNames;
}

I get the following error 
SQL_Parser.cpp(14) : error C2065: 'tokenNames' : undeclared identifier

In which .hpp is tokenNames defined . (i am unable to find one)

Any inputs greatly appreciated. 



 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




More information about the antlr-interest mailing list