changeset 19106:38d18056e6e6 v8.2.0113

patch 8.2.0113: "make cmdidxs" fails Commit: https://github.com/vim/vim/commit/9b24dfcb9f676e7f7a09a9062f0d05b2104a87eb Author: Bram Moolenaar <Bram@vim.org> 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.
author Bram Moolenaar <Bram@vim.org>
date Sun, 12 Jan 2020 16:00:03 +0100
parents 7024ec2417e7
children d66161509163
files src/Make_cyg_ming.mak src/Make_mvc.mak src/Makefile src/ex_cmds.h src/version.c
diffstat 5 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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 \
--- 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
--- 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.
--- 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),
--- 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,