Skip to content

[C++] Fix parentheses in macro arguments (#4525)#4534

Open
GreenLightning wants to merge 1 commit into
sublimehq:masterfrom
GreenLightning:fix/parentheses_in_macro_arguments
Open

[C++] Fix parentheses in macro arguments (#4525)#4534
GreenLightning wants to merge 1 commit into
sublimehq:masterfrom
GreenLightning:fix/parentheses_in_macro_arguments

Conversation

@GreenLightning
Copy link
Copy Markdown

Fixes parentheses in macro arguments breaking the syntax highlighting (see #4525).

@michaelblyons
Copy link
Copy Markdown
Collaborator

Maybe pull the pattern out into a variable? Then you don't need as much commenting to describe what you're doing, and anyone adding enhancements to the lookahead can add it to both places at once.

@GreenLightning GreenLightning force-pushed the fix/parentheses_in_macro_arguments branch from 25e4e92 to 908dfac Compare May 12, 2026 09:11
@GreenLightning
Copy link
Copy Markdown
Author

Maybe pull the pattern out into a variable? Then you don't need as much commenting to describe what you're doing, and anyone adding enhancements to the lookahead can add it to both places at once.

I updated the commit. What do you think?

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