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

Support empty multiline strings #483

Merged
merged 4 commits into from
Jan 18, 2025
Merged

Support empty multiline strings #483

merged 4 commits into from
Jan 18, 2025

Conversation

tabatkins
Copy link
Contributor

Per #481, the grammar doesn't actually allow the first and last newline in a multiline string to be the same (indicating an empty string). This looks like the minimal fix for it.

Per <#481>, the grammar doesn't actually allow the first and last newline in a multiline string to be the same (indicating an empty string). This looks like the minimal fix for it.
@zkat
Copy link
Member

zkat commented Jan 17, 2025

Can you write a super simple test specifically for this?

@tabatkins tabatkins merged commit 0c2dde6 into main Jan 18, 2025
1 check passed
@tabatkins tabatkins deleted the allow-empty-multiline branch January 18, 2025 00:28
@tabatkins
Copy link
Contributor Author

Done, wrote a handful because why not.

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