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

Attach location to constants #1749

Merged
merged 11 commits into from
Sep 8, 2021
Merged

Attach location to constants #1749

merged 11 commits into from
Sep 8, 2021

Conversation

gpetiot
Copy link
Collaborator

@gpetiot gpetiot commented Jul 28, 2021

No diff with test_branch.sh

This allows us to remove all the code that parses the tokens extracted from Source.ml to retrieve the location.
Upstream PR: ocaml/ocaml#10544

@gpetiot gpetiot added the no changelog set this to bypass the CI check for changelog entries label Jul 28, 2021
@gpetiot gpetiot requested review from hhugo, jberdine and Julow July 28, 2021 13:16
@gpetiot
Copy link
Collaborator Author

gpetiot commented Sep 1, 2021

I think we can assume this change won't be upstreamed so it's ready to be reviewed here.

Copy link
Collaborator

@jberdine jberdine left a comment

Choose a reason for hiding this comment

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

This is a nice simplification! The code looks good to me.

vendor/ocaml-4.13-extended/parser.mly Outdated Show resolved Hide resolved
@gpetiot
Copy link
Collaborator Author

gpetiot commented Sep 6, 2021

I will wait for #1783 to be merged before merging this one

Copy link
Collaborator

@Julow Julow left a comment

Choose a reason for hiding this comment

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

Looks good :)

@gpetiot gpetiot merged commit 6199fd9 into ocaml-ppx:main Sep 8, 2021
@gpetiot gpetiot deleted the loc-constants branch September 8, 2021 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no changelog set this to bypass the CI check for changelog entries
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants