Move parser error to grammar check phase.