aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1993-01-11 14:21:52 -0800
committerJim Wilson <wilson@gcc.gnu.org>1993-01-11 14:21:52 -0800
commit883bc780752784d32304321283176d4837346ce7 (patch)
treec4a310c56a7440e9adc0833466f4827152072435
parente515e507930fe73cb20cd3b204671b9492da2a4c (diff)
downloadgcc-883bc780752784d32304321283176d4837346ce7.zip
gcc-883bc780752784d32304321283176d4837346ce7.tar.gz
gcc-883bc780752784d32304321283176d4837346ce7.tar.bz2
Do not consider //* to be a C++ comment which needs to be fixed.
From-SVN: r3194
-rwxr-xr-xgcc/fixincludes2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fixincludes b/gcc/fixincludes
index 6c48066..218085f 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