| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-11-07 | move syntax::{parse::literal -> util::literal} | Mazdak Farrokhzad | -305/+0 | |
| 2019-11-07 | syntax::parser::token -> syntax::token | Mazdak Farrokhzad | -1/+1 | |
| 2019-11-07 | syntax: use distinct FloatTy from rustc_target. | Mazdak Farrokhzad | -11/+12 | |
| We also sever syntax's dependency on rustc_target as a result. This should slightly improve pipe-lining. Moreover, some cleanup is done in related code. | ||||
| 2019-11-02 | Simplify various `Symbol` use points. | Nicholas Nethercote | -2/+2 | |
| Including removing a bunch of unnecessary `.as_str()` calls, and a bunch of unnecessary sigils. | ||||
| 2019-10-18 | Change `Lit::tokens()` to `Lit::token_tree()`. | Nicholas Nethercote | -4/+4 | |
| Because most of the call sites have an easier time working with a `TokenTree` instead of a `TokenStream`. | ||||
| 2019-10-15 | Rollup merge of #65426 - ↵ | Mazdak Farrokhzad | -1/+1 | |
| nnethercote:rm-custom-LocalInternedString-PartialEq-impls, r=petrochenkov Remove custom `PartialEq` impls for `LocalInternedString`. This is on-trend with the recent changes simplifying `LocalInternedString` and reducing its use. r? @petrochenkov | ||||
| 2019-10-15 | move parse_lit to expr.rs | Mazdak Farrokhzad | -165/+2 | |
| 2019-10-15 | Remove custom `PartialEq` impls for `LocalInternedString`. | Nicholas Nethercote | -1/+1 | |
| This is on-trend with the recent changes simplifying `LocalInternedString` and reducing its use. | ||||
| 2019-10-13 | simplify integer_lit | Mazdak Farrokhzad | -9/+6 | |
| 2019-09-26 | Rename `Lit.node` to `Lit.kind` | varkor | -3/+3 | |
| 2019-09-26 | Rename `Expr.node` to `Expr.kind` | varkor | -1/+1 | |
| For both `ast::Expr` and `hir::Expr`. | ||||
| 2019-08-27 | Simplify with Symbol/Token::is_book_lit. | Mazdak Farrokhzad | -2/+2 | |
| 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 | ||||
