Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the parser for syn-0.15 #17

Closed
lukaslueg opened this issue Oct 3, 2018 · 1 comment
Closed

Update the parser for syn-0.15 #17

lukaslueg opened this issue Oct 3, 2018 · 1 comment

Comments

@lukaslueg
Copy link
Owner

lukaslueg commented Oct 3, 2018

Our parser for macro_rules!()-syntax uses syn, which has recently bumped to 0.15, bringing a lot of changes. Rewrite the parser for syn-0.15.

The current parser for macro_rules!()-bodies is using syn-0.14. It does have some unresolved issues (1,2,3) which need fixing anyway.

One can use the existing tests (cargo test) as the last line of defense - those should parse in any case. A more comprehensive test is accessed via cargo test -- --ignored, which parses, builds and verifies a large number of macros. One can also use cargo run --example various to quickly generate a large number of examples.

@lukaslueg
Copy link
Owner Author

closed via #19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant