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: [email protected] With regards, Apache Git Services
