Commit: patch 9.0.2136: MSVC errorformat can be improved

13 views
Skip to first unread message

Christian Brabandt

unread,
Nov 28, 2023, 3:00:13 PM11/28/23
to vim...@googlegroups.com
patch 9.0.2136: MSVC errorformat can be improved

Commit: https://github.com/vim/vim/commit/8ceb99001b52d0c642e7532763ec9d8217ee86e3
Author: Shawn Hatori <shawn....@gmail.com>
Date: Tue Nov 28 20:51:07 2023 +0100

patch 9.0.2136: MSVC errorformat can be improved

Problem: MSVC errorformat can be improved
Solution: parse error type and column number in MSVC errorformat

closes: #13587

Signed-off-by: Shawn Hatori <shawn....@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/option.h b/src/option.h
index 396c568d4..2d1ca2cde 100644
--- a/src/option.h
+++ b/src/option.h
@@ -87,7 +87,7 @@ typedef enum {
# define DFLT_EFM "%f>%l:%c:%t:%n:%m,%f:%l: %t%*\D%n: %m,%f %l %t%*\D%n: %m,%*[^\"]\"%f\"%*\D%l: %m,%f:%l:%m,%f|%l| %m"
#else
# if defined(MSWIN)
-# define DFLT_EFM "%f(%l) \=: %t%*\D%n: %m,%*[^\"]\"%f\"%*\D%l: %m,%f(%l) \=: %m,%*[^ ] %f %l: %m,%f:%l:%c:%m,%f(%l):%m,%f:%l:%m,%f|%l| %m"
+# define DFLT_EFM "%f(%l): %t%*\D%n: %m,%f(%l\,%c): %t%*\D%n: %m,%f(%l) \=: %t%*\D%n: %m,%*[^\"]\"%f\"%*\D%l: %m,%f(%l) \=: %m,%*[^ ] %f %l: %m,%f:%l:%c:%m,%f(%l):%m,%f:%l:%m,%f|%l| %m"
# else
# if defined(__QNX__)
# define DFLT_EFM "%f(%l):%*[^WE]%t%*\D%n:%m,%f|%l| %m"
diff --git a/src/version.c b/src/version.c
index 55fbcc5b2..f408e0beb 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2136,
/**/
2135,
/**/
Reply all
Reply to author
Forward
0 new messages