Commit | Line | Data |
---|---|---|
dc533240 | 1 | /* A Bison parser, made by GNU Bison 2.5.1. */ |
70f75246 | 2 | |
0359de7d | 3 | /* Bison interface for Yacc-like parsers in C |
303fc01f | 4 | |
dc533240 | 5 | Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc. |
303fc01f MM |
6 | |
7 | This program is free software: you can redistribute it and/or modify | |
c40f5640 | 8 | it under the terms of the GNU General Public License as published by |
303fc01f MM |
9 | the Free Software Foundation, either version 3 of the License, or |
10 | (at your option) any later version. | |
11 | ||
c40f5640 SR |
12 | This program is distributed in the hope that it will be useful, |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
303fc01f | 16 | |
c40f5640 | 17 | You should have received a copy of the GNU General Public License |
303fc01f | 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
70f75246 SR |
19 | |
20 | /* As a special exception, you may create a larger work that contains | |
21 | part or all of the Bison parser skeleton and distribute that work | |
22 | under terms of your choice, so long as that work isn't itself a | |
23 | parser generator using the skeleton or a modified version thereof | |
24 | as a parser skeleton. Alternatively, if you modify or redistribute | |
25 | the parser skeleton itself, you may (at your option) remove this | |
26 | special exception, which will cause the skeleton and the resulting | |
27 | Bison output files to be licensed under the GNU General Public | |
28 | License without this special exception. | |
303fc01f | 29 | |
70f75246 SR |
30 | This special exception was added by the Free Software Foundation in |
31 | version 2.2 of Bison. */ | |
c40f5640 | 32 | |
303fc01f | 33 | |
c40f5640 SR |
34 | /* Tokens. */ |
35 | #ifndef YYTOKENTYPE | |
36 | # define YYTOKENTYPE | |
37 | /* Put the tokens into the symbol table, so that GDB and other debuggers | |
38 | know about them. */ | |
39 | enum yytokentype { | |
40 | ASM_KEYW = 258, | |
41 | ATTRIBUTE_KEYW = 259, | |
42 | AUTO_KEYW = 260, | |
43 | BOOL_KEYW = 261, | |
44 | CHAR_KEYW = 262, | |
45 | CONST_KEYW = 263, | |
46 | DOUBLE_KEYW = 264, | |
47 | ENUM_KEYW = 265, | |
48 | EXTERN_KEYW = 266, | |
70f75246 SR |
49 | EXTENSION_KEYW = 267, |
50 | FLOAT_KEYW = 268, | |
51 | INLINE_KEYW = 269, | |
52 | INT_KEYW = 270, | |
53 | LONG_KEYW = 271, | |
54 | REGISTER_KEYW = 272, | |
55 | RESTRICT_KEYW = 273, | |
56 | SHORT_KEYW = 274, | |
57 | SIGNED_KEYW = 275, | |
58 | STATIC_KEYW = 276, | |
59 | STRUCT_KEYW = 277, | |
60 | TYPEDEF_KEYW = 278, | |
61 | UNION_KEYW = 279, | |
62 | UNSIGNED_KEYW = 280, | |
63 | VOID_KEYW = 281, | |
64 | VOLATILE_KEYW = 282, | |
65 | TYPEOF_KEYW = 283, | |
66 | EXPORT_SYMBOL_KEYW = 284, | |
67 | ASM_PHRASE = 285, | |
68 | ATTRIBUTE_PHRASE = 286, | |
dc533240 JB |
69 | TYPEOF_PHRASE = 287, |
70 | BRACE_PHRASE = 288, | |
71 | BRACKET_PHRASE = 289, | |
72 | EXPRESSION_PHRASE = 290, | |
73 | CHAR = 291, | |
74 | DOTS = 292, | |
75 | IDENT = 293, | |
76 | INT = 294, | |
77 | REAL = 295, | |
78 | STRING = 296, | |
79 | TYPE = 297, | |
80 | OTHER = 298, | |
81 | FILENAME = 299 | |
c40f5640 | 82 | }; |
1da177e4 | 83 | #endif |
1da177e4 LT |
84 | |
85 | ||
c40f5640 | 86 | |
70f75246 | 87 | #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED |
c40f5640 | 88 | typedef int YYSTYPE; |
303fc01f | 89 | # define YYSTYPE_IS_TRIVIAL 1 |
c40f5640 SR |
90 | # define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
91 | # define YYSTYPE_IS_DECLARED 1 | |
c40f5640 SR |
92 | #endif |
93 | ||
1da177e4 | 94 | extern YYSTYPE yylval; |
c40f5640 | 95 | |
303fc01f | 96 |