# HG changeset patch # User Bram Moolenaar # Date 1556216106 -7200 # Node ID a849fe2a4b219efe22ba308c36bb15b1f076fc45 # Parent 84c427d55b47163977c4a66b8bc2fe00f229f41c patch 8.1.1202: always get regexp debugging logs when building with -DDEBUG commit https://github.com/vim/vim/commit/c2d09c9f2ce487a6971af9306e382d7b38805456 Author: Bram Moolenaar Date: Thu Apr 25 20:07:51 2019 +0200 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 --- 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 --- a/src/version.c +++ b/src/version.c @@ -772,6 +772,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1202, +/**/ 1201, /**/ 1200,