From: Jim Wilson Date: Mon, 11 Jan 1993 22:21:52 +0000 (-0800) Subject: Do not consider //* to be a C++ comment which needs to be fixed. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=883bc780752784d32304321283176d4837346ce7;p=gcc.git Do not consider //* to be a C++ comment which needs to be fixed. From-SVN: r3194 --- diff --git a/gcc/fixincludes b/gcc/fixincludes index 6c480661299..218085f73e9 100755 --- a/gcc/fixincludes +++ b/gcc/fixincludes @@ -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