Fix for issue in new parser where no error would be reported if the very
first token is an error. Fixes #1239.