change parser syntax_error helper method names