about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2014-10-27 09:13:51 -0700
committerPatrick Walton <pcwalton@mimiga.net>2014-11-04 14:58:11 -0800
commite8d6031c71a5ab42648f26a253671ba17584407a (patch)
tree148b9c9c483d2bca3535d1cbeef433edc27ae053 /src/rustllvm/RustWrapper.cpp
parentbb70ee56db2dad603ff3447badfaf7ae86c6733b (diff)
downloadrust-e8d6031c71a5ab42648f26a253671ba17584407a.tar.gz
rust-e8d6031c71a5ab42648f26a253671ba17584407a.zip
libsyntax: Forbid escapes in the inclusive range `\x80`-`\xff` in
Unicode characters and strings.

Use `\u0080`-`\u00ff` instead. ASCII/byte literals are unaffected.

This PR introduces a new function, `escape_default`, into the ASCII
module. This was necessary for the pretty printer to continue to
function.

RFC #326.

Closes #18062.

[breaking-change]
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions