Michal Marek | d93cf73 | 2018-02-20 12:55:01 +0100 | [diff] [blame] | 1 | /* A Bison parser, made by GNU Bison 3.0.4. */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | |
Michal Marek | 0359de7 | 2011-10-11 12:07:05 +0200 | [diff] [blame] | 3 | /* Bison interface for Yacc-like parsers in C |
Michal Marek | d93cf73 | 2018-02-20 12:55:01 +0100 | [diff] [blame] | 4 | |
| 5 | Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc. |
| 6 | |
Michal Marek | 303fc01 | 2011-02-15 16:04:35 +0100 | [diff] [blame] | 7 | This program is free software: you can redistribute it and/or modify |
Sam Ravnborg | c40f564 | 2005-12-26 22:53:25 +0100 | [diff] [blame] | 8 | it under the terms of the GNU General Public License as published by |
Michal Marek | 303fc01 | 2011-02-15 16:04:35 +0100 | [diff] [blame] | 9 | the Free Software Foundation, either version 3 of the License, or |
| 10 | (at your option) any later version. |
Michal Marek | d93cf73 | 2018-02-20 12:55:01 +0100 | [diff] [blame] | 11 | |
Sam Ravnborg | c40f564 | 2005-12-26 22:53:25 +0100 | [diff] [blame] | 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. |
Michal Marek | d93cf73 | 2018-02-20 12:55:01 +0100 | [diff] [blame] | 16 | |
Sam Ravnborg | c40f564 | 2005-12-26 22:53:25 +0100 | [diff] [blame] | 17 | You should have received a copy of the GNU General Public License |
Michal Marek | 303fc01 | 2011-02-15 16:04:35 +0100 | [diff] [blame] | 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
Sam Ravnborg | c40f564 | 2005-12-26 22:53:25 +0100 | [diff] [blame] | 19 | |
Sam Ravnborg | 70f7524 | 2007-09-01 10:26:32 +0200 | [diff] [blame] | 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. |
Michal Marek | d93cf73 | 2018-02-20 12:55:01 +0100 | [diff] [blame] | 29 | |
Sam Ravnborg | 70f7524 | 2007-09-01 10:26:32 +0200 | [diff] [blame] | 30 | This special exception was added by the Free Software Foundation in |
| 31 | version 2.2 of Bison. */ |
Sam Ravnborg | c40f564 | 2005-12-26 22:53:25 +0100 | [diff] [blame] | 32 | |
Michal Marek | d93cf73 | 2018-02-20 12:55:01 +0100 | [diff] [blame] | 33 | #ifndef YY_YY_PARSE_TAB_H_INCLUDED |
| 34 | # define YY_YY_PARSE_TAB_H_INCLUDED |
| 35 | /* Debug traces. */ |
Michal Marek | 5b733fa | 2015-08-20 14:13:35 +0200 | [diff] [blame] | 36 | #ifndef YYDEBUG |
Michal Marek | d93cf73 | 2018-02-20 12:55:01 +0100 | [diff] [blame] | 37 | # define YYDEBUG 0 |
Michal Marek | 5b733fa | 2015-08-20 14:13:35 +0200 | [diff] [blame] | 38 | #endif |
| 39 | #if YYDEBUG |
| 40 | extern int yydebug; |
| 41 | #endif |
Michal Marek | 303fc01 | 2011-02-15 16:04:35 +0100 | [diff] [blame] | 42 | |
Michal Marek | d93cf73 | 2018-02-20 12:55:01 +0100 | [diff] [blame] | 43 | /* Token type. */ |
Sam Ravnborg | c40f564 | 2005-12-26 22:53:25 +0100 | [diff] [blame] | 44 | #ifndef YYTOKENTYPE |
| 45 | # define YYTOKENTYPE |
Michal Marek | d93cf73 | 2018-02-20 12:55:01 +0100 | [diff] [blame] | 46 | enum yytokentype |
| 47 | { |
| 48 | ASM_KEYW = 258, |
| 49 | ATTRIBUTE_KEYW = 259, |
| 50 | AUTO_KEYW = 260, |
| 51 | BOOL_KEYW = 261, |
| 52 | CHAR_KEYW = 262, |
| 53 | CONST_KEYW = 263, |
| 54 | DOUBLE_KEYW = 264, |
| 55 | ENUM_KEYW = 265, |
| 56 | EXTERN_KEYW = 266, |
| 57 | EXTENSION_KEYW = 267, |
| 58 | FLOAT_KEYW = 268, |
| 59 | INLINE_KEYW = 269, |
| 60 | INT_KEYW = 270, |
| 61 | LONG_KEYW = 271, |
| 62 | REGISTER_KEYW = 272, |
| 63 | RESTRICT_KEYW = 273, |
| 64 | SHORT_KEYW = 274, |
| 65 | SIGNED_KEYW = 275, |
| 66 | STATIC_KEYW = 276, |
| 67 | STRUCT_KEYW = 277, |
| 68 | TYPEDEF_KEYW = 278, |
| 69 | UNION_KEYW = 279, |
| 70 | UNSIGNED_KEYW = 280, |
| 71 | VOID_KEYW = 281, |
| 72 | VOLATILE_KEYW = 282, |
| 73 | TYPEOF_KEYW = 283, |
| 74 | EXPORT_SYMBOL_KEYW = 284, |
| 75 | ASM_PHRASE = 285, |
| 76 | ATTRIBUTE_PHRASE = 286, |
| 77 | TYPEOF_PHRASE = 287, |
| 78 | BRACE_PHRASE = 288, |
| 79 | BRACKET_PHRASE = 289, |
| 80 | EXPRESSION_PHRASE = 290, |
| 81 | CHAR = 291, |
| 82 | DOTS = 292, |
| 83 | IDENT = 293, |
| 84 | INT = 294, |
| 85 | REAL = 295, |
| 86 | STRING = 296, |
| 87 | TYPE = 297, |
| 88 | OTHER = 298, |
| 89 | FILENAME = 299 |
| 90 | }; |
Sam Ravnborg | c40f564 | 2005-12-26 22:53:25 +0100 | [diff] [blame] | 91 | #endif |
Sam Ravnborg | c40f564 | 2005-12-26 22:53:25 +0100 | [diff] [blame] | 92 | |
Michal Marek | d93cf73 | 2018-02-20 12:55:01 +0100 | [diff] [blame] | 93 | /* Value type. */ |
Sam Ravnborg | 70f7524 | 2007-09-01 10:26:32 +0200 | [diff] [blame] | 94 | #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED |
Sam Ravnborg | c40f564 | 2005-12-26 22:53:25 +0100 | [diff] [blame] | 95 | typedef int YYSTYPE; |
Michal Marek | 303fc01 | 2011-02-15 16:04:35 +0100 | [diff] [blame] | 96 | # define YYSTYPE_IS_TRIVIAL 1 |
Sam Ravnborg | c40f564 | 2005-12-26 22:53:25 +0100 | [diff] [blame] | 97 | # define YYSTYPE_IS_DECLARED 1 |
Sam Ravnborg | c40f564 | 2005-12-26 22:53:25 +0100 | [diff] [blame] | 98 | #endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 99 | |
Michal Marek | d93cf73 | 2018-02-20 12:55:01 +0100 | [diff] [blame] | 100 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 101 | extern YYSTYPE yylval; |
Sam Ravnborg | c40f564 | 2005-12-26 22:53:25 +0100 | [diff] [blame] | 102 | |
Michal Marek | 5b733fa | 2015-08-20 14:13:35 +0200 | [diff] [blame] | 103 | int yyparse (void); |
Michal Marek | 303fc01 | 2011-02-15 16:04:35 +0100 | [diff] [blame] | 104 | |
Michal Marek | d93cf73 | 2018-02-20 12:55:01 +0100 | [diff] [blame] | 105 | #endif /* !YY_YY_PARSE_TAB_H_INCLUDED */ |