Skip to content

Commit fa102f0

Browse files
committed
regcomp.h - get rid of EXTRA_STEP defines
They are unused these days.
1 parent 3e89760 commit fa102f0

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

regcomp.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12712,7 +12712,6 @@ S_reginsert(pTHX_ RExC_state_t *pRExC_state, const U8 op,
1271212712
PERL_ARGS_ASSERT_REGINSERT;
1271312713
PERL_UNUSED_CONTEXT;
1271412714
PERL_UNUSED_ARG(depth);
12715-
/* (REGNODE_TYPE((U8)op) == CURLY ? EXTRA_STEP_2ARGS : 0); */
1271612715
DEBUG_PARSE_FMT("inst"," - %s", REGNODE_NAME(op));
1271712716
assert(!RExC_study_started); /* I believe we should never use reginsert once we have started
1271812717
studying. If this is wrong then we need to adjust RExC_recurse

regcomp.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,6 @@ struct regnode_ssc {
442442
/* These should no longer be used directly in most cases. Please use
443443
* the REGNODE_AFTER() macros instead. */
444444
#define NODE_STEP_REGNODE 1 /* sizeof(regnode)/sizeof(regnode) */
445-
#define EXTRA_STEP_2ARGS EXTRA_SIZE(struct regnode_2)
446445

447446
/* Core macros for computing "the regnode after this one". See also
448447
* Perl_regnode_after() in reginline.h

0 commit comments

Comments
 (0)