diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-12-04 15:36:49 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-12-19 16:05:41 +1100 |
| commit | fb5ba8a6d49d1ed46cfdaa12ac6ee7002eb7d8fd (patch) | |
| tree | ca33c84c749690239e8e1e57383ccfc5e7afee8f /compiler/rustc_expand/src/proc_macro_server.rs | |
| parent | 48f7714819525ec5b361ea480eaecea61620a56b (diff) | |
| download | rust-fb5ba8a6d49d1ed46cfdaa12ac6ee7002eb7d8fd.tar.gz rust-fb5ba8a6d49d1ed46cfdaa12ac6ee7002eb7d8fd.zip | |
Tweak some parser `check`/`eat` methods.
The most significant is `check_keyword`: it now only pushes to `expected_token_types` if the keyword check fails, which matches how all the other `check` methods work. The remainder are just tweaks to make these methods more consistent with each other.
Diffstat (limited to 'compiler/rustc_expand/src/proc_macro_server.rs')
0 files changed, 0 insertions, 0 deletions
