blob: f3fb2bb058e125c2197df44b82dd13472199f7f7 [file] [log] [blame]
Sam Ravnborgc40f5642005-12-26 22:53:25 +01001/* A Bison parser, made by GNU Bison 2.0. */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002
Sam Ravnborgc40f5642005-12-26 22:53:25 +01003/* Skeleton parser for Yacc-like parsing with Bison,
4 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
5
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)
9 any later version.
10
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.
15
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. */
20
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. */
25
26/* Tokens. */
27#ifndef YYTOKENTYPE
28# define YYTOKENTYPE
29 /* Put the tokens into the symbol table, so that GDB and other debuggers
30 know about them. */
31 enum yytokentype {
32 ASM_KEYW = 258,
33 ATTRIBUTE_KEYW = 259,
34 AUTO_KEYW = 260,
35 BOOL_KEYW = 261,
36 CHAR_KEYW = 262,
37 CONST_KEYW = 263,
38 DOUBLE_KEYW = 264,
39 ENUM_KEYW = 265,
40 EXTERN_KEYW = 266,
41 FLOAT_KEYW = 267,
42 INLINE_KEYW = 268,
43 INT_KEYW = 269,
44 LONG_KEYW = 270,
45 REGISTER_KEYW = 271,
46 RESTRICT_KEYW = 272,
47 SHORT_KEYW = 273,
48 SIGNED_KEYW = 274,
49 STATIC_KEYW = 275,
50 STRUCT_KEYW = 276,
51 TYPEDEF_KEYW = 277,
52 UNION_KEYW = 278,
53 UNSIGNED_KEYW = 279,
54 VOID_KEYW = 280,
55 VOLATILE_KEYW = 281,
56 TYPEOF_KEYW = 282,
57 EXPORT_SYMBOL_KEYW = 283,
58 ASM_PHRASE = 284,
59 ATTRIBUTE_PHRASE = 285,
60 BRACE_PHRASE = 286,
61 BRACKET_PHRASE = 287,
62 EXPRESSION_PHRASE = 288,
63 CHAR = 289,
64 DOTS = 290,
65 IDENT = 291,
66 INT = 292,
67 REAL = 293,
68 STRING = 294,
69 TYPE = 295,
70 OTHER = 296,
71 FILENAME = 297
72 };
73#endif
74#define ASM_KEYW 258
75#define ATTRIBUTE_KEYW 259
76#define AUTO_KEYW 260
77#define BOOL_KEYW 261
78#define CHAR_KEYW 262
79#define CONST_KEYW 263
80#define DOUBLE_KEYW 264
81#define ENUM_KEYW 265
82#define EXTERN_KEYW 266
83#define FLOAT_KEYW 267
84#define INLINE_KEYW 268
85#define INT_KEYW 269
86#define LONG_KEYW 270
87#define REGISTER_KEYW 271
88#define RESTRICT_KEYW 272
89#define SHORT_KEYW 273
90#define SIGNED_KEYW 274
91#define STATIC_KEYW 275
92#define STRUCT_KEYW 276
93#define TYPEDEF_KEYW 277
94#define UNION_KEYW 278
95#define UNSIGNED_KEYW 279
96#define VOID_KEYW 280
97#define VOLATILE_KEYW 281
98#define TYPEOF_KEYW 282
99#define EXPORT_SYMBOL_KEYW 283
100#define ASM_PHRASE 284
101#define ATTRIBUTE_PHRASE 285
102#define BRACE_PHRASE 286
103#define BRACKET_PHRASE 287
104#define EXPRESSION_PHRASE 288
105#define CHAR 289
106#define DOTS 290
107#define IDENT 291
108#define INT 292
109#define REAL 293
110#define STRING 294
111#define TYPE 295
112#define OTHER 296
113#define FILENAME 297
114
115
116
117
118#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
119typedef int YYSTYPE;
120# define yystype YYSTYPE /* obsolescent; will be withdrawn */
121# define YYSTYPE_IS_DECLARED 1
122# define YYSTYPE_IS_TRIVIAL 1
123#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -0700124
125extern YYSTYPE yylval;
Sam Ravnborgc40f5642005-12-26 22:53:25 +0100126
127
128