aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1994-12-18 13:35:07 -0800
committerJim Wilson <wilson@gcc.gnu.org>1994-12-18 13:35:07 -0800
commita8cdcc1f433a256358738a6536f6d9ce7f3c04c3 (patch)
tree263750155830814b8cdf0bf97bb9f26a79c122b3 /gcc
parent6589083a69c0eceed19d4cc4c3b417b2703b5a07 (diff)
downloadgcc-a8cdcc1f433a256358738a6536f6d9ce7f3c04c3.zip
gcc-a8cdcc1f433a256358738a6536f6d9ce7f3c04c3.tar.gz
gcc-a8cdcc1f433a256358738a6536f6d9ce7f3c04c3.tar.bz2
(macarg1): Count newline at end of C++ comment.
From-SVN: r8664
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cccp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cccp.c b/gcc/cccp.c
index 20bd119..d960c7c 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)