# HG changeset patch # User Bram Moolenaar # Date 1578841203 -3600 # Node ID 38d18056e6e648b2eb9ac260401021a0edf46c58 # Parent 7024ec2417e79fae5ebde8ad0faff53b93709218 patch 8.2.0113: "make cmdidxs" fails Commit: https://github.com/vim/vim/commit/9b24dfcb9f676e7f7a09a9062f0d05b2104a87eb Author: Bram Moolenaar Date: Sun Jan 12 15:46:08 2020 +0100 patch 8.2.0113: "make cmdidxs" fails Problem: "make cmdidxs" fails. Solution: Allow address for ":cquit". Add --not-a-term to avoid a delay. diff --git a/src/Make_cyg_ming.mak b/src/Make_cyg_ming.mak --- a/src/Make_cyg_ming.mak +++ b/src/Make_cyg_ming.mak @@ -1085,7 +1085,7 @@ endif # If this fails because you don't have Vim yet, first build and install Vim # without changes. cmdidxs: ex_cmds.h - vim --clean -X -u create_cmdidxs.vim + vim --clean -X --not-a-term -u create_cmdidxs.vim ########################################################################### INCL = vim.h alloc.h ascii.h ex_cmds.h feature.h globals.h \ diff --git a/src/Make_mvc.mak b/src/Make_mvc.mak --- a/src/Make_mvc.mak +++ b/src/Make_mvc.mak @@ -1417,7 +1417,7 @@ clean: testclean # If this fails because you don't have Vim yet, first build and install Vim # without changes. cmdidxs: ex_cmds.h - vim --clean -X -u create_cmdidxs.vim + vim --clean -X --not-a-term -u create_cmdidxs.vim test: cd testdir diff --git a/src/Makefile b/src/Makefile --- a/src/Makefile +++ b/src/Makefile @@ -2064,7 +2064,7 @@ autoconf: # If this fails because you don't have Vim yet, first build and install Vim # without changes. cmdidxs: ex_cmds.h - vim --clean -X -u create_cmdidxs.vim + vim --clean -X --not-a-term -u create_cmdidxs.vim # The normal command to compile a .c file to its .o file. diff --git a/src/ex_cmds.h b/src/ex_cmds.h --- a/src/ex_cmds.h +++ b/src/ex_cmds.h @@ -408,7 +408,7 @@ EXCMD(CMD_cpfile, "cpfile", ex_cnext, ADDR_OTHER), EXCMD(CMD_cquit, "cquit", ex_cquit, EX_RANGE|EX_COUNT|EX_ZEROR|EX_TRLBAR|EX_BANG, - ADDR_NONE), + ADDR_UNSIGNED), EXCMD(CMD_crewind, "crewind", ex_cc, EX_RANGE|EX_COUNT|EX_TRLBAR|EX_BANG, ADDR_UNSIGNED), diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -743,6 +743,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 113, +/**/ 112, /**/ 111,