projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
356c7ad
)
Fix compilation with threads
author
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Fri, 10 Aug 2007 13:37:42 +0000
(13:37 +0000)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Fri, 10 Aug 2007 13:37:42 +0000
(13:37 +0000)
p4raw-id: //depot/perl@31700
toke.c
patch
|
blob
|
history
diff --git
a/toke.c
b/toke.c
index
889e7ec
..
428a7c2
100644
(file)
--- 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: