| 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 Apple Inc. All rights
reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple 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 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Lesser General Public | 10 * modify it under the terms of the GNU Lesser General Public |
| 11 * License as published by the Free Software Foundation; either | 11 * License as published by the Free Software Foundation; either |
| 12 * version 2 of the License, or (at your option) any later version. | 12 * version 2 of the License, or (at your option) any later version. |
| 13 * | 13 * |
| 14 * This library is distributed in the hope that it will be useful, | 14 * This library is distributed in the hope that it will be useful, |
| 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 17 * Lesser General Public License for more details. | 17 * Lesser General Public License for more details. |
| 18 * | 18 * |
| 19 * You should have received a copy of the GNU Lesser General Public | 19 * You should have received a copy of the GNU Lesser General Public |
| 20 * License along with this library; if not, write to the Free Software | 20 * License along with this library; if not, write to the Free Software |
| 21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 U
SA | 21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 U
SA |
| 22 * | 22 * |
| 23 */ | 23 */ |
| 24 | 24 |
| 25 #include "config.h" | 25 #include "config.h" |
| 26 | 26 |
| 27 #include "CSSParser.h" | |
| 28 #include "CSSParserMode.h" | |
| 29 #include "CSSPrimitiveValue.h" | |
| 30 #include "CSSPropertyNames.h" | 27 #include "CSSPropertyNames.h" |
| 31 #include "CSSSelector.h" | |
| 32 #include "CSSSelectorList.h" | |
| 33 #include "Document.h" | 28 #include "Document.h" |
| 34 #include "HTMLNames.h" | 29 #include "HTMLNames.h" |
| 35 #include "MediaList.h" | 30 #include "core/css/CSSParser.h" |
| 36 #include "MediaQueryExp.h" | 31 #include "core/css/CSSParserMode.h" |
| 37 #include "StyleRule.h" | 32 #include "core/css/CSSPrimitiveValue.h" |
| 38 #include "StyleSheetContents.h" | 33 #include "core/css/CSSSelector.h" |
| 39 #include "WebKitCSSKeyframeRule.h" | 34 #include "core/css/CSSSelectorList.h" |
| 40 #include "WebKitCSSKeyframesRule.h" | 35 #include "core/css/MediaList.h" |
| 36 #include "core/css/MediaQueryExp.h" |
| 37 #include "core/css/StyleRule.h" |
| 38 #include "core/css/StyleSheetContents.h" |
| 39 #include "core/css/WebKitCSSKeyframeRule.h" |
| 40 #include "core/css/WebKitCSSKeyframesRule.h" |
| 41 #include <wtf/FastMalloc.h> | 41 #include <wtf/FastMalloc.h> |
| 42 #include <stdlib.h> | 42 #include <stdlib.h> |
| 43 #include <string.h> | 43 #include <string.h> |
| 44 | 44 |
| 45 using namespace WebCore; | 45 using namespace WebCore; |
| 46 using namespace HTMLNames; | 46 using namespace HTMLNames; |
| 47 | 47 |
| 48 #define YYMALLOC fastMalloc | 48 #define YYMALLOC fastMalloc |
| 49 #define YYFREE fastFree | 49 #define YYFREE fastFree |
| 50 | 50 |
| 51 #define YYENABLE_NLS 0 | 51 #define YYENABLE_NLS 0 |
| 52 #define YYLTYPE_IS_TRIVIAL 1 | 52 #define YYLTYPE_IS_TRIVIAL 1 |
| 53 #define YYMAXDEPTH 10000 | 53 #define YYMAXDEPTH 10000 |
| 54 #define YYDEBUG 0 | 54 #define YYDEBUG 0 |
| 55 | 55 |
| 56 #if YYDEBUG > 0 | 56 #if YYDEBUG > 0 |
| 57 #define YYPRINT(File,Type,Value) if (isCSSTokenAString(Type)) YYFPRINTF(File, "%
s", String((Value).string).utf8().data()) | 57 #define YYPRINT(File,Type,Value) if (isCSSTokenAString(Type)) YYFPRINTF(File, "%
s", String((Value).string).utf8().data()) |
| 58 #endif | 58 #endif |
| 59 | 59 |
| 60 %} | 60 %} |
| OLD | NEW |