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

Introduce a less fragile Parser API. #114

Merged
merged 8 commits into from
May 14, 2019
Merged

Conversation

eddyb
Copy link
Member

@eddyb eddyb commented May 14, 2019

Based on #113, do not merge yet.

Instead of the generated code poking at runtime's data structures, it now relies on methods of Parser, which should be less easy to misuse.
This also removed fn_input, which was hackily used as a microoptimization, and broke after #107.

Copy link
Contributor

@CAD97 CAD97 left a comment

Choose a reason for hiding this comment

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

All the steps LGTM.

Is it possible to add a test that fails on master but is fixed by the fn_input removal?

@CAD97 CAD97 merged commit 062f619 into rust-lang:master May 14, 2019
@eddyb eddyb deleted the parser-api branch May 14, 2019 16:44
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

Successfully merging this pull request may close these issues.

2 participants