End of file bug fix

Added a check to make sure that after your first block you EOF.

You can hit lex->parse and then lex->parse again without refreshing.