Do not consider //* to be a C++ comment which needs to be fixed.
authorJim Wilson <wilson@gcc.gnu.org>
Mon, 11 Jan 1993 22:21:52 +0000 (14:21 -0800)
committerJim Wilson <wilson@gcc.gnu.org>
Mon, 11 Jan 1993 22:21:52 +0000 (14:21 -0800)
From-SVN: r3194

gcc/fixincludes

index 6c48066..218085f 100755 (executable)
@@ -244,7 +244,7 @@ while [ $# != 0 ]; do
                                   :loop
          /\\$/                 N
          /\\$/                 b loop
-         /\/\//                        s|//\(.*\)$|/*\1*/|
+         /\/\/[^*]/                    s|//\(.*\)$|/*\1*/|
          /[    ]_IO[A-Z]*[     ]*(/    s/(\(.\),/('\''\1'\'',/
          /[    ]BSD43__IO[A-Z]*[       ]*(/    s/(\(.\),/('\''\1'\'',/
          /#define._IO/                 s/'\''x'\''/x/g