Skip to content

Conversation

@amitrahman1026
Copy link
Contributor

@amitrahman1026 amitrahman1026 commented Nov 9, 2023

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

Signed-off-by: amitrahman1026 <amit.amit.rahman@gmail.com>
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