diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-03-30 11:21:32 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-03-31 11:48:34 +1100 |
| commit | 21699c41af325786cbda1dba2379710f98613c68 (patch) | |
| tree | 48bd5c502259f52806272ea9ba2eb5571aac647f /compiler/rustc_codegen_llvm/src | |
| parent | c5cf08d37b85f953b132951e868df5b924250fdc (diff) | |
| download | rust-21699c41af325786cbda1dba2379710f98613c68.tar.gz rust-21699c41af325786cbda1dba2379710f98613c68.zip | |
Simplify exit of `Delimited` submatchers.
Currently, we detect an exit from a `Delimited` submatcher when `idx` exceeds the bounds of the current submatcher *and* there is a `stack` entry. This commit changes it to something simpler: just look for a `CloseDelim` token.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
