summaryrefslogtreecommitdiff
path: root/regexp.h
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-12-04 17:22:02 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-12-04 17:22:02 +0000
commit3c6f95d1b67124c82147911f846eb1993443a39a (patch)
treea641d86f6825e7c9164fefe08e82acb1e74ef60e /regexp.h
parent2a5d9b1d41e4bafaa26126c5dea2f6ff0b72b6a7 (diff)
downloadperl-3c6f95d1b67124c82147911f846eb1993443a39a.tar.gz
The new regexp compilation function must be added to the engine structure.
p4raw-id: //depot/perl@29458
Diffstat (limited to 'regexp.h')
-rw-r--r--regexp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/regexp.h b/regexp.h
index a0ba5c7d17..abc744c38d 100644
--- a/regexp.h
+++ b/regexp.h
@@ -110,6 +110,7 @@ typedef struct re_scream_pos_data_s
typedef struct regexp_engine {
regexp* (*comp) (pTHX_ char* exp, char* xend, PMOP* pm);
+ regexp* (*compile) (pTHX_ char *exp, char *xend, PMOP *pm);
I32 (*exec) (pTHX_ regexp* prog, char* stringarg, char* strend,
char* strbeg, I32 minend, SV* screamer,
void* data, U32 flags);