summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-01-27 04:44:04 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-01-27 04:44:04 +0000
commit61b2116b4a324a590192eed179e698231a0e5cd6 (patch)
tree31b5c237b038be754b15bd054694ff6ec22d662c /toke.c
parentd0c7df7ae7de8e316035b19ba75e607dc20f238b (diff)
downloadperl-61b2116b4a324a590192eed179e698231a0e5cd6.tar.gz
Threadedness patch for #8562 from Doug MacEachern.
p4raw-id: //depot/perl@8564
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toke.c b/toke.c
index d2dd026e6c..1b41dccb4b 100644
--- a/toke.c
+++ b/toke.c
@@ -176,12 +176,12 @@ int yyactlevel = -1;
#define OLDLOP(f) return(yylval.ival=f,PL_expect = XTERM,PL_bufptr = s,(int)LSTOP)
void
-S_tokereport(char *thing, char* s, I32 rv)
+S_tokereport(pTHX_ char *thing, char* s, I32 rv)
{
SV *report;
DEBUG_T({
report = newSVpv(thing, 0);
- sv_catpvf(report, ":line %i:%i:", CopLINE(PL_curcop), rv);
+ Perl_sv_catpvf(aTHX_ report, ":line %i:%i:", CopLINE(PL_curcop), rv);
if (s - PL_bufptr > 0)
sv_catpvn(report, PL_bufptr, s - PL_bufptr);