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

Detect multi-line comment block (#34) #41

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

amitrahman1026
Copy link
Contributor

@amitrahman1026 amitrahman1026 commented Nov 9, 2023

Addressing multi-line detection by added check for end of block comment

Copy link
Contributor

@lingyuncai lingyuncai left a comment

Choose a reason for hiding this comment

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

Hi @amitrahman1026, thanks for your contribution!

We'd expect a fix for more complicated cases rather than a single line comment like /* some comments */. Some examples as below:

/*
 some comments here.  <-- detect if this is a comment
*/

int a = 8; // this is a comment in the same line as the code <-- detect me

@amitrahman1026 amitrahman1026 marked this pull request as draft November 9, 2023 23:39
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