| Sam Ravnborg | 70f7524 | 2007-09-01 10:26:32 +0200 | [diff] [blame] | 1 | /* A Bison parser, made by GNU Bison 2.3.  */ | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 |  | 
| Sam Ravnborg | 70f7524 | 2007-09-01 10:26:32 +0200 | [diff] [blame] | 3 | /* Skeleton interface for Bison's Yacc-like parsers in C | 
|  | 4 |  | 
|  | 5 | Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 | 
|  | 6 | Free Software Foundation, Inc. | 
| Sam Ravnborg | c40f564 | 2005-12-26 22:53:25 +0100 | [diff] [blame] | 7 |  | 
|  | 8 | This program is free software; you can redistribute it and/or modify | 
|  | 9 | it under the terms of the GNU General Public License as published by | 
|  | 10 | the Free Software Foundation; either version 2, or (at your option) | 
|  | 11 | any later version. | 
|  | 12 |  | 
|  | 13 | This program is distributed in the hope that it will be useful, | 
|  | 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 
|  | 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
|  | 16 | GNU General Public License for more details. | 
|  | 17 |  | 
|  | 18 | You should have received a copy of the GNU General Public License | 
|  | 19 | along with this program; if not, write to the Free Software | 
| Sam Ravnborg | 70f7524 | 2007-09-01 10:26:32 +0200 | [diff] [blame] | 20 | Foundation, Inc., 51 Franklin Street, Fifth Floor, | 
|  | 21 | Boston, MA 02110-1301, USA.  */ | 
| Sam Ravnborg | c40f564 | 2005-12-26 22:53:25 +0100 | [diff] [blame] | 22 |  | 
| Sam Ravnborg | 70f7524 | 2007-09-01 10:26:32 +0200 | [diff] [blame] | 23 | /* As a special exception, you may create a larger work that contains | 
|  | 24 | part or all of the Bison parser skeleton and distribute that work | 
|  | 25 | under terms of your choice, so long as that work isn't itself a | 
|  | 26 | parser generator using the skeleton or a modified version thereof | 
|  | 27 | as a parser skeleton.  Alternatively, if you modify or redistribute | 
|  | 28 | the parser skeleton itself, you may (at your option) remove this | 
|  | 29 | special exception, which will cause the skeleton and the resulting | 
|  | 30 | Bison output files to be licensed under the GNU General Public | 
|  | 31 | License without this special exception. | 
|  | 32 |  | 
|  | 33 | This special exception was added by the Free Software Foundation in | 
|  | 34 | version 2.2 of Bison.  */ | 
| Sam Ravnborg | c40f564 | 2005-12-26 22:53:25 +0100 | [diff] [blame] | 35 |  | 
|  | 36 | /* 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 Ravnborg | 70f7524 | 2007-09-01 10:26:32 +0200 | [diff] [blame] | 51 | 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 Ravnborg | c40f564 | 2005-12-26 22:53:25 +0100 | [diff] [blame] | 83 | }; | 
|  | 84 | #endif | 
| Sam Ravnborg | 70f7524 | 2007-09-01 10:26:32 +0200 | [diff] [blame] | 85 | /* Tokens.  */ | 
| Sam Ravnborg | c40f564 | 2005-12-26 22:53:25 +0100 | [diff] [blame] | 86 | #define ASM_KEYW 258 | 
|  | 87 | #define ATTRIBUTE_KEYW 259 | 
|  | 88 | #define AUTO_KEYW 260 | 
|  | 89 | #define BOOL_KEYW 261 | 
|  | 90 | #define CHAR_KEYW 262 | 
|  | 91 | #define CONST_KEYW 263 | 
|  | 92 | #define DOUBLE_KEYW 264 | 
|  | 93 | #define ENUM_KEYW 265 | 
|  | 94 | #define EXTERN_KEYW 266 | 
| Sam Ravnborg | 70f7524 | 2007-09-01 10:26:32 +0200 | [diff] [blame] | 95 | #define EXTENSION_KEYW 267 | 
|  | 96 | #define FLOAT_KEYW 268 | 
|  | 97 | #define INLINE_KEYW 269 | 
|  | 98 | #define INT_KEYW 270 | 
|  | 99 | #define LONG_KEYW 271 | 
|  | 100 | #define REGISTER_KEYW 272 | 
|  | 101 | #define RESTRICT_KEYW 273 | 
|  | 102 | #define SHORT_KEYW 274 | 
|  | 103 | #define SIGNED_KEYW 275 | 
|  | 104 | #define STATIC_KEYW 276 | 
|  | 105 | #define STRUCT_KEYW 277 | 
|  | 106 | #define TYPEDEF_KEYW 278 | 
|  | 107 | #define UNION_KEYW 279 | 
|  | 108 | #define UNSIGNED_KEYW 280 | 
|  | 109 | #define VOID_KEYW 281 | 
|  | 110 | #define VOLATILE_KEYW 282 | 
|  | 111 | #define TYPEOF_KEYW 283 | 
|  | 112 | #define EXPORT_SYMBOL_KEYW 284 | 
|  | 113 | #define ASM_PHRASE 285 | 
|  | 114 | #define ATTRIBUTE_PHRASE 286 | 
|  | 115 | #define BRACE_PHRASE 287 | 
|  | 116 | #define BRACKET_PHRASE 288 | 
|  | 117 | #define EXPRESSION_PHRASE 289 | 
|  | 118 | #define CHAR 290 | 
|  | 119 | #define DOTS 291 | 
|  | 120 | #define IDENT 292 | 
|  | 121 | #define INT 293 | 
|  | 122 | #define REAL 294 | 
|  | 123 | #define STRING 295 | 
|  | 124 | #define TYPE 296 | 
|  | 125 | #define OTHER 297 | 
|  | 126 | #define FILENAME 298 | 
| Sam Ravnborg | c40f564 | 2005-12-26 22:53:25 +0100 | [diff] [blame] | 127 |  | 
|  | 128 |  | 
|  | 129 |  | 
|  | 130 |  | 
| Sam Ravnborg | 70f7524 | 2007-09-01 10:26:32 +0200 | [diff] [blame] | 131 | #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED | 
| Sam Ravnborg | c40f564 | 2005-12-26 22:53:25 +0100 | [diff] [blame] | 132 | typedef int YYSTYPE; | 
|  | 133 | # define yystype YYSTYPE /* obsolescent; will be withdrawn */ | 
|  | 134 | # define YYSTYPE_IS_DECLARED 1 | 
|  | 135 | # define YYSTYPE_IS_TRIVIAL 1 | 
|  | 136 | #endif | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 137 |  | 
|  | 138 | extern YYSTYPE yylval; | 
| Sam Ravnborg | c40f564 | 2005-12-26 22:53:25 +0100 | [diff] [blame] | 139 |  |