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

Generated by: LCOV version 1.10

Generated at Sun, 27 Jul 2014 12:58:23 +0000 (4 days ago)

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