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

include line numbers in AST nodes #72

Closed
mcandre opened this issue Apr 9, 2023 · 2 comments
Closed

include line numbers in AST nodes #72

mcandre opened this issue Apr 9, 2023 · 2 comments

Comments

@mcandre
Copy link
Owner

mcandre commented Apr 9, 2023

This is important for providing line numbers in linter messages.

kevinmehall/rust-peg#223

@mcandre
Copy link
Owner Author

mcandre commented Apr 9, 2023

Check if constructing a ParseError object is sufficient to extract this information. Ideally as a reusable macro or function.

@mcandre
Copy link
Owner Author

mcandre commented Apr 9, 2023

@mcandre mcandre closed this as completed Apr 10, 2023
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