# HG changeset patch # User Christian Brabandt # Date 1465241406 -7200 # Node ID f7e95dc00e5ab7949c0176404bce2a51b010d21a # Parent 3657b2df1ca2450647f2e7b57677770fb4e0300b commit https://github.com/vim/vim/commit/c60954b48ec225c75558abee56c4a9cc89f84b7e Author: Bram Moolenaar Date: Mon Jun 6 21:20:10 2016 +0200 patch 7.4.1904 Problem: Build fails. Solution: Add missing changes. diff --git a/src/version.c b/src/version.c --- 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, diff --git a/src/vim.h b/src/vim.h --- a/src/vim.h +++ b/src/vim.h @@ -1063,7 +1063,7 @@ extern char *(*dyn_libintl_textdomain)(c #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)(c #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(). */