OLD | NEW |
1 %{ | 1 %{ |
2 | 2 |
3 /* | 3 /* |
4 * Copyright (C) 2002-2003 Lars Knoll (knoll@kde.org) | 4 * Copyright (C) 2002-2003 Lars Knoll (knoll@kde.org) |
5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 App
le Inc. All rights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 App
le Inc. All rights reserved. |
6 * Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 6 * Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
7 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> | 7 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> |
8 * Copyright (C) 2012 Intel Corporation. All rights reserved. | 8 * Copyright (C) 2012 Intel Corporation. All rights reserved. |
9 * | 9 * |
10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
(...skipping 11 matching lines...) Expand all Loading... |
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 U
SA | 22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 U
SA |
23 * | 23 * |
24 */ | 24 */ |
25 | 25 |
26 #include "config.h" | 26 #include "config.h" |
27 | 27 |
28 #include "CSSPropertyNames.h" | 28 #include "CSSPropertyNames.h" |
29 #include "HTMLNames.h" | 29 #include "HTMLNames.h" |
30 #include "core/css/CSSKeyframeRule.h" | 30 #include "core/css/CSSKeyframeRule.h" |
31 #include "core/css/CSSKeyframesRule.h" | 31 #include "core/css/CSSKeyframesRule.h" |
32 #include "core/css/CSSParser.h" | 32 #include "core/css/parser/BisonCSSParser.h" |
33 #include "core/css/CSSParserMode.h" | 33 #include "core/css/CSSParserMode.h" |
34 #include "core/css/CSSPrimitiveValue.h" | 34 #include "core/css/CSSPrimitiveValue.h" |
35 #include "core/css/CSSSelector.h" | 35 #include "core/css/CSSSelector.h" |
36 #include "core/css/CSSSelectorList.h" | 36 #include "core/css/CSSSelectorList.h" |
37 #include "core/css/MediaList.h" | 37 #include "core/css/MediaList.h" |
38 #include "core/css/MediaQueryExp.h" | 38 #include "core/css/MediaQueryExp.h" |
39 #include "core/css/StyleRule.h" | 39 #include "core/css/StyleRule.h" |
40 #include "core/css/StyleSheetContents.h" | 40 #include "core/css/StyleSheetContents.h" |
41 #include "core/dom/Document.h" | 41 #include "core/dom/Document.h" |
42 #include "wtf/FastMalloc.h" | 42 #include "wtf/FastMalloc.h" |
(...skipping 12 matching lines...) Expand all Loading... |
55 #define YYDEBUG 0 | 55 #define YYDEBUG 0 |
56 | 56 |
57 #if YYDEBUG > 0 | 57 #if YYDEBUG > 0 |
58 #define YYPRINT(File,Type,Value) if (isCSSTokenAString(Type)) YYFPRINTF(File, "%
s", String((Value).string).utf8().data()) | 58 #define YYPRINT(File,Type,Value) if (isCSSTokenAString(Type)) YYFPRINTF(File, "%
s", String((Value).string).utf8().data()) |
59 #endif | 59 #endif |
60 | 60 |
61 %} | 61 %} |
62 | 62 |
63 %pure_parser | 63 %pure_parser |
64 | 64 |
65 %parse-param { CSSParser* parser } | 65 %parse-param { BisonCSSParser* parser } |
66 %lex-param { CSSParser* parser } | 66 %lex-param { BisonCSSParser* parser } |
67 | 67 |
68 %union { | 68 %union { |
69 bool boolean; | 69 bool boolean; |
70 char character; | 70 char character; |
71 int integer; | 71 int integer; |
72 double number; | 72 double number; |
73 CSSParserString string; | 73 CSSParserString string; |
74 | 74 |
75 StyleRuleBase* rule; | 75 StyleRuleBase* rule; |
76 Vector<RefPtr<StyleRuleBase> >* ruleList; | 76 Vector<RefPtr<StyleRuleBase> >* ruleList; |
(...skipping 1899 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1976 | 1976 |
1977 rule_error_recovery: | 1977 rule_error_recovery: |
1978 /* empty */ | 1978 /* empty */ |
1979 | rule_error_recovery error | 1979 | rule_error_recovery error |
1980 | rule_error_recovery invalid_square_brackets_block | 1980 | rule_error_recovery invalid_square_brackets_block |
1981 | rule_error_recovery invalid_parentheses_block | 1981 | rule_error_recovery invalid_parentheses_block |
1982 ; | 1982 ; |
1983 | 1983 |
1984 %% | 1984 %% |
1985 | 1985 |
OLD | NEW |