Improve parser error checking.

1 file changed