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

Add Makefile tests for upgraded grammar: comma, comment, shebang #154625

Merged
merged 2 commits into from
Jul 12, 2022
Merged

Add Makefile tests for upgraded grammar: comma, comment, shebang #154625

merged 2 commits into from
Jul 12, 2022

Conversation

fadeevab
Copy link
Contributor

@fadeevab fadeevab commented Jul 9, 2022

This PR contains tests for recently fixed issues in Makefile grammar:

  1. Makefile grammar for function call separator syntax #132473
  2. Makefile syntax highlighting incorrectly highlights string as comment #143272

Upgraded Makefile grammar in the upstream additionally contains an improvement:

@alexr00 Hi! Long time no see! Please, pull the upgraded Makefile grammar from the upstream, and AFTER that merge this PR into the main branch, it contains new relevant tests.

1. Add comma separator for function calls and conditions.
2. Escaping a comment with an odd count of backslashes (\#, \\\#).
3. Match debian/rules files based on shebang.
@fadeevab
Copy link
Contributor Author

fadeevab commented Jul 9, 2022

So, yes, tests should fail until the Makefile grammar is updated from the upstream.

@alexr00 alexr00 assigned alexr00 and unassigned aeschli Jul 11, 2022
@alexr00 alexr00 added this to the July 2022 milestone Jul 11, 2022
Copy link
Member

@alexr00 alexr00 left a comment

Choose a reason for hiding this comment

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

@fadeevab thank you for the new tests!

@alexr00 alexr00 merged commit 491a834 into microsoft:main Jul 12, 2022
andreamah pushed a commit that referenced this pull request Jul 14, 2022
…4625)

Add Makefile tests for upgraded grammar: comma, comment, shebang.

1. Add comma separator for function calls and conditions.
2. Escaping a comment with an odd count of backslashes (\#, \\\#).
3. Match debian/rules files based on shebang.

Co-authored-by: Alex Ross <alros@microsoft.com>
@github-actions github-actions bot locked and limited conversation to collaborators Aug 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants