There are two while loops checking for TT_EOF Could it be due to the outer while construct?
Joined: May 16, 2008
I have worked around the problem, but I really do not understand the problem I was having with TT_EOL. For the program I am making, it was important to know when I reached the end of the line on the text file. By printing each of the inttoken.ttype I determined that at the end of each line I got an integer constant (-3) which is the constant for TT_WORD.