Mercurial > vim
changeset 16395:a849fe2a4b21 v8.1.1202
patch 8.1.1202: always get regexp debugging logs when building with -DDEBUG
commit https://github.com/vim/vim/commit/c2d09c9f2ce487a6971af9306e382d7b38805456
Author: Bram Moolenaar <Bram@vim.org>
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 25 Apr 2019 20:15:06 +0200 |
parents | 84c427d55b47 |
children | 8f1c91d920f3 |
files | src/regexp.c src/version.c |
diffstat | 2 files changed, 7 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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"