| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-11-10 | move syntax::parse -> librustc_parse | Mazdak Farrokhzad | -392/+0 | |
| also move MACRO_ARGUMENTS -> librustc_parse | ||||
| 2019-11-07 | syntax::parser::token -> syntax::token | Mazdak Farrokhzad | -1/+1 | |
| 2019-08-15 | syntax_pos: `NO_EXPANSION`/`SyntaxContext::empty()` -> `SyntaxContext::root()` | Vadim Petrochenkov | -4/+3 | |
| For consistency with `ExpnId::root`. Also introduce a helper `Span::with_root_ctxt` for creating spans with `SyntaxContext::root()` context | ||||
| 2019-07-25 | review comments: add FIXME comments and formatting | Esteban Küber | -4/+10 | |
| 2019-07-24 | Allow lexer to recover from some homoglyphs | Esteban Küber | -32/+33 | |
| 2019-07-21 | Fix typo in Unicode character name | Andrew Dassonville | -1/+1 | |
| 2019-07-20 | Introduce rustc_lexer | Aleksey Kladov | -24/+17 | |
| 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-02 | refactor check_for_substitution | Aleksey Kladov | -45/+72 | |
| No behavior change, just flatter and simpler code | ||||
| 2019-02-16 | help suggestion when trying to delimit string literals with directed unicode ↵ | Patrick McCarter | -9/+22 | |
| quotes #58436 | ||||
| 2019-02-13 | Rename rustc_errors dependency in rust 2018 crates | Taiki Endo | -1/+1 | |
| 2019-02-07 | libsyntax => 2018 | Taiki Endo | -1/+1 | |
| 2019-01-26 | remove `_with_applicability` from suggestion fns | Andy Russell | -1/+1 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+0 | |
| 2018-12-04 | cleanup: remove static lifetimes from consts | ljedrz | -1/+1 | |
| 2018-08-20 | Set applicability for more suggestions. | Sébastien Duquette | -2/+6 | |
| 2018-08-13 | A few cleanups and minor improvements for the lexer | ljedrz | -1/+1 | |
| 2018-06-09 | Crate-ify and delete unused code in syntax::parse | Mark Simulacrum | -1/+1 | |
| 2018-05-26 | Fix test | Esteban Küber | -2/+4 | |
| 2018-05-25 | in which we check for confusable Unicodepoints in float literal exponent | Zack M. Davis | -2/+2 | |
| The `FatalError.raise()` might seem unmotivated (in most places in the compiler, `err.emit()` suffices), but it's actually used to maintain behavior (viz., stop lexing, don't emit potentially spurious errors looking for the next token after the bad Unicodepoint in the exponent): the previous revision's `self.err_span_` ultimately calls `Handler::emit`, which aborts if the `Handler`'s continue_after_error flag is set, which seems to typically be true during lexing (see `phase_1_parse_input` and and how `CompileController::basic` has `continue_parse_after_error: false` in librustc_driver). Also, let's avoid apostrophes in error messages (the present author would argue that users expect a reassuringly detached, formal, above-it-all tone from a Serious tool like a compiler), and use an RLS-friendly structured suggestion. Resolves #49746. | ||||
| 2017-10-13 | Fix typo in libsyntax/parse/lexer/unicode_chars.rs | kennytm | -1/+1 | |
| ` (U+0060) should be the "grave" accent, not "Greek" accent. | ||||
| 2017-08-30 | Make fields of `Span` private | Vadim Petrochenkov | -1/+1 | |
| 2017-08-11 | Rollup merge of #43779 - mattico:fix-unicode-typo, r=aidanhs | Guillaume Gomez | -1/+1 | |
| Fix typo in unicode char definition Reference: http://www.fileformat.info/info/unicode/char/16ed/index.htm | ||||
| 2017-08-09 | Fix typo in unicode char definition | Matt Ickstadt | -1/+1 | |
| 2017-08-09 | fix a typo | nicole mazzuca | -1/+1 | |
| (this should not have been merged with this typo) | ||||
| 2017-08-06 | Fix typo in unicode_chars.rs | Malo Jaffré | -1/+1 | |
| 2017-08-06 | Update the list of confusable characters | Malo Jaffré | -19/+125 | |
| Also reorder and space the list to make it clearer for futures updates and to come closer to the original list. Thanks @est31 for the instructions. Fixes #43629. r? @est31 | ||||
| 2017-05-20 | remove "much" from unicode diagnostic | Andy Russell | -1/+1 | |
| 2017-03-29 | Refactor how spans are combined in the parser. | Jeffrey Seyfried | -2/+2 | |
| 2017-01-17 | Give the `StringReader` a `sess: &ParseSess`. | Jeffrey Seyfried | -4/+2 | |
| 2016-10-05 | Rename StringReader::last_pos as pos. | Nicholas Nethercote | -1/+1 | |
| This is a [breaking-change] for libsyntax. | ||||
| 2016-10-05 | Rename StringReader::pos as next_pos. | Nicholas Nethercote | -1/+1 | |
| This is a [breaking-change] for libsyntax. | ||||
| 2016-06-23 | Move errors from libsyntax to its own crate | Jonathan Turner | -1/+1 | |
| 2016-04-21 | add more confusable CJK square bracket aliases | Wang Xuerui | -0/+12 | |
| 2016-04-21 | correct aliases for square brackets | Wang Xuerui | -6/+8 | |
| 2016-04-21 | add confusable space characters | Wang Xuerui | -0/+17 | |
| 2016-04-21 | add more characters easily inputtable with CJK IMEs | Wang Xuerui | -0/+16 | |
| 2015-12-30 | use structured errors | Nick Cameron | -2/+5 | |
| 2015-11-18 | Add some unicode aliases for ". | Huon Wilson | -0/+17 | |
| 2015-11-17 | Detect confusing unicode characters and show the alternative | Ravi Shankar | -0/+186 | |
