From e25c754918ae26e8b9e68a47bc1af36248e91800 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Fri, 12 Jul 2019 09:18:14 +0200 Subject: New upstream version 6.9.2 --- src/regparse.h | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'src/regparse.h') 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 + * Copyright (c) 2002-2019 K.Kosako * 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} */ -- cgit v1.2.3