| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-10-10 | Apply clippy suggestions | Clemens Wasser | -6/+5 | |
| 2021-08-22 | Fix more “a”/“an” typos | Frank Steffahn | -1/+1 | |
| 2021-08-11 | Renamed variable str -> tail for clarity | Anton Golov | -5/+5 | |
| 2021-08-11 | Warn when an escaped newline skips multiple lines | Anton Golov | -0/+14 | |
| 2021-07-30 | Add warning when whitespace is not skipped after an escaped newline. | Anton Golov | -4/+49 | |
| 2021-07-26 | Remove ASCII fast path from rustc_lexer::{is_id_continue, is_id_start} | Ibraheem Ahmed | -12/+2 | |
| 2021-06-26 | Rename 'bad prefix' to 'unknown prefix'. | Mara Bos | -8/+8 | |
| 2021-06-26 | Improve comments for reserved prefixes. | Mara Bos | -2/+7 | |
| Co-authored-by: Niko Matsakis <niko@alum.mit.edu> | ||||
| 2021-06-26 | Reserve prefixed identifiers and string literals (RFC 3101) | lrh2000 | -5/+12 | |
| This commit denies any identifiers immediately followed by one of three tokens `"`, `'` or `#`, which is stricter than the requirements of RFC 3101 but may be necessary according to the discussion at [Zulip]. [Zulip]: https://rust-lang.zulipchat.com/#narrow/stream/268952-edition-2021/topic/reserved.20prefixes/near/238470099 | ||||
| 2021-04-08 | Fix outdated crate names in compiler docs | pierwill | -3/+3 | |
| Changes `librustc_X` to `rustc_X`, only in documentation comments. Plain code comments are left unchanged. Also fix incorrect file paths. | ||||
| 2021-01-07 | Return EOF_CHAR constant instead of magic char. | Hanzhen Liang | -1/+1 | |
| 2020-12-18 | Fix typo | Hirochika Matsumoto | -1/+1 | |
| 2020-12-03 | Fix some clippy lints | Joshua Nelson | -5/+5 | |
| 2020-10-30 | Add back missing comments | Joshua Nelson | -0/+1 | |
| 2020-10-30 | Fix even more clippy warnings | Joshua Nelson | -6/+4 | |
| 2020-10-09 | Noticed a potential bug in `eat_while()`: it doesn't account for number of ↵ | Julian Wollersberger | -20/+14 | |
| UTF8 bytes. Fixed it by inlining it in the two places where the count is used and simplified the logic there. | ||||
| 2020-09-21 | Fix typo in rustc_lexer docs | LingMan | -1/+1 | |
| Also add an Oxford comma while we're editing that line. | ||||
| 2020-09-02 | lexer: Tiny improvement to shebang detection | Vadim Petrochenkov | -5/+9 | |
| Lexer now discerns between regular comments and doc comments, so use that. The change only affects the choice of reported errors. | ||||
| 2020-08-30 | Move lexer unit tests to rustc_lexer | Aleksey Kladov | -20/+140 | |
| StringReader is an intornal abstraction which at the moment changes a lot, so these unit tests cause quite a bit of friction. Moving them to rustc_lexer and more ingerated-testing style should make them much less annoying, hopefully without decreasing their usefulness much. Note that coloncolon tests are removed (it's unclear what those are testing). \r\n tests are removed as well, as we normalize line endings even before lexing. | ||||
| 2020-08-30 | mv compiler to compiler/ | mark | -0/+1687 | |
