diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-07-01 17:28:33 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-07-01 17:28:33 +0200 |
commit | e6b5324e3a3d354363f3c48e784c42ce3e77453f (patch) | |
tree | 7e4ddd66d330a898256b3ea8060768a761aa2cc2 /src/ex_eval.c | |
parent | 086eb18ba16164ca5258068cff9c4b2db742f2ef (diff) | |
download | vim-git-e6b5324e3a3d354363f3c48e784c42ce3e77453f.tar.gz |
patch 8.2.1110: Vim9: line continuation does not work in function argumentsv8.2.1110
Problem: Vim9: line continuation does not work in function arguments.
Solution: Pass "evalarg" to get_func_tv(). Fix seeing double quoted string
as comment.
Diffstat (limited to 'src/ex_eval.c')
-rw-r--r-- | src/ex_eval.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/ex_eval.c b/src/ex_eval.c index fea8c7fd6..061bd1a64 100644 --- a/src/ex_eval.c +++ b/src/ex_eval.c @@ -897,13 +897,7 @@ ex_eval(exarg_T *eap) typval_T tv; evalarg_T evalarg; - CLEAR_FIELD(evalarg); - evalarg.eval_flags = eap->skip ? 0 : EVAL_EVALUATE; - if (getline_equal(eap->getline, eap->cookie, getsourceline)) - { - evalarg.eval_getline = eap->getline; - evalarg.eval_cookie = eap->cookie; - } + fill_evalarg_from_eap(&evalarg, eap, eap->skip); if (eval0(eap->arg, &tv, eap, &evalarg) == OK) clear_tv(&tv); |