summaryrefslogtreecommitdiff
path: root/thrdvar.h
diff options
context:
space:
mode:
authorIlya Zakharevich <ilya@math.berkeley.edu>1998-11-25 21:46:20 -0500
committerGurusamy Sarathy <gsar@cpan.org>1998-11-28 18:46:05 +0000
commit9661b5442a5f8dacc64d54eb1de98575f21de5f2 (patch)
tree84e57af266a3e6712f3ef5d10290439b25673c13 /thrdvar.h
parent4b6a72707ac8d719699d8abaea2936e151652d33 (diff)
downloadperl-9661b5442a5f8dacc64d54eb1de98575f21de5f2.tar.gz
applied suggested patch with PERL_OBJECT tweaks
Message-Id: <199811260746.CAA23164@monk.mps.ohio-state.edu> Subject: [PATCH 5.005_53] Enable $_ and pos() inside (?{ CODE }) in RExen p4raw-id: //depot/perl@2367
Diffstat (limited to 'thrdvar.h')
-rw-r--r--thrdvar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/thrdvar.h b/thrdvar.h
index 3e71fb5634..7c722598ab 100644
--- a/thrdvar.h
+++ b/thrdvar.h
@@ -158,6 +158,8 @@ PERLVAR(Treg_call_cc, struct re_cc_state *) /* from regexec.c */
PERLVAR(Treg_re, regexp *) /* from regexec.c */
PERLVAR(Treg_ganch, char *) /* position of \G */
PERLVAR(Treg_sv, SV *) /* what we match against */
+PERLVAR(Treg_magic, MAGIC *) /* pos-magic of what we match */
+PERLVAR(Treg_oldpos, I32) /* old pos of what we match */
PERLVARI(Tregcompp, regcomp_t, FUNC_NAME_TO_PTR(pregcomp))
/* Pointer to RE compiler */