| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 %lex-param { BisonCSSParser* 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 // The content of the two below HeapVectors are guaranteed to be kept alive
by | 76 // The content of the three below HeapVectors are guaranteed to be kept aliv
e by |
| 77 // the corresponding m_parsedRules and m_floatingMediaQueryExpList lists in
BisonCSSParser.h. | 77 // the corresponding m_parsedRules, m_floatingMediaQueryExpList, and m_parse
dKeyFrames |
| 78 // lists in BisonCSSParser.h. |
| 78 WillBeHeapVector<RefPtrWillBeMember<StyleRuleBase> >* ruleList; | 79 WillBeHeapVector<RefPtrWillBeMember<StyleRuleBase> >* ruleList; |
| 79 WillBeHeapVector<OwnPtrWillBeMember<MediaQueryExp> >* mediaQueryExpList; | 80 WillBeHeapVector<OwnPtrWillBeMember<MediaQueryExp> >* mediaQueryExpList; |
| 81 WillBeHeapVector<RefPtrWillBeMember<StyleKeyframe> >* keyframeRuleList; |
| 80 CSSParserSelector* selector; | 82 CSSParserSelector* selector; |
| 81 Vector<OwnPtr<CSSParserSelector> >* selectorList; | 83 Vector<OwnPtr<CSSParserSelector> >* selectorList; |
| 82 CSSSelector::MarginBoxType marginBox; | 84 CSSSelector::MarginBoxType marginBox; |
| 83 CSSSelector::Relation relation; | 85 CSSSelector::Relation relation; |
| 84 MediaQuerySet* mediaList; | 86 MediaQuerySet* mediaList; |
| 85 MediaQuery* mediaQuery; | 87 MediaQuery* mediaQuery; |
| 86 MediaQuery::Restrictor mediaQueryRestrictor; | 88 MediaQuery::Restrictor mediaQueryRestrictor; |
| 87 MediaQueryExp* mediaQueryExp; | 89 MediaQueryExp* mediaQueryExp; |
| 88 CSSParserValue value; | 90 CSSParserValue value; |
| 89 CSSParserValueList* valueList; | 91 CSSParserValueList* valueList; |
| 90 StyleKeyframe* keyframe; | 92 StyleKeyframe* keyframe; |
| 91 Vector<RefPtr<StyleKeyframe> >* keyframeRuleList; | |
| 92 float val; | 93 float val; |
| 93 CSSPropertyID id; | 94 CSSPropertyID id; |
| 94 CSSParserLocation location; | 95 CSSParserLocation location; |
| 95 } | 96 } |
| 96 | 97 |
| 97 %{ | 98 %{ |
| 98 | 99 |
| 99 static inline int cssyyerror(void*, const char*) | 100 static inline int cssyyerror(void*, const char*) |
| 100 { | 101 { |
| 101 return 1; | 102 return 1; |
| (...skipping 1794 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1896 ; | 1897 ; |
| 1897 | 1898 |
| 1898 rule_error_recovery: | 1899 rule_error_recovery: |
| 1899 /* empty */ | 1900 /* empty */ |
| 1900 | rule_error_recovery error | 1901 | rule_error_recovery error |
| 1901 | rule_error_recovery invalid_square_brackets_block | 1902 | rule_error_recovery invalid_square_brackets_block |
| 1902 | rule_error_recovery invalid_parentheses_block | 1903 | rule_error_recovery invalid_parentheses_block |
| 1903 ; | 1904 ; |
| 1904 | 1905 |
| 1905 %% | 1906 %% |
| OLD | NEW |