Title: [175415] trunk/Source/WebCore
Revision
175415
Author
[email protected]
Date
2014-10-31 12:11:01 -0700 (Fri, 31 Oct 2014)

Log Message

Fix type clash warning in supports_error rule of CSSGrammar.
https://bugs.webkit.org/show_bug.cgi?id=138248

Patch by Akos Kiss <[email protected]> on 2014-10-31
Reviewed by Antti Koivisto.

Added explicit actions to supports_error rule in CSSGrammar.y.in since
the default actions caused bison to emit type clash warnings.

No new tests because there is no behavior change.

* css/CSSGrammar.y.in:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (175414 => 175415)


--- trunk/Source/WebCore/ChangeLog	2014-10-31 19:04:19 UTC (rev 175414)
+++ trunk/Source/WebCore/ChangeLog	2014-10-31 19:11:01 UTC (rev 175415)
@@ -1,3 +1,17 @@
+2014-10-31  Akos Kiss  <[email protected]>
+
+        Fix type clash warning in supports_error rule of CSSGrammar.
+        https://bugs.webkit.org/show_bug.cgi?id=138248
+
+        Reviewed by Antti Koivisto.
+
+        Added explicit actions to supports_error rule in CSSGrammar.y.in since
+        the default actions caused bison to emit type clash warnings.
+
+        No new tests because there is no behavior change.
+
+        * css/CSSGrammar.y.in:
+
 2014-10-31  Adrian Perez de Castro  <[email protected]>
 
         [GTK] Support script message handlers WebKitUserContentManager

Modified: trunk/Source/WebCore/css/CSSGrammar.y.in (175414 => 175415)


--- trunk/Source/WebCore/css/CSSGrammar.y.in	2014-10-31 19:04:19 UTC (rev 175414)
+++ trunk/Source/WebCore/css/CSSGrammar.y.in	2014-10-31 19:11:01 UTC (rev 175415)
@@ -725,7 +725,14 @@
     }
     ;
 
-supports_error: error ';' | error invalid_block ;
+supports_error: 
+    error ';' {
+        $$ = false;
+    }
+    | error invalid_block {
+        $$ = false;
+    }
+    ;
 
 before_supports_rule:
     /* empty */ {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to