1 /* A Bison parser, made by GNU Bison 2.0. */
3 /* Skeleton parser for Yacc-like parsing with Bison,
4 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
21 /* As a special exception, when this file is copied by Bison into a
22 Bison output file, you may use that output file without restriction.
23 This special exception was added by the Free Software Foundation
24 in version 1.24 of Bison. */
29 /* Put the tokens into the symbol table, so that GDB and other debuggers
121 CLASS_DESIGNER = 347,
122 CLASS_NO_EXPANSION = 348,
125 CLASS_DEFAULT_PROPERTY = 351,
126 PROPERTY_CATEGORY = 352,
128 CLASS_PROPERTY = 354,
140 #define IDENTIFIER 258
142 #define STRING_LITERAL 260
155 #define MUL_ASSIGN 273
156 #define DIV_ASSIGN 274
157 #define MOD_ASSIGN 275
158 #define ADD_ASSIGN 276
159 #define SUB_ASSIGN 277
160 #define LEFT_ASSIGN 278
161 #define RIGHT_ASSIGN 279
162 #define AND_ASSIGN 280
163 #define XOR_ASSIGN 281
164 #define OR_ASSIGN 282
165 #define TYPE_NAME 283
203 #define THISCLASS 321
204 #define CLASS_NAME 322
212 #define EXT_STORAGE 330
216 #define EXT_ATTRIB 334
219 #define TYPED_OBJECT 337
220 #define ANY_OBJECT 338
222 #define EXTENSION 340
226 #define STOPWATCHING 344
227 #define FIREWATCHERS 345
228 #define WATCHABLE 346
229 #define CLASS_DESIGNER 347
230 #define CLASS_NO_EXPANSION 348
231 #define CLASS_FIXED 349
232 #define ISPROPSET 350
233 #define CLASS_DEFAULT_PROPERTY 351
234 #define PROPERTY_CATEGORY 352
235 #define CLASS_DATA 353
236 #define CLASS_PROPERTY 354
238 #define NAMESPACE 356
245 #define DATABASE_OPEN 363
250 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
252 typedef union YYSTYPE {
253 SpecifierType specifierType;
260 Enumerator enumerator;
261 Declarator declarator;
263 Initializer initializer;
264 InitDeclarator initDeclarator;
266 Declaration declaration;
268 FunctionDefinition function;
273 Instantiation instance;
274 MembersInit membersInit;
275 MemberInit memberInit;
276 ClassFunction classFunction;
277 ClassDefinition _class;
282 PropertyWatch propertyWatch;
283 TemplateParameter templateParameter;
284 TemplateArgument templateArgument;
285 TemplateDatatype templateDatatype;
287 DBTableEntry dbtableEntry;
288 DBIndexItem dbindexItem;
289 DBTableDef dbtableDef;
291 /* Line 1318 of yacc.c. */
292 #line 293 "grammar.eh"
293 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
294 # define YYSTYPE_IS_DECLARED 1
295 # define YYSTYPE_IS_TRIVIAL 1
298 extern YYSTYPE yylval;
300 #if ! defined (YYLTYPE) && ! defined (YYLTYPE_IS_DECLARED)
301 typedef struct YYLTYPE
308 # define yyltype YYLTYPE /* obsolescent; will be withdrawn */
309 # define YYLTYPE_IS_DECLARED 1
310 # define YYLTYPE_IS_TRIVIAL 1
313 extern YYLTYPE yylloc;