From 1ef15e30a0479b4c4f7da7142b6f6a441e295f1e Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 1 Feb 2006 21:56:25 +0000 Subject: updated for version 7.0191 --- src/eval.c | 6 ++---- src/ex_cmds.h | 2 ++ src/fold.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/eval.c b/src/eval.c index cfcc9d4ae..c44aae048 100644 --- a/src/eval.c +++ b/src/eval.c @@ -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; { diff --git a/src/ex_cmds.h b/src/ex_cmds.h index 8211a7f8f..7a9c0338d 100644 --- a/src/ex_cmds.h +++ b/src/ex_cmds.h @@ -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, diff --git a/src/fold.c b/src/fold.c index 67d542c4a..e1dda7e3e 100644 --- a/src/fold.c +++ b/src/fold.c @@ -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. */ -- cgit v1.2.3