summaryrefslogtreecommitdiff
path: root/src/ex_eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ex_eval.c')
-rw-r--r--src/ex_eval.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ex_eval.c b/src/ex_eval.c
index 55009e5e4..25a868459 100644
--- a/src/ex_eval.c
+++ b/src/ex_eval.c
@@ -871,6 +871,18 @@ 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)
+ clear_tv(&tv);
+}
+
+/*
* ":if".
*/
void