fix end-of-file-position for parse errors