Don't check position of comments right of code when separated by preprocessor line without comment.

This commit is contained in:
Johannes Schock
2020-03-19 15:00:42 +01:00
committed by patacongo
parent a427b2889b
commit 898141300c
+6 -1
View File
@@ -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)