Changeset 183071 in webkit


Ignore:
Timestamp:
Apr 21, 2015 1:06:17 PM (9 years ago)
Author:
matthew_hanson@apple.com
Message:

Use grep instead of any in prepare-ChangeLog, to avoid Windows compatibility issues.

Unreviewed build fix.

  • Scripts/prepare-ChangeLog:

(get_function_line_ranges_for_cpp):
Use grep instead of any to determine if a string is an element of an array.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r183070 r183071  
     12015-04-21  Matthew Hanson  <matthew_hanson@apple.com>
     2
     3        Use grep instead of any in prepare-ChangeLog, to avoid Windows compatibility issues.
     4
     5        Unreviewed build fix.
     6
     7        * Scripts/prepare-ChangeLog:
     8        (get_function_line_ranges_for_cpp):
     9        Use grep instead of any to determine if a string is an element of an array.
     10
    1112015-04-21  Anders Carlsson  <andersca@apple.com>
    212
  • trunk/Tools/Scripts/prepare-ChangeLog

    r183039 r183071  
    6161use Getopt::Long;
    6262use lib $FindBin::Bin;
    63 use List::MoreUtils qw/any/;
    6463use List::Util qw/max/;
    6564use POSIX qw(strftime);
     
    877876            # Open parenthesis.
    878877            if ($1 eq "(") {
    879                 $potential_name = $word unless $in_parentheses || $skip_til_brace_or_semicolon || any { $word eq $_ } ("CF_ENUM", "CF_OPTIONS", "NS_ENUM", "NS_OPTIONS");
     878                $potential_name = $word unless $in_parentheses || $skip_til_brace_or_semicolon || grep { $word eq $_ } ("CF_ENUM", "CF_OPTIONS", "NS_ENUM", "NS_OPTIONS");
    880879                $in_parentheses++;
    881880                next;
Note: See TracChangeset for help on using the changeset viewer.