OSDN Git Service

(macarg1): Count newline at end of C++ comment.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 Dec 1994 21:35:07 +0000 (21:35 +0000)
committerwilson <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

index 20bd119..d960c7c 100644 (file)
@@ -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)