From 6c4451a5deac51710b9bf8f212ebc966bce113b3 Mon Sep 17 00:00:00 2001 From: "K.Kosako" Date: Tue, 30 Jul 2019 17:56:00 +0900 Subject: [PATCH] refactoring --- src/regparse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/regparse.c b/src/regparse.c index d6beabc..e10edbe 100644 --- a/src/regparse.c +++ b/src/regparse.c @@ -7442,6 +7442,7 @@ parse_bag(Node** np, PToken* tok, int term, UChar** src, UChar* end, } break; +#ifdef USE_CAPTURE_HISTORY case '@': if (IS_SYNTAX_OP2(env->syntax, ONIG_SYN_OP2_ATMARK_CAPTURE_HISTORY)) { if (IS_SYNTAX_OP2(env->syntax, ONIG_SYN_OP2_QMARK_LT_NAMED_GROUP)) { @@ -7469,6 +7470,7 @@ parse_bag(Node** np, PToken* tok, int term, UChar** src, UChar* end, return ONIGERR_UNDEFINED_GROUP_OPTION; } break; +#endif #ifdef USE_POSIXLINE_OPTION case 'p': -- 2.40.0