OSDN Git Service

Double the backslash so sed gets a chance to see it.
authorkorbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Jul 1999 07:13:44 +0000 (07:13 +0000)
committerkorbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Jul 1999 07:13:44 +0000 (07:13 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27953 138bc75d-0d04-0410-961f-82ee72b054a4

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

index e451a91..5f79228 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 e441eb9..ec2501b 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}