diff options
author | korbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-07-06 07:13:44 +0000 |
---|---|---|
committer | korbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-07-06 07:13:44 +0000 |
commit | abf4105459e40110807cb8ee24bfa457e75d1f91 (patch) | |
tree | 60aa800197635550775f56c8e91f2a1aa19d3668 /gcc/fixinc | |
parent | f2278ddb4e312a32cd78e5c49f7f7ab2bc6babf5 (diff) | |
download | gcc-abf4105459e40110807cb8ee24bfa457e75d1f91.tar.gz |
Double the backslash so sed gets a chance to see it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27953 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixinc')
-rw-r--r-- | gcc/fixinc/fixincl.x | 2 | ||||
-rwxr-xr-x | gcc/fixinc/inclhack.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fixinc/fixincl.x b/gcc/fixinc/fixincl.x index e451a910482..5f79228ff67 100644 --- a/gcc/fixinc/fixincl.x +++ b/gcc/fixinc/fixincl.x @@ -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 }; diff --git a/gcc/fixinc/inclhack.sh b/gcc/fixinc/inclhack.sh index e441eb9a240..ec2501be690 100755 --- a/gcc/fixinc/inclhack.sh +++ b/gcc/fixinc/inclhack.sh @@ -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} |