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

Use syn and quote crates for the `match_token!` macro… #217

Merged
merged 2 commits into from Oct 18, 2016
Merged

Commits on Oct 18, 2016

  1. Use a hand-written parser a string formatting for the `match_token!` …

    …macro…
    
    … instead of the parser and quasi-quoting from Rust’s (unstable) libsyntax.
    
    This has significantly worse diagnostics when encountering unexpected syntax
    (e.g. no indication of which line has the offending code)
    but this removes all usage of unstable compiler internals
    that constantly need to be fixed when updating the compiler.
    
    Fixes #216.
    SimonSapin committed Oct 18, 2016
  2. Use an actual Rust parser for the match_token! macro.

    SimonSapin committed Oct 18, 2016
You can’t perform that action at this time.