⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 283458 in webkit


Ignore:
Timestamp:
Oct 2, 2021, 7:11:46 PM (5 years ago)
Author:
commit-queue@webkit.org
Message:

Fix warnings in perl script
https://bugs.webkit.org/show_bug.cgi?id=231124

Patch by Nikos Mouchtaris <Nikos Mouchtaris> on 2021-10-02
Reviewed by Simon Fraser.

Fix for warnings when running script.

  • css/makevalues.pl:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r283444 r283458  
     12021-10-02  Nikos Mouchtaris  <nmouchtaris@apple.com>
     2
     3        Fix warnings in perl script
     4        https://bugs.webkit.org/show_bug.cgi?id=231124
     5
     6        Reviewed by Simon Fraser.
     7
     8        Fix for warnings when running script.
     9
     10        * css/makevalues.pl:
     11
    1122021-10-02  Yusuke Suzuki  <ysuzuki@apple.com>
    213
  • trunk/Source/WebCore/css/makevalues.pl

    r283434 r283458  
    103103  my $id = $names[$i];
    104104  $id =~ s/(^[^-])|-(.)/uc($1||$2)/ge;
    105   if($lower_names[$i]=="-infinity") {
     105  if($lower_names[$i] eq "-infinity") {
    106106    print GPERF $lower_names[$i] . ", CSSValueNegativeInfinity" . "\n";
    107107  } else {
     
    184184  my $id = $name;
    185185  $id =~ s/(^[^-])|-(.)/uc($1||$2)/ge;
    186   if($name=="-infinity") {
     186  if($name eq "-infinity") {
    187187    print HEADER "    CSSValueNegativeInfinity = " . $i . ",\n";
    188188  } else {
Note: See TracChangeset for help on using the changeset viewer.