summaryrefslogtreecommitdiff
path: root/src/regparse.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2019-07-12 09:18:45 +0200
committerJörg Frings-Fürst <debian@jff.email>2019-07-12 09:18:45 +0200
commited7b90269a529d90d151969348e55347fae02c0d (patch)
tree7c72e5a49112a844a53a2c10ef1fda47867aee92 /src/regparse.h
parent6cac1738b6aebf75b29d225775030d291319f9a2 (diff)
parent5c29b174a11e992dac68553f08645fe4a825c315 (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/regparse.h')
-rw-r--r--src/regparse.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/src/regparse.h b/src/regparse.h
index ede9bb8..b7a2867 100644
--- a/src/regparse.h
+++ b/src/regparse.h
@@ -4,7 +4,7 @@
regparse.h - Oniguruma (regular expression library)
**********************************************************************/
/*-
- * Copyright (c) 2002-2018 K.Kosako <sndgk393 AT ybb DOT ne DOT jp>
+ * Copyright (c) 2002-2019 K.Kosako <sndgk393 AT ybb DOT ne DOT jp>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -59,19 +59,18 @@ enum BagType {
enum GimmickType {
GIMMICK_FAIL = 0,
- GIMMICK_KEEP = 1,
- GIMMICK_SAVE = 2,
- GIMMICK_UPDATE_VAR = 3,
+ GIMMICK_SAVE = 1,
+ GIMMICK_UPDATE_VAR = 2,
#ifdef USE_CALLOUT
- GIMMICK_CALLOUT = 4,
+ GIMMICK_CALLOUT = 3,
#endif
};
-enum QuantBodyEmpty {
- QUANT_BODY_IS_NOT_EMPTY = 0,
- QUANT_BODY_IS_EMPTY = 1,
- QUANT_BODY_IS_EMPTY_MEM = 2,
- QUANT_BODY_IS_EMPTY_REC = 3
+enum BodyEmpty {
+ BODY_IS_NOT_EMPTY = 0,
+ BODY_IS_EMPTY = 1,
+ BODY_IS_EMPTY_MEM = 2,
+ BODY_IS_EMPTY_REC = 3
};
typedef struct {
@@ -102,7 +101,7 @@ typedef struct {
int lower;
int upper;
int greedy;
- enum QuantBodyEmpty body_empty_info;
+ enum BodyEmpty empty_info;
struct _Node* head_exact;
struct _Node* next_head_exact;
int is_refered; /* include called node. don't eliminate even if {0} */