Re: [PATCH] Fix inner attribute parsing

2021-06-27 Thread Marc via Gcc-rust
Mark Wielaard writes: > 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 >

[PATCH] Fix inner attribute parsing

2021-06-27 Thread Mark Wielaard
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