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

Generated by: LCOV version 1.10

Generated at Sat, 29 Aug 2015 10:22:10 +0000 (36 hours ago)

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