summaryrefslogtreecommitdiff
path: root/regcomp.h
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2006-12-24 15:38:15 +0100
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-12-25 17:03:14 +0000
commit1f1031fe96c14865e4f60fdd3a6a6ce073d190c1 (patch)
tree1057ec70f13ea09891a734756af802113aed89ad /regcomp.h
parent5b64f2bff5b0212a9713f87c3a9e7f6653a1e126 (diff)
downloadperl-1f1031fe96c14865e4f60fdd3a6a6ce073d190c1.tar.gz
Re: Named-capture regex syntax
Message-ID: <9b18b3110612240538m5c45654br7d27171835f6664@mail.gmail.com> p4raw-id: //depot/perl@29621
Diffstat (limited to 'regcomp.h')
-rw-r--r--regcomp.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/regcomp.h b/regcomp.h
index a5eb0fb06c..7df47d36f3 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -103,10 +103,14 @@ typedef struct regexp_paren_ofs {
} regexp_paren_ofs;
typedef struct regexp_internal {
- regexp_paren_ofs *swap; /* Swap copy of *startp / *endp */
+#ifdef DEBUGGING
+ int name_list_idx; /* Optional data index of an array of paren names */
+#endif
+
U32 *offsets; /* offset annotations 20001228 MJD
data about mapping the program to the
string*/
+ regexp_paren_ofs *swap; /* Swap copy of *startp / *endp */
regnode *regstclass; /* Optional startclass as identified or constructed
by the optimiser */
struct reg_data *data; /* Additional miscellaneous data used by the program.