Changeset 183071 in webkit
- Timestamp:
- Apr 21, 2015 1:06:17 PM (9 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r183070 r183071 1 2015-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 1 11 2015-04-21 Anders Carlsson <andersca@apple.com> 2 12 -
trunk/Tools/Scripts/prepare-ChangeLog
r183039 r183071 61 61 use Getopt::Long; 62 62 use lib $FindBin::Bin; 63 use List::MoreUtils qw/any/;64 63 use List::Util qw/max/; 65 64 use POSIX qw(strftime); … … 877 876 # Open parenthesis. 878 877 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"); 880 879 $in_parentheses++; 881 880 next;
Note: See TracChangeset
for help on using the changeset viewer.