mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.1229: build error without the eval feature
Problem: Build error without the eval feature. Solution: Declare starts_with_colon. Make function local.
This commit is contained in:
@@ -1649,7 +1649,7 @@ current_tab_nr(tabpage_T *tab)
|
||||
return nr;
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
comment_start(char_u *p, int starts_with_colon UNUSED)
|
||||
{
|
||||
#ifdef FEAT_EVAL
|
||||
@@ -1708,8 +1708,8 @@ do_one_cmd(
|
||||
int save_reg_executing = reg_executing;
|
||||
int ni; // set when Not Implemented
|
||||
char_u *cmd;
|
||||
int starts_with_colon = FALSE;
|
||||
#ifdef FEAT_EVAL
|
||||
int starts_with_colon;
|
||||
int starts_with_quote;
|
||||
int vim9script = in_vim9script();
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user