Skip to content

Conversation

@hamishknight
Copy link
Contributor

Avoid doing an unnecessary lookahead if we're not even at a multiline delimiter. This also fixes an issue where we'd scan ahead on the next line for #"\n, although this was benign in practice since the delimiter check would have previously then failed afterwards. This matches the logic in swiftlang/swift#85889.

…miter`

Avoid doing an unnecessary lookahead if we're not even at a multiline
delimiter. This also fixes an issue where we'd scan ahead on the next
line for `#"\n`, although this was benign in practice since the
delimiter check would have previously then failed afterwards.
@hamishknight
Copy link
Contributor Author

@swift-ci please test

Copy link
Member

@ahoppen ahoppen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

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