Changeset 89265 in webkit
- Timestamp:
- Jun 20, 2011 11:51:12 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r89264 r89265 1 2011-06-20 Andras Becsi <abecsi@webkit.org> 2 3 Reviewed by Csaba Osztrogonác. 4 5 make-hash-tools.pl: Perl 5.14 compatibility 6 https://bugs.webkit.org/show_bug.cgi?id=61890 7 8 No new tests needed. 9 10 * make-hash-tools.pl: Use if/elsif instead of switch/case. 11 1 12 2011-06-20 Kevin Ollivier <kevino@theolliviers.com> 2 13 -
trunk/Source/WebCore/make-hash-tools.pl
r72664 r89265 21 21 22 22 use strict; 23 use Switch;24 23 use File::Basename; 25 24 … … 29 28 30 29 31 switch ($option) { 32 33 case "DocTypeStrings" { 30 if ($option eq "DocTypeStrings") { 34 31 35 32 my $docTypeStringsGenerated = "$outdir/DocTypeStrings.cpp"; … … 39 36 system("gperf --key-positions=\"*\" -s 2 $docTypeStringsGperf > $docTypeStringsGenerated") == 0 || die "calling gperf failed: $?"; 40 37 41 } # case "DocTypeStrings" 42 43 case "ColorData" { 38 } elsif ($option eq "ColorData") { 44 39 45 40 my $colorDataGenerated = "$outdir/ColorData.cpp"; … … 49 44 system("gperf --key-positions=\"*\" -D -s 2 $colorDataGperf > $colorDataGenerated") == 0 || die "calling gperf failed: $?"; 50 45 51 } # case "ColorData"52 53 } # switch ($option)46 } else { 47 die "Unknown option."; 48 }
Note: See TracChangeset
for help on using the changeset viewer.