From: Bram Moolenaar Date: Thu, 25 Apr 2019 18:07:51 +0000 (+0200) Subject: patch 8.1.1202: always get regexp debugging logs when building with -DDEBUG X-Git-Tag: v8.1.1202 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2d09c9f2ce487a6971af9306e382d7b38805456;p=thirdparty%2Fvim.git patch 8.1.1202: always get regexp debugging logs when building with -DDEBUG Problem: Always get regexp debugging logs when building with -DDEBUG. Solution: By default do not create regexp debugging logs. (Ken Takata) --- diff --git a/src/regexp.c b/src/regexp.c index 0a6695cef5..ceeb899ad2 100644 --- a/src/regexp.c +++ b/src/regexp.c @@ -38,11 +38,11 @@ * Named character class support added by Walter Briscoe (1998 Jul 01) */ -/* Uncomment the first if you do not want to see debugging logs or files - * related to regular expressions, even when compiling with -DDEBUG. - * Uncomment the second to get the regexp debugging. */ -/* #undef DEBUG */ -/* #define DEBUG */ +// By default: do not create debugging logs or files related to regular +// expressions, even when compiling with -DDEBUG. +// Uncomment the second line to get the regexp debugging. +#undef DEBUG +// #define DEBUG #include "vim.h" diff --git a/src/version.c b/src/version.c index 2fcdef1a6e..f865c3d593 100644 --- a/src/version.c +++ b/src/version.c @@ -771,6 +771,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1202, /**/ 1201, /**/