Mark Wielaard <m...@klomp.org> 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
> 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

Hi Mark,

Sent to GH: https://github.com/Rust-GCC/gccrs/pull/530

Thanks :)
Marc
-- 
Gcc-rust mailing list
Gcc-rust@gcc.gnu.org
https://gcc.gnu.org/mailman/listinfo/gcc-rust

Reply via email to