diff options
author | Yves Orton <demerphq@gmail.com> | 2022-07-30 19:06:33 +0200 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2022-08-03 11:07:09 +0200 |
commit | 3bfb2e3bfb2415adc56f1e24f6a3b96d49b575b0 (patch) | |
tree | 6ad2c37ed8479dd1c8ac3a6734a223d840c8e8cc /regnodes.h | |
parent | 0e4dd64743700131e6045389cf3e22aeaac7871c (diff) | |
download | perl-3bfb2e3bfb2415adc56f1e24f6a3b96d49b575b0.tar.gz |
regex engine - Rename PL_regkind to PL_regnode_kind
Diffstat (limited to 'regnodes.h')
-rw-r--r-- | regnodes.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/regnodes.h b/regnodes.h index fd913b6779..4d476b9ebc 100644 --- a/regnodes.h +++ b/regnodes.h @@ -1573,12 +1573,12 @@ typedef struct regnode tregnode_WHILEM; #define KEEPS_next_fail_t8_p8 607 /* 0x25f */ -/* PL_regkind[] What type of regop or state is this. */ +/* PL_regnode_kind[] What type of regop or state is this. */ #ifndef DOINIT -EXTCONST U8 PL_regkind[]; +EXTCONST U8 PL_regnode_kind[]; #else -EXTCONST U8 PL_regkind[] = { +EXTCONST U8 PL_regnode_kind[] = { END, /* END */ END, /* SUCCEED */ BOL, /* SBOL */ @@ -2383,10 +2383,10 @@ EXTCONST U8 PL_simple_bitmask[] = { #endif /* DOINIT */ /* Is 'op', known to be of type EXACT, folding? */ -#define isEXACTFish(op) (__ASSERT_(PL_regkind[op] == EXACT) (PL_EXACTFish_bitmask & (1U << (op - EXACT)))) +#define isEXACTFish(op) (__ASSERT_(PL_regnode_kind[op] == EXACT) (PL_EXACTFish_bitmask & (1U << (op - EXACT)))) /* Do only UTF-8 target strings match 'op', known to be of type EXACT? */ -#define isEXACT_REQ8(op) (__ASSERT_(PL_regkind[op] == EXACT) (PL_EXACT_REQ8_bitmask & (1U << (op - EXACT)))) +#define isEXACT_REQ8(op) (__ASSERT_(PL_regnode_kind[op] == EXACT) (PL_EXACT_REQ8_bitmask & (1U << (op - EXACT)))) #ifndef DOINIT EXTCONST U32 PL_EXACTFish_bitmask; |