aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-06-27 22:47:58 +0000
committerGitHub <noreply@github.com>2021-06-27 22:47:58 +0000
commitbab6f6bcb299ac42096783cda32b8f11da4288ca (patch)
tree81faf7ad1d57cbc6abe0e7e6405ed4f19ea7fbf4 /gcc/rust/backend
parentf4668ee7ead955ead1e9b9171e661e1c0409cb81 (diff)
parent69ed5eaef43c2997c584347a438b5db8351666d8 (diff)
downloadgcc-bab6f6bcb299ac42096783cda32b8f11da4288ca.zip
gcc-bab6f6bcb299ac42096783cda32b8f11da4288ca.tar.gz
gcc-bab6f6bcb299ac42096783cda32b8f11da4288ca.tar.bz2
Merge #530
530: Fix inner attribute parsing r=philberty a=dkm parse_inner_attribute tried to skip the right square token twice. This caused odd error messages in case there were multiple inner attributes. This bug masked another bug in parse_attr_input where when the (optional) attr input was an assignment to a literal the parser failed to skip the literal. The existing top_attr.rs testcase relied on the two bugs cancelling each other out. Add a new testcase inner_attributes.rs for the first bug. Resolves: https://github.com/Rust-GCC/gccrs/issues/510 Co-authored-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'gcc/rust/backend')
0 files changed, 0 insertions, 0 deletions