diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 1998-07-26 14:31:01 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 1998-07-26 14:31:01 +0000 |
commit | c485e6072d15e92c314a8b9cb6957c3edf13f985 (patch) | |
tree | 91936656aa4b557fe9c7bb4b88a47b3e3591df64 /regexec.c | |
parent | f13d8a8ffd56f8f5e7431d8bef692aaa336d55a8 (diff) | |
download | perl-c485e6072d15e92c314a8b9cb6957c3edf13f985.tar.gz |
Add dTHR so that it compiles miniperl in threaded mode
p4raw-id: //depot/perl@1667
Diffstat (limited to 'regexec.c')
-rw-r--r-- | regexec.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -2456,7 +2456,8 @@ reginclass(register char *p, register I32 c) STATIC bool reginclassutf8(regnode *f, U8 *p) -{ +{ + dTHR; char flags = ARG1(f); bool match = FALSE; SV *sv = (SV*)PL_regdata->data[ARG2(f)]; @@ -2493,7 +2494,8 @@ reginclassutf8(regnode *f, U8 *p) STATIC char * reghop(unsigned char *s, I32 off) -{ +{ + dTHR; if (off >= 0) { while (off-- && s < (U8*)PL_regeol) s += UTF8SKIP(s); @@ -2515,6 +2517,7 @@ reghop(unsigned char *s, I32 off) STATIC char * reghopmaybe(unsigned char *s, I32 off) { + dTHR; if (off >= 0) { while (off-- && s < (U8*)PL_regeol) s += UTF8SKIP(s); |