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

Generated by: LCOV version 1.10

Generated at Wed, 16 Apr 2014 12:47:43 +0000 (38 hours ago)

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