[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Simple Question

I am developing a simple language using SableCC. I have generated all the
Node, Lexer and Parser files from my specification file.

Upon trying to test it, both from keyboard input and text files, I get a
"EOF expected." error at the very first line.

I have made sure that the files are trminated correctly and I know for
certain that the creation of the Lexer and Parser objects goes smoothly. It
is when the parse() method is called that the error appears.

Does anyone know what the problem could be?