small medium large xlarge

04 Oct 2010, 02:58
Jamie Murai (3 posts)

I’m getting the following error when I have either more than one, or no newline characters before EOF in the input file.

line 0:-1 mismatched input '<EOF>' expecting NEWLINE

How can I account for this situation? Preferably I’d like to deal with it in the grammar.

07 Oct 2010, 21:59
Terence Parr (44 posts)

Hi Jamie, could I ask you to send this question to the list? Others can probably help you in general more quickly than I can. Here though it’s pretty clear that you are missing a newline before EOF in your input :)

You must be logged in to comment