diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-06-06 21:20:10 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-06-06 21:20:10 +0200 |
commit | c60954b48ec225c75558abee56c4a9cc89f84b7e (patch) | |
tree | 578e4699ac6b0f49bf3ae909670d23684315dea2 | |
parent | 45d2eeaad66939348893b9254171067b0457cd9d (diff) |
patch 7.4.1904v7.4.1904
Problem: Build fails.
Solution: Add missing changes.
-rw-r--r-- | src/version.c | 2 | ||||
-rw-r--r-- | src/vim.h | 22 |
2 files changed, 23 insertions, 1 deletions
diff --git a/src/version.c b/src/version.c index 82ea5f2b89..8305e3947b 100644 --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1904, +/**/ 1903, /**/ 1902, @@ -1063,7 +1063,7 @@ extern char *(*dyn_libintl_textdomain)(const char *domainname); #define OPENLINE_COM_LIST 16 /* format comments with list/2nd line indent */ /* - * There are four history tables: + * There are five history tables: */ #define HIST_CMD 0 /* colon commands */ #define HIST_SEARCH 1 /* search commands */ @@ -1072,6 +1072,26 @@ extern char *(*dyn_libintl_textdomain)(const char *domainname); #define HIST_DEBUG 4 /* debug commands */ #define HIST_COUNT 5 /* number of history tables */ +/* The type numbers are fixed for backwards compatibility. */ +#define BARTYPE_VERSION 1 +#define BARTYPE_HISTORY 2 + +typedef enum { + BVAL_NR, + BVAL_STRING, + BVAL_EMPTY +} btype_T; + +#define BVAL_MAX 4 /* Maximum number of fields in a barline. */ + +typedef struct { + btype_T bv_type; + long bv_nr; + char_u *bv_string; + int bv_len; /* length of bv_string */ + int bv_allocated; /* bv_string was allocated */ +} bval_T; + /* * Values for do_tag(). */ |