PHP  
 PHP: Test and Code Coverage Analysis
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

LCOV - code coverage report
Current view: top level - Zend - zend_ini_parser.c (source / functions) Hit Total Coverage
Test: PHP Code Coverage Lines: 137 204 67.2 %
Date: 2016-06-25 Functions: 4 4 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : 
       2             : /* A Bison parser, made by GNU Bison 2.4.1.  */
       3             : 
       4             : /* Skeleton implementation for Bison's Yacc-like parsers in C
       5             :    
       6             :       Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
       7             :    Free Software Foundation, Inc.
       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             : /* C LALR(1) parser skeleton written by Richard Stallman, by
      36             :    simplifying the original so-called "semantic" parser.  */
      37             : 
      38             : /* All symbols defined below should begin with yy or YY, to avoid
      39             :    infringing on user name space.  This should be done even for local
      40             :    variables, as they might otherwise be expanded by user macros.
      41             :    There are some unavoidable exceptions within include files to
      42             :    define necessary library symbols; they are noted "INFRINGES ON
      43             :    USER NAME SPACE" below.  */
      44             : 
      45             : /* Identify Bison output.  */
      46             : #define YYBISON 1
      47             : 
      48             : /* Bison version.  */
      49             : #define YYBISON_VERSION "2.4.1"
      50             : 
      51             : /* Skeleton name.  */
      52             : #define YYSKELETON_NAME "yacc.c"
      53             : 
      54             : /* Pure parsers.  */
      55             : #define YYPURE 1
      56             : 
      57             : /* Push parsers.  */
      58             : #define YYPUSH 0
      59             : 
      60             : /* Pull parsers.  */
      61             : #define YYPULL 1
      62             : 
      63             : /* Using locations.  */
      64             : #define YYLSP_NEEDED 0
      65             : 
      66             : /* Substitute the variable and function names.  */
      67             : #define yyparse         ini_parse
      68             : #define yylex           ini_lex
      69             : #define yyerror         ini_error
      70             : #define yylval          ini_lval
      71             : #define yychar          ini_char
      72             : #define yydebug         ini_debug
      73             : #define yynerrs         ini_nerrs
      74             : 
      75             : 
      76             : /* Copy the first part of user declarations.  */
      77             : 
      78             : /* Line 189 of yacc.c  */
      79             : #line 1 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
      80             : 
      81             : /*
      82             :    +----------------------------------------------------------------------+
      83             :    | Zend Engine                                                          |
      84             :    +----------------------------------------------------------------------+
      85             :    | Copyright (c) 1998-2016 Zend Technologies Ltd. (http://www.zend.com) |
      86             :    +----------------------------------------------------------------------+
      87             :    | This source file is subject to version 2.00 of the Zend license,     |
      88             :    | that is bundled with this package in the file LICENSE, and is        |
      89             :    | available through the world-wide-web at the following url:           |
      90             :    | http://www.zend.com/license/2_00.txt.                                |
      91             :    | If you did not receive a copy of the Zend license and are unable to  |
      92             :    | obtain it through the world-wide-web, please send a note to          |
      93             :    | license@zend.com so we can mail you a copy immediately.              |
      94             :    +----------------------------------------------------------------------+
      95             :    | Authors: Zeev Suraski <zeev@zend.com>                                |
      96             :    |          Jani Taskinen <jani@php.net>                                |
      97             :    +----------------------------------------------------------------------+
      98             : */
      99             : 
     100             : /* $Id$ */
     101             : 
     102             : #define DEBUG_CFG_PARSER 0
     103             : 
     104             : #include "zend.h"
     105             : #include "zend_API.h"
     106             : #include "zend_ini.h"
     107             : #include "zend_constants.h"
     108             : #include "zend_ini_scanner.h"
     109             : #include "zend_extensions.h"
     110             : 
     111             : #ifdef ZEND_WIN32
     112             : #include "win32/syslog.h"
     113             : #endif
     114             : 
     115             : #define YYERROR_VERBOSE
     116             : #define YYSTYPE zval
     117             : 
     118             : int ini_parse(void);
     119             : 
     120             : #define ZEND_INI_PARSER_CB      (CG(ini_parser_param))->ini_parser_cb
     121             : #define ZEND_INI_PARSER_ARG     (CG(ini_parser_param))->arg
     122             : 
     123             : #ifdef _MSC_VER
     124             : #define YYMALLOC malloc
     125             : #define YYFREE free
     126             : #endif
     127             : 
     128             : /* {{{ zend_ini_do_op()
     129             : */
     130             : static void zend_ini_do_op(char type, zval *result, zval *op1, zval *op2)
     131             : {
     132             :         int i_result;
     133             :         int i_op1, i_op2;
     134             :         int str_len;
     135             :         char str_result[MAX_LENGTH_OF_LONG];
     136             : 
     137             :         i_op1 = atoi(Z_STRVAL_P(op1));
     138             :         zend_string_free(Z_STR_P(op1));
     139             :         if (op2) {
     140             :                 i_op2 = atoi(Z_STRVAL_P(op2));
     141             :                 zend_string_free(Z_STR_P(op2));
     142             :         } else {
     143             :                 i_op2 = 0;
     144             :         }
     145             : 
     146             :         switch (type) {
     147             :                 case '|':
     148             :                         i_result = i_op1 | i_op2;
     149             :                         break;
     150             :                 case '&':
     151             :                         i_result = i_op1 & i_op2;
     152             :                         break;
     153             :                 case '^':
     154             :                         i_result = i_op1 ^ i_op2;
     155             :                         break;
     156             :                 case '~':
     157             :                         i_result = ~i_op1;
     158             :                         break;
     159             :                 case '!':
     160             :                         i_result = !i_op1;
     161             :                         break;
     162             :                 default:
     163             :                         i_result = 0;
     164             :                         break;
     165             :         }
     166             : 
     167             :         str_len = zend_sprintf(str_result, "%d", i_result);
     168             :         ZVAL_PSTRINGL(result, str_result, str_len);
     169             : }
     170             : /* }}} */
     171             : 
     172             : /* {{{ zend_ini_init_string()
     173             : */
     174             : static void zend_ini_init_string(zval *result)
     175             : {
     176             :         ZVAL_EMPTY_PSTRING(result);
     177             : }
     178             : /* }}} */
     179             : 
     180             : /* {{{ zend_ini_add_string()
     181             : */
     182             : static void zend_ini_add_string(zval *result, zval *op1, zval *op2)
     183             : {
     184             :         int length, op1_len;
     185             : 
     186             :         if (Z_TYPE_P(op1) != IS_STRING) {
     187             :                 zend_string *str = zval_get_string(op1);
     188             :                 /* ZEND_ASSERT(!Z_REFCOUNTED_P(op1)); */
     189             :                 ZVAL_PSTRINGL(op1, ZSTR_VAL(str), ZSTR_LEN(str));
     190             :                 zend_string_release(str);
     191             :         }
     192             :         op1_len = (int)Z_STRLEN_P(op1);
     193             :         
     194             :         if (Z_TYPE_P(op2) != IS_STRING) {
     195             :                 convert_to_string(op2);
     196             :         }
     197             :         length = op1_len + (int)Z_STRLEN_P(op2);
     198             : 
     199             :         ZVAL_NEW_STR(result, zend_string_extend(Z_STR_P(op1), length, 1));
     200             :         memcpy(Z_STRVAL_P(result) + op1_len, Z_STRVAL_P(op2), Z_STRLEN_P(op2) + 1);
     201             : }
     202             : /* }}} */
     203             : 
     204             : /* {{{ zend_ini_get_constant()
     205             : */
     206             : static void zend_ini_get_constant(zval *result, zval *name)
     207             : {
     208             :         zval *c, tmp;
     209             : 
     210             :         /* If name contains ':' it is not a constant. Bug #26893. */
     211             :         if (!memchr(Z_STRVAL_P(name), ':', Z_STRLEN_P(name))
     212             :                         && (c = zend_get_constant(Z_STR_P(name))) != 0) {
     213             :                 if (Z_TYPE_P(c) != IS_STRING) {
     214             :                         ZVAL_COPY_VALUE(&tmp, c);
     215             :                         if (Z_OPT_CONSTANT(tmp)) {
     216             :                                 zval_update_constant_ex(&tmp, 1, NULL);
     217             :                         }
     218             :                         zval_opt_copy_ctor(&tmp);
     219             :                         convert_to_string(&tmp);
     220             :                         c = &tmp;
     221             :                 }
     222             :                 ZVAL_PSTRINGL(result, Z_STRVAL_P(c), Z_STRLEN_P(c));
     223             :                 if (c == &tmp) {
     224             :                         zend_string_release(Z_STR(tmp));
     225             :                 }
     226             :                 zend_string_free(Z_STR_P(name));
     227             :         } else {
     228             :                 *result = *name;
     229             :         }
     230             : }
     231             : /* }}} */
     232             : 
     233             : /* {{{ zend_ini_get_var()
     234             : */
     235             : static void zend_ini_get_var(zval *result, zval *name)
     236             : {
     237             :         zval *curval;
     238             :         char *envvar;
     239             : 
     240             :         /* Fetch configuration option value */
     241             :         if ((curval = zend_get_configuration_directive(Z_STR_P(name))) != NULL) {
     242             :                 ZVAL_PSTRINGL(result, Z_STRVAL_P(curval), Z_STRLEN_P(curval));
     243             :         /* ..or if not found, try ENV */
     244             :         } else if ((envvar = zend_getenv(Z_STRVAL_P(name), Z_STRLEN_P(name))) != NULL ||
     245             :                            (envvar = getenv(Z_STRVAL_P(name))) != NULL) {
     246             :                 ZVAL_PSTRING(result, envvar);
     247             :         } else {
     248             :                 zend_ini_init_string(result);
     249             :         }
     250             : }
     251             : /* }}} */
     252             : 
     253             : /* {{{ ini_error()
     254             : */
     255             : static ZEND_COLD void ini_error(const char *msg)
     256             : {
     257             :         char *error_buf;
     258             :         int error_buf_len;
     259             :         char *currently_parsed_filename;
     260             : 
     261             :         currently_parsed_filename = zend_ini_scanner_get_filename();
     262             :         if (currently_parsed_filename) {
     263             :                 error_buf_len = 128 + (int)strlen(msg) + (int)strlen(currently_parsed_filename); /* should be more than enough */
     264             :                 error_buf = (char *) emalloc(error_buf_len);
     265             : 
     266             :                 sprintf(error_buf, "%s in %s on line %d\n", msg, currently_parsed_filename, zend_ini_scanner_get_lineno());
     267             :         } else {
     268             :                 error_buf = estrdup("Invalid configuration directive\n");
     269             :         }
     270             : 
     271             :         if (CG(ini_parser_unbuffered_errors)) {
     272             : #ifdef ZEND_WIN32
     273             :                 syslog(LOG_ALERT, "PHP: %s (%s)", error_buf, GetCommandLine());
     274             : #endif
     275             :                 fprintf(stderr, "PHP:  %s", error_buf);
     276             :         } else {
     277             :                 zend_error(E_WARNING, "%s", error_buf);
     278             :         }
     279             :         efree(error_buf);
     280             : }
     281             : /* }}} */
     282             : 
     283             : /* {{{ zend_parse_ini_file()
     284             : */
     285             : ZEND_API int zend_parse_ini_file(zend_file_handle *fh, zend_bool unbuffered_errors, int scanner_mode, zend_ini_parser_cb_t ini_parser_cb, void *arg)
     286             : {
     287             :         int retval;
     288             :         zend_ini_parser_param ini_parser_param;
     289             : 
     290             :         ini_parser_param.ini_parser_cb = ini_parser_cb;
     291             :         ini_parser_param.arg = arg;
     292             :         CG(ini_parser_param) = &ini_parser_param;
     293             : 
     294             :         if (zend_ini_open_file_for_scanning(fh, scanner_mode) == FAILURE) {
     295             :                 return FAILURE;
     296             :         }
     297             : 
     298             :         CG(ini_parser_unbuffered_errors) = unbuffered_errors;
     299             :         retval = ini_parse();
     300             :         zend_file_handle_dtor(fh);
     301             : 
     302             :         shutdown_ini_scanner();
     303             : 
     304             :         if (retval == 0) {
     305             :                 return SUCCESS;
     306             :         } else {
     307             :                 return FAILURE;
     308             :         }
     309             : }
     310             : /* }}} */
     311             : 
     312             : /* {{{ zend_parse_ini_string()
     313             : */
     314             : ZEND_API int zend_parse_ini_string(char *str, zend_bool unbuffered_errors, int scanner_mode, zend_ini_parser_cb_t ini_parser_cb, void *arg)
     315             : {
     316             :         int retval;
     317             :         zend_ini_parser_param ini_parser_param;
     318             : 
     319             :         ini_parser_param.ini_parser_cb = ini_parser_cb;
     320             :         ini_parser_param.arg = arg;
     321             :         CG(ini_parser_param) = &ini_parser_param;
     322             : 
     323             :         if (zend_ini_prepare_string_for_scanning(str, scanner_mode) == FAILURE) {
     324             :                 return FAILURE;
     325             :         }
     326             : 
     327             :         CG(ini_parser_unbuffered_errors) = unbuffered_errors;
     328             :         retval = ini_parse();
     329             : 
     330             :         shutdown_ini_scanner();
     331             : 
     332             :         if (retval == 0) {
     333             :                 return SUCCESS;
     334             :         } else {
     335             :                 return FAILURE;
     336             :         }
     337             : }
     338             : /* }}} */
     339             : 
     340             : 
     341             : 
     342             : /* Line 189 of yacc.c  */
     343             : #line 344 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.c"
     344             : 
     345             : /* Enabling traces.  */
     346             : #ifndef YYDEBUG
     347             : # define YYDEBUG 0
     348             : #endif
     349             : 
     350             : /* Enabling verbose error messages.  */
     351             : #ifdef YYERROR_VERBOSE
     352             : # undef YYERROR_VERBOSE
     353             : # define YYERROR_VERBOSE 1
     354             : #else
     355             : # define YYERROR_VERBOSE 0
     356             : #endif
     357             : 
     358             : /* Enabling the token table.  */
     359             : #ifndef YYTOKEN_TABLE
     360             : # define YYTOKEN_TABLE 0
     361             : #endif
     362             : 
     363             : 
     364             : /* Tokens.  */
     365             : #ifndef YYTOKENTYPE
     366             : # define YYTOKENTYPE
     367             :    /* Put the tokens into the symbol table, so that GDB and other debuggers
     368             :       know about them.  */
     369             :    enum yytokentype {
     370             :      TC_SECTION = 258,
     371             :      TC_RAW = 259,
     372             :      TC_CONSTANT = 260,
     373             :      TC_NUMBER = 261,
     374             :      TC_STRING = 262,
     375             :      TC_WHITESPACE = 263,
     376             :      TC_LABEL = 264,
     377             :      TC_OFFSET = 265,
     378             :      TC_DOLLAR_CURLY = 266,
     379             :      TC_VARNAME = 267,
     380             :      TC_QUOTED_STRING = 268,
     381             :      BOOL_TRUE = 269,
     382             :      BOOL_FALSE = 270,
     383             :      NULL_NULL = 271,
     384             :      END_OF_LINE = 272
     385             :    };
     386             : #endif
     387             : /* Tokens.  */
     388             : #define TC_SECTION 258
     389             : #define TC_RAW 259
     390             : #define TC_CONSTANT 260
     391             : #define TC_NUMBER 261
     392             : #define TC_STRING 262
     393             : #define TC_WHITESPACE 263
     394             : #define TC_LABEL 264
     395             : #define TC_OFFSET 265
     396             : #define TC_DOLLAR_CURLY 266
     397             : #define TC_VARNAME 267
     398             : #define TC_QUOTED_STRING 268
     399             : #define BOOL_TRUE 269
     400             : #define BOOL_FALSE 270
     401             : #define NULL_NULL 271
     402             : #define END_OF_LINE 272
     403             : 
     404             : 
     405             : 
     406             : 
     407             : #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
     408             : typedef int YYSTYPE;
     409             : # define YYSTYPE_IS_TRIVIAL 1
     410             : # define yystype YYSTYPE /* obsolescent; will be withdrawn */
     411             : # define YYSTYPE_IS_DECLARED 1
     412             : #endif
     413             : 
     414             : 
     415             : /* Copy the second part of user declarations.  */
     416             : 
     417             : 
     418             : /* Line 264 of yacc.c  */
     419             : #line 420 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.c"
     420             : 
     421             : #ifdef short
     422             : # undef short
     423             : #endif
     424             : 
     425             : #ifdef YYTYPE_UINT8
     426             : typedef YYTYPE_UINT8 yytype_uint8;
     427             : #else
     428             : typedef unsigned char yytype_uint8;
     429             : #endif
     430             : 
     431             : #ifdef YYTYPE_INT8
     432             : typedef YYTYPE_INT8 yytype_int8;
     433             : #elif (defined __STDC__ || defined __C99__FUNC__ \
     434             :      || defined __cplusplus || defined _MSC_VER)
     435             : typedef signed char yytype_int8;
     436             : #else
     437             : typedef short int yytype_int8;
     438             : #endif
     439             : 
     440             : #ifdef YYTYPE_UINT16
     441             : typedef YYTYPE_UINT16 yytype_uint16;
     442             : #else
     443             : typedef unsigned short int yytype_uint16;
     444             : #endif
     445             : 
     446             : #ifdef YYTYPE_INT16
     447             : typedef YYTYPE_INT16 yytype_int16;
     448             : #else
     449             : typedef short int yytype_int16;
     450             : #endif
     451             : 
     452             : #ifndef YYSIZE_T
     453             : # ifdef __SIZE_TYPE__
     454             : #  define YYSIZE_T __SIZE_TYPE__
     455             : # elif defined size_t
     456             : #  define YYSIZE_T size_t
     457             : # elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \
     458             :      || defined __cplusplus || defined _MSC_VER)
     459             : #  include <stddef.h> /* INFRINGES ON USER NAME SPACE */
     460             : #  define YYSIZE_T size_t
     461             : # else
     462             : #  define YYSIZE_T unsigned int
     463             : # endif
     464             : #endif
     465             : 
     466             : #define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
     467             : 
     468             : #ifndef YY_
     469             : # if YYENABLE_NLS
     470             : #  if ENABLE_NLS
     471             : #   include <libintl.h> /* INFRINGES ON USER NAME SPACE */
     472             : #   define YY_(msgid) dgettext ("bison-runtime", msgid)
     473             : #  endif
     474             : # endif
     475             : # ifndef YY_
     476             : #  define YY_(msgid) msgid
     477             : # endif
     478             : #endif
     479             : 
     480             : /* Suppress unused-variable warnings by "using" E.  */
     481             : #if ! defined lint || defined __GNUC__
     482             : # define YYUSE(e) ((void) (e))
     483             : #else
     484             : # define YYUSE(e) /* empty */
     485             : #endif
     486             : 
     487             : /* Identity function, used to suppress warnings about constant conditions.  */
     488             : #ifndef lint
     489             : # define YYID(n) (n)
     490             : #else
     491             : #if (defined __STDC__ || defined __C99__FUNC__ \
     492             :      || defined __cplusplus || defined _MSC_VER)
     493             : static int
     494             : YYID (int yyi)
     495             : #else
     496             : static int
     497             : YYID (yyi)
     498             :     int yyi;
     499             : #endif
     500             : {
     501             :   return yyi;
     502             : }
     503             : #endif
     504             : 
     505             : #if ! defined yyoverflow || YYERROR_VERBOSE
     506             : 
     507             : /* The parser invokes alloca or malloc; define the necessary symbols.  */
     508             : 
     509             : # ifdef YYSTACK_USE_ALLOCA
     510             : #  if YYSTACK_USE_ALLOCA
     511             : #   ifdef __GNUC__
     512             : #    define YYSTACK_ALLOC __builtin_alloca
     513             : #   elif defined __BUILTIN_VA_ARG_INCR
     514             : #    include <alloca.h> /* INFRINGES ON USER NAME SPACE */
     515             : #   elif defined _AIX
     516             : #    define YYSTACK_ALLOC __alloca
     517             : #   elif defined _MSC_VER
     518             : #    include <malloc.h> /* INFRINGES ON USER NAME SPACE */
     519             : #    define alloca _alloca
     520             : #   else
     521             : #    define YYSTACK_ALLOC alloca
     522             : #    if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
     523             :      || defined __cplusplus || defined _MSC_VER)
     524             : #     include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
     525             : #     ifndef _STDLIB_H
     526             : #      define _STDLIB_H 1
     527             : #     endif
     528             : #    endif
     529             : #   endif
     530             : #  endif
     531             : # endif
     532             : 
     533             : # ifdef YYSTACK_ALLOC
     534             :    /* Pacify GCC's `empty if-body' warning.  */
     535             : #  define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0))
     536             : #  ifndef YYSTACK_ALLOC_MAXIMUM
     537             :     /* The OS might guarantee only one guard page at the bottom of the stack,
     538             :        and a page size can be as small as 4096 bytes.  So we cannot safely
     539             :        invoke alloca (N) if N exceeds 4096.  Use a slightly smaller number
     540             :        to allow for a few compiler-allocated temporary stack slots.  */
     541             : #   define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */
     542             : #  endif
     543             : # else
     544             : #  define YYSTACK_ALLOC YYMALLOC
     545             : #  define YYSTACK_FREE YYFREE
     546             : #  ifndef YYSTACK_ALLOC_MAXIMUM
     547             : #   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
     548             : #  endif
     549             : #  if (defined __cplusplus && ! defined _STDLIB_H \
     550             :        && ! ((defined YYMALLOC || defined malloc) \
     551             :              && (defined YYFREE || defined free)))
     552             : #   include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
     553             : #   ifndef _STDLIB_H
     554             : #    define _STDLIB_H 1
     555             : #   endif
     556             : #  endif
     557             : #  ifndef YYMALLOC
     558             : #   define YYMALLOC malloc
     559             : #   if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
     560             :      || defined __cplusplus || defined _MSC_VER)
     561             : void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
     562             : #   endif
     563             : #  endif
     564             : #  ifndef YYFREE
     565             : #   define YYFREE free
     566             : #   if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
     567             :      || defined __cplusplus || defined _MSC_VER)
     568             : void free (void *); /* INFRINGES ON USER NAME SPACE */
     569             : #   endif
     570             : #  endif
     571             : # endif
     572             : #endif /* ! defined yyoverflow || YYERROR_VERBOSE */
     573             : 
     574             : 
     575             : #if (! defined yyoverflow \
     576             :      && (! defined __cplusplus \
     577             :          || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
     578             : 
     579             : /* A type that is properly aligned for any stack member.  */
     580             : union yyalloc
     581             : {
     582             :   yytype_int16 yyss_alloc;
     583             :   YYSTYPE yyvs_alloc;
     584             : };
     585             : 
     586             : /* The size of the maximum gap between one aligned stack and the next.  */
     587             : # define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
     588             : 
     589             : /* The size of an array large to enough to hold all stacks, each with
     590             :    N elements.  */
     591             : # define YYSTACK_BYTES(N) \
     592             :      ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
     593             :       + YYSTACK_GAP_MAXIMUM)
     594             : 
     595             : /* Copy COUNT objects from FROM to TO.  The source and destination do
     596             :    not overlap.  */
     597             : # ifndef YYCOPY
     598             : #  if defined __GNUC__ && 1 < __GNUC__
     599             : #   define YYCOPY(To, From, Count) \
     600             :       __builtin_memcpy (To, From, (Count) * sizeof (*(From)))
     601             : #  else
     602             : #   define YYCOPY(To, From, Count)              \
     603             :       do                                        \
     604             :         {                                       \
     605             :           YYSIZE_T yyi;                         \
     606             :           for (yyi = 0; yyi < (Count); yyi++)        \
     607             :             (To)[yyi] = (From)[yyi];            \
     608             :         }                                       \
     609             :       while (YYID (0))
     610             : #  endif
     611             : # endif
     612             : 
     613             : /* Relocate STACK from its old location to the new one.  The
     614             :    local variables YYSIZE and YYSTACKSIZE give the old and new number of
     615             :    elements in the stack, and YYPTR gives the new location of the
     616             :    stack.  Advance YYPTR to a properly aligned location for the next
     617             :    stack.  */
     618             : # define YYSTACK_RELOCATE(Stack_alloc, Stack)                           \
     619             :     do                                                                  \
     620             :       {                                                                 \
     621             :         YYSIZE_T yynewbytes;                                            \
     622             :         YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                     \
     623             :         Stack = &yyptr->Stack_alloc;                                     \
     624             :         yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
     625             :         yyptr += yynewbytes / sizeof (*yyptr);                          \
     626             :       }                                                                 \
     627             :     while (YYID (0))
     628             : 
     629             : #endif
     630             : 
     631             : /* YYFINAL -- State number of the termination state.  */
     632             : #define YYFINAL  2
     633             : /* YYLAST -- Last index in YYTABLE.  */
     634             : #define YYLAST   123
     635             : 
     636             : /* YYNTOKENS -- Number of terminals.  */
     637             : #define YYNTOKENS  44
     638             : /* YYNNTS -- Number of nonterminals.  */
     639             : #define YYNNTS  13
     640             : /* YYNRULES -- Number of rules.  */
     641             : #define YYNRULES  50
     642             : /* YYNRULES -- Number of states.  */
     643             : #define YYNSTATES  72
     644             : 
     645             : /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX.  */
     646             : #define YYUNDEFTOK  2
     647             : #define YYMAXUTOK   272
     648             : 
     649             : #define YYTRANSLATE(YYX)                                                \
     650             :   ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
     651             : 
     652             : /* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX.  */
     653             : static const yytype_uint8 yytranslate[] =
     654             : {
     655             :        0,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     656             :        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     657             :        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     658             :        2,     2,     2,    40,    22,     2,    30,    29,    39,    23,
     659             :       42,    43,    28,    25,    20,    26,    21,    27,     2,     2,
     660             :        2,     2,     2,     2,     2,     2,     2,     2,    19,     2,
     661             :       32,    18,    33,    34,    35,     2,     2,     2,     2,     2,
     662             :        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     663             :        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     664             :        2,     2,     2,    41,    24,     2,     2,     2,     2,     2,
     665             :        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     666             :        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     667             :        2,     2,     2,    36,    38,    37,    31,     2,     2,     2,
     668             :        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     669             :        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     670             :        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     671             :        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     672             :        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     673             :        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     674             :        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     675             :        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     676             :        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     677             :        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     678             :        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     679             :        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     680             :        2,     2,     2,     2,     2,     2,     1,     2,     3,     4,
     681             :        5,     6,     7,     8,     9,    10,    11,    12,    13,    14,
     682             :       15,    16,    17
     683             : };
     684             : 
     685             : #if YYDEBUG
     686             : /* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
     687             :    YYRHS.  */
     688             : static const yytype_uint8 yyprhs[] =
     689             : {
     690             :        0,     0,     3,     6,     7,    11,    15,    21,    23,    25,
     691             :       27,    28,    30,    32,    34,    36,    38,    40,    41,    44,
     692             :       47,    48,    50,    52,    56,    59,    62,    67,    69,    71,
     693             :       75,    78,    81,    86,    88,    92,    96,   100,   103,   106,
     694             :      110,   114,   116,   118,   120,   122,   124,   126,   128,   130,
     695             :      132
     696             : };
     697             : 
     698             : /* YYRHS -- A `-1'-separated list of the rules' RHS.  */
     699             : static const yytype_int8 yyrhs[] =
     700             : {
     701             :       45,     0,    -1,    45,    46,    -1,    -1,     3,    47,    41,
     702             :       -1,     9,    18,    48,    -1,    10,    49,    41,    18,    48,
     703             :       -1,     9,    -1,    17,    -1,    51,    -1,    -1,    53,    -1,
     704             :       14,    -1,    15,    -1,    16,    -1,    17,    -1,    52,    -1,
     705             :       -1,    50,    54,    -1,    50,    13,    -1,    -1,    54,    -1,
     706             :       55,    -1,    22,    50,    22,    -1,    51,    54,    -1,    51,
     707             :       55,    -1,    51,    22,    50,    22,    -1,    54,    -1,    56,
     708             :       -1,    22,    50,    22,    -1,    52,    54,    -1,    52,    56,
     709             :       -1,    52,    22,    50,    22,    -1,    52,    -1,    53,    38,
     710             :       53,    -1,    53,    39,    53,    -1,    53,    24,    53,    -1,
     711             :       31,    53,    -1,    40,    53,    -1,    42,    53,    43,    -1,
     712             :       11,    12,    37,    -1,     5,    -1,     4,    -1,     6,    -1,
     713             :        7,    -1,     8,    -1,     5,    -1,     4,    -1,     6,    -1,
     714             :        7,    -1,     8,    -1
     715             : };
     716             : 
     717             : /* YYRLINE[YYN] -- source line where rule number YYN was defined.  */
     718             : static const yytype_uint16 yyrline[] =
     719             : {
     720             :        0,   288,   288,   289,   293,   300,   308,   321,   322,   326,
     721             :      327,   331,   332,   333,   334,   335,   339,   340,   344,   345,
     722             :      346,   350,   351,   352,   353,   354,   355,   359,   360,   361,
     723             :      362,   363,   364,   368,   369,   370,   371,   372,   373,   374,
     724             :      378,   382,   383,   384,   385,   386,   390,   391,   392,   393,
     725             :      394
     726             : };
     727             : #endif
     728             : 
     729             : #if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE
     730             : /* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
     731             :    First, the terminals, then, starting at YYNTOKENS, nonterminals.  */
     732             : static const char *const yytname[] =
     733             : {
     734             :   "$end", "error", "$undefined", "TC_SECTION", "TC_RAW", "TC_CONSTANT",
     735             :   "TC_NUMBER", "TC_STRING", "TC_WHITESPACE", "TC_LABEL", "TC_OFFSET",
     736             :   "TC_DOLLAR_CURLY", "TC_VARNAME", "TC_QUOTED_STRING", "BOOL_TRUE",
     737             :   "BOOL_FALSE", "NULL_NULL", "END_OF_LINE", "'='", "':'", "','", "'.'",
     738             :   "'\"'", "'\\''", "'^'", "'+'", "'-'", "'/'", "'*'", "'%'", "'$'", "'~'",
     739             :   "'<'", "'>'", "'?'", "'@'", "'{'", "'}'", "'|'", "'&'", "'!'", "']'",
     740             :   "'('", "')'", "$accept", "statement_list", "statement",
     741             :   "section_string_or_value", "string_or_value", "option_offset",
     742             :   "encapsed_list", "var_string_list_section", "var_string_list", "expr",
     743             :   "cfg_var_ref", "constant_literal", "constant_string", 0
     744             : };
     745             : #endif
     746             : 
     747             : # ifdef YYPRINT
     748             : /* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
     749             :    token YYLEX-NUM.  */
     750             : static const yytype_uint16 yytoknum[] =
     751             : {
     752             :        0,   256,   257,   258,   259,   260,   261,   262,   263,   264,
     753             :      265,   266,   267,   268,   269,   270,   271,   272,    61,    58,
     754             :       44,    46,    34,    39,    94,    43,    45,    47,    42,    37,
     755             :       36,   126,    60,    62,    63,    64,   123,   125,   124,    38,
     756             :       33,    93,    40,    41
     757             : };
     758             : # endif
     759             : 
     760             : /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives.  */
     761             : static const yytype_uint8 yyr1[] =
     762             : {
     763             :        0,    44,    45,    45,    46,    46,    46,    46,    46,    47,
     764             :       47,    48,    48,    48,    48,    48,    49,    49,    50,    50,
     765             :       50,    51,    51,    51,    51,    51,    51,    52,    52,    52,
     766             :       52,    52,    52,    53,    53,    53,    53,    53,    53,    53,
     767             :       54,    55,    55,    55,    55,    55,    56,    56,    56,    56,
     768             :       56
     769             : };
     770             : 
     771             : /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN.  */
     772             : static const yytype_uint8 yyr2[] =
     773             : {
     774             :        0,     2,     2,     0,     3,     3,     5,     1,     1,     1,
     775             :        0,     1,     1,     1,     1,     1,     1,     0,     2,     2,
     776             :        0,     1,     1,     3,     2,     2,     4,     1,     1,     3,
     777             :        2,     2,     4,     1,     3,     3,     3,     2,     2,     3,
     778             :        3,     1,     1,     1,     1,     1,     1,     1,     1,     1,
     779             :        1
     780             : };
     781             : 
     782             : /* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
     783             :    STATE-NUM when YYTABLE doesn't specify something else to do.  Zero
     784             :    means the default is an error.  */
     785             : static const yytype_uint8 yydefact[] =
     786             : {
     787             :        3,     0,     1,    10,     7,    17,     8,     2,    42,    41,
     788             :       43,    44,    45,     0,    20,     0,     9,    21,    22,     0,
     789             :       47,    46,    48,    49,    50,    20,     0,    16,    27,    28,
     790             :        0,     0,     4,    20,    24,    25,    12,    13,    14,    15,
     791             :        0,     0,     0,     5,    33,    11,     0,     0,    20,    30,
     792             :       31,    40,    19,    23,    18,     0,    37,    38,     0,     0,
     793             :        0,     0,    29,     0,     0,    26,    39,    36,    34,    35,
     794             :        6,    32
     795             : };
     796             : 
     797             : /* YYDEFGOTO[NTERM-NUM].  */
     798             : static const yytype_int8 yydefgoto[] =
     799             : {
     800             :       -1,     1,     7,    15,    43,    26,    31,    16,    44,    45,
     801             :       28,    18,    29
     802             : };
     803             : 
     804             : /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
     805             :    STATE-NUM.  */
     806             : #define YYPACT_NINF -25
     807             : static const yytype_int8 yypact[] =
     808             : {
     809             :      -25,     9,   -25,    73,   -17,    81,   -25,   -25,   -25,   -25,
     810             :      -25,   -25,   -25,    15,   -25,   -20,    93,   -25,   -25,     0,
     811             :      -25,   -25,   -25,   -25,   -25,   -25,   -12,   101,   -25,   -25,
     812             :       -7,    36,   -25,   -25,   -25,   -25,   -25,   -25,   -25,   -25,
     813             :       28,    28,    28,   -25,   101,    -1,    40,    30,   -25,   -25,
     814             :      -25,   -25,   -25,   -25,   -25,    80,   -25,   -25,    33,    28,
     815             :       28,    28,   -25,     0,   100,   -25,   -25,   -25,   -25,   -25,
     816             :      -25,   -25
     817             : };
     818             : 
     819             : /* YYPGOTO[NTERM-NUM].  */
     820             : static const yytype_int8 yypgoto[] =
     821             : {
     822             :      -25,   -25,   -25,   -25,    -9,   -25,   -23,   -25,    50,     4,
     823             :       -3,    44,   -24
     824             : };
     825             : 
     826             : /* YYTABLE[YYPACT[STATE-NUM]].  What to do in state STATE-NUM.  If
     827             :    positive, shift that token.  If negative, reduce the rule which
     828             :    number is the opposite.  If zero, do what YYDEFACT says.
     829             :    If YYTABLE_NINF, syntax error.  */
     830             : #define YYTABLE_NINF -1
     831             : static const yytype_uint8 yytable[] =
     832             : {
     833             :       17,    19,    46,    50,    20,    21,    22,    23,    24,     2,
     834             :       55,    13,     3,    34,    36,    37,    38,    39,     4,     5,
     835             :       50,    32,    25,    59,    49,    64,     6,    30,    54,    47,
     836             :       51,    40,    20,    21,    22,    23,    24,    60,    61,    13,
     837             :       41,    49,    42,    54,    56,    57,    58,    13,    63,    52,
     838             :       25,    13,    54,    52,    70,    27,     0,    59,    53,    40,
     839             :       35,    54,    62,    67,    68,    69,     0,     0,    41,     0,
     840             :       42,    60,    61,     0,     0,     0,    66,     8,     9,    10,
     841             :       11,    12,     0,     0,    13,    20,    21,    22,    23,    24,
     842             :        0,    13,    13,    52,     0,    14,     0,     8,     9,    10,
     843             :       11,    12,    65,    25,    13,    20,    21,    22,    23,    24,
     844             :        0,    13,    13,    52,     0,    33,     0,     0,     0,     0,
     845             :        0,     0,    71,    48
     846             : };
     847             : 
     848             : static const yytype_int8 yycheck[] =
     849             : {
     850             :        3,    18,    25,    27,     4,     5,     6,     7,     8,     0,
     851             :       33,    11,     3,    16,    14,    15,    16,    17,     9,    10,
     852             :       44,    41,    22,    24,    27,    48,    17,    12,    31,    41,
     853             :       37,    31,     4,     5,     6,     7,     8,    38,    39,    11,
     854             :       40,    44,    42,    46,    40,    41,    42,    11,    18,    13,
     855             :       22,    11,    55,    13,    63,     5,    -1,    24,    22,    31,
     856             :       16,    64,    22,    59,    60,    61,    -1,    -1,    40,    -1,
     857             :       42,    38,    39,    -1,    -1,    -1,    43,     4,     5,     6,
     858             :        7,     8,    -1,    -1,    11,     4,     5,     6,     7,     8,
     859             :       -1,    11,    11,    13,    -1,    22,    -1,     4,     5,     6,
     860             :        7,     8,    22,    22,    11,     4,     5,     6,     7,     8,
     861             :       -1,    11,    11,    13,    -1,    22,    -1,    -1,    -1,    -1,
     862             :       -1,    -1,    22,    22
     863             : };
     864             : 
     865             : /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
     866             :    symbol of state STATE-NUM.  */
     867             : static const yytype_uint8 yystos[] =
     868             : {
     869             :        0,    45,     0,     3,     9,    10,    17,    46,     4,     5,
     870             :        6,     7,     8,    11,    22,    47,    51,    54,    55,    18,
     871             :        4,     5,     6,     7,     8,    22,    49,    52,    54,    56,
     872             :       12,    50,    41,    22,    54,    55,    14,    15,    16,    17,
     873             :       31,    40,    42,    48,    52,    53,    50,    41,    22,    54,
     874             :       56,    37,    13,    22,    54,    50,    53,    53,    53,    24,
     875             :       38,    39,    22,    18,    50,    22,    43,    53,    53,    53,
     876             :       48,    22
     877             : };
     878             : 
     879             : #define yyerrok         (yyerrstatus = 0)
     880             : #define yyclearin       (yychar = YYEMPTY)
     881             : #define YYEMPTY         (-2)
     882             : #define YYEOF           0
     883             : 
     884             : #define YYACCEPT        goto yyacceptlab
     885             : #define YYABORT         goto yyabortlab
     886             : #define YYERROR         goto yyerrorlab
     887             : 
     888             : 
     889             : /* Like YYERROR except do call yyerror.  This remains here temporarily
     890             :    to ease the transition to the new meaning of YYERROR, for GCC.
     891             :    Once GCC version 2 has supplanted version 1, this can go.  */
     892             : 
     893             : #define YYFAIL          goto yyerrlab
     894             : 
     895             : #define YYRECOVERING()  (!!yyerrstatus)
     896             : 
     897             : #define YYBACKUP(Token, Value)                                  \
     898             : do                                                              \
     899             :   if (yychar == YYEMPTY && yylen == 1)                          \
     900             :     {                                                           \
     901             :       yychar = (Token);                                         \
     902             :       yylval = (Value);                                         \
     903             :       yytoken = YYTRANSLATE (yychar);                           \
     904             :       YYPOPSTACK (1);                                           \
     905             :       goto yybackup;                                            \
     906             :     }                                                           \
     907             :   else                                                          \
     908             :     {                                                           \
     909             :       yyerror (YY_("syntax error: cannot back up")); \
     910             :       YYERROR;                                                  \
     911             :     }                                                           \
     912             : while (YYID (0))
     913             : 
     914             : 
     915             : #define YYTERROR        1
     916             : #define YYERRCODE       256
     917             : 
     918             : 
     919             : /* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N].
     920             :    If N is 0, then set CURRENT to the empty location which ends
     921             :    the previous symbol: RHS[0] (always defined).  */
     922             : 
     923             : #define YYRHSLOC(Rhs, K) ((Rhs)[K])
     924             : #ifndef YYLLOC_DEFAULT
     925             : # define YYLLOC_DEFAULT(Current, Rhs, N)                                \
     926             :     do                                                                  \
     927             :       if (YYID (N))                                                    \
     928             :         {                                                               \
     929             :           (Current).first_line   = YYRHSLOC (Rhs, 1).first_line;        \
     930             :           (Current).first_column = YYRHSLOC (Rhs, 1).first_column;      \
     931             :           (Current).last_line    = YYRHSLOC (Rhs, N).last_line;         \
     932             :           (Current).last_column  = YYRHSLOC (Rhs, N).last_column;       \
     933             :         }                                                               \
     934             :       else                                                              \
     935             :         {                                                               \
     936             :           (Current).first_line   = (Current).last_line   =              \
     937             :             YYRHSLOC (Rhs, 0).last_line;                                \
     938             :           (Current).first_column = (Current).last_column =              \
     939             :             YYRHSLOC (Rhs, 0).last_column;                              \
     940             :         }                                                               \
     941             :     while (YYID (0))
     942             : #endif
     943             : 
     944             : 
     945             : /* YY_LOCATION_PRINT -- Print the location on the stream.
     946             :    This macro was not mandated originally: define only if we know
     947             :    we won't break user code: when these are the locations we know.  */
     948             : 
     949             : #ifndef YY_LOCATION_PRINT
     950             : # if YYLTYPE_IS_TRIVIAL
     951             : #  define YY_LOCATION_PRINT(File, Loc)                  \
     952             :      fprintf (File, "%d.%d-%d.%d",                    \
     953             :               (Loc).first_line, (Loc).first_column,     \
     954             :               (Loc).last_line,  (Loc).last_column)
     955             : # else
     956             : #  define YY_LOCATION_PRINT(File, Loc) ((void) 0)
     957             : # endif
     958             : #endif
     959             : 
     960             : 
     961             : /* YYLEX -- calling `yylex' with the right arguments.  */
     962             : 
     963             : #ifdef YYLEX_PARAM
     964             : # define YYLEX yylex (&yylval, YYLEX_PARAM)
     965             : #else
     966             : # define YYLEX yylex (&yylval)
     967             : #endif
     968             : 
     969             : /* Enable debugging if requested.  */
     970             : #if YYDEBUG
     971             : 
     972             : # ifndef YYFPRINTF
     973             : #  include <stdio.h> /* INFRINGES ON USER NAME SPACE */
     974             : #  define YYFPRINTF fprintf
     975             : # endif
     976             : 
     977             : # define YYDPRINTF(Args)                        \
     978             : do {                                            \
     979             :   if (yydebug)                                  \
     980             :     YYFPRINTF Args;                             \
     981             : } while (YYID (0))
     982             : 
     983             : # define YY_SYMBOL_PRINT(Title, Type, Value, Location)                    \
     984             : do {                                                                      \
     985             :   if (yydebug)                                                            \
     986             :     {                                                                     \
     987             :       YYFPRINTF (stderr, "%s ", Title);                                         \
     988             :       yy_symbol_print (stderr,                                            \
     989             :                   Type, Value); \
     990             :       YYFPRINTF (stderr, "\n");                                                 \
     991             :     }                                                                     \
     992             : } while (YYID (0))
     993             : 
     994             : 
     995             : /*--------------------------------.
     996             : | Print this symbol on YYOUTPUT.  |
     997             : `--------------------------------*/
     998             : 
     999             : /*ARGSUSED*/
    1000             : #if (defined __STDC__ || defined __C99__FUNC__ \
    1001             :      || defined __cplusplus || defined _MSC_VER)
    1002             : static void
    1003             : yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep)
    1004             : #else
    1005             : static void
    1006             : yy_symbol_value_print (yyoutput, yytype, yyvaluep)
    1007             :     FILE *yyoutput;
    1008             :     int yytype;
    1009             :     YYSTYPE const * const yyvaluep;
    1010             : #endif
    1011             : {
    1012             :   if (!yyvaluep)
    1013             :     return;
    1014             : # ifdef YYPRINT
    1015             :   if (yytype < YYNTOKENS)
    1016             :     YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
    1017             : # else
    1018             :   YYUSE (yyoutput);
    1019             : # endif
    1020             :   switch (yytype)
    1021             :     {
    1022             :       default:
    1023             :         break;
    1024             :     }
    1025             : }
    1026             : 
    1027             : 
    1028             : /*--------------------------------.
    1029             : | Print this symbol on YYOUTPUT.  |
    1030             : `--------------------------------*/
    1031             : 
    1032             : #if (defined __STDC__ || defined __C99__FUNC__ \
    1033             :      || defined __cplusplus || defined _MSC_VER)
    1034             : static void
    1035             : yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep)
    1036             : #else
    1037             : static void
    1038             : yy_symbol_print (yyoutput, yytype, yyvaluep)
    1039             :     FILE *yyoutput;
    1040             :     int yytype;
    1041             :     YYSTYPE const * const yyvaluep;
    1042             : #endif
    1043             : {
    1044             :   if (yytype < YYNTOKENS)
    1045             :     YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
    1046             :   else
    1047             :     YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
    1048             : 
    1049             :   yy_symbol_value_print (yyoutput, yytype, yyvaluep);
    1050             :   YYFPRINTF (yyoutput, ")");
    1051             : }
    1052             : 
    1053             : /*------------------------------------------------------------------.
    1054             : | yy_stack_print -- Print the state stack from its BOTTOM up to its |
    1055             : | TOP (included).                                                   |
    1056             : `------------------------------------------------------------------*/
    1057             : 
    1058             : #if (defined __STDC__ || defined __C99__FUNC__ \
    1059             :      || defined __cplusplus || defined _MSC_VER)
    1060             : static void
    1061             : yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop)
    1062             : #else
    1063             : static void
    1064             : yy_stack_print (yybottom, yytop)
    1065             :     yytype_int16 *yybottom;
    1066             :     yytype_int16 *yytop;
    1067             : #endif
    1068             : {
    1069             :   YYFPRINTF (stderr, "Stack now");
    1070             :   for (; yybottom <= yytop; yybottom++)
    1071             :     {
    1072             :       int yybot = *yybottom;
    1073             :       YYFPRINTF (stderr, " %d", yybot);
    1074             :     }
    1075             :   YYFPRINTF (stderr, "\n");
    1076             : }
    1077             : 
    1078             : # define YY_STACK_PRINT(Bottom, Top)                            \
    1079             : do {                                                            \
    1080             :   if (yydebug)                                                  \
    1081             :     yy_stack_print ((Bottom), (Top));                           \
    1082             : } while (YYID (0))
    1083             : 
    1084             : 
    1085             : /*------------------------------------------------.
    1086             : | Report that the YYRULE is going to be reduced.  |
    1087             : `------------------------------------------------*/
    1088             : 
    1089             : #if (defined __STDC__ || defined __C99__FUNC__ \
    1090             :      || defined __cplusplus || defined _MSC_VER)
    1091             : static void
    1092             : yy_reduce_print (YYSTYPE *yyvsp, int yyrule)
    1093             : #else
    1094             : static void
    1095             : yy_reduce_print (yyvsp, yyrule)
    1096             :     YYSTYPE *yyvsp;
    1097             :     int yyrule;
    1098             : #endif
    1099             : {
    1100             :   int yynrhs = yyr2[yyrule];
    1101             :   int yyi;
    1102             :   unsigned long int yylno = yyrline[yyrule];
    1103             :   YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
    1104             :              yyrule - 1, yylno);
    1105             :   /* The symbols being reduced.  */
    1106             :   for (yyi = 0; yyi < yynrhs; yyi++)
    1107             :     {
    1108             :       YYFPRINTF (stderr, "   $%d = ", yyi + 1);
    1109             :       yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi],
    1110             :                        &(yyvsp[(yyi + 1) - (yynrhs)])
    1111             :                                        );
    1112             :       YYFPRINTF (stderr, "\n");
    1113             :     }
    1114             : }
    1115             : 
    1116             : # define YY_REDUCE_PRINT(Rule)          \
    1117             : do {                                    \
    1118             :   if (yydebug)                          \
    1119             :     yy_reduce_print (yyvsp, Rule); \
    1120             : } while (YYID (0))
    1121             : 
    1122             : /* Nonzero means print parse trace.  It is left uninitialized so that
    1123             :    multiple parsers can coexist.  */
    1124             : int yydebug;
    1125             : #else /* !YYDEBUG */
    1126             : # define YYDPRINTF(Args)
    1127             : # define YY_SYMBOL_PRINT(Title, Type, Value, Location)
    1128             : # define YY_STACK_PRINT(Bottom, Top)
    1129             : # define YY_REDUCE_PRINT(Rule)
    1130             : #endif /* !YYDEBUG */
    1131             : 
    1132             : 
    1133             : /* YYINITDEPTH -- initial size of the parser's stacks.  */
    1134             : #ifndef YYINITDEPTH
    1135             : # define YYINITDEPTH 200
    1136             : #endif
    1137             : 
    1138             : /* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
    1139             :    if the built-in stack extension method is used).
    1140             : 
    1141             :    Do not make this value too large; the results are undefined if
    1142             :    YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH)
    1143             :    evaluated with infinite-precision integer arithmetic.  */
    1144             : 
    1145             : #ifndef YYMAXDEPTH
    1146             : # define YYMAXDEPTH 10000
    1147             : #endif
    1148             : 
    1149             : 
    1150             : 
    1151             : #if YYERROR_VERBOSE
    1152             : 
    1153             : # ifndef yystrlen
    1154             : #  if defined __GLIBC__ && defined _STRING_H
    1155             : #   define yystrlen strlen
    1156             : #  else
    1157             : /* Return the length of YYSTR.  */
    1158             : #if (defined __STDC__ || defined __C99__FUNC__ \
    1159             :      || defined __cplusplus || defined _MSC_VER)
    1160             : static YYSIZE_T
    1161             : yystrlen (const char *yystr)
    1162             : #else
    1163             : static YYSIZE_T
    1164             : yystrlen (yystr)
    1165             :     const char *yystr;
    1166             : #endif
    1167             : {
    1168             :   YYSIZE_T yylen;
    1169             :   for (yylen = 0; yystr[yylen]; yylen++)
    1170             :     continue;
    1171             :   return yylen;
    1172             : }
    1173             : #  endif
    1174             : # endif
    1175             : 
    1176             : # ifndef yystpcpy
    1177             : #  if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE
    1178             : #   define yystpcpy stpcpy
    1179             : #  else
    1180             : /* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
    1181             :    YYDEST.  */
    1182             : #if (defined __STDC__ || defined __C99__FUNC__ \
    1183             :      || defined __cplusplus || defined _MSC_VER)
    1184             : static char *
    1185             : yystpcpy (char *yydest, const char *yysrc)
    1186             : #else
    1187             : static char *
    1188             : yystpcpy (yydest, yysrc)
    1189             :     char *yydest;
    1190             :     const char *yysrc;
    1191             : #endif
    1192             : {
    1193             :   char *yyd = yydest;
    1194             :   const char *yys = yysrc;
    1195             : 
    1196             :   while ((*yyd++ = *yys++) != '\0')
    1197             :     continue;
    1198             : 
    1199             :   return yyd - 1;
    1200             : }
    1201             : #  endif
    1202             : # endif
    1203             : 
    1204             : # ifndef yytnamerr
    1205             : /* Copy to YYRES the contents of YYSTR after stripping away unnecessary
    1206             :    quotes and backslashes, so that it's suitable for yyerror.  The
    1207             :    heuristic is that double-quoting is unnecessary unless the string
    1208             :    contains an apostrophe, a comma, or backslash (other than
    1209             :    backslash-backslash).  YYSTR is taken from yytname.  If YYRES is
    1210             :    null, do not copy; instead, return the length of what the result
    1211             :    would have been.  */
    1212             : static YYSIZE_T
    1213          61 : yytnamerr (char *yyres, const char *yystr)
    1214             : {
    1215          61 :   if (*yystr == '"')
    1216             :     {
    1217           0 :       YYSIZE_T yyn = 0;
    1218           0 :       char const *yyp = yystr;
    1219             : 
    1220             :       for (;;)
    1221           0 :         switch (*++yyp)
    1222             :           {
    1223             :           case '\'':
    1224             :           case ',':
    1225           0 :             goto do_not_strip_quotes;
    1226             : 
    1227             :           case '\\':
    1228           0 :             if (*++yyp != '\\')
    1229           0 :               goto do_not_strip_quotes;
    1230             :             /* Fall through.  */
    1231             :           default:
    1232           0 :             if (yyres)
    1233           0 :               yyres[yyn] = *yyp;
    1234           0 :             yyn++;
    1235           0 :             break;
    1236             : 
    1237             :           case '"':
    1238           0 :             if (yyres)
    1239           0 :               yyres[yyn] = '\0';
    1240           0 :             return yyn;
    1241           0 :           }
    1242             :     do_not_strip_quotes: ;
    1243             :     }
    1244             : 
    1245          61 :   if (! yyres)
    1246          54 :     return yystrlen (yystr);
    1247             : 
    1248           7 :   return yystpcpy (yyres, yystr) - yyres;
    1249             : }
    1250             : # endif
    1251             : 
    1252             : /* Copy into YYRESULT an error message about the unexpected token
    1253             :    YYCHAR while in state YYSTATE.  Return the number of bytes copied,
    1254             :    including the terminating null byte.  If YYRESULT is null, do not
    1255             :    copy anything; just return the number of bytes that would be
    1256             :    copied.  As a special case, return 0 if an ordinary "syntax error"
    1257             :    message will do.  Return YYSIZE_MAXIMUM if overflow occurs during
    1258             :    size calculation.  */
    1259             : static YYSIZE_T
    1260          12 : yysyntax_error (char *yyresult, int yystate, int yychar)
    1261             : {
    1262          12 :   int yyn = yypact[yystate];
    1263             : 
    1264          12 :   if (! (YYPACT_NINF < yyn && yyn <= YYLAST))
    1265           0 :     return 0;
    1266             :   else
    1267             :     {
    1268          12 :       int yytype = YYTRANSLATE (yychar);
    1269          12 :       YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]);
    1270          12 :       YYSIZE_T yysize = yysize0;
    1271             :       YYSIZE_T yysize1;
    1272          12 :       int yysize_overflow = 0;
    1273             :       enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
    1274             :       char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
    1275             :       int yyx;
    1276             : 
    1277             : # if 0
    1278             :       /* This is so xgettext sees the translatable formats that are
    1279             :          constructed on the fly.  */
    1280             :       YY_("syntax error, unexpected %s");
    1281             :       YY_("syntax error, unexpected %s, expecting %s");
    1282             :       YY_("syntax error, unexpected %s, expecting %s or %s");
    1283             :       YY_("syntax error, unexpected %s, expecting %s or %s or %s");
    1284             :       YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s");
    1285             : # endif
    1286             :       char *yyfmt;
    1287             :       char const *yyf;
    1288             :       static char const yyunexpected[] = "syntax error, unexpected %s";
    1289             :       static char const yyexpecting[] = ", expecting %s";
    1290             :       static char const yyor[] = " or %s";
    1291             :       char yyformat[sizeof yyunexpected
    1292             :                     + sizeof yyexpecting - 1
    1293             :                     + ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2)
    1294             :                        * (sizeof yyor - 1))];
    1295          12 :       char const *yyprefix = yyexpecting;
    1296             : 
    1297             :       /* Start YYX at -YYN if negative to avoid negative indexes in
    1298             :          YYCHECK.  */
    1299          12 :       int yyxbegin = yyn < 0 ? -yyn : 0;
    1300             : 
    1301             :       /* Stay within bounds of both yycheck and yytname.  */
    1302          12 :       int yychecklim = YYLAST - yyn + 1;
    1303          12 :       int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
    1304          12 :       int yycount = 1;
    1305             : 
    1306          12 :       yyarg[0] = yytname[yytype];
    1307          12 :       yyfmt = yystpcpy (yyformat, yyunexpected);
    1308             : 
    1309         256 :       for (yyx = yyxbegin; yyx < yyxend; ++yyx)
    1310         254 :         if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
    1311             :           {
    1312          52 :             if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
    1313             :               {
    1314          10 :                 yycount = 1;
    1315          10 :                 yysize = yysize0;
    1316          10 :                 yyformat[sizeof yyunexpected - 1] = '\0';
    1317          10 :                 break;
    1318             :               }
    1319          42 :             yyarg[yycount++] = yytname[yyx];
    1320          42 :             yysize1 = yysize + yytnamerr (0, yytname[yyx]);
    1321          42 :             yysize_overflow |= (yysize1 < yysize);
    1322          42 :             yysize = yysize1;
    1323          42 :             yyfmt = yystpcpy (yyfmt, yyprefix);
    1324          42 :             yyprefix = yyor;
    1325             :           }
    1326             : 
    1327          12 :       yyf = YY_(yyformat);
    1328          12 :       yysize1 = yysize + yystrlen (yyf);
    1329          12 :       yysize_overflow |= (yysize1 < yysize);
    1330          12 :       yysize = yysize1;
    1331             : 
    1332          12 :       if (yysize_overflow)
    1333           0 :         return YYSIZE_MAXIMUM;
    1334             : 
    1335          12 :       if (yyresult)
    1336             :         {
    1337             :           /* Avoid sprintf, as that infringes on the user's name space.
    1338             :              Don't have undefined behavior even if the translation
    1339             :              produced a string with the wrong number of "%s"s.  */
    1340           6 :           char *yyp = yyresult;
    1341           6 :           int yyi = 0;
    1342         181 :           while ((*yyp = *yyf) != '\0')
    1343             :             {
    1344         176 :               if (*yyp == '%' && yyf[1] == 's' && yyi < yycount)
    1345             :                 {
    1346           7 :                   yyp += yytnamerr (yyp, yyarg[yyi++]);
    1347           7 :                   yyf += 2;
    1348             :                 }
    1349             :               else
    1350             :                 {
    1351         162 :                   yyp++;
    1352         162 :                   yyf++;
    1353             :                 }
    1354             :             }
    1355             :         }
    1356          12 :       return yysize;
    1357             :     }
    1358             : }
    1359             : #endif /* YYERROR_VERBOSE */
    1360             : 
    1361             : 
    1362             : /*-----------------------------------------------.
    1363             : | Release the memory associated to this symbol.  |
    1364             : `-----------------------------------------------*/
    1365             : 
    1366             : /*ARGSUSED*/
    1367             : #if (defined __STDC__ || defined __C99__FUNC__ \
    1368             :      || defined __cplusplus || defined _MSC_VER)
    1369             : static void
    1370       90191 : yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep)
    1371             : #else
    1372             : static void
    1373             : yydestruct (yymsg, yytype, yyvaluep)
    1374             :     const char *yymsg;
    1375             :     int yytype;
    1376             :     YYSTYPE *yyvaluep;
    1377             : #endif
    1378             : {
    1379             :   YYUSE (yyvaluep);
    1380             : 
    1381       90191 :   if (!yymsg)
    1382           0 :     yymsg = "Deleting";
    1383             :   YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp);
    1384             : 
    1385             :   switch (yytype)
    1386             :     {
    1387             : 
    1388             :       default:
    1389             :         break;
    1390             :     }
    1391       90191 : }
    1392             : 
    1393             : /* Prevent warnings from -Wmissing-prototypes.  */
    1394             : #ifdef YYPARSE_PARAM
    1395             : #if defined __STDC__ || defined __cplusplus
    1396             : int yyparse (void *YYPARSE_PARAM);
    1397             : #else
    1398             : int yyparse ();
    1399             : #endif
    1400             : #else /* ! YYPARSE_PARAM */
    1401             : #if defined __STDC__ || defined __cplusplus
    1402             : int yyparse (void);
    1403             : #else
    1404             : int yyparse ();
    1405             : #endif
    1406             : #endif /* ! YYPARSE_PARAM */
    1407             : 
    1408             : 
    1409             : 
    1410             : 
    1411             : 
    1412             : /*-------------------------.
    1413             : | yyparse or yypush_parse.  |
    1414             : `-------------------------*/
    1415             : 
    1416             : #ifdef YYPARSE_PARAM
    1417             : #if (defined __STDC__ || defined __C99__FUNC__ \
    1418             :      || defined __cplusplus || defined _MSC_VER)
    1419             : int
    1420             : yyparse (void *YYPARSE_PARAM)
    1421             : #else
    1422             : int
    1423             : yyparse (YYPARSE_PARAM)
    1424             :     void *YYPARSE_PARAM;
    1425             : #endif
    1426             : #else /* ! YYPARSE_PARAM */
    1427             : #if (defined __STDC__ || defined __C99__FUNC__ \
    1428             :      || defined __cplusplus || defined _MSC_VER)
    1429             : int
    1430       45094 : yyparse (void)
    1431             : #else
    1432             : int
    1433             : yyparse ()
    1434             : 
    1435             : #endif
    1436             : #endif
    1437             : {
    1438             : /* The lookahead symbol.  */
    1439             : int yychar;
    1440             : 
    1441             : /* The semantic value of the lookahead symbol.  */
    1442             : YYSTYPE yylval;
    1443             : 
    1444             :     /* Number of syntax errors so far.  */
    1445             :     int yynerrs;
    1446             : 
    1447             :     int yystate;
    1448             :     /* Number of tokens to shift before error messages enabled.  */
    1449             :     int yyerrstatus;
    1450             : 
    1451             :     /* The stacks and their tools:
    1452             :        `yyss': related to states.
    1453             :        `yyvs': related to semantic values.
    1454             : 
    1455             :        Refer to the stacks thru separate pointers, to allow yyoverflow
    1456             :        to reallocate them elsewhere.  */
    1457             : 
    1458             :     /* The state stack.  */
    1459             :     yytype_int16 yyssa[YYINITDEPTH];
    1460             :     yytype_int16 *yyss;
    1461             :     yytype_int16 *yyssp;
    1462             : 
    1463             :     /* The semantic value stack.  */
    1464             :     YYSTYPE yyvsa[YYINITDEPTH];
    1465             :     YYSTYPE *yyvs;
    1466             :     YYSTYPE *yyvsp;
    1467             : 
    1468             :     YYSIZE_T yystacksize;
    1469             : 
    1470             :   int yyn;
    1471             :   int yyresult;
    1472             :   /* Lookahead token as an internal (translated) token number.  */
    1473             :   int yytoken;
    1474             :   /* The variables used to return semantic value and location from the
    1475             :      action routines.  */
    1476             :   YYSTYPE yyval;
    1477             : 
    1478             : #if YYERROR_VERBOSE
    1479             :   /* Buffer for error messages, and its allocated size.  */
    1480             :   char yymsgbuf[128];
    1481       45094 :   char *yymsg = yymsgbuf;
    1482       45094 :   YYSIZE_T yymsg_alloc = sizeof yymsgbuf;
    1483             : #endif
    1484             : 
    1485             : #define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
    1486             : 
    1487             :   /* The number of symbols on the RHS of the reduced rule.
    1488             :      Keep to zero when no symbol should be popped.  */
    1489       45094 :   int yylen = 0;
    1490             : 
    1491       45094 :   yytoken = 0;
    1492       45094 :   yyss = yyssa;
    1493       45094 :   yyvs = yyvsa;
    1494       45094 :   yystacksize = YYINITDEPTH;
    1495             : 
    1496             :   YYDPRINTF ((stderr, "Starting parse\n"));
    1497             : 
    1498       45094 :   yystate = 0;
    1499       45094 :   yyerrstatus = 0;
    1500       45094 :   yynerrs = 0;
    1501       45094 :   yychar = YYEMPTY; /* Cause a token to be read.  */
    1502             : 
    1503             :   /* Initialize stack pointers.
    1504             :      Waste one element of value and location stack
    1505             :      so that they stay on the same level as the state stack.
    1506             :      The wasted elements are never initialized.  */
    1507       45094 :   yyssp = yyss;
    1508       45094 :   yyvsp = yyvs;
    1509             : 
    1510       45094 :   goto yysetstate;
    1511             : 
    1512             : /*------------------------------------------------------------.
    1513             : | yynewstate -- Push a new state, which is found in yystate.  |
    1514             : `------------------------------------------------------------*/
    1515             :  yynewstate:
    1516             :   /* In all cases, when you get here, the value and location stacks
    1517             :      have just been pushed.  So pushing a state here evens the stacks.  */
    1518    10237483 :   yyssp++;
    1519             : 
    1520             :  yysetstate:
    1521    10282577 :   *yyssp = yystate;
    1522             : 
    1523    10282577 :   if (yyss + yystacksize - 1 <= yyssp)
    1524             :     {
    1525             :       /* Get the current used size of the three stacks, in elements.  */
    1526           0 :       YYSIZE_T yysize = yyssp - yyss + 1;
    1527             : 
    1528             : #ifdef yyoverflow
    1529             :       {
    1530             :         /* Give user a chance to reallocate the stack.  Use copies of
    1531             :            these so that the &'s don't force the real ones into
    1532             :            memory.  */
    1533             :         YYSTYPE *yyvs1 = yyvs;
    1534             :         yytype_int16 *yyss1 = yyss;
    1535             : 
    1536             :         /* Each stack pointer address is followed by the size of the
    1537             :            data in use in that stack, in bytes.  This used to be a
    1538             :            conditional around just the two extra args, but that might
    1539             :            be undefined if yyoverflow is a macro.  */
    1540             :         yyoverflow (YY_("memory exhausted"),
    1541             :                     &yyss1, yysize * sizeof (*yyssp),
    1542             :                     &yyvs1, yysize * sizeof (*yyvsp),
    1543             :                     &yystacksize);
    1544             : 
    1545             :         yyss = yyss1;
    1546             :         yyvs = yyvs1;
    1547             :       }
    1548             : #else /* no yyoverflow */
    1549             : # ifndef YYSTACK_RELOCATE
    1550             :       goto yyexhaustedlab;
    1551             : # else
    1552             :       /* Extend the stack our own way.  */
    1553           0 :       if (YYMAXDEPTH <= yystacksize)
    1554           0 :         goto yyexhaustedlab;
    1555           0 :       yystacksize *= 2;
    1556           0 :       if (YYMAXDEPTH < yystacksize)
    1557           0 :         yystacksize = YYMAXDEPTH;
    1558             : 
    1559             :       {
    1560           0 :         yytype_int16 *yyss1 = yyss;
    1561             :         union yyalloc *yyptr =
    1562           0 :           (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
    1563           0 :         if (! yyptr)
    1564           0 :           goto yyexhaustedlab;
    1565           0 :         YYSTACK_RELOCATE (yyss_alloc, yyss);
    1566           0 :         YYSTACK_RELOCATE (yyvs_alloc, yyvs);
    1567             : #  undef YYSTACK_RELOCATE
    1568           0 :         if (yyss1 != yyssa)
    1569           0 :           YYSTACK_FREE (yyss1);
    1570             :       }
    1571             : # endif
    1572             : #endif /* no yyoverflow */
    1573             : 
    1574           0 :       yyssp = yyss + yysize - 1;
    1575           0 :       yyvsp = yyvs + yysize - 1;
    1576             : 
    1577             :       YYDPRINTF ((stderr, "Stack size increased to %lu\n",
    1578             :                   (unsigned long int) yystacksize));
    1579             : 
    1580           0 :       if (yyss + yystacksize - 1 <= yyssp)
    1581           0 :         YYABORT;
    1582             :     }
    1583             : 
    1584             :   YYDPRINTF ((stderr, "Entering state %d\n", yystate));
    1585             : 
    1586    10282577 :   if (yystate == YYFINAL)
    1587       45088 :     YYACCEPT;
    1588             : 
    1589             :   goto yybackup;
    1590             : 
    1591             : /*-----------.
    1592             : | yybackup.  |
    1593             : `-----------*/
    1594             : yybackup:
    1595             : 
    1596             :   /* Do appropriate processing given the current state.  Read a
    1597             :      lookahead token if we need one and don't already have one.  */
    1598             : 
    1599             :   /* First try to decide what to do without reference to lookahead token.  */
    1600    10237489 :   yyn = yypact[yystate];
    1601    10237489 :   if (yyn == YYPACT_NINF)
    1602     5131862 :     goto yydefault;
    1603             : 
    1604             :   /* Not known => get a lookahead token if don't already have one.  */
    1605             : 
    1606             :   /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol.  */
    1607     5105627 :   if (yychar == YYEMPTY)
    1608             :     {
    1609             :       YYDPRINTF ((stderr, "Reading a token: "));
    1610     3736638 :       yychar = YYLEX;
    1611             :     }
    1612             : 
    1613     5105627 :   if (yychar <= YYEOF)
    1614             :     {
    1615       45095 :       yychar = yytoken = YYEOF;
    1616             :       YYDPRINTF ((stderr, "Now at end of input.\n"));
    1617             :     }
    1618             :   else
    1619             :     {
    1620     5060532 :       yytoken = YYTRANSLATE (yychar);
    1621             :       YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
    1622             :     }
    1623             : 
    1624             :   /* If the proper action on seeing token YYTOKEN is to reduce or to
    1625             :      detect an error, take that action.  */
    1626     5105627 :   yyn += yytoken;
    1627     5105627 :   if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
    1628             :     goto yydefault;
    1629     3736632 :   yyn = yytable[yyn];
    1630     3736632 :   if (yyn <= 0)
    1631             :     {
    1632           0 :       if (yyn == 0 || yyn == YYTABLE_NINF)
    1633             :         goto yyerrlab;
    1634           0 :       yyn = -yyn;
    1635           0 :       goto yyreduce;
    1636             :     }
    1637             : 
    1638             :   /* Count tokens shifted since error; after three, turn off error
    1639             :      status.  */
    1640     3736632 :   if (yyerrstatus)
    1641           0 :     yyerrstatus--;
    1642             : 
    1643             :   /* Shift the lookahead token.  */
    1644             :   YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
    1645             : 
    1646             :   /* Discard the shifted token.  */
    1647     3736632 :   yychar = YYEMPTY;
    1648             : 
    1649     3736632 :   yystate = yyn;
    1650     3736632 :   *++yyvsp = yylval;
    1651             : 
    1652     3736632 :   goto yynewstate;
    1653             : 
    1654             : 
    1655             : /*-----------------------------------------------------------.
    1656             : | yydefault -- do the default action for the current state.  |
    1657             : `-----------------------------------------------------------*/
    1658             : yydefault:
    1659     6500857 :   yyn = yydefact[yystate];
    1660     6500857 :   if (yyn == 0)
    1661           6 :     goto yyerrlab;
    1662             :   goto yyreduce;
    1663             : 
    1664             : 
    1665             : /*-----------------------------.
    1666             : | yyreduce -- Do a reduction.  |
    1667             : `-----------------------------*/
    1668             : yyreduce:
    1669             :   /* yyn is the number of a rule to reduce with.  */
    1670     6500851 :   yylen = yyr2[yyn];
    1671             : 
    1672             :   /* If YYLEN is nonzero, implement the default value of the action:
    1673             :      `$$ = $1'.
    1674             : 
    1675             :      Otherwise, the following line sets YYVAL to garbage.
    1676             :      This behavior is undocumented and Bison
    1677             :      users should not rely upon it.  Assigning to YYVAL
    1678             :      unconditionally makes the parser a bit smaller, and it avoids a
    1679             :      GCC warning that YYVAL may be used uninitialized.  */
    1680     6500851 :   yyval = yyvsp[1-yylen];
    1681             : 
    1682             : 
    1683             :   YY_REDUCE_PRINT (yyn);
    1684     6500851 :   switch (yyn)
    1685             :     {
    1686             :         case 4:
    1687             : 
    1688             : /* Line 1455 of yacc.c  */
    1689             : #line 293 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1690             :     {
    1691             : #if DEBUG_CFG_PARSER
    1692             :                         printf("SECTION: [%s]\n", Z_STRVAL((yyvsp[(2) - (3)])));
    1693             : #endif
    1694             :                         ZEND_INI_PARSER_CB(&(yyvsp[(2) - (3)]), NULL, NULL, ZEND_INI_PARSER_SECTION, ZEND_INI_PARSER_ARG);
    1695             :                         zend_string_release(Z_STR((yyvsp[(2) - (3)])));
    1696             :                 }
    1697             :     break;
    1698             : 
    1699             :   case 5:
    1700             : 
    1701             : /* Line 1455 of yacc.c  */
    1702             : #line 300 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1703             :     {
    1704             : #if DEBUG_CFG_PARSER
    1705             :                         printf("NORMAL: '%s' = '%s'\n", Z_STRVAL((yyvsp[(1) - (3)])), Z_STRVAL((yyvsp[(3) - (3)])));
    1706             : #endif
    1707             :                         ZEND_INI_PARSER_CB(&(yyvsp[(1) - (3)]), &(yyvsp[(3) - (3)]), NULL, ZEND_INI_PARSER_ENTRY, ZEND_INI_PARSER_ARG);
    1708             :                         zend_string_release(Z_STR((yyvsp[(1) - (3)])));
    1709             :                         zval_ptr_dtor(&(yyvsp[(3) - (3)]));
    1710             :                 }
    1711             :     break;
    1712             : 
    1713             :   case 6:
    1714             : 
    1715             : /* Line 1455 of yacc.c  */
    1716             : #line 308 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1717             :     {
    1718             : #if DEBUG_CFG_PARSER
    1719             :                         printf("OFFSET: '%s'[%s] = '%s'\n", Z_STRVAL((yyvsp[(1) - (5)])), Z_STRVAL((yyvsp[(2) - (5)])), Z_STRVAL((yyvsp[(5) - (5)])));
    1720             : #endif
    1721             :                         ZEND_INI_PARSER_CB(&(yyvsp[(1) - (5)]), &(yyvsp[(5) - (5)]), &(yyvsp[(2) - (5)]), ZEND_INI_PARSER_POP_ENTRY, ZEND_INI_PARSER_ARG);
    1722             :                         zend_string_release(Z_STR((yyvsp[(1) - (5)])));
    1723             :                         if (Z_TYPE((yyvsp[(2) - (5)])) == IS_STRING) {
    1724             :                                 zend_string_release(Z_STR((yyvsp[(2) - (5)])));
    1725             :                         } else {
    1726             :                                 zval_dtor(&(yyvsp[(2) - (5)]));
    1727             :                         }
    1728             :                         zval_ptr_dtor(&(yyvsp[(5) - (5)]));
    1729             :                 }
    1730             :     break;
    1731             : 
    1732             :   case 7:
    1733             : 
    1734             : /* Line 1455 of yacc.c  */
    1735             : #line 321 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1736             :     { ZEND_INI_PARSER_CB(&(yyvsp[(1) - (1)]), NULL, NULL, ZEND_INI_PARSER_ENTRY, ZEND_INI_PARSER_ARG); zend_string_release(Z_STR((yyvsp[(1) - (1)]))); }
    1737             :     break;
    1738             : 
    1739             :   case 9:
    1740             : 
    1741             : /* Line 1455 of yacc.c  */
    1742             : #line 326 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1743             :     { (yyval) = (yyvsp[(1) - (1)]); }
    1744             :     break;
    1745             : 
    1746             :   case 10:
    1747             : 
    1748             : /* Line 1455 of yacc.c  */
    1749             : #line 327 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1750             :     { zend_ini_init_string(&(yyval)); }
    1751             :     break;
    1752             : 
    1753             :   case 11:
    1754             : 
    1755             : /* Line 1455 of yacc.c  */
    1756             : #line 331 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1757             :     { (yyval) = (yyvsp[(1) - (1)]); }
    1758             :     break;
    1759             : 
    1760             :   case 12:
    1761             : 
    1762             : /* Line 1455 of yacc.c  */
    1763             : #line 332 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1764             :     { (yyval) = (yyvsp[(1) - (1)]); }
    1765             :     break;
    1766             : 
    1767             :   case 13:
    1768             : 
    1769             : /* Line 1455 of yacc.c  */
    1770             : #line 333 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1771             :     { (yyval) = (yyvsp[(1) - (1)]); }
    1772             :     break;
    1773             : 
    1774             :   case 14:
    1775             : 
    1776             : /* Line 1455 of yacc.c  */
    1777             : #line 334 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1778             :     { (yyval) = (yyvsp[(1) - (1)]); }
    1779             :     break;
    1780             : 
    1781             :   case 15:
    1782             : 
    1783             : /* Line 1455 of yacc.c  */
    1784             : #line 335 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1785             :     { zend_ini_init_string(&(yyval)); }
    1786             :     break;
    1787             : 
    1788             :   case 16:
    1789             : 
    1790             : /* Line 1455 of yacc.c  */
    1791             : #line 339 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1792             :     { (yyval) = (yyvsp[(1) - (1)]); }
    1793             :     break;
    1794             : 
    1795             :   case 17:
    1796             : 
    1797             : /* Line 1455 of yacc.c  */
    1798             : #line 340 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1799             :     { zend_ini_init_string(&(yyval)); }
    1800             :     break;
    1801             : 
    1802             :   case 18:
    1803             : 
    1804             : /* Line 1455 of yacc.c  */
    1805             : #line 344 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1806             :     { zend_ini_add_string(&(yyval), &(yyvsp[(1) - (2)]), &(yyvsp[(2) - (2)])); zend_string_free(Z_STR((yyvsp[(2) - (2)]))); }
    1807             :     break;
    1808             : 
    1809             :   case 19:
    1810             : 
    1811             : /* Line 1455 of yacc.c  */
    1812             : #line 345 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1813             :     { zend_ini_add_string(&(yyval), &(yyvsp[(1) - (2)]), &(yyvsp[(2) - (2)])); zend_string_free(Z_STR((yyvsp[(2) - (2)]))); }
    1814             :     break;
    1815             : 
    1816             :   case 20:
    1817             : 
    1818             : /* Line 1455 of yacc.c  */
    1819             : #line 346 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1820             :     { zend_ini_init_string(&(yyval)); }
    1821             :     break;
    1822             : 
    1823             :   case 21:
    1824             : 
    1825             : /* Line 1455 of yacc.c  */
    1826             : #line 350 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1827             :     { (yyval) = (yyvsp[(1) - (1)]); }
    1828             :     break;
    1829             : 
    1830             :   case 22:
    1831             : 
    1832             : /* Line 1455 of yacc.c  */
    1833             : #line 351 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1834             :     { (yyval) = (yyvsp[(1) - (1)]); }
    1835             :     break;
    1836             : 
    1837             :   case 23:
    1838             : 
    1839             : /* Line 1455 of yacc.c  */
    1840             : #line 352 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1841             :     { (yyval) = (yyvsp[(2) - (3)]); }
    1842             :     break;
    1843             : 
    1844             :   case 24:
    1845             : 
    1846             : /* Line 1455 of yacc.c  */
    1847             : #line 353 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1848             :     { zend_ini_add_string(&(yyval), &(yyvsp[(1) - (2)]), &(yyvsp[(2) - (2)])); zend_string_free(Z_STR((yyvsp[(2) - (2)]))); }
    1849             :     break;
    1850             : 
    1851             :   case 25:
    1852             : 
    1853             : /* Line 1455 of yacc.c  */
    1854             : #line 354 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1855             :     { zend_ini_add_string(&(yyval), &(yyvsp[(1) - (2)]), &(yyvsp[(2) - (2)])); zend_string_free(Z_STR((yyvsp[(2) - (2)]))); }
    1856             :     break;
    1857             : 
    1858             :   case 26:
    1859             : 
    1860             : /* Line 1455 of yacc.c  */
    1861             : #line 355 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1862             :     { zend_ini_add_string(&(yyval), &(yyvsp[(1) - (4)]), &(yyvsp[(3) - (4)])); zend_string_free(Z_STR((yyvsp[(3) - (4)]))); }
    1863             :     break;
    1864             : 
    1865             :   case 27:
    1866             : 
    1867             : /* Line 1455 of yacc.c  */
    1868             : #line 359 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1869             :     { (yyval) = (yyvsp[(1) - (1)]); }
    1870             :     break;
    1871             : 
    1872             :   case 28:
    1873             : 
    1874             : /* Line 1455 of yacc.c  */
    1875             : #line 360 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1876             :     { (yyval) = (yyvsp[(1) - (1)]); }
    1877             :     break;
    1878             : 
    1879             :   case 29:
    1880             : 
    1881             : /* Line 1455 of yacc.c  */
    1882             : #line 361 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1883             :     { (yyval) = (yyvsp[(2) - (3)]); }
    1884             :     break;
    1885             : 
    1886             :   case 30:
    1887             : 
    1888             : /* Line 1455 of yacc.c  */
    1889             : #line 362 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1890             :     { zend_ini_add_string(&(yyval), &(yyvsp[(1) - (2)]), &(yyvsp[(2) - (2)])); zend_string_free(Z_STR((yyvsp[(2) - (2)]))); }
    1891             :     break;
    1892             : 
    1893             :   case 31:
    1894             : 
    1895             : /* Line 1455 of yacc.c  */
    1896             : #line 363 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1897             :     { zend_ini_add_string(&(yyval), &(yyvsp[(1) - (2)]), &(yyvsp[(2) - (2)])); zend_string_free(Z_STR((yyvsp[(2) - (2)]))); }
    1898             :     break;
    1899             : 
    1900             :   case 32:
    1901             : 
    1902             : /* Line 1455 of yacc.c  */
    1903             : #line 364 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1904             :     { zend_ini_add_string(&(yyval), &(yyvsp[(1) - (4)]), &(yyvsp[(3) - (4)])); zend_string_free(Z_STR((yyvsp[(3) - (4)]))); }
    1905             :     break;
    1906             : 
    1907             :   case 33:
    1908             : 
    1909             : /* Line 1455 of yacc.c  */
    1910             : #line 368 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1911             :     { (yyval) = (yyvsp[(1) - (1)]); }
    1912             :     break;
    1913             : 
    1914             :   case 34:
    1915             : 
    1916             : /* Line 1455 of yacc.c  */
    1917             : #line 369 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1918             :     { zend_ini_do_op('|', &(yyval), &(yyvsp[(1) - (3)]), &(yyvsp[(3) - (3)])); }
    1919             :     break;
    1920             : 
    1921             :   case 35:
    1922             : 
    1923             : /* Line 1455 of yacc.c  */
    1924             : #line 370 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1925             :     { zend_ini_do_op('&', &(yyval), &(yyvsp[(1) - (3)]), &(yyvsp[(3) - (3)])); }
    1926             :     break;
    1927             : 
    1928             :   case 36:
    1929             : 
    1930             : /* Line 1455 of yacc.c  */
    1931             : #line 371 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1932             :     { zend_ini_do_op('^', &(yyval), &(yyvsp[(1) - (3)]), &(yyvsp[(3) - (3)])); }
    1933             :     break;
    1934             : 
    1935             :   case 37:
    1936             : 
    1937             : /* Line 1455 of yacc.c  */
    1938             : #line 372 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1939             :     { zend_ini_do_op('~', &(yyval), &(yyvsp[(2) - (2)]), NULL); }
    1940             :     break;
    1941             : 
    1942             :   case 38:
    1943             : 
    1944             : /* Line 1455 of yacc.c  */
    1945             : #line 373 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1946             :     { zend_ini_do_op('!', &(yyval), &(yyvsp[(2) - (2)]), NULL); }
    1947             :     break;
    1948             : 
    1949             :   case 39:
    1950             : 
    1951             : /* Line 1455 of yacc.c  */
    1952             : #line 374 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1953             :     { (yyval) = (yyvsp[(2) - (3)]); }
    1954             :     break;
    1955             : 
    1956             :   case 40:
    1957             : 
    1958             : /* Line 1455 of yacc.c  */
    1959             : #line 378 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1960             :     { zend_ini_get_var(&(yyval), &(yyvsp[(2) - (3)])); zend_string_free(Z_STR((yyvsp[(2) - (3)]))); }
    1961             :     break;
    1962             : 
    1963             :   case 41:
    1964             : 
    1965             : /* Line 1455 of yacc.c  */
    1966             : #line 382 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1967             :     { (yyval) = (yyvsp[(1) - (1)]); }
    1968             :     break;
    1969             : 
    1970             :   case 42:
    1971             : 
    1972             : /* Line 1455 of yacc.c  */
    1973             : #line 383 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1974             :     { (yyval) = (yyvsp[(1) - (1)]); /*printf("TC_RAW: '%s'\n", Z_STRVAL($1));*/ }
    1975             :     break;
    1976             : 
    1977             :   case 43:
    1978             : 
    1979             : /* Line 1455 of yacc.c  */
    1980             : #line 384 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1981             :     { (yyval) = (yyvsp[(1) - (1)]); /*printf("TC_NUMBER: '%s'\n", Z_STRVAL($1));*/ }
    1982             :     break;
    1983             : 
    1984             :   case 44:
    1985             : 
    1986             : /* Line 1455 of yacc.c  */
    1987             : #line 385 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1988             :     { (yyval) = (yyvsp[(1) - (1)]); /*printf("TC_STRING: '%s'\n", Z_STRVAL($1));*/ }
    1989             :     break;
    1990             : 
    1991             :   case 45:
    1992             : 
    1993             : /* Line 1455 of yacc.c  */
    1994             : #line 386 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    1995             :     { (yyval) = (yyvsp[(1) - (1)]); /*printf("TC_WHITESPACE: '%s'\n", Z_STRVAL($1));*/ }
    1996             :     break;
    1997             : 
    1998             :   case 46:
    1999             : 
    2000             : /* Line 1455 of yacc.c  */
    2001             : #line 390 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    2002             :     { zend_ini_get_constant(&(yyval), &(yyvsp[(1) - (1)])); }
    2003             :     break;
    2004             : 
    2005             :   case 47:
    2006             : 
    2007             : /* Line 1455 of yacc.c  */
    2008             : #line 391 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    2009             :     { (yyval) = (yyvsp[(1) - (1)]); /*printf("TC_RAW: '%s'\n", Z_STRVAL($1));*/ }
    2010             :     break;
    2011             : 
    2012             :   case 48:
    2013             : 
    2014             : /* Line 1455 of yacc.c  */
    2015             : #line 392 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    2016             :     { (yyval) = (yyvsp[(1) - (1)]); /*printf("TC_NUMBER: '%s'\n", Z_STRVAL($1));*/ }
    2017             :     break;
    2018             : 
    2019             :   case 49:
    2020             : 
    2021             : /* Line 1455 of yacc.c  */
    2022             : #line 393 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    2023             :     { (yyval) = (yyvsp[(1) - (1)]); /*printf("TC_STRING: '%s'\n", Z_STRVAL($1));*/ }
    2024             :     break;
    2025             : 
    2026             :   case 50:
    2027             : 
    2028             : /* Line 1455 of yacc.c  */
    2029             : #line 394 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.y"
    2030             :     { (yyval) = (yyvsp[(1) - (1)]); /*printf("TC_WHITESPACE: '%s'\n", Z_STRVAL($1));*/ }
    2031             :     break;
    2032             : 
    2033             : 
    2034             : 
    2035             : /* Line 1455 of yacc.c  */
    2036             : #line 2037 "/var/php_gcov/PHP_HEAD/Zend/zend_ini_parser.c"
    2037             :       default: break;
    2038             :     }
    2039             :   YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);
    2040             : 
    2041     6500851 :   YYPOPSTACK (yylen);
    2042     6500851 :   yylen = 0;
    2043             :   YY_STACK_PRINT (yyss, yyssp);
    2044             : 
    2045     6500851 :   *++yyvsp = yyval;
    2046             : 
    2047             :   /* Now `shift' the result of the reduction.  Determine what state
    2048             :      that goes to, based on the state we popped back to and the rule
    2049             :      number reduced by.  */
    2050             : 
    2051     6500851 :   yyn = yyr1[yyn];
    2052             : 
    2053     6500851 :   yystate = yypgoto[yyn - YYNTOKENS] + *yyssp;
    2054     6637642 :   if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp)
    2055      136791 :     yystate = yytable[yystate];
    2056             :   else
    2057     6364060 :     yystate = yydefgoto[yyn - YYNTOKENS];
    2058             : 
    2059     6500851 :   goto yynewstate;
    2060             : 
    2061             : 
    2062             : /*------------------------------------.
    2063             : | yyerrlab -- here on detecting error |
    2064             : `------------------------------------*/
    2065             : yyerrlab:
    2066             :   /* If not already recovering from an error, report this error.  */
    2067           6 :   if (!yyerrstatus)
    2068             :     {
    2069           6 :       ++yynerrs;
    2070             : #if ! YYERROR_VERBOSE
    2071             :       yyerror (YY_("syntax error"));
    2072             : #else
    2073             :       {
    2074           6 :         YYSIZE_T yysize = yysyntax_error (0, yystate, yychar);
    2075           6 :         if (yymsg_alloc < yysize && yymsg_alloc < YYSTACK_ALLOC_MAXIMUM)
    2076             :           {
    2077           0 :             YYSIZE_T yyalloc = 2 * yysize;
    2078           0 :             if (! (yysize <= yyalloc && yyalloc <= YYSTACK_ALLOC_MAXIMUM))
    2079           0 :               yyalloc = YYSTACK_ALLOC_MAXIMUM;
    2080           0 :             if (yymsg != yymsgbuf)
    2081           0 :               YYSTACK_FREE (yymsg);
    2082           0 :             yymsg = (char *) YYSTACK_ALLOC (yyalloc);
    2083           0 :             if (yymsg)
    2084           0 :               yymsg_alloc = yyalloc;
    2085             :             else
    2086             :               {
    2087           0 :                 yymsg = yymsgbuf;
    2088           0 :                 yymsg_alloc = sizeof yymsgbuf;
    2089             :               }
    2090             :           }
    2091             : 
    2092          12 :         if (0 < yysize && yysize <= yymsg_alloc)
    2093             :           {
    2094           6 :             (void) yysyntax_error (yymsg, yystate, yychar);
    2095           6 :             yyerror (yymsg);
    2096             :           }
    2097             :         else
    2098             :           {
    2099           0 :             yyerror (YY_("syntax error"));
    2100           0 :             if (yysize != 0)
    2101           0 :               goto yyexhaustedlab;
    2102             :           }
    2103             :       }
    2104             : #endif
    2105             :     }
    2106             : 
    2107             : 
    2108             : 
    2109           6 :   if (yyerrstatus == 3)
    2110             :     {
    2111             :       /* If just tried and failed to reuse lookahead token after an
    2112             :          error, discard it.  */
    2113             : 
    2114           0 :       if (yychar <= YYEOF)
    2115             :         {
    2116             :           /* Return failure if at end of input.  */
    2117           0 :           if (yychar == YYEOF)
    2118           0 :             YYABORT;
    2119             :         }
    2120             :       else
    2121             :         {
    2122           0 :           yydestruct ("Error: discarding",
    2123             :                       yytoken, &yylval);
    2124           0 :           yychar = YYEMPTY;
    2125             :         }
    2126             :     }
    2127             : 
    2128             :   /* Else will try to reuse lookahead token after shifting the error
    2129             :      token.  */
    2130           6 :   goto yyerrlab1;
    2131             : 
    2132             : 
    2133             : /*---------------------------------------------------.
    2134             : | yyerrorlab -- error raised explicitly by YYERROR.  |
    2135             : `---------------------------------------------------*/
    2136             : yyerrorlab:
    2137             : 
    2138             :   /* Pacify compilers like GCC when the user code never invokes
    2139             :      YYERROR and the label yyerrorlab therefore never appears in user
    2140             :      code.  */
    2141             :   if (/*CONSTCOND*/ 0)
    2142             :      goto yyerrorlab;
    2143             : 
    2144             :   /* Do not reclaim the symbols of the rule which action triggered
    2145             :      this YYERROR.  */
    2146             :   YYPOPSTACK (yylen);
    2147             :   yylen = 0;
    2148             :   YY_STACK_PRINT (yyss, yyssp);
    2149             :   yystate = *yyssp;
    2150             :   goto yyerrlab1;
    2151             : 
    2152             : 
    2153             : /*-------------------------------------------------------------.
    2154             : | yyerrlab1 -- common code for both syntax error and YYERROR.  |
    2155             : `-------------------------------------------------------------*/
    2156             : yyerrlab1:
    2157           6 :   yyerrstatus = 3;      /* Each real token shifted decrements this.  */
    2158             : 
    2159             :   for (;;)
    2160             :     {
    2161          15 :       yyn = yypact[yystate];
    2162          15 :       if (yyn != YYPACT_NINF)
    2163             :         {
    2164           9 :           yyn += YYTERROR;
    2165           9 :           if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR)
    2166             :             {
    2167           0 :               yyn = yytable[yyn];
    2168           0 :               if (0 < yyn)
    2169           0 :                 break;
    2170             :             }
    2171             :         }
    2172             : 
    2173             :       /* Pop the current state because it cannot handle the error token.  */
    2174          15 :       if (yyssp == yyss)
    2175           6 :         YYABORT;
    2176             : 
    2177             : 
    2178           9 :       yydestruct ("Error: popping",
    2179           9 :                   yystos[yystate], yyvsp);
    2180           9 :       YYPOPSTACK (1);
    2181           9 :       yystate = *yyssp;
    2182             :       YY_STACK_PRINT (yyss, yyssp);
    2183           9 :     }
    2184             : 
    2185           0 :   *++yyvsp = yylval;
    2186             : 
    2187             : 
    2188             :   /* Shift the error token.  */
    2189             :   YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp);
    2190             : 
    2191           0 :   yystate = yyn;
    2192           0 :   goto yynewstate;
    2193             : 
    2194             : 
    2195             : /*-------------------------------------.
    2196             : | yyacceptlab -- YYACCEPT comes here.  |
    2197             : `-------------------------------------*/
    2198             : yyacceptlab:
    2199       45088 :   yyresult = 0;
    2200       45088 :   goto yyreturn;
    2201             : 
    2202             : /*-----------------------------------.
    2203             : | yyabortlab -- YYABORT comes here.  |
    2204             : `-----------------------------------*/
    2205             : yyabortlab:
    2206           6 :   yyresult = 1;
    2207           6 :   goto yyreturn;
    2208             : 
    2209             : #if !defined(yyoverflow) || YYERROR_VERBOSE
    2210             : /*-------------------------------------------------.
    2211             : | yyexhaustedlab -- memory exhaustion comes here.  |
    2212             : `-------------------------------------------------*/
    2213             : yyexhaustedlab:
    2214           0 :   yyerror (YY_("memory exhausted"));
    2215           0 :   yyresult = 2;
    2216             :   /* Fall through.  */
    2217             : #endif
    2218             : 
    2219             : yyreturn:
    2220       45094 :   if (yychar != YYEMPTY)
    2221           6 :      yydestruct ("Cleanup: discarding lookahead",
    2222             :                  yytoken, &yylval);
    2223             :   /* Do not reclaim the symbols of the rule which action triggered
    2224             :      this YYABORT or YYACCEPT.  */
    2225       45094 :   YYPOPSTACK (yylen);
    2226             :   YY_STACK_PRINT (yyss, yyssp);
    2227      180364 :   while (yyssp != yyss)
    2228             :     {
    2229       90176 :       yydestruct ("Cleanup: popping",
    2230       90176 :                   yystos[*yyssp], yyvsp);
    2231       90176 :       YYPOPSTACK (1);
    2232             :     }
    2233             : #ifndef yyoverflow
    2234       45094 :   if (yyss != yyssa)
    2235           0 :     YYSTACK_FREE (yyss);
    2236             : #endif
    2237             : #if YYERROR_VERBOSE
    2238       45094 :   if (yymsg != yymsgbuf)
    2239           0 :     YYSTACK_FREE (yymsg);
    2240             : #endif
    2241             :   /* Make sure YYID is used.  */
    2242       45094 :   return YYID (yyresult);
    2243             : }
    2244             : 
    2245             : 
    2246             : 

Generated by: LCOV version 1.10

Generated at Sat, 25 Jun 2016 07:08:51 +0000 (5 days ago)

Copyright © 2005-2016 The PHP Group
All rights reserved.