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

Generated by: LCOV version 1.10

Generated at Mon, 10 Nov 2014 22:46:35 +0000 (10 days ago)

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