Skip to content
This repository was archived by the owner on Mar 4, 2024. It is now read-only.

Conversation

@sdroege
Copy link
Member

@sdroege sdroege commented Dec 9, 2020

Backport of gtk-rs/gtk4-rs#103

This is a rewrite of the attribute parser in gtk3-macros. It will now print clear error messages that are annotated at the correct span.
@@ -0,0 +1,180 @@
use proc_macro2::Span;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No header in this crate?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's how it apparently always was. So we need to fix that after this PR, and also in gtk4 (CC @bilelmoussaoui )

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I'll let you open the issue then. ;)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah you said I should, ok!

@GuillaumeGomez
Copy link
Member

Thanks!

@GuillaumeGomez GuillaumeGomez merged commit aee22f5 into gtk-rs:master Dec 9, 2020
@sdroege sdroege deleted the macro-parser-improvements branch December 9, 2020 14:08
@sdroege
Copy link
Member Author

sdroege commented Dec 9, 2020

@GuillaumeGomez You create an issue?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

3 participants