Merge pull request #4825 from ZyX-I/fix-4822

eval: Stop executing *eval() function at error
This commit is contained in:
Justin M. Keyes
2016-05-27 20:58:57 -04:00
2 changed files with 60 additions and 23 deletions

View File

@@ -22018,6 +22018,7 @@ static void script_host_eval(char *name, typval_T *argvars, typval_T *rettv)
if (argvars[0].v_type != VAR_STRING) {
EMSG(_(e_invarg));
return;
}
list_T *args = list_alloc();