| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-07-21 | move unescape module to rustc_lexer | Aleksey Kladov | -3/+3 | |
| 2019-07-10 | Move literal_to_string to fmt::Display | Mark Rousskov | -1/+1 | |
| 2019-06-10 | Auto merge of #60793 - Xanewok:raw-string-cleanup, r=petrochenkov | bors | -26/+34 | |
| lexer: Disallow bare CR in raw byte strings Handles bare CR ~but doesn't translate `\r\n` to `\n` yet in raw strings yet~ and translates CRLF to LF in raw strings. As a side-note I think it'd be good to change the `unescape_` to return plain iterators to reduce some boilerplate (e.g. `has_error` could benefit from collecting `Result<T>` and aborting early on errors) but will do that separately, unless I missed something here that prevents it. @matklad @petrochenkov thoughts? | ||||
| 2019-06-09 | Actually translate CRLF in raw byte strings and unify unescape impl | Igor Matuszewski | -3/+23 | |
| 2019-06-09 | Translate CRLF -> LF in raw (byte) strings | Igor Matuszewski | -2/+2 | |
| 2019-06-08 | Validate and transcribe raw strings via unescape module | Igor Matuszewski | -25/+13 | |
| 2019-06-08 | Rollup merge of #61616 - petrochenkov:parsderef, r=oli-obk | Mazdak Farrokhzad | -5/+4 | |
| parser: Remove `Deref` impl from `Parser` Follow up to https://github.com/rust-lang/rust/pull/61541 You have to write `self.token.span` instead of `self.span` in the parser now, which is not nice, but not too bad either, I guess. Not sure. Probably still better than people using both and being confused about the definition point of `span`. r? @oli-obk @estebank | ||||
| 2019-06-07 | syntax: Treat error literals in more principled way | Vadim Petrochenkov | -1/+5 | |
| 2019-06-07 | parser: Remove `look_ahead_span` | Vadim Petrochenkov | -5/+4 | |
| 2019-06-07 | parser: `self.span` -> `self.token.span` | Vadim Petrochenkov | -2/+2 | |
| 2019-06-06 | Some code cleanup and tidy/test fixes | Vadim Petrochenkov | -1/+2 | |
| 2019-06-06 | syntax: Switch function parameter order in `TokenTree::token` | Vadim Petrochenkov | -1/+1 | |
| 2019-06-06 | syntax: Use `Token` in some more places | Vadim Petrochenkov | -4/+4 | |
| 2019-06-06 | syntax: Remove duplicate span from `token::Ident` | Vadim Petrochenkov | -4/+4 | |
| 2019-06-06 | syntax: Add some helper methods to `Token` | Vadim Petrochenkov | -1/+1 | |
| 2019-06-06 | syntax: Use `Token` in `Parser` | Vadim Petrochenkov | -14/+12 | |
| 2019-06-06 | syntax: Use `Token` in `TokenTree::Token` | Vadim Petrochenkov | -1/+1 | |
| 2019-06-06 | syntax: Rename `Token` into `TokenKind` | Vadim Petrochenkov | -3/+3 | |
| 2019-05-27 | Avoid some re-interning in `to_lit_token`. | Nicholas Nethercote | -5/+8 | |
| 2019-05-27 | Add `to_symbol` methods. | Nicholas Nethercote | -3/+3 | |
| 2019-05-27 | Pre-intern "0", "1", ..., "9", and use where appropriate. | Nicholas Nethercote | -1/+1 | |
| 2019-05-23 | syntax: Some code cleanup | Vadim Petrochenkov | -204/+146 | |
| 2019-05-23 | syntax: Turn `token::Lit` into a struct | Vadim Petrochenkov | -59/+71 | |
| 2019-05-23 | syntax: Fix spans for boolean literals passed to proc macros | Vadim Petrochenkov | -5/+5 | |
| 2019-05-23 | syntax: More consistent wording for some literal parsing errors | Vadim Petrochenkov | -2/+2 | |
| 2019-05-23 | syntax: Return named errors from literal parsing functions | Vadim Petrochenkov | -123/+140 | |
| 2019-05-22 | Restore the old behavior of the rustdoc keyword check + Fix rebase | Vadim Petrochenkov | -6/+5 | |
| 2019-05-22 | Simplify use of keyword symbols | Vadim Petrochenkov | -1/+1 | |
| 2019-05-11 | Address comments + Fix tests | Vadim Petrochenkov | -2/+2 | |
| 2019-05-11 | Move literal parsing code into a separate file | Vadim Petrochenkov | -0/+487 | |
| Remove some dead code | ||||
