aboutsummaryrefslogtreecommitdiff
path: root/contrib/index-prop
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>2000-04-28 18:06:30 -0400
committerJason Merrill <jason@gcc.gnu.org>2000-04-28 18:06:30 -0400
commit62014cb327937ccceb215e7a2a1e87a70244620c (patch)
treee154de86b2520c77fae7e0786e254e2ffc4a40b0 /contrib/index-prop
parent2f7205ffb20cc37331a5f28a40f75ae8e1bf7ae9 (diff)
downloadgcc-62014cb327937ccceb215e7a2a1e87a70244620c.zip
gcc-62014cb327937ccceb215e7a2a1e87a70244620c.tar.gz
gcc-62014cb327937ccceb215e7a2a1e87a70244620c.tar.bz2
index-prop: Use a single pattern.
* index-prop: Use a single pattern. Also support *** cdiffs. * index-prop: Don't change /dev/null. From-SVN: r33523
Diffstat (limited to 'contrib/index-prop')
-rwxr-xr-xcontrib/index-prop4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/index-prop b/contrib/index-prop
index 285ad8c..1ea6489 100755
--- a/contrib/index-prop
+++ b/contrib/index-prop
@@ -14,8 +14,8 @@ while (<>)
for (1..7)
{
$_ = <>;
- s/^--- [^\t]+\t/--- $full\t/;
- s/^\+\+\+ [^\t]+\t/\+\+\+ $full\t/;
+ s/^([-+*]{3}) [^\t]+\t/$1 $full\t/
+ unless m{ /dev/null\t};
print;
}
}