Skip to content

Fix escape sequences in triple quotes not resetting the closing streak - #8

Merged
Ahajha merged 1 commit into
mainfrom
trotta/fix-escape-sequences-in-triple-quotes-not-resetting-the-closing-streak
Jul 23, 2026
Merged

Fix escape sequences in triple quotes not resetting the closing streak#8
Ahajha merged 1 commit into
mainfrom
trotta/fix-escape-sequences-in-triple-quotes-not-resetting-the-closing-streak

Conversation

@Ahajha

@Ahajha Ahajha commented Jul 23, 2026

Copy link
Copy Markdown
Member

While lexing a triple-quoted string, hitting an escape sequence would not reset the three-quote count. So something like "\"\" would still count as 3 quotes, even though it should get reset in the middle.

While lexing a triple-quoted string, hitting an escape sequence would not reset the three-quote count. So something like "\\"\\" would still count as 3 quotes, even though it should get reset in the middle.

Fixes withered-magic#422
@Ahajha
Ahajha merged commit d8fa6b7 into main Jul 23, 2026
5 checks passed
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.

1 participant