dcsimg
Problem with tokens.h
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Natalia_Bello
Posted On:   Thursday, April 5, 2001 05:34 AM

I dont know why but i add some rules to my grammar and i can compile and obtain the c code. But when i execute the program it doesnt recognize the new tokens. I have realized that the tokens.h file doesnt contains the new tokens neither. So it is not adding these new tokens.
Does anyone know why?
Thanks in advanced.
N

Re: Problem with tokens.h

Posted By:   Terence_Parr  
Posted On:   Friday, April 6, 2001 06:40 PM

Hi there. I assume you are using the ANTLR with PCCTS...


Have you recompiled/regenerated the lexer as well? That sounds like the problem. Oh, actually make sure the lexer defines the tokens too.

About | Sitemap | Contact