summaryrefslogtreecommitdiff
path: root/regexp.h
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2006-11-15 13:29:39 +0100
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-11-15 12:41:24 +0000
commitc74340f9cdee6010339b6bfd0e8b0dc8bc875344 (patch)
tree461d7dee65931c649dec8616b2a6547652ba3777 /regexp.h
parentf81333e0586497e8dadbe01b840e0be9ee8313ee (diff)
downloadperl-c74340f9cdee6010339b6bfd0e8b0dc8bc875344.tar.gz
Re: [PATCH] Fix RT#19049 and add relative backreferences
Message-ID: <9b18b3110611150329l206e4552w887ae5f0a3f7ca80@mail.gmail.com> p4raw-id: //depot/perl@29279
Diffstat (limited to 'regexp.h')
-rw-r--r--regexp.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/regexp.h b/regexp.h
index 8d08682290..d59fa832b2 100644
--- a/regexp.h
+++ b/regexp.h
@@ -31,10 +31,15 @@ struct reg_substr_data;
struct reg_data;
struct regexp_engine;
+typedef struct regexp_paren_ofs {
+ I32 *startp;
+ I32 *endp;
+} regexp_paren_ofs;
typedef struct regexp {
- I32 *startp;
+ I32 *startp;
I32 *endp;
+ regexp_paren_ofs *swap;
regnode *regstclass;
struct reg_substr_data *substrs;
char *precomp; /* pre-compilation regular expression */