Changeset 13385 in webkit
- Timestamp:
- Mar 18, 2006 10:31:21 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/Scripts/do-webcore-rename
r13373 r13385 201 201 my $newFile = $newFile{$file}; 202 202 print "Renaming $file to $newFile\n"; 203 system " mv $file $newFile"; # use svn move when "doing the real thing"203 system "svn move $file $newFile"; 204 204 } 205 205 } … … 229 229 230 230 if ($file !~ /\.(pm|idl)$/) { 231 # fix DOMString232 $newContents =~ s/\#define DOMStringImpl StringImpl\n//;233 $newContents =~ s/\bDOMString\b/String/g;234 $newContents =~ s/\bDOMStringImpl\b/StringImpl/g;235 $newContents =~ s/\#define String String/#define DOMString String/;236 237 # fix other identifiers that would collide otherwise238 231 for my $from (keys %otherRenames) { 239 232 my $to = $otherRenames{$from}; … … 242 235 } 243 236 $newContents =~ s/\#\#Event_/\#\#Event/g; 237 238 # fix DOMString and QString 239 $newContents =~ s/\#define DOMStringImpl StringImpl\n//; 240 $newContents =~ s/\bDOMString\b/String/g; 241 $newContents =~ s/\bDOMStringImpl\b/StringImpl/g; 242 $newContents =~ s/\#define String String\n/#define DOMString String\n#define QString DeprecatedString\n/; 244 243 } 245 244
Note: See TracChangeset
for help on using the changeset viewer.