Double the backslash so sed gets a chance to see it.
authorBruce Korb <korbb@gcc.gnu.org>
Tue, 6 Jul 1999 07:13:44 +0000 (07:13 +0000)
committerBruce Korb <korbb@gcc.gnu.org>
Tue, 6 Jul 1999 07:13:44 +0000 (07:13 +0000)
From-SVN: r27953

gcc/fixinc/fixincl.x
gcc/fixinc/inclhack.sh

index e451a9104828ce318f8468d81be72b648071dae6..5f79228ff67fbd2005f084abbc5d4cb2aca84f33 100644 (file)
@@ -812,7 +812,7 @@ s/\\\\+++fixinc_eol+++/\\\\/g\n\
 s%^\\([ \t]*#[ \t]*else\\)[ \t][ \t]*/[^*].*%\\1%\n\
 s%^\\([ \t]*#[ \t]*else\\)[ \t][ \t]*[^/ \t].*%\\1%\n\
 s%^\\([ \t]*#[ \t]*endif\\)[ \t][ \t]*/[^*].*%\\1%\n\
-s%^\\([ \t]*#[ \t]*endif\\)[ \t][ \t]**[^/].*%\\1%\n\
+s%^\\([ \t]*#[ \t]*endif\\)[ \t][ \t]*\\*[^/].*%\\1%\n\
 s%^\\([ \t]*#[ \t]*endif\\)[ \t][ \t]*[^/* \t].*%\\1%",
     (char*)NULL };
 
index e441eb9a24065aadc7d1b66028b553cb7bf7eb80..ec2501be6901eb1609bce350522277aa418d2695 100755 (executable)
@@ -920,7 +920,7 @@ s/\\+++fixinc_eol+++/\\/g
 s%^\([         ]*#[    ]*else\)[       ][      ]*/[^*].*%\1%
 s%^\([         ]*#[    ]*else\)[       ][      ]*[^/   ].*%\1%
 s%^\([         ]*#[    ]*endif\)[      ][      ]*/[^*].*%\1%
-s%^\([         ]*#[    ]*endif\)[      ][      ]**[^/].*%\1%
+s%^\([         ]*#[    ]*endif\)[      ][      ]*\*[^/].*%\1%
 s%^\([         ]*#[    ]*endif\)[      ][      ]*[^/*  ].*%\1%' \
           < $infile > ${DESTDIR}/fixinc.tmp
     rm -f ${DESTFILE}