eval: Get rid of VV_LEN constant

This commit is contained in:
ZyX
2016-02-03 19:35:49 +03:00
parent 85244e68e3
commit 3c39219550
2 changed files with 13 additions and 14 deletions

View File

@@ -54,7 +54,7 @@ EXTERN ufunc_T dumuf;
#define HI2UF(hi) HIKEY2UF((hi)->hi_key)
/* Defines for Vim variables. These must match vimvars[] in eval.c! */
enum {
typedef enum {
VV_COUNT,
VV_COUNT1,
VV_PREVCOUNT,
@@ -125,8 +125,7 @@ enum {
VV_TRUE,
VV_NULL,
VV_NONE,
VV_LEN, ///< Number of v: variables
};
} VimVarIndex;
/// All recognized msgpack types
typedef enum {