From a8cdcc1f433a256358738a6536f6d9ce7f3c04c3 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Sun, 18 Dec 1994 13:35:07 -0800 Subject: [PATCH] (macarg1): Count newline at end of C++ comment. From-SVN: r8664 --- gcc/cccp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/cccp.c b/gcc/cccp.c index 20bd11946dd..d960c7c4e77 100644 --- a/gcc/cccp.c +++ b/gcc/cccp.c @@ -8314,6 +8314,8 @@ macarg1 (start, limit, depthptr, newlines, comments, rest_args) if (*bp == '\n') ++*newlines; bp++; } + /* Now count the newline that we are about to skip. */ + ++*newlines; break; } if (bp[1] != '*' || bp + 1 >= limit)