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

Avoid syntax collision with EmPy v4 extension markup #1089

Merged
merged 1 commit into from
Mar 7, 2025

Conversation

cottsay
Copy link
Member

@cottsay cottsay commented Mar 6, 2025

In EmPy v4, a double-paren (or double-brace, etc) signifies a "custom extension". Because the content is an expression, we can just add some whitespace after the opening paren to avoid the syntax collision.

In EmPy v4, a double-paren (or double-brace, etc) signifies a "custom
extension". Because the content is an expression, we can just add some
whitespace after the opening paren to avoid the syntax collision.
@cottsay cottsay requested a review from nuclearsandwich March 6, 2025 20:32
@cottsay cottsay self-assigned this Mar 6, 2025
@cottsay cottsay mentioned this pull request Mar 6, 2025
@cottsay cottsay merged commit f13a4d9 into master Mar 7, 2025
24 checks passed
@cottsay cottsay deleted the cottsay/empy-extension-markup branch March 7, 2025 19:04
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