1/* A Bison parser, made by GNU Bison 2.5. */ 2 3/* Bison interface for Yacc-like parsers in C 4 5 Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc. 6 7 This program is free software: you can redistribute it and/or modify 8 it under the terms of the GNU General Public License as published by 9 the Free Software Foundation, either version 3 of the License, or 10 (at your option) any later version. 11 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. 16 17 You should have received a copy of the GNU General Public License 18 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 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. 29 30 This special exception was added by the Free Software Foundation in 31 version 2.2 of Bison. */ 32 33 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 COMMA_FINAL = 258, 41 DEFINED = 259, 42 ELIF_EXPANDED = 260, 43 HASH = 261, 44 HASH_DEFINE = 262, 45 FUNC_IDENTIFIER = 263, 46 OBJ_IDENTIFIER = 264, 47 HASH_ELIF = 265, 48 HASH_ELSE = 266, 49 HASH_ENDIF = 267, 50 HASH_IF = 268, 51 HASH_IFDEF = 269, 52 HASH_IFNDEF = 270, 53 HASH_LINE = 271, 54 HASH_UNDEF = 272, 55 HASH_VERSION = 273, 56 IDENTIFIER = 274, 57 IF_EXPANDED = 275, 58 INTEGER = 276, 59 INTEGER_STRING = 277, 60 LINE_EXPANDED = 278, 61 NEWLINE = 279, 62 OTHER = 280, 63 PLACEHOLDER = 281, 64 SPACE = 282, 65 PASTE = 283, 66 OR = 284, 67 AND = 285, 68 NOT_EQUAL = 286, 69 EQUAL = 287, 70 GREATER_OR_EQUAL = 288, 71 LESS_OR_EQUAL = 289, 72 RIGHT_SHIFT = 290, 73 LEFT_SHIFT = 291, 74 UNARY = 292 75 }; 76#endif 77/* Tokens. */ 78#define COMMA_FINAL 258 79#define DEFINED 259 80#define ELIF_EXPANDED 260 81#define HASH 261 82#define HASH_DEFINE 262 83#define FUNC_IDENTIFIER 263 84#define OBJ_IDENTIFIER 264 85#define HASH_ELIF 265 86#define HASH_ELSE 266 87#define HASH_ENDIF 267 88#define HASH_IF 268 89#define HASH_IFDEF 269 90#define HASH_IFNDEF 270 91#define HASH_LINE 271 92#define HASH_UNDEF 272 93#define HASH_VERSION 273 94#define IDENTIFIER 274 95#define IF_EXPANDED 275 96#define INTEGER 276 97#define INTEGER_STRING 277 98#define LINE_EXPANDED 278 99#define NEWLINE 279 100#define OTHER 280 101#define PLACEHOLDER 281 102#define SPACE 282 103#define PASTE 283 104#define OR 284 105#define AND 285 106#define NOT_EQUAL 286 107#define EQUAL 287 108#define GREATER_OR_EQUAL 288 109#define LESS_OR_EQUAL 289 110#define RIGHT_SHIFT 290 111#define LEFT_SHIFT 291 112#define UNARY 292 113 114 115 116 117#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 118 119# define yystype YYSTYPE /* obsolescent; will be withdrawn */ 120# define YYSTYPE_IS_DECLARED 1 121#endif 122 123 124 125#if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED 126typedef struct YYLTYPE 127{ 128 int first_line; 129 int first_column; 130 int last_line; 131 int last_column; 132} YYLTYPE; 133# define yyltype YYLTYPE /* obsolescent; will be withdrawn */ 134# define YYLTYPE_IS_DECLARED 1 135# define YYLTYPE_IS_TRIVIAL 1 136#endif 137 138 139 140