Carl Worth | e29cd39 | 2010-08-10 16:59:20 -0700 | [diff] [blame] | 1 | |
| 2 | /* A Bison parser, made by GNU Bison 2.4.1. */ |
Carl Worth | 667173e | 2010-07-28 12:33:56 -0700 | [diff] [blame] | 3 | |
| 4 | /* Skeleton interface for Bison's Yacc-like parsers in C |
| 5 | |
Carl Worth | e29cd39 | 2010-08-10 16:59:20 -0700 | [diff] [blame] | 6 | Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 |
| 7 | Free Software Foundation, Inc. |
Carl Worth | 667173e | 2010-07-28 12:33:56 -0700 | [diff] [blame] | 8 | |
| 9 | This program is free software: you can redistribute it and/or modify |
| 10 | it under the terms of the GNU General Public License as published by |
| 11 | the Free Software Foundation, either version 3 of the License, or |
| 12 | (at your option) any later version. |
| 13 | |
| 14 | 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. |
| 18 | |
| 19 | You should have received a copy of the GNU General Public License |
| 20 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
| 21 | |
| 22 | /* 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. |
| 31 | |
| 32 | This special exception was added by the Free Software Foundation in |
| 33 | version 2.2 of Bison. */ |
| 34 | |
| 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 | COMMA_FINAL = 258, |
| 43 | DEFINED = 259, |
| 44 | ELIF_EXPANDED = 260, |
| 45 | HASH = 261, |
| 46 | HASH_DEFINE_FUNC = 262, |
| 47 | HASH_DEFINE_OBJ = 263, |
| 48 | HASH_ELIF = 264, |
| 49 | HASH_ELSE = 265, |
| 50 | HASH_ENDIF = 266, |
| 51 | HASH_IF = 267, |
| 52 | HASH_IFDEF = 268, |
| 53 | HASH_IFNDEF = 269, |
| 54 | HASH_UNDEF = 270, |
Eric Anholt | d4a04f3 | 2010-07-28 16:58:39 -0700 | [diff] [blame] | 55 | HASH_VERSION = 271, |
| 56 | IDENTIFIER = 272, |
| 57 | IF_EXPANDED = 273, |
| 58 | INTEGER = 274, |
| 59 | INTEGER_STRING = 275, |
| 60 | NEWLINE = 276, |
| 61 | OTHER = 277, |
| 62 | PLACEHOLDER = 278, |
| 63 | SPACE = 279, |
| 64 | PASTE = 280, |
| 65 | OR = 281, |
| 66 | AND = 282, |
| 67 | NOT_EQUAL = 283, |
| 68 | EQUAL = 284, |
| 69 | GREATER_OR_EQUAL = 285, |
| 70 | LESS_OR_EQUAL = 286, |
| 71 | RIGHT_SHIFT = 287, |
| 72 | LEFT_SHIFT = 288, |
| 73 | UNARY = 289 |
Carl Worth | 667173e | 2010-07-28 12:33:56 -0700 | [diff] [blame] | 74 | }; |
| 75 | #endif |
| 76 | |
| 77 | |
| 78 | |
| 79 | #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED |
| 80 | |
| 81 | # define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
| 82 | # define YYSTYPE_IS_DECLARED 1 |
| 83 | #endif |
| 84 | |
| 85 | |
| 86 | |
| 87 | #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED |
| 88 | typedef struct YYLTYPE |
| 89 | { |
| 90 | int first_line; |
| 91 | int first_column; |
| 92 | int last_line; |
| 93 | int last_column; |
| 94 | } YYLTYPE; |
| 95 | # define yyltype YYLTYPE /* obsolescent; will be withdrawn */ |
| 96 | # define YYLTYPE_IS_DECLARED 1 |
| 97 | # define YYLTYPE_IS_TRIVIAL 1 |
| 98 | #endif |
| 99 | |
| 100 | |
| 101 | |