| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-11-10 | move syntax::parse -> librustc_parse | Mazdak Farrokhzad | -1530/+0 | |
| also move MACRO_ARGUMENTS -> librustc_parse | ||||
| 2019-11-10 | move config.rs to libsyntax_expand | Mazdak Farrokhzad | -274/+2 | |
| 2019-11-07 | move syntax::parse::lexer::comments -> syntax::util::comments | Mazdak Farrokhzad | -320/+4 | |
| 2019-11-07 | move PResult to librustc_errors | Mazdak Farrokhzad | -1/+2 | |
| 2019-11-07 | syntax::parser::token -> syntax::token | Mazdak Farrokhzad | -4/+4 | |
| 2019-11-07 | move unescape_error_reporting to lexer/ | Mazdak Farrokhzad | -1/+217 | |
| 2019-11-07 | syntax: simplify imports | Mazdak Farrokhzad | -2/+3 | |
| 2019-11-05 | Rollup merge of #66025 - petrochenkov:lohi, r=eddyb | Pietro Albini | -1/+1 | |
| `Span` cannot represent `span.hi < span.lo` So we can remove the corresponding checks from various code | ||||
| 2019-11-01 | `Span` cannot represent `span.hi < span.lo` | Vadim Petrochenkov | -1/+1 | |
| So we can remove the corresponding checks from various code | ||||
| 2019-10-30 | Reduce ammount of errors given unclosed delimiter | Esteban Küber | -2/+9 | |
| When in a file with a non-terminated item, catch the error and consume the block instead of trying to recover it more granularly in order to reduce the amount of unrelated errors that would be fixed after adding the missing closing brace. Also point out the possible location of the missing closing brace. | ||||
| 2019-10-25 | move Attribute::with_desugared_doc to librustdoc | Mazdak Farrokhzad | -2/+3 | |
| 2019-10-18 | Rollup merge of #65364 - XiangQingW:master, r=estebank | Tyler Mandry | -2/+19 | |
| Collect occurrences of empty blocks for mismatched braces diagnostic Fix #63904 | ||||
| 2019-10-15 | Collect occurrences of for mismatched braces diagnostic | wangxiangqing | -1/+1 | |
| Change-Id: I20ba0b62308370ee961141fa1aefc4b9c9f0cb3a | ||||
| 2019-10-15 | syntax::parse::sess -> syntax::sess | Mazdak Farrokhzad | -1/+1 | |
| 2019-10-13 | Collect occurrences of for mismatched braces diagnostic | wangxiangqing | -1/+4 | |
| Change-Id: I20ba0b62308370ee961141fa1aefc4b9c9f0cb3a | ||||
| 2019-10-13 | Collect occurrences of for mismatched braces diagnostic | wangxiangqing | -2/+16 | |
| Change-Id: I20ba0b62308370ee961141fa1aefc4b9c9f0cb3a | ||||
| 2019-09-30 | Added backticks for one diagnostic message. | Alexander Regueiro | -1/+1 | |
| 2019-09-17 | Replace DiagnosticBuilder with Diagnostic when emitting error | Mark Rousskov | -0/+1 | |
| 2019-09-07 | Apply suggestions from code review | Alexander Regueiro | -1/+1 | |
| 2019-09-07 | Aggregation of cosmetic changes made during work on REPL PRs: libsyntax | Alexander Regueiro | -8/+9 | |
| 2019-08-21 | fix rebase | Esteban Küber | -1/+1 | |
| 2019-08-21 | Formatting | Esteban Küber | -24/+45 | |
| 2019-08-21 | Add terminal_width debugging flag | Esteban Küber | -1/+8 | |
| 2019-08-19 | glue tokens when building token stream | Aleksey Kladov | -8/+32 | |
| 2019-08-19 | remove composite tokens support from the lexer | Aleksey Kladov | -37/+20 | |
| 2019-08-18 | Auto merge of #62948 - matklad:failable-file-loading, r=petrochenkov | bors | -66/+15 | |
| Normalize newlines when loading files Fixes #62865 | ||||
| 2019-08-15 | syntax_pos: Remove the duplicate global edition | Vadim Petrochenkov | -28/+4 | |
| It was introduced to avoid going through `hygiene_data`, but now it's read only once, when `ParseSess` is created, so going through a lock is ok. | ||||
| 2019-08-15 | syntax_pos: `NO_EXPANSION`/`SyntaxContext::empty()` -> `SyntaxContext::root()` | Vadim Petrochenkov | -9/+8 | |
| For consistency with `ExpnId::root`. Also introduce a helper `Span::with_root_ctxt` for creating spans with `SyntaxContext::root()` context | ||||
| 2019-08-14 | remove special handling of \r\n from the lexer | Aleksey Kladov | -66/+15 | |
| 2019-08-05 | add unknown token | Aleksey Kladov | -2/+2 | |
| 2019-08-05 | remove special code path for unknown tokens | Aleksey Kladov | -60/+13 | |
| 2019-08-02 | libsyntax: Unconfigure tests during normal build | Vadim Petrochenkov | -310/+308 | |
| 2019-07-31 | cleanup StringReader fields | Aleksey Kladov | -12/+11 | |
| 2019-07-27 | syntax_ext: `proc_macro_decls` -> `proc_macro_harness` | Vadim Petrochenkov | -1/+2 | |
| Few other minor renamings for consistency. Remove one unused dependency from `rustc_passes`. Fix libsyntax tests. Fix rebase. | ||||
| 2019-07-25 | review comments: add FIXME comments and formatting | Esteban Küber | -8/+21 | |
| 2019-07-24 | Allow lexer to recover from some homoglyphs | Esteban Küber | -33/+37 | |
| 2019-07-23 | Rollup merge of #62851 - matklad:unescape, r=petrochenkov | Mark Rousskov | -1/+1 | |
| move unescape module to rustc_lexer It makes sense to keep the definition of escape sequences closer to the lexer itself, and it is also a bit of code that I would like to share with rust-analyzer. r? @petrochenkov | ||||
| 2019-07-22 | Rollup merge of #62870 - matklad:issue-62863, r=petrochenkov | Mazdak Farrokhzad | -1/+1 | |
| fix lexing of comments with many \r closes #62863 | ||||
| 2019-07-22 | fix lexing of comments with many \r | Aleksey Kladov | -1/+1 | |
| closes #62863 | ||||
| 2019-07-21 | Fix typo in Unicode character name | Andrew Dassonville | -1/+1 | |
| 2019-07-21 | move unescape module to rustc_lexer | Aleksey Kladov | -1/+1 | |
| 2019-07-20 | Introduce rustc_lexer | Aleksey Kladov | -1247/+531 | |
| The idea here is to make a reusable library out of the existing rust-lexer, by separating out pure lexing and rustc-specific concerns, like spans, error reporting an interning. So, rustc_lexer operates directly on `&str`, produces simple tokens which are a pair of type-tag and a bit of original text, and does not report errors, instead storing them as flags on the token. | ||||
| 2019-07-16 | normalize use of backticks in compiler messages for libsyntax/parse | Samy Kacimi | -1/+1 | |
| https://github.com/rust-lang/rust/issues/60532 | ||||
| 2019-07-10 | Replace src: &mut dyn Read with String | Mark Rousskov | -4/+1 | |
| 2019-07-07 | syntax: Pre-intern names of all built-in macros | Vadim Petrochenkov | -1/+1 | |
| They always end up interned anyway | ||||
| 2019-07-06 | Rollup merge of #62329 - matklad:no-peeking, r=petrochenkov | Mazdak Farrokhzad | -156/+93 | |
| Remove support for 1-token lookahead from the lexer `StringReader` maintained `peek_token` and `peek_span_src_raw` for look ahead. `peek_token` was used only by rustdoc syntax coloring. After moving peeking logic into highlighter, I was able to remove `peek_token` from the lexer. I tried to use `iter::Peekable`, but that wasn't as pretty as I hoped, due to buffered fatal errors. So I went with hand-rolled peeking. After that I've noticed that the only peeking behavior left was for raw tokens to test tt jointness. I've rewritten it in terms of trivia tokens, and not just spans. After that it became possible to simplify the awkward constructor of the lexer, which could return `Err` if the first peeked token contained error. | ||||
| 2019-07-05 | Rollup merge of #62292 - Centril:split-async-closures, r=cramertj | Mazdak Farrokhzad | -0/+1 | |
| Move `async || ...` closures into `#![feature(async_closure)]` The `async || expr` syntax is moved out from `#![feature(async_await)]` into its own gate `#![feature(async_closure)]`. New tracking issue: https://github.com/rust-lang/rust/issues/62290 Closes https://github.com/rust-lang/rust/issues/62214. cc https://github.com/rust-lang/rust/issues/62149 r? @varkor | ||||
| 2019-07-04 | make unwrap_or_abort non-generic again | Aleksey Kladov | -1/+1 | |
| 2019-07-04 | remove unused mk_sp_and_raw | Aleksey Kladov | -10/+3 | |
| 2019-07-04 | don't rely on spans when checking tokens for jointness | Aleksey Kladov | -47/+29 | |
