This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
toke.c: Don't convert \x{} from native
authorKarl Williamson <public@khwilliamson.com>
Sun, 17 Jun 2012 18:33:10 +0000 (12:33 -0600)
committerKarl Williamson <public@khwilliamson.com>
Wed, 20 Jun 2012 20:08:40 +0000 (14:08 -0600)
commit273aad2670fabe520e5f7510e2bd8b0aa6fa29c4
tree1bf94c4c7e5a3768a87b8f8c449742b5cf6dd79d
parent8b8acc9e1f46f2a80a6c992a47bcde097e97a31c
toke.c: Don't convert \x{} from native

This was and is a no-op on ASCII platforms, but on EBCDIC, when you did
e.g., a "\x{7}", it would convert that to a 127.  But it did not do this
on qr/\x{7}/, giving inconsistent results.  Now, \x{7} yields 7, and
thus is consistent, and matches the documentation.
toke.c