diff options
author | Philip Herron <philip.herron@embecosm.com> | 2022-02-17 13:23:18 +0000 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2022-02-17 13:28:25 +0000 |
commit | 4c70d7ec770d226bf9ad59b4f03897f6fb10df15 (patch) | |
tree | 8b7516086e531504e04ad03420af4668be0b29ee /gcc/rust/resolve/rust-ast-resolve.cc | |
parent | 19c5dde80f28c67f657775f770922783faff4b89 (diff) | |
download | gcc-4c70d7ec770d226bf9ad59b4f03897f6fb10df15.zip gcc-4c70d7ec770d226bf9ad59b4f03897f6fb10df15.tar.gz gcc-4c70d7ec770d226bf9ad59b4f03897f6fb10df15.tar.bz2 |
Support block expressions within macros
When we parse DelimTokenTree's the delimiter's are synthesised when we
ask for the token stream which results in tokens lacking location info.
This removes the hack by adding the actual tokens from the lexer into the
stream.
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve.cc')
0 files changed, 0 insertions, 0 deletions