Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Unified Diff: Source/core/css/CSSGrammar.y.in

Issue 14473002: The bison grammar for @supports should return 0 in case of an error. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/css3/supports-crash-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSGrammar.y.in
diff --git a/Source/core/css/CSSGrammar.y.in b/Source/core/css/CSSGrammar.y.in
index 7fc5abc5198e22b98407c2d95c022a511bd31634..ae8c0b1e4be3bdaa0aceabe904c0b4497f270f16 100644
--- a/Source/core/css/CSSGrammar.y.in
+++ b/Source/core/css/CSSGrammar.y.in
@@ -704,6 +704,7 @@ supports:
$$ = parser->createSupportsRule($4, $9);
}
| before_supports_rule SUPPORTS_SYM supports_error {
+ $$ = 0;
parser->endRuleBody(true);
parser->popSupportsRuleData();
}
« no previous file with comments | « LayoutTests/css3/supports-crash-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698