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

Generated by: LCOV version 1.10

Generated at Wed, 20 Jul 2016 02:56:13 +0000 (3 days ago)

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