Value of a Token

Discussion in 'C' started by infiniti_drifter, Oct 6, 2006.

Thread Status:
Not open for further replies.
  1. infiniti_drifter

    infiniti_drifter New Member

    Joined:
    Oct 6, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    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
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,345
    Likes Received:
    382
    Trophy Points:
    83
    Duplicate of [thread=1561]Tokens in C[/Thread]. Thread closed.
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice