Changeset 16466a in git for factory/readcf.cc


Ignore:
Timestamp:
Apr 15, 2008, 2:04:31 PM (16 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '6e5adcba05493683b94648c659a729c189812c77')
Children:
936551d9412a5b90762e763a532a71c37dbe42c1
Parents:
229b08c2403663b9333b0017b2f7942281ea7619
Message:
*sage: gcc 4.3


git-svn-id: file:///usr/local/Singular/svn/trunk@10671 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/readcf.cc

    r229b08 r16466a  
    1 /* A Bison parser, made by GNU Bison 2.1.  */
    2 
    3 /* Skeleton parser for Yacc-like parsing with Bison,
    4    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
     1/* A Bison parser, made by GNU Bison 2.3.  */
     2
     3/* Skeleton implementation for Bison's Yacc-like parsers in C
     4
     5   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
     6   Free Software Foundation, Inc.
    57
    68   This program is free software; you can redistribute it and/or modify
     
    1921   Boston, MA 02110-1301, USA.  */
    2022
    21 /* As a special exception, when this file is copied by Bison into a
    22    Bison output file, you may use that output file without restriction.
    23    This special exception was added by the Free Software Foundation
    24    in version 1.24 of Bison.  */
    25 
    26 /* Written by Richard Stallman by simplifying the original so called
    27    ``semantic'' parser.  */
     23/* As a special exception, you may create a larger work that contains
     24   part or all of the Bison parser skeleton and distribute that work
     25   under terms of your choice, so long as that work isn't itself a
     26   parser generator using the skeleton or a modified version thereof
     27   as a parser skeleton.  Alternatively, if you modify or redistribute
     28   the parser skeleton itself, you may (at your option) remove this
     29   special exception, which will cause the skeleton and the resulting
     30   Bison output files to be licensed under the GNU General Public
     31   License without this special exception.
     32
     33   This special exception was added by the Free Software Foundation in
     34   version 2.2 of Bison.  */
     35
     36/* C LALR(1) parser skeleton written by Richard Stallman, by
     37   simplifying the original so-called "semantic" parser.  */
    2838
    2939/* All symbols defined below should begin with yy or YY, to avoid
     
    3848
    3949/* Bison version.  */
    40 #define YYBISON_VERSION "2.1"
     50#define YYBISON_VERSION "2.3"
    4151
    4252/* Skeleton name.  */
     
    7888#endif
    7989
     90#include <cstring> // we need this for gcc 4.3
    8091#include <config.h>
    8192
     
    138149#endif
    139150
    140 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
     151#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
    141152typedef int YYSTYPE;
    142153# define yystype YYSTYPE /* obsolescent; will be withdrawn */
     
    150161
    151162
    152 /* Line 219 of yacc.c.  */
    153 #line 154 "readcf.cc"
    154 
    155 #if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__)
    156 # define YYSIZE_T __SIZE_TYPE__
    157 #endif
    158 #if ! defined (YYSIZE_T) && defined (size_t)
    159 # define YYSIZE_T size_t
    160 #endif
    161 #if ! defined (YYSIZE_T) && (defined (__STDC__) || defined (__cplusplus))
    162 # include <stddef.h> /* INFRINGES ON USER NAME SPACE */
    163 # define YYSIZE_T size_t
    164 #endif
    165 #if ! defined (YYSIZE_T)
    166 # define YYSIZE_T unsigned int
    167 #endif
     163/* Line 216 of yacc.c.  */
     164#line 165 "readcf.cc"
     165
     166#ifdef short
     167# undef short
     168#endif
     169
     170#ifdef YYTYPE_UINT8
     171typedef YYTYPE_UINT8 yytype_uint8;
     172#else
     173typedef unsigned char yytype_uint8;
     174#endif
     175
     176#ifdef YYTYPE_INT8
     177typedef YYTYPE_INT8 yytype_int8;
     178#elif (defined __STDC__ || defined __C99__FUNC__ \
     179     || defined __cplusplus || defined _MSC_VER)
     180typedef signed char yytype_int8;
     181#else
     182typedef short int yytype_int8;
     183#endif
     184
     185#ifdef YYTYPE_UINT16
     186typedef YYTYPE_UINT16 yytype_uint16;
     187#else
     188typedef unsigned short int yytype_uint16;
     189#endif
     190
     191#ifdef YYTYPE_INT16
     192typedef YYTYPE_INT16 yytype_int16;
     193#else
     194typedef short int yytype_int16;
     195#endif
     196
     197#ifndef YYSIZE_T
     198# ifdef __SIZE_TYPE__
     199#  define YYSIZE_T __SIZE_TYPE__
     200# elif defined size_t
     201#  define YYSIZE_T size_t
     202# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \
     203     || defined __cplusplus || defined _MSC_VER)
     204#  include <stddef.h> /* INFRINGES ON USER NAME SPACE */
     205#  define YYSIZE_T size_t
     206# else
     207#  define YYSIZE_T unsigned int
     208# endif
     209#endif
     210
     211#define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
    168212
    169213#ifndef YY_
     
    179223#endif
    180224
    181 #if ! defined (yyoverflow) || YYERROR_VERBOSE
     225/* Suppress unused-variable warnings by "using" E.  */
     226#if ! defined lint || defined __GNUC__
     227# define YYUSE(e) ((void) (e))
     228#else
     229# define YYUSE(e) /* empty */
     230#endif
     231
     232/* Identity function, used to suppress warnings about constant conditions.  */
     233#ifndef lint
     234# define YYID(n) (n)
     235#else
     236#if (defined __STDC__ || defined __C99__FUNC__ \
     237     || defined __cplusplus || defined _MSC_VER)
     238static int
     239YYID (int i)
     240#else
     241static int
     242YYID (i)
     243    int i;
     244#endif
     245{
     246  return i;
     247}
     248#endif
     249
     250#if ! defined yyoverflow || YYERROR_VERBOSE
    182251
    183252/* The parser invokes alloca or malloc; define the necessary symbols.  */
     
    187256#   ifdef __GNUC__
    188257#    define YYSTACK_ALLOC __builtin_alloca
     258#   elif defined __BUILTIN_VA_ARG_INCR
     259#    include <alloca.h> /* INFRINGES ON USER NAME SPACE */
     260#   elif defined _AIX
     261#    define YYSTACK_ALLOC __alloca
     262#   elif defined _MSC_VER
     263#    include <malloc.h> /* INFRINGES ON USER NAME SPACE */
     264#    define alloca _alloca
    189265#   else
    190266#    define YYSTACK_ALLOC alloca
    191 #    if defined (__STDC__) || defined (__cplusplus)
     267#    if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
     268     || defined __cplusplus || defined _MSC_VER)
    192269#     include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
    193 #     define YYINCLUDED_STDLIB_H
     270#     ifndef _STDLIB_H
     271#      define _STDLIB_H 1
     272#     endif
    194273#    endif
    195274#   endif
     
    198277
    199278# ifdef YYSTACK_ALLOC
    200    /* Pacify GCC's `empty if-body' warning. */
    201 #  define YYSTACK_FREE(Ptr) do { /* empty */; } while (0)
     279   /* Pacify GCC's `empty if-body' warning.  */
     280#  define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0))
    202281#  ifndef YYSTACK_ALLOC_MAXIMUM
    203282    /* The OS might guarantee only one guard page at the bottom of the stack,
     
    205284       invoke alloca (N) if N exceeds 4096.  Use a slightly smaller number
    206285       to allow for a few compiler-allocated temporary stack slots.  */
    207 #   define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2005 */
     286#   define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */
    208287#  endif
    209288# else
     
    211290#  define YYSTACK_FREE YYFREE
    212291#  ifndef YYSTACK_ALLOC_MAXIMUM
    213 #   define YYSTACK_ALLOC_MAXIMUM ((YYSIZE_T) -1)
     292#   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
    214293#  endif
    215 #  ifdef __cplusplus
    216 extern "C" {
     294#  if (defined __cplusplus && ! defined _STDLIB_H \
     295       && ! ((defined YYMALLOC || defined malloc) \
     296             && (defined YYFREE || defined free)))
     297#   include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
     298#   ifndef _STDLIB_H
     299#    define _STDLIB_H 1
     300#   endif
    217301#  endif
    218302#  ifndef YYMALLOC
    219303#   define YYMALLOC malloc
    220 #   if (! defined (malloc) && ! defined (YYINCLUDED_STDLIB_H) \
    221         && (defined (__STDC__) || defined (__cplusplus)))
     304#   if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
     305     || defined __cplusplus || defined _MSC_VER)
    222306void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
    223307#   endif
     
    225309#  ifndef YYFREE
    226310#   define YYFREE free
    227 #   if (! defined (free) && ! defined (YYINCLUDED_STDLIB_H) \
    228         && (defined (__STDC__) || defined (__cplusplus)))
     311#   if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
     312     || defined __cplusplus || defined _MSC_VER)
    229313void free (void *); /* INFRINGES ON USER NAME SPACE */
    230314#   endif
    231315#  endif
    232 #  ifdef __cplusplus
    233 }
    234 #  endif
    235316# endif
    236 #endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */
    237 
    238 
    239 #if (! defined (yyoverflow) \
    240      && (! defined (__cplusplus) \
    241          || (defined (YYSTYPE_IS_TRIVIAL) && YYSTYPE_IS_TRIVIAL)))
     317#endif /* ! defined yyoverflow || YYERROR_VERBOSE */
     318
     319
     320#if (! defined yyoverflow \
     321     && (! defined __cplusplus \
     322         || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
    242323
    243324/* A type that is properly aligned for any stack member.  */
    244325union yyalloc
    245326{
    246   short int yyss;
     327  yytype_int16 yyss;
    247328  YYSTYPE yyvs;
    248329  };
     
    254335   N elements.  */
    255336# define YYSTACK_BYTES(N) \
    256      ((N) * (sizeof (short int) + sizeof (YYSTYPE))                     \
     337     ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
    257338      + YYSTACK_GAP_MAXIMUM)
    258339
     
    260341   not overlap.  */
    261342# ifndef YYCOPY
    262 #  if defined (__GNUC__) && 1 < __GNUC__
     343#  if defined __GNUC__ && 1 < __GNUC__
    263344#   define YYCOPY(To, From, Count) \
    264345      __builtin_memcpy (To, From, (Count) * sizeof (*(From)))
     
    271352            (To)[yyi] = (From)[yyi];            \
    272353        }                                       \
    273       while (0)
     354      while (YYID (0))
    274355#  endif
    275356# endif
     
    289370        yyptr += yynewbytes / sizeof (*yyptr);                          \
    290371      }                                                                 \
    291     while (0)
    292 
    293 #endif
    294 
    295 #if defined (__STDC__) || defined (__cplusplus)
    296    typedef signed char yysigned_char;
    297 #else
    298    typedef short int yysigned_char;
    299 #endif
    300 
    301 /* YYFINAL -- State number of the termination state. */
     372    while (YYID (0))
     373
     374#endif
     375
     376/* YYFINAL -- State number of the termination state.  */
    302377#define YYFINAL  2
    303378/* YYLAST -- Last index in YYTABLE.  */
    304379#define YYLAST   44
    305380
    306 /* YYNTOKENS -- Number of terminals. */
     381/* YYNTOKENS -- Number of terminals.  */
    307382#define YYNTOKENS  13
    308 /* YYNNTS -- Number of nonterminals. */
     383/* YYNNTS -- Number of nonterminals.  */
    309384#define YYNNTS  4
    310 /* YYNRULES -- Number of rules. */
     385/* YYNRULES -- Number of rules.  */
    311386#define YYNRULES  14
    312 /* YYNRULES -- Number of states. */
     387/* YYNRULES -- Number of states.  */
    313388#define YYNSTATES  25
    314389
     
    321396
    322397/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX.  */
    323 static const unsigned char yytranslate[] =
     398static const yytype_uint8 yytranslate[] =
    324399{
    325400       0,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     
    354429/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
    355430   YYRHS.  */
    356 static const unsigned char yyprhs[] =
     431static const yytype_uint8 yyprhs[] =
    357432{
    358433       0,     0,     3,     4,     7,     9,    12,    14,    18,    22,
     
    360435};
    361436
    362 /* YYRHS -- A `-1'-separated list of the rules' RHS. */
    363 static const yysigned_char yyrhs[] =
     437/* YYRHS -- A `-1'-separated list of the rules' RHS.  */
     438static const yytype_int8 yyrhs[] =
    364439{
    365440      14,     0,    -1,    -1,    14,    15,    -1,    10,    -1,    16,
     
    371446
    372447/* YYRLINE[YYN] -- source line where rule number YYN was defined.  */
    373 static const unsigned char yyrline[] =
    374 {
    375        0,    65,    65,    66,    69,    70,    73,    74,    75,    76,
    376       77,    78,    79,    80,    81
     448static const yytype_uint8 yyrline[] =
     449{
     450       0,    66,    66,    67,    70,    71,    74,    75,    76,    77,
     451      78,    79,    80,    81,    82
    377452};
    378453#endif
     
    380455#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE
    381456/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
    382    First, the terminals, then, starting at YYNTOKENS, nonterminals. */
     457   First, the terminals, then, starting at YYNTOKENS, nonterminals.  */
    383458static const char *const yytname[] =
    384459{
     
    391466/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
    392467   token YYLEX-NUM.  */
    393 static const unsigned short int yytoknum[] =
     468static const yytype_uint16 yytoknum[] =
    394469{
    395470       0,   256,   257,   258,    45,    43,    42,    47,   259,    94,
     
    399474
    400475/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives.  */
    401 static const unsigned char yyr1[] =
     476static const yytype_uint8 yyr1[] =
    402477{
    403478       0,    13,    14,    14,    15,    15,    16,    16,    16,    16,
     
    406481
    407482/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN.  */
    408 static const unsigned char yyr2[] =
     483static const yytype_uint8 yyr2[] =
    409484{
    410485       0,     2,     0,     2,     1,     2,     1,     3,     3,     3,
     
    415490   STATE-NUM when YYTABLE doesn't specify something else to do.  Zero
    416491   means the default is an error.  */
    417 static const unsigned char yydefact[] =
     492static const yytype_uint8 yydefact[] =
    418493{
    419494       2,     0,     1,     6,     0,     0,     4,     0,     3,     0,
     
    422497};
    423498
    424 /* YYDEFGOTO[NTERM-NUM]. */
    425 static const yysigned_char yydefgoto[] =
     499/* YYDEFGOTO[NTERM-NUM].  */
     500static const yytype_int8 yydefgoto[] =
    426501{
    427502      -1,     1,     8,     9
     
    431506   STATE-NUM.  */
    432507#define YYPACT_NINF -8
    433 static const yysigned_char yypact[] =
     508static const yytype_int8 yypact[] =
    434509{
    435510      -8,    13,    -8,    -8,     3,     3,    -8,     3,    -8,    30,
     
    439514
    440515/* YYPGOTO[NTERM-NUM].  */
    441 static const yysigned_char yypgoto[] =
     516static const yytype_int8 yypgoto[] =
    442517{
    443518      -8,    -8,    -8,    -4
     
    449524   If YYTABLE_NINF, syntax error.  */
    450525#define YYTABLE_NINF -1
    451 static const unsigned char yytable[] =
     526static const yytype_uint8 yytable[] =
    452527{
    453528      10,    11,    17,    12,    24,     0,     3,     4,     5,    20,
     
    458533};
    459534
    460 static const yysigned_char yycheck[] =
     535static const yytype_int8 yycheck[] =
    461536{
    462537       4,     5,     9,     7,     3,    -1,     3,     4,     5,    13,
     
    469544/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
    470545   symbol of state STATE-NUM.  */
    471 static const unsigned char yystos[] =
     546static const yytype_uint8 yystos[] =
    472547{
    473548       0,    14,     0,     3,     4,     5,    10,    11,    15,    16,
     
    501576      yylval = (Value);                                         \
    502577      yytoken = YYTRANSLATE (yychar);                           \
    503       YYPOPSTACK;                                               \
     578      YYPOPSTACK (1);                                           \
    504579      goto yybackup;                                            \
    505580    }                                                           \
     
    509584      YYERROR;                                                  \
    510585    }                                                           \
    511 while (0)
     586while (YYID (0))
    512587
    513588
     
    524599# define YYLLOC_DEFAULT(Current, Rhs, N)                                \
    525600    do                                                                  \
    526       if (N)                                                            \
     601      if (YYID (N))                                                    \
    527602        {                                                               \
    528603          (Current).first_line   = YYRHSLOC (Rhs, 1).first_line;        \
     
    538613            YYRHSLOC (Rhs, 0).last_column;                              \
    539614        }                                                               \
    540     while (0)
     615    while (YYID (0))
    541616#endif
    542617
     
    550625#  define YY_LOCATION_PRINT(File, Loc)                  \
    551626     fprintf (File, "%d.%d-%d.%d",                      \
    552               (Loc).first_line, (Loc).first_column,     \
    553               (Loc).last_line,  (Loc).last_column)
     627              (Loc).first_line, (Loc).first_column,     \
     628              (Loc).last_line,  (Loc).last_column)
    554629# else
    555630#  define YY_LOCATION_PRINT(File, Loc) ((void) 0)
     
    578653  if (yydebug)                                  \
    579654    YYFPRINTF Args;                             \
    580 } while (0)
    581 
    582 # define YY_SYMBOL_PRINT(Title, Type, Value, Location)          \
    583 do {                                                            \
    584   if (yydebug)                                                  \
    585     {                                                           \
    586       YYFPRINTF (stderr, "%s ", Title);                         \
    587       yysymprint (stderr,                                       \
    588                   Type, Value); \
    589       YYFPRINTF (stderr, "\n");                                 \
    590     }                                                           \
    591 } while (0)
     655} while (YYID (0))
     656
     657# define YY_SYMBOL_PRINT(Title, Type, Value, Location)                    \
     658do {                                                                      \
     659  if (yydebug)                                                            \
     660    {                                                                     \
     661      YYFPRINTF (stderr, "%s ", Title);                                   \
     662      yy_symbol_print (stderr,                                            \
     663                  Type, Value); \
     664      YYFPRINTF (stderr, "\n");                                           \
     665    }                                                                     \
     666} while (YYID (0))
     667
     668
     669/*--------------------------------.
     670| Print this symbol on YYOUTPUT.  |
     671`--------------------------------*/
     672
     673/*ARGSUSED*/
     674#if (defined __STDC__ || defined __C99__FUNC__ \
     675     || defined __cplusplus || defined _MSC_VER)
     676static void
     677yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep)
     678#else
     679static void
     680yy_symbol_value_print (yyoutput, yytype, yyvaluep)
     681    FILE *yyoutput;
     682    int yytype;
     683    YYSTYPE const * const yyvaluep;
     684#endif
     685{
     686  if (!yyvaluep)
     687    return;
     688# ifdef YYPRINT
     689  if (yytype < YYNTOKENS)
     690    YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
     691# else
     692  YYUSE (yyoutput);
     693# endif
     694  switch (yytype)
     695    {
     696      default:
     697        break;
     698    }
     699}
     700
     701
     702/*--------------------------------.
     703| Print this symbol on YYOUTPUT.  |
     704`--------------------------------*/
     705
     706#if (defined __STDC__ || defined __C99__FUNC__ \
     707     || defined __cplusplus || defined _MSC_VER)
     708static void
     709yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep)
     710#else
     711static void
     712yy_symbol_print (yyoutput, yytype, yyvaluep)
     713    FILE *yyoutput;
     714    int yytype;
     715    YYSTYPE const * const yyvaluep;
     716#endif
     717{
     718  if (yytype < YYNTOKENS)
     719    YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
     720  else
     721    YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
     722
     723  yy_symbol_value_print (yyoutput, yytype, yyvaluep);
     724  YYFPRINTF (yyoutput, ")");
     725}
    592726
    593727/*------------------------------------------------------------------.
     
    596730`------------------------------------------------------------------*/
    597731
    598 #if defined (__STDC__) || defined (__cplusplus)
     732#if (defined __STDC__ || defined __C99__FUNC__ \
     733     || defined __cplusplus || defined _MSC_VER)
    599734static void
    600 yy_stack_print (short int *bottom, short int *top)
     735yy_stack_print (yytype_int16 *bottom, yytype_int16 *top)
    601736#else
    602737static void
    603738yy_stack_print (bottom, top)
    604     short int *bottom;
    605     short int *top;
     739    yytype_int16 *bottom;
     740    yytype_int16 *top;
    606741#endif
    607742{
    608743  YYFPRINTF (stderr, "Stack now");
    609   for (/* Nothing. */; bottom <= top; ++bottom)
     744  for (; bottom <= top; ++bottom)
    610745    YYFPRINTF (stderr, " %d", *bottom);
    611746  YYFPRINTF (stderr, "\n");
     
    616751  if (yydebug)                                                  \
    617752    yy_stack_print ((Bottom), (Top));                           \
    618 } while (0)
     753} while (YYID (0))
    619754
    620755
     
    623758`------------------------------------------------*/
    624759
    625 #if defined (__STDC__) || defined (__cplusplus)
     760#if (defined __STDC__ || defined __C99__FUNC__ \
     761     || defined __cplusplus || defined _MSC_VER)
    626762static void
    627 yy_reduce_print (int yyrule)
     763yy_reduce_print (YYSTYPE *yyvsp, int yyrule)
    628764#else
    629765static void
    630 yy_reduce_print (yyrule)
     766yy_reduce_print (yyvsp, yyrule)
     767    YYSTYPE *yyvsp;
    631768    int yyrule;
    632769#endif
    633770{
     771  int yynrhs = yyr2[yyrule];
    634772  int yyi;
    635773  unsigned long int yylno = yyrline[yyrule];
    636   YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu), ",
    637              yyrule - 1, yylno);
    638   /* Print the symbols being reduced, and their result.  */
    639   for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++)
    640     YYFPRINTF (stderr, "%s ", yytname[yyrhs[yyi]]);
    641   YYFPRINTF (stderr, "-> %s\n", yytname[yyr1[yyrule]]);
     774  YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
     775             yyrule - 1, yylno);
     776  /* The symbols being reduced.  */
     777  for (yyi = 0; yyi < yynrhs; yyi++)
     778    {
     779      fprintf (stderr, "   $%d = ", yyi + 1);
     780      yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi],
     781                       &(yyvsp[(yyi + 1) - (yynrhs)])
     782                                       );
     783      fprintf (stderr, "\n");
     784    }
    642785}
    643786
     
    645788do {                                    \
    646789  if (yydebug)                          \
    647     yy_reduce_print (Rule);             \
    648 } while (0)
     790    yy_reduce_print (yyvsp, Rule); \
     791} while (YYID (0))
    649792
    650793/* Nonzero means print parse trace.  It is left uninitialized so that
     
    681824
    682825# ifndef yystrlen
    683 #  if defined (__GLIBC__) && defined (_STRING_H)
     826#  if defined __GLIBC__ && defined _STRING_H
    684827#   define yystrlen strlen
    685828#  else
    686829/* Return the length of YYSTR.  */
     830#if (defined __STDC__ || defined __C99__FUNC__ \
     831     || defined __cplusplus || defined _MSC_VER)
    687832static YYSIZE_T
    688 #   if defined (__STDC__) || defined (__cplusplus)
    689833yystrlen (const char *yystr)
    690 #   else
     834#else
     835static YYSIZE_T
    691836yystrlen (yystr)
    692      const char *yystr;
    693 #   endif
    694 {
    695   const char *yys = yystr;
    696 
    697   while (*yys++ != '\0')
     837    const char *yystr;
     838#endif
     839{
     840  YYSIZE_T yylen;
     841  for (yylen = 0; yystr[yylen]; yylen++)
    698842    continue;
    699 
    700   return yys - yystr - 1;
     843  return yylen;
    701844}
    702845#  endif
     
    704847
    705848# ifndef yystpcpy
    706 #  if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE)
     849#  if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE
    707850#   define yystpcpy stpcpy
    708851#  else
    709852/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
    710853   YYDEST.  */
     854#if (defined __STDC__ || defined __C99__FUNC__ \
     855     || defined __cplusplus || defined _MSC_VER)
    711856static char *
    712 #   if defined (__STDC__) || defined (__cplusplus)
    713857yystpcpy (char *yydest, const char *yysrc)
    714 #   else
     858#else
     859static char *
    715860yystpcpy (yydest, yysrc)
    716      char *yydest;
    717      const char *yysrc;
    718 #   endif
     861    char *yydest;
     862    const char *yysrc;
     863#endif
    719864{
    720865  char *yyd = yydest;
     
    742887  if (*yystr == '"')
    743888    {
    744       size_t yyn = 0;
     889      YYSIZE_T yyn = 0;
    745890      char const *yyp = yystr;
    746891
     
    777922# endif
    778923
     924/* Copy into YYRESULT an error message about the unexpected token
     925   YYCHAR while in state YYSTATE.  Return the number of bytes copied,
     926   including the terminating null byte.  If YYRESULT is null, do not
     927   copy anything; just return the number of bytes that would be
     928   copied.  As a special case, return 0 if an ordinary "syntax error"
     929   message will do.  Return YYSIZE_MAXIMUM if overflow occurs during
     930   size calculation.  */
     931static YYSIZE_T
     932yysyntax_error (char *yyresult, int yystate, int yychar)
     933{
     934  int yyn = yypact[yystate];
     935
     936  if (! (YYPACT_NINF < yyn && yyn <= YYLAST))
     937    return 0;
     938  else
     939    {
     940      int yytype = YYTRANSLATE (yychar);
     941      YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]);
     942      YYSIZE_T yysize = yysize0;
     943      YYSIZE_T yysize1;
     944      int yysize_overflow = 0;
     945      enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
     946      char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
     947      int yyx;
     948
     949# if 0
     950      /* This is so xgettext sees the translatable formats that are
     951         constructed on the fly.  */
     952      YY_("syntax error, unexpected %s");
     953      YY_("syntax error, unexpected %s, expecting %s");
     954      YY_("syntax error, unexpected %s, expecting %s or %s");
     955      YY_("syntax error, unexpected %s, expecting %s or %s or %s");
     956      YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s");
     957# endif
     958      char *yyfmt;
     959      char const *yyf;
     960      static char const yyunexpected[] = "syntax error, unexpected %s";
     961      static char const yyexpecting[] = ", expecting %s";
     962      static char const yyor[] = " or %s";
     963      char yyformat[sizeof yyunexpected
     964                    + sizeof yyexpecting - 1
     965                    + ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2)
     966                       * (sizeof yyor - 1))];
     967      char const *yyprefix = yyexpecting;
     968
     969      /* Start YYX at -YYN if negative to avoid negative indexes in
     970         YYCHECK.  */
     971      int yyxbegin = yyn < 0 ? -yyn : 0;
     972
     973      /* Stay within bounds of both yycheck and yytname.  */
     974      int yychecklim = YYLAST - yyn + 1;
     975      int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
     976      int yycount = 1;
     977
     978      yyarg[0] = yytname[yytype];
     979      yyfmt = yystpcpy (yyformat, yyunexpected);
     980
     981      for (yyx = yyxbegin; yyx < yyxend; ++yyx)
     982        if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
     983          {
     984            if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
     985              {
     986                yycount = 1;
     987                yysize = yysize0;
     988                yyformat[sizeof yyunexpected - 1] = '\0';
     989                break;
     990              }
     991            yyarg[yycount++] = yytname[yyx];
     992            yysize1 = yysize + yytnamerr (0, yytname[yyx]);
     993            yysize_overflow |= (yysize1 < yysize);
     994            yysize = yysize1;
     995            yyfmt = yystpcpy (yyfmt, yyprefix);
     996            yyprefix = yyor;
     997          }
     998
     999      yyf = YY_(yyformat);
     1000      yysize1 = yysize + yystrlen (yyf);
     1001      yysize_overflow |= (yysize1 < yysize);
     1002      yysize = yysize1;
     1003
     1004      if (yysize_overflow)
     1005        return YYSIZE_MAXIMUM;
     1006
     1007      if (yyresult)
     1008        {
     1009          /* Avoid sprintf, as that infringes on the user's name space.
     1010             Don't have undefined behavior even if the translation
     1011             produced a string with the wrong number of "%s"s.  */
     1012          char *yyp = yyresult;
     1013          int yyi = 0;
     1014          while ((*yyp = *yyf) != '\0')
     1015            {
     1016              if (*yyp == '%' && yyf[1] == 's' && yyi < yycount)
     1017                {
     1018                  yyp += yytnamerr (yyp, yyarg[yyi++]);
     1019                  yyf += 2;
     1020                }
     1021              else
     1022                {
     1023                  yyp++;
     1024                  yyf++;
     1025                }
     1026            }
     1027        }
     1028      return yysize;
     1029    }
     1030}
    7791031#endif /* YYERROR_VERBOSE */
    7801032
    7811033
    7821034
    783 
    784 #if YYDEBUG
    785 /*--------------------------------.
    786 | Print this symbol on YYOUTPUT.  |
    787 `--------------------------------*/
    788 
    789 #if defined (__STDC__) || defined (__cplusplus)
    790 static void
    791 yysymprint (FILE *yyoutput, int yytype, YYSTYPE *yyvaluep)
    792 #else
    793 static void
    794 yysymprint (yyoutput, yytype, yyvaluep)
    795     FILE *yyoutput;
    796     int yytype;
    797     YYSTYPE *yyvaluep;
    798 #endif
    799 {
    800   /* Pacify ``unused variable'' warnings.  */
    801   (void) yyvaluep;
    802 
    803   if (yytype < YYNTOKENS)
    804     YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
    805   else
    806     YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
    807 
    808 
    809 # ifdef YYPRINT
    810   if (yytype < YYNTOKENS)
    811     YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
    812 # endif
    813   switch (yytype)
    814     {
    815       default:
    816         break;
    817     }
    818   YYFPRINTF (yyoutput, ")");
    819 }
    820 
    821 #endif /* ! YYDEBUG */
    8221035/*-----------------------------------------------.
    8231036| Release the memory associated to this symbol.  |
    8241037`-----------------------------------------------*/
    8251038
    826 #if defined (__STDC__) || defined (__cplusplus)
     1039/*ARGSUSED*/
     1040#if (defined __STDC__ || defined __C99__FUNC__ \
     1041     || defined __cplusplus || defined _MSC_VER)
    8271042static void
    8281043yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep)
     
    8351050#endif
    8361051{
    837   /* Pacify ``unused variable'' warnings.  */
    838   (void) yyvaluep;
     1052  YYUSE (yyvaluep);
    8391053
    8401054  if (!yymsg)
     
    8461060
    8471061      default:
    848         break;
     1062        break;
    8491063    }
    8501064}
     
    8551069
    8561070#ifdef YYPARSE_PARAM
    857 # if defined (__STDC__) || defined (__cplusplus)
     1071#if defined __STDC__ || defined __cplusplus
    8581072int yyparse (void *YYPARSE_PARAM);
    859 # else
     1073#else
    8601074int yyparse ();
    861 # endif
     1075#endif
    8621076#else /* ! YYPARSE_PARAM */
    863 #if defined (__STDC__) || defined (__cplusplus)
     1077#if defined __STDC__ || defined __cplusplus
    8641078int yyparse (void);
    8651079#else
     
    8861100
    8871101#ifdef YYPARSE_PARAM
    888 # if defined (__STDC__) || defined (__cplusplus)
    889 int yyparse (void *YYPARSE_PARAM)
    890 # else
    891 int yyparse (YYPARSE_PARAM)
    892   void *YYPARSE_PARAM;
    893 # endif
     1102#if (defined __STDC__ || defined __C99__FUNC__ \
     1103     || defined __cplusplus || defined _MSC_VER)
     1104int
     1105yyparse (void *YYPARSE_PARAM)
     1106#else
     1107int
     1108yyparse (YYPARSE_PARAM)
     1109    void *YYPARSE_PARAM;
     1110#endif
    8941111#else /* ! YYPARSE_PARAM */
    895 #if defined (__STDC__) || defined (__cplusplus)
     1112#if (defined __STDC__ || defined __C99__FUNC__ \
     1113     || defined __cplusplus || defined _MSC_VER)
    8961114int
    8971115yyparse (void)
     
    8991117int
    9001118yyparse ()
    901     ;
     1119
    9021120#endif
    9031121#endif
     
    9111129  /* Look-ahead token as an internal (translated) token number.  */
    9121130  int yytoken = 0;
     1131#if YYERROR_VERBOSE
     1132  /* Buffer for error messages, and its allocated size.  */
     1133  char yymsgbuf[128];
     1134  char *yymsg = yymsgbuf;
     1135  YYSIZE_T yymsg_alloc = sizeof yymsgbuf;
     1136#endif
    9131137
    9141138  /* Three stacks and their tools:
     
    9211145
    9221146  /* The state stack.  */
    923   short int yyssa[YYINITDEPTH];
    924   short int *yyss = yyssa;
    925   short int *yyssp;
     1147  yytype_int16 yyssa[YYINITDEPTH];
     1148  yytype_int16 *yyss = yyssa;
     1149  yytype_int16 *yyssp;
    9261150
    9271151  /* The semantic value stack.  */
     
    9321156
    9331157
    934 #define YYPOPSTACK   (yyvsp--, yyssp--)
     1158#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
    9351159
    9361160  YYSIZE_T yystacksize = YYINITDEPTH;
     
    9411165
    9421166
    943   /* When reducing, the number of symbols on the RHS of the reduced
    944      rule.  */
    945   int yylen;
     1167  /* The number of symbols on the RHS of the reduced rule.
     1168     Keep to zero when no symbol should be popped.  */
     1169  int yylen = 0;
    9461170
    9471171  YYDPRINTF ((stderr, "Starting parse\n"));
     
    9671191 yynewstate:
    9681192  /* In all cases, when you get here, the value and location stacks
    969      have just been pushed. so pushing a state here evens the stacks.
    970      */
     1193     have just been pushed.  So pushing a state here evens the stacks.  */
    9711194  yyssp++;
    9721195
     
    9811204#ifdef yyoverflow
    9821205      {
    983         /* Give user a chance to reallocate the stack. Use copies of
     1206        /* Give user a chance to reallocate the stack.  Use copies of
    9841207           these so that the &'s don't force the real ones into
    9851208           memory.  */
    9861209        YYSTYPE *yyvs1 = yyvs;
    987         short int *yyss1 = yyss;
     1210        yytype_int16 *yyss1 = yyss;
    9881211
    9891212
     
    10131236
    10141237      {
    1015         short int *yyss1 = yyss;
     1238        yytype_int16 *yyss1 = yyss;
    10161239        union yyalloc *yyptr =
    10171240          (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
     
    10481271yybackup:
    10491272
    1050 /* Do appropriate processing given the current state.  */
    1051 /* Read a look-ahead token if we need one and don't already have one.  */
    1052 /* yyresume: */
     1273  /* Do appropriate processing given the current state.  Read a
     1274     look-ahead token if we need one and don't already have one.  */
    10531275
    10541276  /* First try to decide what to do without reference to look-ahead token.  */
    1055 
    10561277  yyn = yypact[yystate];
    10571278  if (yyn == YYPACT_NINF)
     
    10951316    YYACCEPT;
    10961317
    1097   /* Shift the look-ahead token.  */
    1098   YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
    1099 
    1100   /* Discard the token being shifted unless it is eof.  */
    1101   if (yychar != YYEOF)
    1102     yychar = YYEMPTY;
    1103 
    1104   *++yyvsp = yylval;
    1105 
    1106 
    11071318  /* Count tokens shifted since error; after three, turn off error
    11081319     status.  */
     
    11101321    yyerrstatus--;
    11111322
     1323  /* Shift the look-ahead token.  */
     1324  YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
     1325
     1326  /* Discard the shifted token unless it is eof.  */
     1327  if (yychar != YYEOF)
     1328    yychar = YYEMPTY;
     1329
    11121330  yystate = yyn;
     1331  *++yyvsp = yylval;
     1332
    11131333  goto yynewstate;
    11141334
     
    11461366    {
    11471367        case 5:
    1148 #line 70 "readcf.y"
    1149     { *retvalue = (yyvsp[-1]).getval(); return 0; ;}
     1368#line 71 "readcf.y"
     1369    { *retvalue = (yyvsp[(1) - (2)]).getval(); return 0; ;}
    11501370    break;
    11511371
    11521372  case 6:
    1153 #line 73 "readcf.y"
    1154     { (yyval) = (yyvsp[0]); ;}
     1373#line 74 "readcf.y"
     1374    { (yyval) = (yyvsp[(1) - (1)]); ;}
    11551375    break;
    11561376
    11571377  case 7:
    1158 #line 74 "readcf.y"
    1159     { (yyval) = (yyvsp[-2]).getval() + (yyvsp[0]).getval(); ;}
     1378#line 75 "readcf.y"
     1379    { (yyval) = (yyvsp[(1) - (3)]).getval() + (yyvsp[(3) - (3)]).getval(); ;}
    11601380    break;
    11611381
    11621382  case 8:
    1163 #line 75 "readcf.y"
    1164     { (yyval) = (yyvsp[-2]).getval() - (yyvsp[0]).getval(); ;}
     1383#line 76 "readcf.y"
     1384    { (yyval) = (yyvsp[(1) - (3)]).getval() - (yyvsp[(3) - (3)]).getval(); ;}
    11651385    break;
    11661386
    11671387  case 9:
    1168 #line 76 "readcf.y"
    1169     { (yyval) = (yyvsp[-2]).getval() * (yyvsp[0]).getval(); ;}
     1388#line 77 "readcf.y"
     1389    { (yyval) = (yyvsp[(1) - (3)]).getval() * (yyvsp[(3) - (3)]).getval(); ;}
    11701390    break;
    11711391
    11721392  case 10:
    1173 #line 77 "readcf.y"
    1174     { (yyval) = (yyvsp[-2]).getval() / (yyvsp[0]).getval(); ;}
     1393#line 78 "readcf.y"
     1394    { (yyval) = (yyvsp[(1) - (3)]).getval() / (yyvsp[(3) - (3)]).getval(); ;}
    11751395    break;
    11761396
    11771397  case 11:
    1178 #line 78 "readcf.y"
    1179     { (yyval) = -(yyvsp[0]).getval(); ;}
     1398#line 79 "readcf.y"
     1399    { (yyval) = -(yyvsp[(2) - (2)]).getval(); ;}
    11801400    break;
    11811401
    11821402  case 12:
    1183 #line 79 "readcf.y"
    1184     { (yyval) = (yyvsp[0]).getval(); ;}
     1403#line 80 "readcf.y"
     1404    { (yyval) = (yyvsp[(2) - (2)]).getval(); ;}
    11851405    break;
    11861406
    11871407  case 13:
    1188 #line 80 "readcf.y"
    1189     { (yyval) = power( (yyvsp[-2]).getval(), (yyvsp[0]).getintval() ); ;}
     1408#line 81 "readcf.y"
     1409    { (yyval) = power( (yyvsp[(1) - (3)]).getval(), (yyvsp[(3) - (3)]).getintval() ); ;}
    11901410    break;
    11911411
    11921412  case 14:
    1193 #line 81 "readcf.y"
    1194     { (yyval) = (yyvsp[-1]).getval(); ;}
     1413#line 82 "readcf.y"
     1414    { (yyval) = (yyvsp[(2) - (3)]).getval(); ;}
    11951415    break;
    11961416
    11971417
     1418/* Line 1267 of yacc.c.  */
     1419#line 1417 "readcf.cc"
    11981420      default: break;
    11991421    }
    1200 
    1201 /* Line 1126 of yacc.c.  */
    1202 #line 1200 "readcf.cc"
    1203 
    1204 
    1205   yyvsp -= yylen;
    1206   yyssp -= yylen;
    1207 
    1208 
     1422  YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);
     1423
     1424  YYPOPSTACK (yylen);
     1425  yylen = 0;
    12091426  YY_STACK_PRINT (yyss, yyssp);
    12101427
     
    12351452    {
    12361453      ++yynerrs;
    1237 #if YYERROR_VERBOSE
    1238       yyn = yypact[yystate];
    1239 
    1240       if (YYPACT_NINF < yyn && yyn < YYLAST)
    1241         {
    1242           int yytype = YYTRANSLATE (yychar);
    1243           YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]);
    1244           YYSIZE_T yysize = yysize0;
    1245           YYSIZE_T yysize1;
    1246           int yysize_overflow = 0;
    1247           char *yymsg = 0;
    1248 #         define YYERROR_VERBOSE_ARGS_MAXIMUM 5
    1249           char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
    1250           int yyx;
    1251 
    1252 #if 0
    1253           /* This is so xgettext sees the translatable formats that are
    1254              constructed on the fly.  */
    1255           YY_("syntax error, unexpected %s");
    1256           YY_("syntax error, unexpected %s, expecting %s");
    1257           YY_("syntax error, unexpected %s, expecting %s or %s");
    1258           YY_("syntax error, unexpected %s, expecting %s or %s or %s");
    1259           YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s");
    1260 #endif
    1261           char *yyfmt;
    1262           char const *yyf;
    1263           static char const yyunexpected[] = "syntax error, unexpected %s";
    1264           static char const yyexpecting[] = ", expecting %s";
    1265           static char const yyor[] = " or %s";
    1266           char yyformat[sizeof yyunexpected
    1267                         + sizeof yyexpecting - 1
    1268                         + ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2)
    1269                            * (sizeof yyor - 1))];
    1270           char const *yyprefix = yyexpecting;
    1271 
    1272           /* Start YYX at -YYN if negative to avoid negative indexes in
    1273              YYCHECK.  */
    1274           int yyxbegin = yyn < 0 ? -yyn : 0;
    1275 
    1276           /* Stay within bounds of both yycheck and yytname.  */
    1277           int yychecklim = YYLAST - yyn;
    1278           int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
    1279           int yycount = 1;
    1280 
    1281           yyarg[0] = yytname[yytype];
    1282           yyfmt = yystpcpy (yyformat, yyunexpected);
    1283 
    1284           for (yyx = yyxbegin; yyx < yyxend; ++yyx)
    1285             if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
     1454#if ! YYERROR_VERBOSE
     1455      yyerror (YY_("syntax error"));
     1456#else
     1457      {
     1458        YYSIZE_T yysize = yysyntax_error (0, yystate, yychar);
     1459        if (yymsg_alloc < yysize && yymsg_alloc < YYSTACK_ALLOC_MAXIMUM)
     1460          {
     1461            YYSIZE_T yyalloc = 2 * yysize;
     1462            if (! (yysize <= yyalloc && yyalloc <= YYSTACK_ALLOC_MAXIMUM))
     1463              yyalloc = YYSTACK_ALLOC_MAXIMUM;
     1464            if (yymsg != yymsgbuf)
     1465              YYSTACK_FREE (yymsg);
     1466            yymsg = (char *) YYSTACK_ALLOC (yyalloc);
     1467            if (yymsg)
     1468              yymsg_alloc = yyalloc;
     1469            else
    12861470              {
    1287                 if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
    1288                   {
    1289                     yycount = 1;
    1290                     yysize = yysize0;
    1291                     yyformat[sizeof yyunexpected - 1] = '\0';
    1292                     break;
    1293                   }
    1294                 yyarg[yycount++] = yytname[yyx];
    1295                 yysize1 = yysize + yytnamerr (0, yytname[yyx]);
    1296                 yysize_overflow |= yysize1 < yysize;
    1297                 yysize = yysize1;
    1298                 yyfmt = yystpcpy (yyfmt, yyprefix);
    1299                 yyprefix = yyor;
     1471                yymsg = yymsgbuf;
     1472                yymsg_alloc = sizeof yymsgbuf;
    13001473              }
    1301 
    1302           yyf = YY_(yyformat);
    1303           yysize1 = yysize + yystrlen (yyf);
    1304           yysize_overflow |= yysize1 < yysize;
    1305           yysize = yysize1;
    1306 
    1307           if (!yysize_overflow && yysize <= YYSTACK_ALLOC_MAXIMUM)
    1308             yymsg = (char *) YYSTACK_ALLOC (yysize);
    1309           if (yymsg)
    1310             {
    1311               /* Avoid sprintf, as that infringes on the user's name space.
    1312                  Don't have undefined behavior even if the translation
    1313                  produced a string with the wrong number of "%s"s.  */
    1314               char *yyp = yymsg;
    1315               int yyi = 0;
    1316               while ((*yyp = *yyf))
    1317                 {
    1318                   if (*yyp == '%' && yyf[1] == 's' && yyi < yycount)
    1319                     {
    1320                       yyp += yytnamerr (yyp, yyarg[yyi++]);
    1321                       yyf += 2;
    1322                     }
    1323                   else
    1324                     {
    1325                       yyp++;
    1326                       yyf++;
    1327                     }
    1328                 }
    1329               yyerror (yymsg);
    1330               YYSTACK_FREE (yymsg);
    1331             }
    1332           else
    1333             {
    1334               yyerror (YY_("syntax error"));
     1474          }
     1475
     1476        if (0 < yysize && yysize <= yymsg_alloc)
     1477          {
     1478            (void) yysyntax_error (yymsg, yystate, yychar);
     1479            yyerror (yymsg);
     1480          }
     1481        else
     1482          {
     1483            yyerror (YY_("syntax error"));
     1484            if (yysize != 0)
    13351485              goto yyexhaustedlab;
    1336             }
    1337         }
    1338       else
    1339 #endif /* YYERROR_VERBOSE */
    1340         yyerror (YY_("syntax error"));
     1486          }
     1487      }
     1488#endif
    13411489    }
    13421490
     
    13491497
    13501498      if (yychar <= YYEOF)
    1351         {
     1499        {
    13521500          /* Return failure if at end of input.  */
    13531501          if (yychar == YYEOF)
    13541502            YYABORT;
    1355         }
     1503        }
    13561504      else
    13571505        {
    1358           yydestruct ("Error: discarding", yytoken, &yylval);
     1506          yydestruct ("Error: discarding",
     1507                      yytoken, &yylval);
    13591508          yychar = YYEMPTY;
    13601509        }
     
    13741523     YYERROR and the label yyerrorlab therefore never appears in user
    13751524     code.  */
    1376   if (0)
     1525  if (/*CONSTCOND*/ 0)
    13771526     goto yyerrorlab;
    13781527
    1379 yyvsp -= yylen;
    1380   yyssp -= yylen;
     1528  /* Do not reclaim the symbols of the rule which action triggered
     1529     this YYERROR.  */
     1530  YYPOPSTACK (yylen);
     1531  yylen = 0;
     1532  YY_STACK_PRINT (yyss, yyssp);
    13811533  yystate = *yyssp;
    13821534  goto yyerrlab1;
     
    14081560
    14091561
    1410       yydestruct ("Error: popping", yystos[yystate], yyvsp);
    1411       YYPOPSTACK;
     1562      yydestruct ("Error: popping",
     1563                  yystos[yystate], yyvsp);
     1564      YYPOPSTACK (1);
    14121565      yystate = *yyssp;
    14131566      YY_STACK_PRINT (yyss, yyssp);
     
    14201573
    14211574
    1422   /* Shift the error token. */
     1575  /* Shift the error token.  */
    14231576  YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp);
    14241577
     
    14551608     yydestruct ("Cleanup: discarding lookahead",
    14561609                 yytoken, &yylval);
     1610  /* Do not reclaim the symbols of the rule which action triggered
     1611     this YYABORT or YYACCEPT.  */
     1612  YYPOPSTACK (yylen);
     1613  YY_STACK_PRINT (yyss, yyssp);
    14571614  while (yyssp != yyss)
    14581615    {
    14591616      yydestruct ("Cleanup: popping",
    14601617                  yystos[*yyssp], yyvsp);
    1461       YYPOPSTACK;
     1618      YYPOPSTACK (1);
    14621619    }
    14631620#ifndef yyoverflow
     
    14651622    YYSTACK_FREE (yyss);
    14661623#endif
    1467   return yyresult;
     1624#if YYERROR_VERBOSE
     1625  if (yymsg != yymsgbuf)
     1626    YYSTACK_FREE (yymsg);
     1627#endif
     1628  /* Make sure YYID is used.  */
     1629  return YYID (yyresult);
    14681630}
    14691631
    14701632
    1471 #line 84 "readcf.y"
     1633#line 85 "readcf.y"
    14721634
    14731635
     
    15981760}
    15991761
    1600 
Note: See TracChangeset for help on using the changeset viewer.