Commit 03d3d756 authored by darin's avatar darin

A couple more fixes for things found during dry runs.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13386 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 8377821a
......@@ -227,19 +227,19 @@ for my $file (sort @paths) {
$newContents =~ s/namespace KSVG\b/namespace WebCore/g;
$newContents =~ s/namespace khtml\b/namespace WebCore/g;
if ($file !~ /\.(pm|idl)$/) {
if ($file !~ /\.idl$/) {
for my $from (keys %otherRenames) {
my $to = $otherRenames{$from};
$newContents =~ s/\b$from\b/$to/g;
$newContents =~ s/"$to"/"$from"/g;
$newContents =~ s/(?<!["\w])$from(?!["\w])/$otherRenames{$from}/g;
}
$newContents =~ s/\#\#Event_/\#\#Event/g;
# fix DOMString and QString
$newContents =~ s/\#define DOMStringImpl StringImpl\n//;
$newContents =~ s/\bDOMString\b/String/g;
$newContents =~ s/\bDOMStringImpl\b/StringImpl/g;
$newContents =~ s/\#define String String\n/#define DOMString String\n#define QString DeprecatedString\n/;
if ($file !~ /\.pm$/) {
# fix DOMString and QString
$newContents =~ s/\#define DOMStringImpl StringImpl\n//;
$newContents =~ s/\bDOMString\b/String/g;
$newContents =~ s/\bDOMStringImpl\b/StringImpl/g;
$newContents =~ s/\#define String String\n/#define DOMString String\n#define QString DeprecatedString\n/;
}
}
# remove some bogus stuff
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment