diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-07-25 02:38:26 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-08-02 12:00:01 -0400 |
commit | 886969e1f8d067b9bdf6ea9d1593222645c2680e (patch) | |
tree | 7bb20ccede36c4b39c4b4cebec422269cb82da0c | |
parent | ca698250fc0d7a12cc77bca73db513b4fe63a39d (diff) | |
download | rneovim-886969e1f8d067b9bdf6ea9d1593222645c2680e.tar.gz rneovim-886969e1f8d067b9bdf6ea9d1593222645c2680e.tar.bz2 rneovim-886969e1f8d067b9bdf6ea9d1593222645c2680e.zip |
vim-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)
https://github.com/vim/vim/commit/c2d09c9f2ce487a6971af9306e382d7b38805456
-rw-r--r-- | src/nvim/regexp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/regexp.c b/src/nvim/regexp.c index 2aa6096c0f..b4e2c7d766 100644 --- a/src/nvim/regexp.c +++ b/src/nvim/regexp.c @@ -40,11 +40,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 REGEXP_DEBUG */ -/* #define REGEXP_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 REGEXP_DEBUG +// #define REGEXP_DEBUG #include <assert.h> #include <inttypes.h> |