diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-15 21:54:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-15 21:54:04 -0400 |
commit | d8e7fbe193cb3c811e305873a1f99b9f02d36d5f (patch) | |
tree | 1c28ab9cb3df836e149a92ca878548b1b4758f1e /src/nvim/ex_eval.c | |
parent | b8c0fac762f4b03f0438d3888ccf3f200648b882 (diff) | |
parent | 97288e73c27d45b0fadbd6efa437fe54bc58b5e3 (diff) | |
download | rneovim-d8e7fbe193cb3c811e305873a1f99b9f02d36d5f.tar.gz rneovim-d8e7fbe193cb3c811e305873a1f99b9f02d36d5f.tar.bz2 rneovim-d8e7fbe193cb3c811e305873a1f99b9f02d36d5f.zip |
Merge pull request #14367 from janlazo/vim-8.2.2046
vim-patch:8.2.{265,2761,2764}
Diffstat (limited to 'src/nvim/ex_eval.c')
-rw-r--r-- | src/nvim/ex_eval.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nvim/ex_eval.c b/src/nvim/ex_eval.c index 0917c6dd02..5ca88002f1 100644 --- a/src/nvim/ex_eval.c +++ b/src/nvim/ex_eval.c @@ -788,6 +788,15 @@ void report_discard_pending(int pending, void *value) } } +// ":eval". +void ex_eval(exarg_T *eap) +{ + typval_T tv; + + if (eval0(eap->arg, &tv, &eap->nextcmd, !eap->skip) == OK) { + tv_clear(&tv); + } +} /* * ":if". |