File tree Expand file tree Collapse file tree 3 files changed +1
-2
lines changed
Expand file tree Collapse file tree 3 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -152,6 +152,7 @@ namespace Rcpp {
152152#if (defined(RCPP_PROTECTED_EVAL) && defined(R_VERSION) && R_VERSION >= R_Version(3, 5, 0))
153153 ::R_ContinueUnwind (token);
154154#endif
155+ Rf_error (" Internal error: Rcpp longjump failed to resume" );
155156 }
156157
157158 } // namespace internal
Original file line number Diff line number Diff line change 6767 } \
6868 if (rcpp_output_type == 3 ) { \
6969 Rcpp::internal::resumeJump (rcpp_output_condition); \
70- Rf_error (" Internal error: Rcpp longjump failed to resume" ); \
7170 }
7271#endif
7372
Original file line number Diff line number Diff line change @@ -2782,7 +2782,6 @@ namespace attributes {
27822782 << " if (rcpp_isLongjump_gen) {" << std::endl
27832783 // No need to unprotect before jump
27842784 << " Rcpp::internal::resumeJump(rcpp_result_gen);" << std::endl
2785- << " Rf_error(\" Internal error: Rcpp longjump failed to resume\" );" << std::endl
27862785 << " }" << std::endl
27872786 << " Rboolean rcpp_isError_gen = Rf_inherits(rcpp_result_gen, \" try-error\" );"
27882787 << std::endl
You can’t perform that action at this time.
0 commit comments