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

Formatter: escape backslashes in macro literals when subformatting #12582

Merged
merged 2 commits into from
Oct 11, 2022

Conversation

asterite
Copy link
Member

@asterite asterite commented Oct 9, 2022

Fixes #12578

@lbguilherme If you can try compiling a compiler with this PR and try formatting you code again to see if it works fine now, it would be great. Thank you!

@lbguilherme
Copy link
Contributor

I confirm this PR solved the issue 👍
Thanks!

@straight-shoota straight-shoota added this to the 1.6.1 milestone Oct 10, 2022
@straight-shoota straight-shoota added the kind:regression Something that used to correctly work but no longer works label Oct 10, 2022
@straight-shoota straight-shoota merged commit 5cf5e5a into master Oct 11, 2022
@straight-shoota straight-shoota deleted the bug/formatter-macro-escape branch October 11, 2022 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug kind:regression Something that used to correctly work but no longer works topic:tools:formatter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression when formatting macros with \\{%
3 participants