summaryrefslogtreecommitdiff
path: root/tests/examplefiles/test.eh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examplefiles/test.eh')
-rw-r--r--tests/examplefiles/test.eh315
1 files changed, 0 insertions, 315 deletions
diff --git a/tests/examplefiles/test.eh b/tests/examplefiles/test.eh
deleted file mode 100644
index 1ed173fb..00000000
--- a/tests/examplefiles/test.eh
+++ /dev/null
@@ -1,315 +0,0 @@
-/* A Bison parser, made by GNU Bison 2.0. */
-
-/* Skeleton parser for Yacc-like parsing with Bison,
- Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA. */
-
-/* As a special exception, when this file is copied by Bison into a
- Bison output file, you may use that output file without restriction.
- This special exception was added by the Free Software Foundation
- in version 1.24 of Bison. */
-
-/* Tokens. */
-#ifndef YYTOKENTYPE
-# define YYTOKENTYPE
- /* Put the tokens into the symbol table, so that GDB and other debuggers
- know about them. */
- enum yytokentype {
- IDENTIFIER = 258,
- CONSTANT = 259,
- STRING_LITERAL = 260,
- SIZEOF = 261,
- PTR_OP = 262,
- INC_OP = 263,
- DEC_OP = 264,
- LEFT_OP = 265,
- RIGHT_OP = 266,
- LE_OP = 267,
- GE_OP = 268,
- EQ_OP = 269,
- NE_OP = 270,
- AND_OP = 271,
- OR_OP = 272,
- MUL_ASSIGN = 273,
- DIV_ASSIGN = 274,
- MOD_ASSIGN = 275,
- ADD_ASSIGN = 276,
- SUB_ASSIGN = 277,
- LEFT_ASSIGN = 278,
- RIGHT_ASSIGN = 279,
- AND_ASSIGN = 280,
- XOR_ASSIGN = 281,
- OR_ASSIGN = 282,
- TYPE_NAME = 283,
- TYPEDEF = 284,
- EXTERN = 285,
- STATIC = 286,
- AUTO = 287,
- REGISTER = 288,
- CHAR = 289,
- SHORT = 290,
- INT = 291,
- UINT = 292,
- INT64 = 293,
- LONG = 294,
- SIGNED = 295,
- UNSIGNED = 296,
- FLOAT = 297,
- DOUBLE = 298,
- CONST = 299,
- VOLATILE = 300,
- VOID = 301,
- VALIST = 302,
- STRUCT = 303,
- UNION = 304,
- ENUM = 305,
- ELLIPSIS = 306,
- CASE = 307,
- DEFAULT = 308,
- IF = 309,
- SWITCH = 310,
- WHILE = 311,
- DO = 312,
- FOR = 313,
- GOTO = 314,
- CONTINUE = 315,
- BREAK = 316,
- RETURN = 317,
- IFX = 318,
- ELSE = 319,
- CLASS = 320,
- THISCLASS = 321,
- CLASS_NAME = 322,
- PROPERTY = 323,
- SETPROP = 324,
- GETPROP = 325,
- NEWOP = 326,
- RENEW = 327,
- DELETE = 328,
- EXT_DECL = 329,
- EXT_STORAGE = 330,
- IMPORT = 331,
- DEFINE = 332,
- VIRTUAL = 333,
- EXT_ATTRIB = 334,
- PUBLIC = 335,
- PRIVATE = 336,
- TYPED_OBJECT = 337,
- ANY_OBJECT = 338,
- _INCREF = 339,
- EXTENSION = 340,
- ASM = 341,
- TYPEOF = 342,
- WATCH = 343,
- STOPWATCHING = 344,
- FIREWATCHERS = 345,
- WATCHABLE = 346,
- CLASS_DESIGNER = 347,
- CLASS_NO_EXPANSION = 348,
- CLASS_FIXED = 349,
- ISPROPSET = 350,
- CLASS_DEFAULT_PROPERTY = 351,
- PROPERTY_CATEGORY = 352,
- CLASS_DATA = 353,
- CLASS_PROPERTY = 354,
- SUBCLASS = 355,
- NAMESPACE = 356,
- NEW0OP = 357,
- RENEW0 = 358,
- VAARG = 359,
- DBTABLE = 360,
- DBFIELD = 361,
- DBINDEX = 362,
- DATABASE_OPEN = 363
- };
-#endif
-#define IDENTIFIER 258
-#define CONSTANT 259
-#define STRING_LITERAL 260
-#define SIZEOF 261
-#define PTR_OP 262
-#define INC_OP 263
-#define DEC_OP 264
-#define LEFT_OP 265
-#define RIGHT_OP 266
-#define LE_OP 267
-#define GE_OP 268
-#define EQ_OP 269
-#define NE_OP 270
-#define AND_OP 271
-#define OR_OP 272
-#define MUL_ASSIGN 273
-#define DIV_ASSIGN 274
-#define MOD_ASSIGN 275
-#define ADD_ASSIGN 276
-#define SUB_ASSIGN 277
-#define LEFT_ASSIGN 278
-#define RIGHT_ASSIGN 279
-#define AND_ASSIGN 280
-#define XOR_ASSIGN 281
-#define OR_ASSIGN 282
-#define TYPE_NAME 283
-#define TYPEDEF 284
-#define EXTERN 285
-#define STATIC 286
-#define AUTO 287
-#define REGISTER 288
-#define CHAR 289
-#define SHORT 290
-#define INT 291
-#define UINT 292
-#define INT64 293
-#define LONG 294
-#define SIGNED 295
-#define UNSIGNED 296
-#define FLOAT 297
-#define DOUBLE 298
-#define CONST 299
-#define VOLATILE 300
-#define VOID 301
-#define VALIST 302
-#define STRUCT 303
-#define UNION 304
-#define ENUM 305
-#define ELLIPSIS 306
-#define CASE 307
-#define DEFAULT 308
-#define IF 309
-#define SWITCH 310
-#define WHILE 311
-#define DO 312
-#define FOR 313
-#define GOTO 314
-#define CONTINUE 315
-#define BREAK 316
-#define RETURN 317
-#define IFX 318
-#define ELSE 319
-#define CLASS 320
-#define THISCLASS 321
-#define CLASS_NAME 322
-#define PROPERTY 323
-#define SETPROP 324
-#define GETPROP 325
-#define NEWOP 326
-#define RENEW 327
-#define DELETE 328
-#define EXT_DECL 329
-#define EXT_STORAGE 330
-#define IMPORT 331
-#define DEFINE 332
-#define VIRTUAL 333
-#define EXT_ATTRIB 334
-#define PUBLIC 335
-#define PRIVATE 336
-#define TYPED_OBJECT 337
-#define ANY_OBJECT 338
-#define _INCREF 339
-#define EXTENSION 340
-#define ASM 341
-#define TYPEOF 342
-#define WATCH 343
-#define STOPWATCHING 344
-#define FIREWATCHERS 345
-#define WATCHABLE 346
-#define CLASS_DESIGNER 347
-#define CLASS_NO_EXPANSION 348
-#define CLASS_FIXED 349
-#define ISPROPSET 350
-#define CLASS_DEFAULT_PROPERTY 351
-#define PROPERTY_CATEGORY 352
-#define CLASS_DATA 353
-#define CLASS_PROPERTY 354
-#define SUBCLASS 355
-#define NAMESPACE 356
-#define NEW0OP 357
-#define RENEW0 358
-#define VAARG 359
-#define DBTABLE 360
-#define DBFIELD 361
-#define DBINDEX 362
-#define DATABASE_OPEN 363
-
-
-
-
-#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
-#line 42 "grammar.y"
-typedef union YYSTYPE {
- SpecifierType specifierType;
- int i;
- AccessMode declMode;
- Identifier id;
- Expression exp;
- Specifier specifier;
- OldList * list;
- Enumerator enumerator;
- Declarator declarator;
- Pointer pointer;
- Initializer initializer;
- InitDeclarator initDeclarator;
- TypeName typeName;
- Declaration declaration;
- Statement stmt;
- FunctionDefinition function;
- External external;
- Context context;
- AsmField asmField;
-
- Instantiation instance;
- MembersInit membersInit;
- MemberInit memberInit;
- ClassFunction classFunction;
- ClassDefinition _class;
- ClassDef classDef;
- PropertyDef prop;
- char * string;
- Symbol symbol;
- PropertyWatch propertyWatch;
- TemplateParameter templateParameter;
- TemplateArgument templateArgument;
- TemplateDatatype templateDatatype;
-
- DBTableEntry dbtableEntry;
- DBIndexItem dbindexItem;
- DBTableDef dbtableDef;
-} YYSTYPE;
-/* Line 1318 of yacc.c. */
-#line 293 "grammar.eh"
-# define yystype YYSTYPE /* obsolescent; will be withdrawn */
-# define YYSTYPE_IS_DECLARED 1
-# define YYSTYPE_IS_TRIVIAL 1
-#endif
-
-extern YYSTYPE yylval;
-
-#if ! defined (YYLTYPE) && ! defined (YYLTYPE_IS_DECLARED)
-typedef struct YYLTYPE
-{
- int first_line;
- int first_column;
- int last_line;
- int last_column;
-} YYLTYPE;
-# define yyltype YYLTYPE /* obsolescent; will be withdrawn */
-# define YYLTYPE_IS_DECLARED 1
-# define YYLTYPE_IS_TRIVIAL 1
-#endif
-
-extern YYLTYPE yylloc;
-
-