blob: 517523669251b9638ff0e933c7cb9ff9fe97fb00 [file] [log] [blame]
Michal Marek303fc012011-02-15 16:04:35 +01001
2/* A Bison parser, made by GNU Bison 2.4.1. */
Linus Torvalds1da177e2005-04-16 15:20:36 -07003
Sam Ravnborg70f75242007-09-01 10:26:32 +02004/* Skeleton interface for Bison's Yacc-like parsers in C
Michal Marek303fc012011-02-15 16:04:35 +01005
6 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
Sam Ravnborg70f75242007-09-01 10:26:32 +02007 Free Software Foundation, Inc.
Michal Marek303fc012011-02-15 16:04:35 +01008
9 This program is free software: you can redistribute it and/or modify
Sam Ravnborgc40f5642005-12-26 22:53:25 +010010 it under the terms of the GNU General Public License as published by
Michal Marek303fc012011-02-15 16:04:35 +010011 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13
Sam Ravnborgc40f5642005-12-26 22:53:25 +010014 This program 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
17 GNU General Public License for more details.
Michal Marek303fc012011-02-15 16:04:35 +010018
Sam Ravnborgc40f5642005-12-26 22:53:25 +010019 You should have received a copy of the GNU General Public License
Michal Marek303fc012011-02-15 16:04:35 +010020 along with this program. If not, see <http://www.gnu.org/licenses/>. */
Sam Ravnborgc40f5642005-12-26 22:53:25 +010021
Sam Ravnborg70f75242007-09-01 10:26:32 +020022/* As a special exception, you may create a larger work that contains
23 part or all of the Bison parser skeleton and distribute that work
24 under terms of your choice, so long as that work isn't itself a
25 parser generator using the skeleton or a modified version thereof
26 as a parser skeleton. Alternatively, if you modify or redistribute
27 the parser skeleton itself, you may (at your option) remove this
28 special exception, which will cause the skeleton and the resulting
29 Bison output files to be licensed under the GNU General Public
30 License without this special exception.
Michal Marek303fc012011-02-15 16:04:35 +010031
Sam Ravnborg70f75242007-09-01 10:26:32 +020032 This special exception was added by the Free Software Foundation in
33 version 2.2 of Bison. */
Sam Ravnborgc40f5642005-12-26 22:53:25 +010034
Michal Marek303fc012011-02-15 16:04:35 +010035
Sam Ravnborgc40f5642005-12-26 22:53:25 +010036/* Tokens. */
37#ifndef YYTOKENTYPE
38# define YYTOKENTYPE
39 /* Put the tokens into the symbol table, so that GDB and other debuggers
40 know about them. */
41 enum yytokentype {
42 ASM_KEYW = 258,
43 ATTRIBUTE_KEYW = 259,
44 AUTO_KEYW = 260,
45 BOOL_KEYW = 261,
46 CHAR_KEYW = 262,
47 CONST_KEYW = 263,
48 DOUBLE_KEYW = 264,
49 ENUM_KEYW = 265,
50 EXTERN_KEYW = 266,
Sam Ravnborg70f75242007-09-01 10:26:32 +020051 EXTENSION_KEYW = 267,
52 FLOAT_KEYW = 268,
53 INLINE_KEYW = 269,
54 INT_KEYW = 270,
55 LONG_KEYW = 271,
56 REGISTER_KEYW = 272,
57 RESTRICT_KEYW = 273,
58 SHORT_KEYW = 274,
59 SIGNED_KEYW = 275,
60 STATIC_KEYW = 276,
61 STRUCT_KEYW = 277,
62 TYPEDEF_KEYW = 278,
63 UNION_KEYW = 279,
64 UNSIGNED_KEYW = 280,
65 VOID_KEYW = 281,
66 VOLATILE_KEYW = 282,
67 TYPEOF_KEYW = 283,
68 EXPORT_SYMBOL_KEYW = 284,
69 ASM_PHRASE = 285,
70 ATTRIBUTE_PHRASE = 286,
71 BRACE_PHRASE = 287,
72 BRACKET_PHRASE = 288,
73 EXPRESSION_PHRASE = 289,
74 CHAR = 290,
75 DOTS = 291,
76 IDENT = 292,
77 INT = 293,
78 REAL = 294,
79 STRING = 295,
80 TYPE = 296,
81 OTHER = 297,
82 FILENAME = 298
Sam Ravnborgc40f5642005-12-26 22:53:25 +010083 };
84#endif
Sam Ravnborgc40f5642005-12-26 22:53:25 +010085
86
87
Sam Ravnborg70f75242007-09-01 10:26:32 +020088#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
Sam Ravnborgc40f5642005-12-26 22:53:25 +010089typedef int YYSTYPE;
Michal Marek303fc012011-02-15 16:04:35 +010090# define YYSTYPE_IS_TRIVIAL 1
Sam Ravnborgc40f5642005-12-26 22:53:25 +010091# define yystype YYSTYPE /* obsolescent; will be withdrawn */
92# define YYSTYPE_IS_DECLARED 1
Sam Ravnborgc40f5642005-12-26 22:53:25 +010093#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070094
95extern YYSTYPE yylval;
Sam Ravnborgc40f5642005-12-26 22:53:25 +010096
Michal Marek303fc012011-02-15 16:04:35 +010097