summaryrefslogtreecommitdiff
path: root/regexp.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-03-17 12:36:48 -0600
committerKarl Williamson <khw@cpan.org>2019-03-18 10:40:15 -0600
commitfd1dd2eb05554dea51a1d125b5dfcea0f028a583 (patch)
tree30ee0bed09d27d97fd28f7123e702c5997688b87 /regexp.h
parent255b1a66c426b857aeced6ded35298de6c4ad950 (diff)
downloadperl-fd1dd2eb05554dea51a1d125b5dfcea0f028a583.tar.gz
regexec.c: regmatch(): Add pushing eol
This continues the process of changing regmatch() to be able to restrict the end point of where it is looking in the input, by adding that eol position to the pushed state, and popping it when appropriate.
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 1c18e1d911..9d43083a40 100644
--- a/regexp.h
+++ b/regexp.h
@@ -714,6 +714,7 @@ typedef I32 CHECKPOINT;
typedef struct regmatch_state {
int resume_state; /* where to jump to on return */
char *locinput; /* where to backtrack in string on failure */
+ char *loceol;
union {