18403881c365ab36b721ccc4500af1b3a5bd25870mikesamuel/* A Bison parser, made by GNU Bison 2.5. */ 28403881c365ab36b721ccc4500af1b3a5bd25870mikesamuel 38403881c365ab36b721ccc4500af1b3a5bd25870mikesamuel/* Bison interface for Yacc-like parsers in C 48403881c365ab36b721ccc4500af1b3a5bd25870mikesamuel 58403881c365ab36b721ccc4500af1b3a5bd25870mikesamuel Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc. 68403881c365ab36b721ccc4500af1b3a5bd25870mikesamuel 78403881c365ab36b721ccc4500af1b3a5bd25870mikesamuel This program is free software: you can redistribute it and/or modify 88403881c365ab36b721ccc4500af1b3a5bd25870mikesamuel it under the terms of the GNU General Public License as published by 98403881c365ab36b721ccc4500af1b3a5bd25870mikesamuel the Free Software Foundation, either version 3 of the License, or 108403881c365ab36b721ccc4500af1b3a5bd25870mikesamuel (at your option) any later version. 118403881c365ab36b721ccc4500af1b3a5bd25870mikesamuel 128403881c365ab36b721ccc4500af1b3a5bd25870mikesamuel This program is distributed in the hope that it will be useful, 138403881c365ab36b721ccc4500af1b3a5bd25870mikesamuel but WITHOUT ANY WARRANTY; without even the implied warranty of 148403881c365ab36b721ccc4500af1b3a5bd25870mikesamuel MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 158403881c365ab36b721ccc4500af1b3a5bd25870mikesamuel GNU General Public License for more details. 168403881c365ab36b721ccc4500af1b3a5bd25870mikesamuel 178403881c365ab36b721ccc4500af1b3a5bd25870mikesamuel You should have received a copy of the GNU General Public License 188403881c365ab36b721ccc4500af1b3a5bd25870mikesamuel along with this program. If not, see <http://www.gnu.org/licenses/>. */ 198403881c365ab36b721ccc4500af1b3a5bd25870mikesamuel 208403881c365ab36b721ccc4500af1b3a5bd25870mikesamuel/* As a special exception, you may create a larger work that contains 218403881c365ab36b721ccc4500af1b3a5bd25870mikesamuel part or all of the Bison parser skeleton and distribute that work 228403881c365ab36b721ccc4500af1b3a5bd25870mikesamuel under terms of your choice, so long as that work isn't itself a 238403881c365ab36b721ccc4500af1b3a5bd25870mikesamuel parser generator using the skeleton or a modified version thereof 248403881c365ab36b721ccc4500af1b3a5bd25870mikesamuel as a parser skeleton. Alternatively, if you modify or redistribute 258403881c365ab36b721ccc4500af1b3a5bd25870mikesamuel the parser skeleton itself, you may (at your option) remove this 268403881c365ab36b721ccc4500af1b3a5bd25870mikesamuel special exception, which will cause the skeleton and the resulting 278403881c365ab36b721ccc4500af1b3a5bd25870mikesamuel Bison output files to be licensed under the GNU General Public 288403881c365ab36b721ccc4500af1b3a5bd25870mikesamuel License without this special exception. 295c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com 305c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com This special exception was added by the Free Software Foundation in 315c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com version 2.2 of Bison. */ 326d8c2e9241d042a3e0bff40dac4c388966ad060cmikesamuel 335c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com 346d8c2e9241d042a3e0bff40dac4c388966ad060cmikesamuel/* Tokens. */ 355c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com#ifndef YYTOKENTYPE 364e867904c8295537803c1c8a076e130df5674b58mikesamuel# define YYTOKENTYPE 375c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com /* Put the tokens into the symbol table, so that GDB and other debuggers 386d8c2e9241d042a3e0bff40dac4c388966ad060cmikesamuel know about them. */ 395c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com enum yytokentype { 405c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com COMMA_FINAL = 258, 415c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com DEFINED = 259, 426d8c2e9241d042a3e0bff40dac4c388966ad060cmikesamuel ELIF_EXPANDED = 260, 435c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com HASH = 261, 44d78e82dfc7da9c1e4ad8e4199bc375089a799c85mikesamuel HASH_DEFINE = 262, 45c9415e2bae5ddb7887d87a6e38a4d3074dfb320bmikesamuel FUNC_IDENTIFIER = 263, 46d78e82dfc7da9c1e4ad8e4199bc375089a799c85mikesamuel OBJ_IDENTIFIER = 264, 47d78e82dfc7da9c1e4ad8e4199bc375089a799c85mikesamuel HASH_ELIF = 265, 48d78e82dfc7da9c1e4ad8e4199bc375089a799c85mikesamuel HASH_ELSE = 266, 496d8c2e9241d042a3e0bff40dac4c388966ad060cmikesamuel HASH_ENDIF = 267, 505c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com HASH_IF = 268, 515c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com HASH_IFDEF = 269, 525c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com HASH_IFNDEF = 270, 535c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com HASH_LINE = 271, 545c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com HASH_UNDEF = 272, 556d8c2e9241d042a3e0bff40dac4c388966ad060cmikesamuel HASH_VERSION = 273, 565c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com IDENTIFIER = 274, 575c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com IF_EXPANDED = 275, 586d8c2e9241d042a3e0bff40dac4c388966ad060cmikesamuel INTEGER = 276, 595c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com INTEGER_STRING = 277, 605c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com LINE_EXPANDED = 278, 615c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com NEWLINE = 279, 625c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com OTHER = 280, 635c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com PLACEHOLDER = 281, 645c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com SPACE = 282, 655c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com PASTE = 283, 665c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com OR = 284, 675c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com AND = 285, 685c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com NOT_EQUAL = 286, 695c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com EQUAL = 287, 705c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com GREATER_OR_EQUAL = 288, 715c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com LESS_OR_EQUAL = 289, 725c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com RIGHT_SHIFT = 290, 735c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com LEFT_SHIFT = 291, 745c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com UNARY = 292 755c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com }; 765c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com#endif 775c702c12be71d8070da9287cc4a044617dd726a7manico.james@gmail.com/* 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