summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-08-10 13:37:42 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-08-10 13:37:42 +0000
commit987a03fc5bbe9f29ec2ae5a4dbe63bd583860752 (patch)
treec09d72e970841cbf52ff4cdfc03edf6cb3212801 /toke.c
parent356c7adf53ddf6b2b7f62f53bc2d999b974db873 (diff)
downloadperl-987a03fc5bbe9f29ec2ae5a4dbe63bd583860752.tar.gz
Fix compilation with threads
p4raw-id: //depot/perl@31700
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toke.c b/toke.c
index 889e7ec81b..428a7c2a45 100644
--- a/toke.c
+++ b/toke.c
@@ -3561,7 +3561,7 @@ Perl_yylex(pTHX)
default:
if (isIDFIRST_lazy_if(s,UTF))
goto keylookup;
- len = UTF ? Perl_utf8_length((U8 *) PL_linestart, (U8 *) s) : (STRLEN) (s - PL_linestart);
+ len = UTF ? Perl_utf8_length(aTHX_ (U8 *) PL_linestart, (U8 *) s) : (STRLEN) (s - PL_linestart);
Perl_croak(aTHX_ "Unrecognized character \\x%02X in column %d", *s & 255, (int) len + 1);
case 4:
case 26: