Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Tokens in C (http://www.go4expert.com/forums/tokens-in-c-t1561/)

infiniti_drifter 7Oct2006 04:24

Tokens in C

I am writing a compiler using lexx and yacc but am having one small problem. In order to verify that lexx is parsing everything into the correct tokens, I want to print the tokens after every line entered. Does anyone know how to display the value of a token?

Thanks a lot for the help,


shabbir 9Oct2006 06:20

Re: Tokens in C
Isnt it writing to a file the best option.

All times are GMT +5.5. The time now is 22:44.