diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2014-06-13 18:56:24 +0100 |
|---|---|---|
| committer | Simon Sapin <simon.sapin@exyr.org> | 2014-06-17 23:43:18 +0200 |
| commit | b8a4c1415b154fa1e5bd8bb54e681f0f5e21e2a4 (patch) | |
| tree | 9a68d3b4eae31521d410062ca5ff9fc7018dc233 /src/libsyntax/parse/parser.rs | |
| parent | d7e01b5809cd600a30bab29da698acb3d1b52409 (diff) | |
| download | rust-b8a4c1415b154fa1e5bd8bb54e681f0f5e21e2a4.tar.gz rust-b8a4c1415b154fa1e5bd8bb54e681f0f5e21e2a4.zip | |
Add br##"xx"## raw byte string literals.
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 826d28ef3ff..ae2ec216bee 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -1529,6 +1529,7 @@ impl<'a> Parser<'a> { token::LIT_STR_RAW(s, n) => { LitStr(self.id_to_interned_str(s), ast::RawStr(n)) } + token::LIT_BINARY_RAW(ref v, _) | token::LIT_BINARY(ref v) => LitBinary(v.clone()), token::LPAREN => { self.expect(&token::RPAREN); LitNil }, _ => { self.unexpected_last(tok); } |
