[PATCH 2/3] jscript: Always set parser error code on error.