mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 09:18:19 +00:00
ex_cmds: port :eval
Cherry-picked from patch v8.1.1807. Required for patch v8.2.2761.
This commit is contained in:
@@ -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".
|
||||
|
Reference in New Issue
Block a user