Make pcre2_internal.h idempotent.
This commit is contained in:
parent
1345830d81
commit
d8692f30b7
|
@ -11,6 +11,8 @@ Version 10.31 xx-xxx-201x
|
||||||
(which got a lot more complicated by change 10.30/49) by a single subroutine
|
(which got a lot more complicated by change 10.30/49) by a single subroutine
|
||||||
that is called by both pcre2_match() and pcre2_dfa_match().
|
that is called by both pcre2_match() and pcre2_dfa_match().
|
||||||
|
|
||||||
|
3. Add idempotent guard to pcre2_internal.h.
|
||||||
|
|
||||||
|
|
||||||
Version 10.30 14-August-2017
|
Version 10.30 14-August-2017
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
|
@ -38,6 +38,9 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
-----------------------------------------------------------------------------
|
-----------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef PCRE2_INTERNAL_H_IDEMPOTENT_GUARD
|
||||||
|
#define PCRE2_INTERNAL_H_IDEMPOTENT_GUARD
|
||||||
|
|
||||||
/* We do not support both EBCDIC and Unicode at the same time. The "configure"
|
/* We do not support both EBCDIC and Unicode at the same time. The "configure"
|
||||||
script prevents both being selected, but not everybody uses "configure". EBCDIC
|
script prevents both being selected, but not everybody uses "configure". EBCDIC
|
||||||
is only supported for the 8-bit library, but the check for this has to be later
|
is only supported for the 8-bit library, but the check for this has to be later
|
||||||
|
@ -1973,5 +1976,6 @@ extern BOOL _pcre2_was_newline(PCRE2_SPTR, uint32_t, PCRE2_SPTR,
|
||||||
uint32_t *, BOOL);
|
uint32_t *, BOOL);
|
||||||
extern BOOL _pcre2_xclass(uint32_t, PCRE2_SPTR, BOOL);
|
extern BOOL _pcre2_xclass(uint32_t, PCRE2_SPTR, BOOL);
|
||||||
#endif /* PCRE2_CODE_UNIT_WIDTH */
|
#endif /* PCRE2_CODE_UNIT_WIDTH */
|
||||||
|
#endif /* PCRE2_INTERNAL_H_IDEMPOTENT_GUARD */
|
||||||
|
|
||||||
/* End of pcre2_internal.h */
|
/* End of pcre2_internal.h */
|
||||||
|
|
Loading…
Reference in New Issue