aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-07-25 02:38:26 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-08-02 12:00:01 -0400
commit886969e1f8d067b9bdf6ea9d1593222645c2680e (patch)
tree7bb20ccede36c4b39c4b4cebec422269cb82da0c
parentca698250fc0d7a12cc77bca73db513b4fe63a39d (diff)
downloadrneovim-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.c10
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>