summaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-08-18 22:26:31 +0200
committerBram Moolenaar <Bram@vim.org>2019-08-18 22:26:31 +0200
commit0a52df50a0e8fce6f5e0eb5f5373dcd0fa24d83a (patch)
tree9860863c20df3f5354bf67a1d7efe054e23e8a99 /src/eval.c
parent66b51420e0c8d49bcf6786b792c938d6099e3393 (diff)
patch 8.1.1887: the +cmdline_compl feature is not in the tiny versionv8.1.1887
Problem: The +cmdline_compl feature is not in the tiny version. Solution: Graduate the +cmdline_compl feature.
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/eval.c b/src/eval.c
index b30f40490e..bff5664ef2 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -420,9 +420,7 @@ eval_clear(void)
hash_clear(&compat_hashtab);
free_scriptnames();
-# if defined(FEAT_CMDL_COMPL)
free_locales();
-# endif
/* global variables */
vars_clear(&globvarht);
@@ -1135,10 +1133,6 @@ call_func_retnr(
return retval;
}
-#if defined(FEAT_CMDL_COMPL) \
- || defined(FEAT_COMPL_FUNC) || defined(PROTO)
-
-# if defined(FEAT_CMDL_COMPL) || defined(PROTO)
/*
* Call Vim script function "func" and return the result as a string.
* Returns NULL when calling the function fails.
@@ -1161,7 +1155,6 @@ call_func_retstr(
clear_tv(&rettv);
return retval;
}
-# endif
/*
* Call Vim script function "func" and return the result as a List.
@@ -1188,7 +1181,6 @@ call_func_retlist(
return rettv.vval.v_list;
}
-#endif
#ifdef FEAT_FOLDING
@@ -2994,8 +2986,6 @@ free_for_info(void *fi_void)
vim_free(fi);
}
-#if defined(FEAT_CMDL_COMPL) || defined(PROTO)
-
void
set_context_for_expression(
expand_T *xp,
@@ -3110,8 +3100,6 @@ set_context_for_expression(
xp->xp_pattern = arg;
}
-#endif /* FEAT_CMDL_COMPL */
-
/*
* ":unlet[!] var1 ... " command.
*/
@@ -3509,8 +3497,6 @@ del_menutrans_vars(void)
}
#endif
-#if defined(FEAT_CMDL_COMPL) || defined(PROTO)
-
/*
* Local string buffer for the next two functions to store a variable name
* with its prefix. Allocated in cat_prefix_varname(), freed later in
@@ -3630,8 +3616,6 @@ get_user_var_name(expand_T *xp, int idx)
return NULL;
}
-#endif /* FEAT_CMDL_COMPL */
-
/*
* Return TRUE if "pat" matches "text".
* Does not use 'cpo' and always uses 'magic'.