You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/03/11 13:37:22 UTC

[GitHub] [incubator-nuttx] patacongo edited a comment on issue #540: possible nxstyle false alarm: "Missing space before closing C comment"

patacongo edited a comment on issue #540: possible nxstyle false alarm: "Missing space before closing C comment"
URL: https://github.com/apache/incubator-nuttx/issues/540#issuecomment-597638797
 
 
   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 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:
users@infra.apache.org


With regards,
Apache Git Services