projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6589083
)
(macarg1): Count newline at end of C++ comment.
author
Jim Wilson
<wilson@gcc.gnu.org>
Sun, 18 Dec 1994 21:35:07 +0000
(13:35 -0800)
committer
Jim Wilson
<wilson@gcc.gnu.org>
Sun, 18 Dec 1994 21:35:07 +0000
(13:35 -0800)
From-SVN: r8664
gcc/cccp.c
patch
|
blob
|
history
diff --git
a/gcc/cccp.c
b/gcc/cccp.c
index 20bd11946dde1123fd8b7e670577c8c37bb8d4e8..d960c7c4e77faad1b60e4433d6b92c2caa7b9dff 100644
(file)
--- 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)