- 28 6月, 2022 1 次提交
-
-
由 Proloy Mishra 提交于
-
- 24 3月, 2022 1 次提交
-
-
由 Grisha Vartanyan 提交于
-
- 16 3月, 2022 1 次提交
-
-
由 Grisha 提交于
-
- 24 2月, 2022 1 次提交
-
-
由 Nicholas Nethercote 提交于
`scan_escape` currently has a fast path (for when the first char isn't '\\') and a slow path. This commit changes `scan_escape` so it only handles the slow path, i.e. the actual escaping code. The fast path is inlined into the two call sites. This change makes the code faster, because there is no function call overhead on the fast path. (`scan_escape` is a big function and doesn't get inlined.) This change also improves readability, because it removes a bunch of mode checks on the the fast paths.
-
- 02 12月, 2021 1 次提交
-
-
由 Julian Wollersberger 提交于
and optimize the iterator returned by `tokenize(). This improves lexer performance by 35%
-
- 24 11月, 2021 2 次提交
-
-
由 Esteban Kuber 提交于
-
由 Esteban Kuber 提交于
In the lexer, consider emojis to be valid identifiers and reject them later to avoid knock down parse errors.
-
- 06 11月, 2021 1 次提交
-
-
由 Matthias Krüger 提交于
-
- 15 10月, 2021 1 次提交
-
-
由 Matthias Krüger 提交于
The PR had some unforseen perf regressions that are not as easy to find. Revert the PR for now. This reverts commit 6ae8912a, reversing changes made to 86d6d2b7.
-
- 10 10月, 2021 1 次提交
-
-
由 Clemens Wasser 提交于
-
- 22 8月, 2021 1 次提交
-
-
由 Frank Steffahn 提交于
-
- 11 8月, 2021 2 次提交
-
-
由 Anton Golov 提交于
-
由 Anton Golov 提交于
-
- 30 7月, 2021 1 次提交
-
-
由 Anton Golov 提交于
-
- 27 7月, 2021 1 次提交
-
-
由 Ibraheem Ahmed 提交于
-
- 26 6月, 2021 3 次提交
-
-
由 Mara Bos 提交于
-
由 Mara Bos 提交于
Co-authored-by: NNiko Matsakis <niko@alum.mit.edu>
-
由 lrh2000 提交于
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
-
- 09 4月, 2021 1 次提交
-
-
由 pierwill 提交于
Changes `librustc_X` to `rustc_X`, only in documentation comments. Plain code comments are left unchanged. Also fix incorrect file paths.
-
- 07 1月, 2021 1 次提交
-
-
由 Hanzhen Liang 提交于
-
- 18 12月, 2020 1 次提交
-
-
由 Hirochika Matsumoto 提交于
-
- 04 12月, 2020 1 次提交
-
-
由 Joshua Nelson 提交于
-
- 30 10月, 2020 2 次提交
-
-
由 Joshua Nelson 提交于
-
由 Joshua Nelson 提交于
-
- 09 10月, 2020 1 次提交
-
-
由 Julian Wollersberger 提交于
Fixed it by inlining it in the two places where the count is used and simplified the logic there.
-
- 21 9月, 2020 1 次提交
-
-
由 LingMan 提交于
Also add an Oxford comma while we're editing that line.
-
- 02 9月, 2020 1 次提交
-
-
由 Vadim Petrochenkov 提交于
Lexer now discerns between regular comments and doc comments, so use that. The change only affects the choice of reported errors.
-
- 31 8月, 2020 1 次提交
-
-
由 Aleksey Kladov 提交于
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.
-
- 30 8月, 2020 1 次提交
-
-
由 mark 提交于
-