summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-02-18 20:12:02 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-02-18 20:12:02 +0000
commit5da9da9e9f46681684e0c487fd55df8db6f9de67 (patch)
tree6dfde242c1abd9880d2820c1acf95021bb4c9c78 /toke.c
parente35c1634452152a39827656efdfed4d3e0d18c71 (diff)
downloadperl-5da9da9e9f46681684e0c487fd55df8db6f9de67.tar.gz
Fix for "[ID 20010213.005] utf8 + localized hash elems + 64 bits?"
The hash key got wrongly UTF8fied. p4raw-id: //depot/perl@8835
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/toke.c b/toke.c
index 5243fea2f3..f8d7145ddb 100644
--- a/toke.c
+++ b/toke.c
@@ -3185,9 +3185,6 @@ Perl_yylex(pTHX)
if (*d == '}') {
char minus = (PL_tokenbuf[0] == '-');
s = force_word(s + minus, WORD, FALSE, TRUE, FALSE);
- if (UTF && !IN_BYTE && is_utf8_string((U8*)PL_tokenbuf, 0) &&
- PL_nextval[PL_nexttoke-1].opval)
- SvUTF8_on(((SVOP*)PL_nextval[PL_nexttoke-1].opval)->op_sv);
if (minus)
force_next('-');
}