dcsimg
Problem with Tokens
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Kishore_Tigalapalli
Posted On:   Tuesday, August 16, 2005 08:34 AM

I have a production rule as follows



select_statement:

     SELECT_TKN

     select_list

     from_clause

     where_clause



and a lexer element


SELECT_TKN: "SELECT";



But, it is unable to recognize SELECT_TKN as "SELECT". It gives error as "expecting SELECT, found SELECT_TKN".



Please help me solve this problem.



Thanks,

Kishore

About | Sitemap | Contact