summaryrefslogtreecommitdiff
path: root/regexp.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-01-05 17:44:04 +0000
committerNicholas Clark <nick@ccl4.org>2008-01-05 17:44:04 +0000
commit5daac39cdfb40a97f596516dfd1504833f0b6695 (patch)
treefebf1ff899723b083b260949befa8daa55bc5150 /regexp.h
parent8f6ae13c8af6db5c57cde14346d77d89a10817d3 (diff)
downloadperl-5daac39cdfb40a97f596516dfd1504833f0b6695.tar.gz
Convert all accesses of the member paren_names of struct regexp to
be accessed via RXp_PAREN_NAMES(). (They are entirely within the regexp implementation). p4raw-id: //depot/perl@32853
Diffstat (limited to 'regexp.h')
-rw-r--r--regexp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/regexp.h b/regexp.h
index 8b5a7bb337..4788dfe69c 100644
--- a/regexp.h
+++ b/regexp.h
@@ -105,6 +105,8 @@ typedef struct regexp {
HV *paren_names; /* Optional hash of paren names */
} regexp;
+#define RXp_PAREN_NAMES(rx) ((rx)->paren_names)
+
/* used for high speed searches */
typedef struct re_scream_pos_data_s
{