mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 07:46:16 +08:00
Don't check position of comments right of code when separated by preprocessor line without comment.
This commit is contained in:
committed by
patacongo
parent
a427b2889b
commit
898141300c
+6
-1
@@ -1014,7 +1014,12 @@ int main(int argc, char **argv, char **envp)
|
||||
|
||||
/* Propagate rhcomment over preprocessor lines Issue #120 */
|
||||
|
||||
rhcomment = prevrhcmt;
|
||||
if (prevrhcmt != 0)
|
||||
{
|
||||
/* Don't check position */
|
||||
|
||||
rhcomment = -1;
|
||||
}
|
||||
|
||||
lptr = strstr(line, "/*");
|
||||
if (lptr != NULL)
|
||||
|
||||
Reference in New Issue
Block a user