Add br##"xx"## raw byte string literals.
This commit is contained in:
parent
d7e01b5809
commit
b8a4c1415b
7 changed files with 102 additions and 5 deletions
|
@ -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); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue