Changeset 170521 in webkit


Ignore:
Timestamp:
Jun 26, 2014 11:06:14 PM (10 years ago)
Author:
mitz@apple.com
Message:

prepare-ChangeLog outputs (NS_ENUM): entries for Cocoa enums
https://bugs.webkit.org/show_bug.cgi?id=134387

Reviewed by Tim Horton.

  • Scripts/prepare-ChangeLog:

(get_function_line_ranges_for_cpp): Don’t consider {CF,NS}_{ENUM,OPTIONS} as function names.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r170520 r170521  
     12014-06-26  Dan Bernstein  <mitz@apple.com>
     2
     3        prepare-ChangeLog outputs (NS_ENUM): entries for Cocoa enums
     4        https://bugs.webkit.org/show_bug.cgi?id=134387
     5
     6        Reviewed by Tim Horton.
     7
     8        * Scripts/prepare-ChangeLog:
     9        (get_function_line_ranges_for_cpp): Don’t consider {CF,NS}_{ENUM,OPTIONS} as function names.
     10
    1112014-06-26  Dan Bernstein  <mitz@apple.com>
    212
  • trunk/Tools/Scripts/prepare-ChangeLog

    r170520 r170521  
    854854            # Open parenthesis.
    855855            if ($1 eq "(") {
    856                 $potential_name = $word unless $in_parentheses || $skip_til_brace_or_semicolon;
     856                $potential_name = $word unless $in_parentheses || $skip_til_brace_or_semicolon || $word ~~ ["CF_ENUM", "CF_OPTIONS", "NS_ENUM", "NS_OPTIONS"];
    857857                $in_parentheses++;
    858858                next;
Note: See TracChangeset for help on using the changeset viewer.