1
0
forked from aniani/vim

updated for version 7.0191

This commit is contained in:
Bram Moolenaar
2006-02-01 21:56:25 +00:00
parent afeb4fa8a7
commit 1ef15e30a0
14 changed files with 709 additions and 34 deletions

View File

@@ -400,8 +400,6 @@ static int get_option_tv __ARGS((char_u **arg, typval_T *rettv, int evaluate));
static int get_string_tv __ARGS((char_u **arg, typval_T *rettv, int evaluate));
static int get_lit_string_tv __ARGS((char_u **arg, typval_T *rettv, int evaluate));
static int get_list_tv __ARGS((char_u **arg, typval_T *rettv, int evaluate));
static list_T *list_alloc __ARGS((void));
static void list_free __ARGS((list_T *l));
static listitem_T *listitem_alloc __ARGS((void));
static void listitem_free __ARGS((listitem_T *item));
static void listitem_remove __ARGS((list_T *l, listitem_T *item));
@@ -5197,7 +5195,7 @@ failret:
* Allocate an empty header for a list.
* Caller should take care of the reference count.
*/
static list_T *
list_T *
list_alloc()
{
list_T *l;
@@ -5231,7 +5229,7 @@ list_unref(l)
* Free a list, including all items it points to.
* Ignores the reference count.
*/
static void
void
list_free(l)
list_T *l;
{

View File

@@ -543,6 +543,8 @@ EX(CMD_lpfile, "lpfile", ex_cnext,
RANGE|NOTADR|COUNT|TRLBAR|BANG),
EX(CMD_lrewind, "lrewind", ex_cc,
RANGE|NOTADR|COUNT|TRLBAR|BANG),
EX(CMD_ltag, "ltag", ex_tag,
NOTADR|TRLBAR|BANG|WORD1),
EX(CMD_lunmap, "lunmap", ex_unmap,
EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN),
EX(CMD_lwindow, "lwindow", ex_cwindow,

View File

@@ -3188,7 +3188,7 @@ foldlevelMarker(flp)
--flp->lvl_next;
}
else
++s;
mb_ptr_adv(s);
}
/* The level can't go negative, must be missing a start marker. */