about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2022-03-30 11:21:32 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2022-03-31 11:48:34 +1100
commit21699c41af325786cbda1dba2379710f98613c68 (patch)
tree48bd5c502259f52806272ea9ba2eb5571aac647f /compiler/rustc_codegen_llvm/src
parentc5cf08d37b85f953b132951e868df5b924250fdc (diff)
downloadrust-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