1%{
2
3/*
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.
6 *  Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com)
7 *  Copyright (C) 2008 Eric Seidel <eric@webkit.org>
8 *
9 *  This library is free software; you can redistribute it and/or
10 *  modify it under the terms of the GNU Lesser General Public
11 *  License as published by the Free Software Foundation; either
12 *  version 2 of the License, or (at your option) any later version.
13 *
14 *  This library is distributed in the hope that it will be useful,
15 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
16 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17 *  Lesser General Public License for more details.
18 *
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
21 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
22 *
23 */
24
25#include "config.h"
26
27#include "CSSParser.h"
28#include "CSSParserMode.h"
29#include "CSSPrimitiveValue.h"
30#include "CSSPropertyNames.h"
31#include "CSSSelector.h"
32#include "CSSSelectorList.h"
33#include "Document.h"
34#include "HTMLNames.h"
35#include "MediaList.h"
36#include "MediaQueryExp.h"
37#include "StyleRule.h"
38#include "StyleSheetContents.h"
39#include "WebKitCSSKeyframeRule.h"
40#include "WebKitCSSKeyframesRule.h"
41#include <wtf/FastMalloc.h>
42#include <stdlib.h>
43#include <string.h>
44
45using namespace WebCore;
46using namespace HTMLNames;
47
48#define YYMALLOC fastMalloc
49#define YYFREE fastFree
50
51#define YYENABLE_NLS 0
52#define YYLTYPE_IS_TRIVIAL 1
53#define YYMAXDEPTH 10000
54#define YYDEBUG 0
55
56#if YYDEBUG > 0
57#include <wtf/text/CString.h>
58#define YYPRINT(File,Type,Value) if (isCSSTokenAString(Type)) YYFPRINTF(File, "%s", String((Value).string).utf8().data())
59#endif
60
61%}
62