Skip to content

Fixup Bare Slash Literal Lexing #735

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

Merged
merged 1 commit into from
Sep 8, 2022
Merged

Conversation

CodaFi
Copy link
Contributor

@CodaFi CodaFi commented Sep 8, 2022

Break the ambiguity with bare slash regex literals that have any amount of whitespace after the slash delimiter. These now lex as spaced binary operators as appropriate.

Fixes #627

rdar://98736315

@CodaFi CodaFi requested a review from ahoppen as a code owner September 8, 2022 06:28
Break the ambiguity with bare slash regex literals that have any
amount of whitespace after the slash delimiter. These now lex as
spaced binary operators as appropriate.

Fixes swiftlang#627

rdar://98736315
@CodaFi CodaFi changed the title Fixup Base Slash Literal Lexing Fixup Bare Slash Literal Lexing Sep 8, 2022
@CodaFi
Copy link
Contributor Author

CodaFi commented Sep 8, 2022

@swift-ci test

@CodaFi CodaFi merged commit b03345b into swiftlang:main Sep 8, 2022
@CodaFi CodaFi deleted the slasher-film branch September 8, 2022 14:19
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.

Parser incorrectly parses things in between two / characters as regex literal
1 participant