Fix XHPASTSyntaxErrorException exception.