acassis commented on PR #15847:
URL: https://github.com/apache/nuttx/pull/15847#issuecomment-2663512463

   > > @LuchianMihai thank you for fixing the issue!
   > > Question: Is the new code able to keep catching line with C++ comment:
   > > case x: // C++ comment not allowed
   > 
   > I'm not altering the comments behavior, I kinda detect comments ahead of 
time, using the same logic, comments start with /, but I do not alter how 
comments are handled. It throws error if c++ style comment is detected. Guess 
that is the expected behavior looking at the code.
   
   Please just do a test: modify a file to include // some comment after "case 
xyz:" and run:
   
   ./tools/checkpatch.sh -f path/to/modified/file.c


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to