OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8d865e
)
(macarg1): Count newline at end of C++ comment.
author
wilson
<wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 Dec 1994 21:35:07 +0000
(21:35 +0000)
committer
wilson
<wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 Dec 1994 21:35:07 +0000
(21:35 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8664
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/cccp.c
patch
|
blob
|
history
diff --git
a/gcc/cccp.c
b/gcc/cccp.c
index
20bd119
..
d960c7c
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)