Skip to content

Emit error for unterminated block comment #1619

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
May 2, 2023

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Apr 28, 2023

While doing this, also sort a few enumerations of the lexer diagnostics.

Fixes #1468
Resolves rdar://107424615

@ahoppen ahoppen requested a review from bnbarham April 28, 2023 22:41
@ahoppen ahoppen force-pushed the ahoppen/unterminated-block-comment branch from b75a739 to 6c1b79d Compare April 28, 2023 22:42
@ahoppen
Copy link
Member Author

ahoppen commented Apr 28, 2023

@swift-ci Please test

@ahoppen ahoppen force-pushed the ahoppen/unterminated-block-comment branch from 6c1b79d to f30bce1 Compare April 28, 2023 23:01
@ahoppen
Copy link
Member Author

ahoppen commented Apr 28, 2023

@swift-ci Please test

@ahoppen
Copy link
Member Author

ahoppen commented Apr 29, 2023

@swift-ci Please test macOS

@ahoppen
Copy link
Member Author

ahoppen commented Apr 29, 2023

@swift-ci Please test Windows

@ahoppen
Copy link
Member Author

ahoppen commented Apr 29, 2023

@swift-ci Please test macOS

@ahoppen ahoppen force-pushed the ahoppen/unterminated-block-comment branch from f30bce1 to 14e81f1 Compare May 1, 2023 21:18
@ahoppen
Copy link
Member Author

ahoppen commented May 1, 2023

@swift-ci Please test macOS

@ahoppen ahoppen requested review from rintaro and hamishknight May 1, 2023 23:08
@ahoppen
Copy link
Member Author

ahoppen commented May 2, 2023

@swift-ci Please test Linux

@ahoppen
Copy link
Member Author

ahoppen commented May 2, 2023

@swift-ci Please test

Copy link
Contributor

@hamishknight hamishknight left a comment

Choose a reason for hiding this comment

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

Thanks! Just one question, but otherwise this LGTM

@ahoppen ahoppen force-pushed the ahoppen/unterminated-block-comment branch from 14e81f1 to e47d395 Compare May 2, 2023 18:04
@ahoppen
Copy link
Member Author

ahoppen commented May 2, 2023

@swift-ci Please test

@kimdv
Copy link
Contributor

kimdv commented May 2, 2023

@swift-ci please test windows

@ahoppen ahoppen merged commit 2179d9f into swiftlang:main May 2, 2023
@ahoppen ahoppen deleted the ahoppen/unterminated-block-comment branch May 2, 2023 21:48
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.

/* is parsed as a block comment but should be invalid
4 participants