1 /* A Bison parser, made by GNU Bison 2.3. */
3 /* Skeleton interface for Bison's Yacc-like parsers in C
5 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6 Free Software Foundation, Inc.
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 Boston, MA 02110-1301, USA. */
23 /* As a special exception, you may create a larger work that contains
24 part or all of the Bison parser skeleton and distribute that work
25 under terms of your choice, so long as that work isn't itself a
26 parser generator using the skeleton or a modified version thereof
27 as a parser skeleton. Alternatively, if you modify or redistribute
28 the parser skeleton itself, you may (at your option) remove this
29 special exception, which will cause the skeleton and the resulting
30 Bison output files to be licensed under the GNU General Public
31 License without this special exception.
33 This special exception was added by the Free Software Foundation in
34 version 2.2 of Bison. */
39 /* Put the tokens into the symbol table, so that GDB and other debuggers
42 UNIMPORTANT_TOK
= 258,
62 KHTML_DECLS_SYM
= 278,
63 KHTML_VALUE_SYM
= 279,
64 KHTML_MEDIAQUERY_SYM
= 280,
98 #define UNIMPORTANT_TOK 258
102 #define DASHMATCH 262
103 #define BEGINSWITH 263
111 #define IMPORT_SYM 271
113 #define MEDIA_SYM 273
114 #define FONT_FACE_SYM 274
115 #define CHARSET_SYM 275
116 #define NAMESPACE_SYM 276
117 #define KHTML_RULE_SYM 277
118 #define KHTML_DECLS_SYM 278
119 #define KHTML_VALUE_SYM 279
120 #define KHTML_MEDIAQUERY_SYM 280
121 #define IMPORTANT_SYM 281
122 #define MEDIA_ONLY 282
123 #define MEDIA_NOT 283
124 #define MEDIA_AND 284
144 #define PERCENTAGE 304
149 #define NOTFUNCTION 309
150 #define UNICODERANGE 310
155 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
156 typedef union YYSTYPE
160 CSSSelector
*selector
;
161 QList
<CSSSelector
*> *selectorList
;
163 MediaListImpl
*mediaList
;
164 CSSMediaRuleImpl
*mediaRule
;
165 CSSRuleListImpl
*ruleList
;
169 unsigned int attribute
;
170 unsigned int element
;
171 CSSSelector::Relation relation
;
172 CSSSelector::Match match
;
176 ValueList
*valueList
;
178 khtml::MediaQuery
* mediaQuery
;
179 khtml::MediaQueryExp
* mediaQueryExp
;
180 QList
<khtml::MediaQueryExp
*>* mediaQueryExpList
;
181 khtml::MediaQuery::Restrictor mediaQueryRestrictor
;
183 /* Line 1489 of yacc.c. */
186 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
187 # define YYSTYPE_IS_DECLARED 1
188 # define YYSTYPE_IS_TRIVIAL 1