| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-04-12 | Change the hashcounts in raw `Lit` variants from usize to u16. | Nicholas Nethercote | -3/+3 | |
| This reduces the size of `Token` from 32 bytes to 24 bytes on 64-bit platforms. | ||||
| 2018-04-12 | Deprecate the std_unicode crate | Simon Sapin | -1/+1 | |
| 2018-04-10 | Auto merge of #49390 - Zoxc:sync-syntax, r=michaelwoerister | bors | -5/+4 | |
| More thread-safety changes r? @michaelwoerister | ||||
| 2018-04-06 | Use `Span` instead of `SyntaxContext` in `Ident` | Vadim Petrochenkov | -1/+1 | |
| 2018-03-28 | Make ParseSess thread-safe | John Kåre Alsaker | -5/+4 | |
| 2018-03-18 | Move raw_identifiers check to the lexer. | Lymia Aluysia | -0/+4 | |
| 2018-03-18 | Feature gate raw identifiers. | Lymia Aluysia | -0/+1 | |
| 2018-03-18 | Initial implementation of RFC 2151, Raw Identifiers | Lymia Aluysia | -23/+46 | |
| 2018-03-18 | Auto merge of #48917 - petrochenkov:import, r=oli-obk | bors | -1/+1 | |
| syntax: Make imports in AST closer to the source and cleanup their parsing This is a continuation of https://github.com/rust-lang/rust/pull/45846 in some sense. | ||||
| 2018-03-17 | Rename `Span::empty` to `Span::shrink_to_lo`, add `Span::shrink_to_hi` | Vadim Petrochenkov | -1/+1 | |
| 2018-03-17 | syntax: Make `_` an identifier | Vadim Petrochenkov | -10/+4 | |
| 2018-03-15 | Use a single Lock for CodeMap.stable_id_to_filemap and CodeMap.files | John Kåre Alsaker | -1/+1 | |
| 2018-03-14 | Remove syntax and syntax_pos thread locals | John Kåre Alsaker | -116/+143 | |
| 2018-03-08 | Move REGISTERED_DIAGNOSTICS to a ParseSess field | John Kåre Alsaker | -0/+3 | |
| 2018-03-04 | Add note for unterminated raw string error | Guillaume Gomez | -8/+25 | |
| 2018-03-02 | Replace Rc with Lrc for shared data | John Kåre Alsaker | -22/+20 | |
| 2018-02-01 | Improve char escaping in lexer messages | Ryan Cumming | -12/+19 | |
| Currently ', " and \ are escaped as \', \" and \\ respectively. This leads to confusing messages such as `error: unknown start of token: \\` when encountering a single backslash. Fix by emitting printable ASCII characters directly. This will still escape \r, \n, \t and Unicode characters. Fixes #47902 | ||||
| 2018-01-29 | Toggle span highlighting on `-Zteach` | Esteban Küber | -0/+1 | |
| 2018-01-26 | Do not capture stderr in the compiler. Instead just panic silently for fatal ↵ | John Kåre Alsaker | -34/+33 | |
| errors | ||||
| 2017-12-19 | Implement non-mod.rs mod statements | Taylor Cramer | -0/+1 | |
| 2017-12-14 | When attempting to write str with single quote suggest double quotes | Esteban Küber | -1/+27 | |
| 2017-12-14 | Use PathBuf instead of String where applicable | Oliver Schneider | -1/+2 | |
| 2017-12-07 | address comments | Agustin Chiappe Berrini | -1/+1 | |
| 2017-12-06 | and refactor to just move the checking | Agustin Chiappe Berrini | -13/+1 | |
| 2017-11-28 | Fix hygiene bug. | Jeffrey Seyfried | -3/+10 | |
| 2017-11-03 | Display spans correctly when there are non-half-width characters | Wonwoo Choi | -0/+1 | |
| 2017-10-20 | Add short message-format | Guillaume Gomez | -1/+3 | |
| 2017-09-22 | Add support for `..=` syntax | Alex Burka | -0/+3 | |
| Add ..= to the parser Add ..= to libproc_macro Add ..= to ICH Highlight ..= in rustdoc Update impl Debug for RangeInclusive to ..= Replace `...` to `..=` in range docs Make the dotdoteq warning point to the ... Add warning for ... in expressions Updated more tests to the ..= syntax Updated even more tests to the ..= syntax Updated the inclusive_range entry in unstable book | ||||
| 2017-09-12 | Auto merge of #43716 - MaloJaffre:_-in-literals, r=petrochenkov | bors | -40/+47 | |
| Accept underscores in unicode escapes Fixes #43692. I don't know if this need an RFC, but at least the impl is here! | ||||
| 2017-08-30 | Make fields of `Span` private | Vadim Petrochenkov | -18/+10 | |
| 2017-08-17 | Accept underscores in unicode escapes | Malo Jaffré | -40/+47 | |
| Fixes #43692. | ||||
| 2017-08-15 | use field init shorthand EVERYWHERE | Zack M. Davis | -5/+5 | |
| Like #43008 (f668999), but _much more aggressive_. | ||||
| 2017-07-05 | Merge remote-tracking branch 'origin/master' into proc_macro_api | Alex Crichton | -1/+1 | |
| 2017-06-29 | Change some terminology around keywords and reserved identifiers | petrochenkov | -1/+1 | |
| 2017-06-26 | Address review comments. | Jeffrey Seyfried | -1/+1 | |
| 2017-06-26 | Simplify `hygiene::Mark` application, and | Jeffrey Seyfried | -20/+22 | |
| remove variant `Token::SubstNt` in favor of `quoted::TokenTree::MetaVar`. | ||||
| 2017-06-06 | Auto merge of #41990 - ↵ | bors | -0/+9 | |
| qnighy:disallow-underscore-suffix-for-string-like-literals, r=nikomatsakis Disallow underscore suffix for string-like literals. This patch turns string/bytestring/char/byte literals followed by an underscore, like `"Foo"_`, to an error. `scan_optional_raw_name` will parse `_` as a valid raw name, but it will be rejected by the parser. I also considered just stopping parsing when the suffix is `_`, but in that case `"Foo"_` will be lexed as two valid tokens. Fixes the latter half of #41723. | ||||
| 2017-05-31 | Add warning cycle #42326. | Masaki Hara | -1/+14 | |
| 2017-05-16 | Rollup merge of #41957 - llogiq:clippy-libsyntax, r=petrochenkov | Mark Simulacrum | -61/+61 | |
| Fix some clippy warnings in libsyntax This is mostly removing stray ampersands, needless returns and lifetimes. Basically a lot of small changes. | ||||
| 2017-05-14 | Disallow underscore suffix for string-like literals. | Masaki Hara | -5/+1 | |
| 2017-05-12 | Fix some clippy warnings in libsyntax | Andre Bogus | -61/+61 | |
| This is mostly removing stray ampersands, needless returns and lifetimes. | ||||
| 2017-05-12 | Disallow ._ in float literal. | Masaki Hara | -3/+1 | |
| 2017-05-08 | Allow bare CR in ////-style comment. | Masaki Hara | -1/+1 | |
| 2017-05-04 | Remove use of `Self: Sized` from libsyntax | Tommy Ip | -1/+1 | |
| The bound is not required for compiling but it prevents using `next_token()` from a trait object. Fixes #33506. | ||||
| 2017-04-26 | Implement a file-path remapping feature in support of debuginfo and ↵ | Michael Woerister | -16/+16 | |
| reproducible builds. | ||||
| 2017-03-29 | Refactor how spans are combined in the parser. | Jeffrey Seyfried | -19/+23 | |
| 2017-03-18 | Parse 0e+10 as a valid floating-point literal | topecongiro | -1/+1 | |
| Fixes issue #40408. | ||||
| 2017-02-28 | Add warning cycle. | Jeffrey Seyfried | -0/+2 | |
| 2017-02-28 | rustc_save_analysis: don't pollute the codemap with fake files. | Eduard Burtescu | -8/+38 | |
| 2017-01-17 | Fix fallout in `rustdoc`. | Jeffrey Seyfried | -3/+3 | |
