aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/eval.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index 3a0075e48a..51ffa8887d 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -1178,23 +1178,6 @@ int get_spellword(list_T *list, const char **pp)
return tv_get_number(&li->li_tv);
}
-/*
- * Top level evaluation function.
- * Returns an allocated typval_T with the result.
- * Returns NULL when there is an error.
- */
-typval_T *eval_expr(char_u *arg, char_u **nextcmd)
-{
- typval_T *tv = xmalloc(sizeof(typval_T));
-
- if (eval0(arg, tv, nextcmd, TRUE) == FAIL) {
- xfree(tv);
- return NULL;
- }
-
- return tv;
-}
-
// Call some vimL function and return the result in "*rettv".
// Uses argv[argc] for the function arguments. Only Number and String