Fixed bug in scanner handling EOF due to lex not supporting <<EOF>>