(macarg1): Count newline at end of C++ comment.
authorJim Wilson <wilson@gcc.gnu.org>
Sun, 18 Dec 1994 21:35:07 +0000 (13:35 -0800)
committerJim Wilson <wilson@gcc.gnu.org>
Sun, 18 Dec 1994 21:35:07 +0000 (13:35 -0800)
From-SVN: r8664

gcc/cccp.c

index 20bd11946dde1123fd8b7e670577c8c37bb8d4e8..d960c7c4e77faad1b60e4433d6b92c2caa7b9dff 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)