aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorK.Kosako <kkosako0@gmail.com>2018-11-04 15:48:16 +0900
committerK.Kosako <kkosako0@gmail.com>2018-11-04 15:48:16 +0900
commit6b7b47ea0867089d312f0561970cc6119aff410a (patch)
tree9e30037d12a58288ad12d45d2405606d29ed699e
parentba72c9e94dc246a6a460ea3ea86ed4f3c36974f1 (diff)
downloadoniguruma-6b7b47ea0867089d312f0561970cc6119aff410a.zip
oniguruma-6b7b47ea0867089d312f0561970cc6119aff410a.tar.gz
oniguruma-6b7b47ea0867089d312f0561970cc6119aff410a.tar.bz2
refactoring
-rw-r--r--src/regint.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/regint.h b/src/regint.h
index f0324a3..d6aec9d 100644
--- a/src/regint.h
+++ b/src/regint.h
@@ -62,7 +62,6 @@
#define USE_INSISTENT_CHECK_CAPTURES_IN_EMPTY_REPEAT /* /(?:()|())*\2/ */
#define USE_NEWLINE_AT_END_OF_STRING_HAS_EMPTY_LINE /* /\n$/ =~ "\n" */
#define USE_WARNING_REDUNDANT_NESTED_REPEAT_OPERATOR
-
#define USE_RETRY_LIMIT_IN_MATCH
/* internal config */
@@ -70,6 +69,12 @@
#define USE_QUANT_PEEK_NEXT
#define USE_ST_LIBRARY
+#define USE_WORD_BEGIN_END /* "\<", "\>" */
+#define USE_CAPTURE_HISTORY
+#define USE_VARIABLE_META_CHARS
+#define USE_POSIX_API_REGION_OPTION
+#define USE_FIND_LONGEST_SEARCH_ALL_OF_RANGE
+
#include "regenc.h"
#define INIT_MATCH_STACK_SIZE 160
@@ -83,12 +88,6 @@
#undef ONIG_ESCAPE_UCHAR_COLLISION
#endif
-#define USE_WORD_BEGIN_END /* "\<", "\>" */
-#define USE_CAPTURE_HISTORY
-#define USE_VARIABLE_META_CHARS
-#define USE_POSIX_API_REGION_OPTION
-#define USE_FIND_LONGEST_SEARCH_ALL_OF_RANGE
-
#define xmalloc malloc
#define xrealloc realloc
#define xcalloc calloc