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

adding # as a recognized start of single line comment #34230

Merged
merged 4 commits into from
Feb 2, 2022

Conversation

aaronstephenkatz
Copy link
Contributor

@aaronstephenkatz aaronstephenkatz commented Feb 1, 2022

Changelog category (leave one):

  • Improvement

Changelog entry:
Added #! and # as a recognised start of a single line comment.
Reference to task #34138

Information about CI checks: https://clickhouse.tech/docs/en/development/continuous-integration/

@robot-clickhouse robot-clickhouse added the pr-improvement Pull request with some product improvements label Feb 1, 2022
@CLAassistant
Copy link

CLAassistant commented Feb 1, 2022

CLA assistant check
All committers have signed the CLA.

@alexey-milovidov alexey-milovidov added the can be tested Allows running workflows for external contributors label Feb 1, 2022
@@ -280,6 +280,18 @@ Token Lexer::nextTokenImpl()
}
return Token(TokenType::Slash, token_begin, pos);
}
case '#': /// start of single line comment, MySQL style
Copy link
Member

Choose a reason for hiding this comment

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

Awesome,
We need a test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
can be tested Allows running workflows for external contributors pr-improvement Pull request with some product improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants