Commit e43d0cda authored by Thomas Friedrichsmeier's avatar Thomas Friedrichsmeier
Browse files

Add an example on when R_ParseVector does not return

parent 64f78f09
......@@ -1140,6 +1140,7 @@ SEXP parseCommand (const QString &command_qstring, RKRBackend::RKWardRError *err
SET_STRING_ELT(wrap.cv, 0, Rf_mkChar(command));
// Yes, if there is an error in the parse, R does jump back to toplevel!
// trying to parse list(""=1) is an example in R 3.1.1
R_ToplevelExec (safeParseVector, &wrap);
SEXP pr = wrap.pr;
UNPROTECT(1);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment