johannes-nivus commented on issue #540: possible nxstyle false alarm: "Missing 
space before closing C comment"
URL: https://github.com/apache/incubator-nuttx/issues/540#issuecomment-597728208
 
 
   > 
   > 
   > This is the error:
   > 
   > At line 1474: line[n-1] == '*' and line[n] == '/' and n >= 2
   > 
   > This test at line 1474 is line[n+1] != ' ' and line[n-2] != '*'
   > 
   > That should be line[n-1] != ' ', right? (actually !isspace(line[n-1])). It 
is trying to verify that */ is preceded by a space like " */" or by another 
asterisk as in a block comment "**/" This is just a dumb coding error.
   > 
   > Do you want to fix it? Or should I? Let's not collide.
   
   I will fix it, give me one or two hours.
   
   Concerning the comment stuff, I get the idea, and currently your examples 
shouldn't produce problems... but I will test.
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to