correct error for unclosed strings
correctly return EOF token