1 /* A Bison parser, made by GNU Bison 3.8.2. */ 2 3 /* Bison interface for Yacc-like parsers in C 4 5 Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation, 6 Inc. 7 8 This program is free software: you can redistribute it and/or modify 9 it under the terms of the GNU General Public License as published by 10 the Free Software Foundation, either version 3 of the License, or 11 (at your option) any later version. 12 13 This program is distributed in the hope that it will be useful, 14 but WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 GNU General Public License for more details. 17 18 You should have received a copy of the GNU General Public License 19 along with this program. If not, see <https://www.gnu.org/licenses/>. */ 20 21 /* As a special exception, you may create a larger work that contains 22 part or all of the Bison parser skeleton and distribute that work 23 under terms of your choice, so long as that work isn't itself a 24 parser generator using the skeleton or a modified version thereof 25 as a parser skeleton. Alternatively, if you modify or redistribute 26 the parser skeleton itself, you may (at your option) remove this 27 special exception, which will cause the skeleton and the resulting 28 Bison output files to be licensed under the GNU General Public 29 License without this special exception. 30 31 This special exception was added by the Free Software Foundation in 32 version 2.2 of Bison. */ 33 34 /* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual, 35 especially those whose name start with YY_ or yy_. They are 36 private implementation details that can be changed or removed. */ 37 38 #ifndef YY_INI_ZEND_ZEND_INI_PARSER_H_INCLUDED 39 # define YY_INI_ZEND_ZEND_INI_PARSER_H_INCLUDED 40 /* Debug traces. */ 41 #ifndef INI_DEBUG 42 # if defined YYDEBUG 43 #if YYDEBUG 44 # define INI_DEBUG 1 45 # else 46 # define INI_DEBUG 0 47 # endif 48 # else /* ! defined YYDEBUG */ 49 # define INI_DEBUG 0 50 # endif /* ! defined YYDEBUG */ 51 #endif /* ! defined INI_DEBUG */ 52 #if INI_DEBUG 53 extern int ini_debug; 54 #endif 55 56 /* Token kinds. */ 57 #ifndef INI_TOKENTYPE 58 # define INI_TOKENTYPE 59 enum ini_tokentype 60 { 61 INI_EMPTY = -2, 62 END = 0, /* "end of file" */ 63 INI_error = 256, /* error */ 64 INI_UNDEF = 257, /* "invalid token" */ 65 TC_SECTION = 258, /* TC_SECTION */ 66 TC_RAW = 259, /* TC_RAW */ 67 TC_CONSTANT = 260, /* TC_CONSTANT */ 68 TC_NUMBER = 261, /* TC_NUMBER */ 69 TC_STRING = 262, /* TC_STRING */ 70 TC_WHITESPACE = 263, /* TC_WHITESPACE */ 71 TC_LABEL = 264, /* TC_LABEL */ 72 TC_OFFSET = 265, /* TC_OFFSET */ 73 TC_DOLLAR_CURLY = 266, /* TC_DOLLAR_CURLY */ 74 TC_VARNAME = 267, /* TC_VARNAME */ 75 TC_QUOTED_STRING = 268, /* TC_QUOTED_STRING */ 76 BOOL_TRUE = 269, /* BOOL_TRUE */ 77 BOOL_FALSE = 270, /* BOOL_FALSE */ 78 NULL_NULL = 271, /* NULL_NULL */ 79 END_OF_LINE = 272 /* END_OF_LINE */ 80 }; 81 typedef enum ini_tokentype ini_token_kind_t; 82 #endif 83 84 /* Value type. */ 85 #if ! defined INI_STYPE && ! defined INI_STYPE_IS_DECLARED 86 typedef zval INI_STYPE; 87 # define INI_STYPE_IS_TRIVIAL 1 88 # define INI_STYPE_IS_DECLARED 1 89 #endif 90 91 92 93 94 int ini_parse (void); 95 96 97 #endif /* !YY_INI_ZEND_ZEND_INI_PARSER_H_INCLUDED */ 98