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-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9aeba741d928c4c1c17d91d4bfaa562bf8c3c278;p=gcc.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 6c1a2fe0613..79918acdad7 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 08c857f73d5..8400c6f8055 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