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-10-14 Functions: 4 4 100.0 %
Legend: Lines: hit not hit

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

Generated by: LCOV version 1.10

Generated at Tue, 14 Oct 2014 07:25:36 +0000 (7 days ago)

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