From: K. Richard Pixley Date: Wed, 15 Apr 1998 09:17:24 +0000 (+0000) Subject: fixincludes: discard empty C++ comments, as found in sys/time.h on hpux-11.0. X-Git-Tag: prereleases/egcs-1.1-prerelease~1699 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9aeba741d928c4c1c17d91d4bfaa562bf8c3c278;p=thirdparty%2Fgcc.git fixincludes: discard empty C++ comments, as found in sys/time.h on hpux-11.0. * fixincludes: discard empty C++ comments, as found in sys/time.h on hpux-11.0. From-SVN: r19221 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6c1a2fe06134..79918acdad7d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Tue Apr 14 07:30:57 1998 K. Richard Pixley + + * fixincludes: discard empty C++ comments, as found in sys/time.h + on hpux-11.0. + Wed Apr 15 10:47:21 1998 Andreas Schwab * config/m68k/m68k.md (adddi3, subdi3): Optimize for constant diff --git a/gcc/fixincludes b/gcc/fixincludes index 08c857f73d57..8400c6f80558 100755 --- a/gcc/fixincludes +++ b/gcc/fixincludes @@ -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