only clear the parser error if it's set (closes #12264)
2 files changed