eval: Stop executing *eval() function at error

Fixes #4822
Closes #4823
This commit is contained in:
ZyX
2016-05-27 15:10:41 +03:00
parent 1d63672c77
commit 5758432be2
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();