about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorBrendan Zabarauskas <bjzaba@yahoo.com.au>2014-10-29 21:37:54 +1100
committerBrendan Zabarauskas <bjzaba@yahoo.com.au>2014-10-30 09:35:52 +1100
commit936d999b5270d186df28123a5dbd6d2bb848bb2c (patch)
tree53d5066fa43b14b51fa6fb326dd8a5a7ccd8295e /src/rustllvm/RustWrapper.cpp
parent77f44d4a7bf14805fda5fc41310a6aeffda30fd4 (diff)
downloadrust-936d999b5270d186df28123a5dbd6d2bb848bb2c.tar.gz
rust-936d999b5270d186df28123a5dbd6d2bb848bb2c.zip
Use common variants for open and close delimiters
This common representation for delimeters should make pattern matching easier. Having a separate `token::DelimToken` enum also allows us to enforce the invariant that the opening and closing delimiters must be the same in `ast::TtDelimited`, removing the need to ensure matched delimiters when working with token trees.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions