Title: [160645] trunk/Tools
Revision
160645
Author
[email protected]
Date
2013-12-16 09:58:16 -0800 (Mon, 16 Dec 2013)

Log Message

prepare-Changelog treats CSS keyframes as mismatched parentheses.
https://bugs.webkit.org/show_bug.cgi?id=125435

Patch by Gergo Balogh <[email protected]> on 2013-12-16
Reviewed by Darin Adler.

* Scripts/prepare-ChangeLog:
(get_selector_line_ranges_for_css):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (160644 => 160645)


--- trunk/Tools/ChangeLog	2013-12-16 17:55:37 UTC (rev 160644)
+++ trunk/Tools/ChangeLog	2013-12-16 17:58:16 UTC (rev 160645)
@@ -1,3 +1,13 @@
+2013-12-16  Gergo Balogh  <[email protected]>
+
+        prepare-Changelog treats CSS keyframes as mismatched parentheses.
+        https://bugs.webkit.org/show_bug.cgi?id=125435
+
+        Reviewed by Darin Adler.
+
+        * Scripts/prepare-ChangeLog:
+        (get_selector_line_ranges_for_css):
+
 2013-12-16  Mario Sanchez Prada  <[email protected]>
 
         [ATK] Expose accessibility objects for more WAI-ARIA roles

Modified: trunk/Tools/Scripts/prepare-ChangeLog (160644 => 160645)


--- trunk/Tools/Scripts/prepare-ChangeLog	2013-12-16 17:55:37 UTC (rev 160644)
+++ trunk/Tools/Scripts/prepare-ChangeLog	2013-12-16 17:58:16 UTC (rev 160645)
@@ -1487,13 +1487,13 @@
         foreach my $token (split m-(\{|\}|/\*|\*/)-, $_) {
             if ($token eq "{") {
                 if (!$inComment) {
-                    warn "mismatched brace found in $fileName\n" if $inBrace;
-                    $inBrace = 1;
+                    warn "mismatched brace found in $fileName\n" if $inBrace > 2;
+                    $inBrace ++;
                 }
             } elsif ($token eq "}") {
                 if (!$inComment) {
                     warn "mismatched brace found in $fileName\n" if !$inBrace;
-                    $inBrace = 0;
+                    $inBrace --;
                     push(@ranges, [$start, $., $currentSelector]);
                     $currentSelector = "";
                     $start = 0;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to