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

Compilation failure with --features peg/trace #277

Closed
JohnEmhoff opened this issue Nov 23, 2021 · 2 comments
Closed

Compilation failure with --features peg/trace #277

JohnEmhoff opened this issue Nov 23, 2021 · 2 comments

Comments

@JohnEmhoff
Copy link

JohnEmhoff commented Nov 23, 2021

I get this error when trying to run with cargo run --features peg/trace:

error[E0425]: cannot find value `min_prec` in this scope
   --> src/ast.rs:221:1
    |
221 | / peg::parser! {
222 | |     pub grammar parser() for [Token] {
223 | |         rule ident() -> String=
224 | |             [Token::Ident(s)] { s } / expected!("identifier")
...   |
356 | |
357 | | }
    | |_^ not found in this scope

I stared at the code for a bit to try to help diagnose but I don't think my rust macro-fu is anywhere near up to the task, unfortunately.

@kevinmehall
Copy link
Owner

Thanks for reporting! Added testing with trace in GitHub Actions and fixed another regression there that had been added since 0.7.

@JohnEmhoff
Copy link
Author

Thanks for the quick turnaround! And thanks for the library too, it's great.

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

2 participants