OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) | 3 * Copyright (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) |
4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc.
All rights reserved. | 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc.
All rights reserved. |
5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> | 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> |
6 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> | 6 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> |
7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
8 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. | 8 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. |
9 * Copyright (C) 2012 Intel Corporation. All rights reserved. | 9 * Copyright (C) 2012 Intel Corporation. All rights reserved. |
10 * | 10 * |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 #include <limits.h> | 89 #include <limits.h> |
90 | 90 |
91 #define YYDEBUG 0 | 91 #define YYDEBUG 0 |
92 | 92 |
93 #if YYDEBUG > 0 | 93 #if YYDEBUG > 0 |
94 extern int cssyydebug; | 94 extern int cssyydebug; |
95 #endif | 95 #endif |
96 | 96 |
97 int cssyyparse(WebCore::BisonCSSParser*); | 97 int cssyyparse(WebCore::BisonCSSParser*); |
98 | 98 |
99 using namespace std; | |
100 using namespace WTF; | 99 using namespace WTF; |
101 | 100 |
102 namespace WebCore { | 101 namespace WebCore { |
103 | 102 |
104 static const unsigned INVALID_NUM_PARSED_PROPERTIES = UINT_MAX; | 103 static const unsigned INVALID_NUM_PARSED_PROPERTIES = UINT_MAX; |
105 | 104 |
106 BisonCSSParser::BisonCSSParser(const CSSParserContext& context) | 105 BisonCSSParser::BisonCSSParser(const CSSParserContext& context) |
107 : m_context(context) | 106 : m_context(context) |
108 , m_important(false) | 107 , m_important(false) |
109 , m_id(CSSPropertyInvalid) | 108 , m_id(CSSPropertyInvalid) |
(...skipping 1963 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2073 rule->setProperties(createStylePropertySet()); | 2072 rule->setProperties(createStylePropertySet()); |
2074 clearProperties(); | 2073 clearProperties(); |
2075 | 2074 |
2076 StyleRuleViewport* result = rule.get(); | 2075 StyleRuleViewport* result = rule.get(); |
2077 m_parsedRules.append(rule.release()); | 2076 m_parsedRules.append(rule.release()); |
2078 | 2077 |
2079 return result; | 2078 return result; |
2080 } | 2079 } |
2081 | 2080 |
2082 } | 2081 } |
OLD | NEW |