1 /* A Bison parser, made by GNU Bison 2.7.12-4996. */ 2 3 /* Bison interface for Yacc-like parsers in C 4 5 Copyright (C) 1984, 1989-1990, 2000-2013 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 #ifndef YY_PHPDBG_SAPI_PHPDBG_PHPDBG_PARSER_H_INCLUDED 34 # define YY_PHPDBG_SAPI_PHPDBG_PHPDBG_PARSER_H_INCLUDED 35 /* Enabling traces. */ 36 #ifndef YYDEBUG 37 # define YYDEBUG 0 38 #endif 39 #if YYDEBUG 40 extern int phpdbg_debug; 41 #endif 42 /* "%code requires" blocks. */ 43 /* Line 2060 of yacc.c */ 44 #line 36 "sapi/phpdbg/phpdbg_parser.y" 45 46 #include "phpdbg.h" 47 #ifndef YY_TYPEDEF_YY_SCANNER_T 48 #define YY_TYPEDEF_YY_SCANNER_T 49 typedef void* yyscan_t; 50 #endif 51 52 53 /* Line 2060 of yacc.c */ 54 #line 55 "sapi/phpdbg/phpdbg_parser.h" 55 56 /* Tokens. */ 57 #ifndef YYTOKENTYPE 58 # define YYTOKENTYPE 59 /* Put the tokens into the symbol table, so that GDB and other debuggers 60 know about them. */ 61 enum yytokentype { 62 T_EVAL = 258, 63 T_RUN = 259, 64 T_SHELL = 260, 65 T_IF = 261, 66 T_TRUTHY = 262, 67 T_FALSY = 263, 68 T_STRING = 264, 69 T_COLON = 265, 70 T_DCOLON = 266, 71 T_POUND = 267, 72 T_SEPARATOR = 268, 73 T_PROTO = 269, 74 T_DIGITS = 270, 75 T_LITERAL = 271, 76 T_ADDR = 272, 77 T_OPCODE = 273, 78 T_ID = 274, 79 T_INPUT = 275, 80 T_UNEXPECTED = 276, 81 T_REQ_ID = 277 82 }; 83 #endif 84 /* Tokens. */ 85 #define T_EVAL 258 86 #define T_RUN 259 87 #define T_SHELL 260 88 #define T_IF 261 89 #define T_TRUTHY 262 90 #define T_FALSY 263 91 #define T_STRING 264 92 #define T_COLON 265 93 #define T_DCOLON 266 94 #define T_POUND 267 95 #define T_SEPARATOR 268 96 #define T_PROTO 269 97 #define T_DIGITS 270 98 #define T_LITERAL 271 99 #define T_ADDR 272 100 #define T_OPCODE 273 101 #define T_ID 274 102 #define T_INPUT 275 103 #define T_UNEXPECTED 276 104 #define T_REQ_ID 277 105 106 107 108 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 109 typedef int YYSTYPE; 110 # define YYSTYPE_IS_TRIVIAL 1 111 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 112 # define YYSTYPE_IS_DECLARED 1 113 #endif 114 115 116 #ifdef YYPARSE_PARAM 117 #if defined __STDC__ || defined __cplusplus 118 int phpdbg_parse (void *YYPARSE_PARAM); 119 #else 120 int phpdbg_parse (); 121 #endif 122 #else /* ! YYPARSE_PARAM */ 123 #if defined __STDC__ || defined __cplusplus 124 int phpdbg_parse (void); 125 #else 126 int phpdbg_parse (); 127 #endif 128 #endif /* ! YYPARSE_PARAM */ 129 130 #endif /* !YY_PHPDBG_SAPI_PHPDBG_PHPDBG_PARSER_H_INCLUDED */ 131