diff options
| author | bors <bors@rust-lang.org> | 2016-09-17 02:51:13 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-09-17 02:51:13 -0700 |
| commit | cde61ba7f786d73592743e17af93077405cc4c97 (patch) | |
| tree | aa7630896ea23461e0279a3c5dae003307993428 /src/rustllvm/RustWrapper.cpp | |
| parent | 141012dd523e6c13924e7c092e1f7f1407430e8c (diff) | |
| parent | 63ded0518a35ac9bd259bb961225eae7b4fa737c (diff) | |
| download | rust-cde61ba7f786d73592743e17af93077405cc4c97.tar.gz rust-cde61ba7f786d73592743e17af93077405cc4c97.zip | |
Auto merge of #36485 - nnethercote:char_lit-2, r=nagisa
Overhaul char_lit() This commit does the following. - Removes parsing support for '\X12', '\u123456' and '\U12345678' char literals. These are no longer valid Rust and rejected by the lexer. (This strange-sounding situation occurs because the parser rescans char literals to compute their value.) - Rearranges the function so that all the escaped values are handled in a single `match`. The error-handling strategy is based on the one used by byte_lit().
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
