Skip to content

Conversation

@Luni-4
Copy link
Collaborator

@Luni-4 Luni-4 commented Jan 13, 2022

This PR fixes #756 and #49

@Luni-4 Luni-4 requested a review from marco-c January 13, 2022 12:15
@marco-c
Copy link
Collaborator

marco-c commented Jan 13, 2022

Did you try running the minimal tests stuff to see if there are differences?

@marco-c
Copy link
Collaborator

marco-c commented Jan 13, 2022

Maybe we should update the mozcpp version to trigger the test on CI?

Copy link
Collaborator

@calixteman calixteman left a comment

Choose a reason for hiding this comment

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

It's useless now.

@marco-c
Copy link
Collaborator

marco-c commented Jan 13, 2022

It's useless now.

It seems there are differences in the metrics, so the changes were not fully integrated upstream

@calixteman
Copy link
Collaborator

Normally it has been, but probably some other changes are responsible for this variations.

@calixteman
Copy link
Collaborator

I check ts-cpp repo and my changed have been merged.
An other PR superseded them but the tests I wrote for my PR are of course still there:
https://github.com/tree-sitter/tree-sitter-cpp/blob/e8dcc9d2b404c542fd236ea5f7208f90be8a6e89/test/corpus/declarations.txt#L539-L543
So the operator bug is definitely fixed (the code Luni removed in this patch aimed to fix some issues with whitespaces in operator definition).
So from my pov, this PR is safe, or I missed something ;).

@marco-c
Copy link
Collaborator

marco-c commented Jan 13, 2022

All right, sounds good then.

@marco-c marco-c merged commit 3eb8960 into master Jan 13, 2022
@marco-c marco-c deleted the remove-grammar branch January 13, 2022 18:59
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.

Drop no longer needed modification of the C++ grammar

4 participants