mirror of
https://github.com/Perl/perl5.git
synced 2026-01-26 16:39:36 +00:00
regcomp.h: Convert _reg_trie_data to legal name
This commit is contained in:
parent
03875508c8
commit
1176a99221
@ -5366,18 +5366,18 @@ Ep |SSize_t|study_chunk |NN RExC_state_t *pRExC_state \
|
||||
|U32 depth \
|
||||
|bool was_mutate_ok
|
||||
# if defined(PERL_IN_REGCOMP_TRIE_C) && defined(DEBUGGING)
|
||||
ES |void |dump_trie |NN const struct _reg_trie_data *trie \
|
||||
ES |void |dump_trie |NN const struct reg_trie_data_ *trie \
|
||||
|NULLOK HV *widecharmap \
|
||||
|NN AV *revcharmap \
|
||||
|U32 depth
|
||||
ES |void |dump_trie_interim_list \
|
||||
|NN const struct _reg_trie_data *trie \
|
||||
|NN const struct reg_trie_data_ *trie \
|
||||
|NULLOK HV *widecharmap \
|
||||
|NN AV *revcharmap \
|
||||
|U32 next_alloc \
|
||||
|U32 depth
|
||||
ES |void |dump_trie_interim_table \
|
||||
|NN const struct _reg_trie_data *trie \
|
||||
|NN const struct reg_trie_data_ *trie \
|
||||
|NULLOK HV *widecharmap \
|
||||
|NN AV *revcharmap \
|
||||
|U32 next_alloc \
|
||||
|
||||
2
perl.h
2
perl.h
@ -4574,7 +4574,7 @@ typedef struct regnode_charclass_posixl regnode_charclass_posixl;
|
||||
|
||||
typedef struct regnode_ssc regnode_ssc;
|
||||
typedef struct RExC_state_t RExC_state_t;
|
||||
struct _reg_trie_data;
|
||||
struct reg_trie_data_;
|
||||
typedef struct scan_data_t scan_data_t;
|
||||
|
||||
#endif
|
||||
|
||||
6
proto.h
generated
6
proto.h
generated
@ -8322,11 +8322,11 @@ Perl_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp, SSize_t *minl
|
||||
__attribute__visibility__("hidden");
|
||||
# if defined(PERL_IN_REGCOMP_TRIE_C) && defined(DEBUGGING)
|
||||
STATIC void
|
||||
S_dump_trie(pTHX_ const struct _reg_trie_data *trie, HV *widecharmap, AV *revcharmap, U32 depth);
|
||||
S_dump_trie(pTHX_ const struct reg_trie_data_ *trie, HV *widecharmap, AV *revcharmap, U32 depth);
|
||||
STATIC void
|
||||
S_dump_trie_interim_list(pTHX_ const struct _reg_trie_data *trie, HV *widecharmap, AV *revcharmap, U32 next_alloc, U32 depth);
|
||||
S_dump_trie_interim_list(pTHX_ const struct reg_trie_data_ *trie, HV *widecharmap, AV *revcharmap, U32 next_alloc, U32 depth);
|
||||
STATIC void
|
||||
S_dump_trie_interim_table(pTHX_ const struct _reg_trie_data *trie, HV *widecharmap, AV *revcharmap, U32 next_alloc, U32 depth);
|
||||
S_dump_trie_interim_table(pTHX_ const struct reg_trie_data_ *trie, HV *widecharmap, AV *revcharmap, U32 next_alloc, U32 depth);
|
||||
# endif
|
||||
# endif /* defined(PERL_CORE) || defined(PERL_EXT) */
|
||||
# if defined(PERL_IN_REGCOMP_TRIE_C) && defined(DEBUGGING)
|
||||
|
||||
@ -1233,7 +1233,7 @@ typedef struct reg_trie_trans_ reg_trie_trans;
|
||||
should be dealt with in pregfree.
|
||||
refcount is first in both this and _reg_ac_data to allow a space
|
||||
optimisation in Perl_regdupe. */
|
||||
struct _reg_trie_data {
|
||||
struct reg_trie_data_ {
|
||||
U32 refcount; /* number of times this trie is referenced */
|
||||
U32 lasttrans; /* last valid transition element */
|
||||
U16 *charmap; /* byte to charid lookup array */
|
||||
@ -1274,9 +1274,9 @@ struct _reg_trie_data {
|
||||
|
||||
#define TRIE_WORDS_OFFSET 2
|
||||
|
||||
typedef struct _reg_trie_data reg_trie_data;
|
||||
typedef struct reg_trie_data_ reg_trie_data;
|
||||
|
||||
/* refcount is first in both this and _reg_trie_data to allow a space
|
||||
/* refcount is first in both this and reg_trie_data_ to allow a space
|
||||
optimisation in Perl_regdupe. */
|
||||
struct _reg_ac_data {
|
||||
U32 refcount;
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
*/
|
||||
|
||||
STATIC void
|
||||
S_dump_trie(pTHX_ const struct _reg_trie_data *trie, HV *widecharmap,
|
||||
S_dump_trie(pTHX_ const struct reg_trie_data_ *trie, HV *widecharmap,
|
||||
AV *revcharmap, U32 depth)
|
||||
{
|
||||
U32 state;
|
||||
@ -142,7 +142,7 @@ S_dump_trie(pTHX_ const struct _reg_trie_data *trie, HV *widecharmap,
|
||||
Used for debugging make_trie().
|
||||
*/
|
||||
STATIC void
|
||||
S_dump_trie_interim_list(pTHX_ const struct _reg_trie_data *trie,
|
||||
S_dump_trie_interim_list(pTHX_ const struct reg_trie_data_ *trie,
|
||||
HV *widecharmap, AV *revcharmap, U32 next_alloc,
|
||||
U32 depth)
|
||||
{
|
||||
@ -202,7 +202,7 @@ S_dump_trie_interim_list(pTHX_ const struct _reg_trie_data *trie,
|
||||
Used for debugging make_trie().
|
||||
*/
|
||||
STATIC void
|
||||
S_dump_trie_interim_table(pTHX_ const struct _reg_trie_data *trie,
|
||||
S_dump_trie_interim_table(pTHX_ const struct reg_trie_data_ *trie,
|
||||
HV *widecharmap, AV *revcharmap, U32 next_alloc,
|
||||
U32 depth)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user