diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-06 13:59:58 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-06 13:59:58 +0000 |
commit | 26d16222cddf6d9ec04633e71cdbd4edb40973eb (patch) | |
tree | b4426d37f6163f5a65da8e6d098b47630801fe7c /toke.c | |
parent | 1ec03f31c05cb7b2516d0c8aa2de76b8de1495ee (diff) | |
download | perl-26d16222cddf6d9ec04633e71cdbd4edb40973eb.tar.gz |
allow "\x{12ab}" even without C<use utf8>
p4raw-id: //depot/perl@5000
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -1352,12 +1352,6 @@ S_scan_const(pTHX_ char *start) yyerror("Missing right brace on \\x{}"); e = s; } - if (!utf) { - dTHR; - if (ckWARN(WARN_UTF8)) - Perl_warner(aTHX_ WARN_UTF8, - "Use of \\x{} without utf8 declaration"); - } /* note: utf always shorter than hex */ d = (char*)uv_to_utf8((U8*)d, (UV)scan_hex(s + 1, e - s - 1, &len)); |