diff src/globals.h @ 22163:b6d36f0b4f03 v8.2.1631

patch 8.2.1631: test_fails() does not check the context of the line number Commit: https://github.com/vim/vim/commit/9bd5d879c2ecfbdbb168b090e12f4b89724a302e Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 6 21:47:48 2020 +0200 patch 8.2.1631: test_fails() does not check the context of the line number Problem: test_fails() does not check the context of the line number. Solution: Use another argument to specify the context of the line number.
author Bram Moolenaar <Bram@vim.org>
date Sun, 06 Sep 2020 22:00:03 +0200
parents 2cc0de1e05a6
children 6b385c2b9ff5
line wrap: on
line diff
--- a/src/globals.h
+++ b/src/globals.h
@@ -224,6 +224,7 @@ EXTERN int	emsg_severe INIT(= FALSE);  /
 EXTERN int	emsg_assert_fails_used INIT(= FALSE);
 EXTERN char_u	*emsg_assert_fails_msg INIT(= NULL);
 EXTERN long	emsg_assert_fails_lnum INIT(= 0);
+EXTERN char_u	*emsg_assert_fails_context INIT(= NULL);
 
 EXTERN int	did_endif INIT(= FALSE);    // just had ":endif"
 #endif