Changeset 155568 in webkit


Ignore:
Timestamp:
Sep 11, 2013, 3:07:12 PM (11 years ago)
Author:
mitz@apple.com
Message:

REGRESSION (r155561): extract-localizable-strings can miss strings
https://bugs.webkit.org/show_bug.cgi?id=121184

Reviewed by Darin Adler.

  • Scripts/extract-localizable-strings: Don’t discard lines if we are waiting for a closing

parenthesis or bracket.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r155561 r155568  
     12013-09-11  Dan Bernstein  <mitz@apple.com>
     2
     3        REGRESSION (r155561): extract-localizable-strings can miss strings
     4        https://bugs.webkit.org/show_bug.cgi?id=121184
     5
     6        Reviewed by Darin Adler.
     7
     8        * Scripts/extract-localizable-strings: Don’t discard lines if we are waiting for a closing
     9        parenthesis or bracket.
     10
    1112013-09-11  Dan Bernstein  <mitz@apple.com>
    212
  • trunk/Tools/Scripts/extract-localizable-strings

    r155561 r155568  
    146146        }
    147147
    148         next unless /(\"|\/\*)/;
     148        next unless defined $nestingLevel or /(\"|\/\*)/;
    149149   
    150150        # Handle all the tokens in the line.
Note: See TracChangeset for help on using the changeset viewer.