Tokens in C

infiniti_drifter's Avatar, Join Date: Oct 2006
Newbie Member
Hi,

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,

Sebastian
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Isnt it writing to a file the best option.