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

Generated by: LCOV version 1.10

Generated at Sat, 13 Dec 2014 06:16:08 +0000 (7 days ago)

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