fixincludes: discard empty C++ comments, as found in sys/time.h on hpux-11.0.
authorK. Richard Pixley <rich@kyoto.noir.com>
Wed, 15 Apr 1998 09:17:24 +0000 (09:17 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 15 Apr 1998 09:17:24 +0000 (03:17 -0600)
        * fixincludes: discard empty C++ comments, as found in sys/time.h
        on hpux-11.0.

From-SVN: r19221

gcc/ChangeLog
gcc/fixincludes

index 6c1a2fe061341aa0d496b57d673bd70afae9c50b..79918acdad7d24fb3822a565f78833b583bc9162 100644 (file)
@@ -1,3 +1,8 @@
+Tue Apr 14 07:30:57 1998  K. Richard Pixley  <rich@kyoto.noir.com>
+
+       * fixincludes: discard empty C++ comments, as found in sys/time.h
+       on hpux-11.0.
+
 Wed Apr 15 10:47:21 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
 
        * config/m68k/m68k.md (adddi3, subdi3): Optimize for constant
index 08c857f73d57e00d3a29c1784f68f00732e3010d..8400c6f805585517a8986cf70b91a5e7b8a8d9b4 100755 (executable)
@@ -290,6 +290,7 @@ while [ $# != 0 ]; do
          s%^\([        ]*#[    ]*endif\)[      ]*\*[^/].*%\1%
          s%^\([        ]*#[    ]*endif\)[      ]*[^/*  ].*%\1%
          /\/\/[^*]/                    s|//\(.*\)$|/*\1*/|
+         /^[   ]*\/\/[         ]*/s///
          /[    ]_IO[A-Z]*[     ]*(/    s/\(_IO[A-Z]*[  ]*(\)\(.\),/\1'\''\2'\'',/
          /[    ]BSD43__IO[A-Z]*[       ]*(/    s/(\(.\),/('\''\1'\'',/
          /#[   ]*define[       ]*[     ]_IO/                   s/'\''\([cgxtf]\)'\''/\1/g