Show
Ignore:
Timestamp:
12/29/06 10:28:00 (2 years ago)
Author:
cneumann
Message:

- regenerated all base files to include the full set

of access functions for non-ptr mfields.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Source/System/FileIO/ScanParseSkel/OSGScanParseSkelParser.cpp

    r264 r459  
    1 /* A Bison parser, made by GNU Bison 2.0.  */ 
    2  
    3 /* Skeleton parser for Yacc-like parsing with Bison, 
    4    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 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 
     
    1618   You should have received a copy of the GNU General Public License 
    1719   along with this program; if not, write to the Free Software 
    18    Foundation, Inc., 59 Temple Place - Suite 330, 
    19    Boston, MA 02111-1307, USA.  */ 
    20  
    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.  */ 
     20   Foundation, Inc., 51 Franklin Street, Fifth Floor, 
     21   Boston, MA 02110-1301, USA.  */ 
     22 
     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 
     
    3646/* Identify Bison output.  */ 
    3747#define YYBISON 1 
     48 
     49/* Bison version.  */ 
     50#define YYBISON_VERSION "2.3" 
    3851 
    3952/* Skeleton name.  */ 
     
    144157   }; 
    145158#endif 
     159/* Tokens.  */ 
    146160#define TOK_HEADER 258 
    147161#define TOK_PROFILE 259 
     
    244258#endif 
    245259 
    246 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) 
     260/* Enabling the token table.  */ 
     261#ifndef YYTOKEN_TABLE 
     262# define YYTOKEN_TABLE 0 
     263#endif 
     264 
     265#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 
     266typedef union YYSTYPE 
    247267#line 41 "Source/System/FileIO/ScanParseSkel/OSGScanParseSkelParser.yy" 
    248 typedef union YYSTYPE
     268
    249269    long intVal; 
    250270    double doubleVal; 
     
    252272    const char *stringVal; 
    253273    bool boolVal; 
    254 } YYSTYPE; 
    255 /* Line 190 of yacc.c.  */ 
    256 #line 257 "Source/System/FileIO/ScanParseSkel/OSGScanParseSkelParser.cpp" 
     274
     275/* Line 193 of yacc.c.  */ 
     276#line 277 "Source/System/FileIO/ScanParseSkel/OSGScanParseSkelParser.cpp" 
     277        YYSTYPE; 
    257278# define yystype YYSTYPE /* obsolescent; will be withdrawn */ 
    258279# define YYSTYPE_IS_DECLARED 1 
     
    294315 
    295316 
    296 /* Line 213 of yacc.c.  */ 
    297 #line 298 "Source/System/FileIO/ScanParseSkel/OSGScanParseSkelParser.cpp" 
    298  
    299 #if ! defined (yyoverflow) || YYERROR_VERBOSE 
    300  
    301 # ifndef YYFREE 
    302 #  define YYFREE free 
     317/* Line 216 of yacc.c.  */ 
     318#line 319 "Source/System/FileIO/ScanParseSkel/OSGScanParseSkelParser.cpp" 
     319 
     320#ifdef short 
     321# undef short 
     322#endif 
     323 
     324#ifdef YYTYPE_UINT8 
     325typedef YYTYPE_UINT8 yytype_uint8; 
     326#else 
     327typedef unsigned char yytype_uint8; 
     328#endif 
     329 
     330#ifdef YYTYPE_INT8 
     331typedef YYTYPE_INT8 yytype_int8; 
     332#elif (defined __STDC__ || defined __C99__FUNC__ \ 
     333     || defined __cplusplus || defined _MSC_VER) 
     334typedef signed char yytype_int8; 
     335#else 
     336typedef short int yytype_int8; 
     337#endif 
     338 
     339#ifdef YYTYPE_UINT16 
     340typedef YYTYPE_UINT16 yytype_uint16; 
     341#else 
     342typedef unsigned short int yytype_uint16; 
     343#endif 
     344 
     345#ifdef YYTYPE_INT16 
     346typedef YYTYPE_INT16 yytype_int16; 
     347#else 
     348typedef short int yytype_int16; 
     349#endif 
     350 
     351#ifndef YYSIZE_T 
     352# ifdef __SIZE_TYPE__ 
     353#  define YYSIZE_T __SIZE_TYPE__ 
     354# elif defined size_t 
     355#  define YYSIZE_T size_t 
     356# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \ 
     357     || defined __cplusplus || defined _MSC_VER) 
     358#  include <stddef.h> /* INFRINGES ON USER NAME SPACE */ 
     359#  define YYSIZE_T size_t 
     360# else 
     361#  define YYSIZE_T unsigned int 
    303362# endif 
    304 # ifndef YYMALLOC 
    305 #  define YYMALLOC malloc 
     363#endif 
     364 
     365#define YYSIZE_MAXIMUM ((YYSIZE_T) -1) 
     366 
     367#ifndef YY_ 
     368# if YYENABLE_NLS 
     369#  if ENABLE_NLS 
     370#   include <libintl.h> /* INFRINGES ON USER NAME SPACE */ 
     371#   define YY_(msgid) dgettext ("bison-runtime", msgid) 
     372#  endif 
    306373# endif 
     374# ifndef YY_ 
     375#  define YY_(msgid) msgid 
     376# endif 
     377#endif 
     378 
     379/* Suppress unused-variable warnings by "using" E.  */ 
     380#if ! defined lint || defined __GNUC__ 
     381# define YYUSE(e) ((void) (e)) 
     382#else 
     383# define YYUSE(e) /* empty */ 
     384#endif 
     385 
     386/* Identity function, used to suppress warnings about constant conditions.  */ 
     387#ifndef lint 
     388# define YYID(n) (n) 
     389#else 
     390#if (defined __STDC__ || defined __C99__FUNC__ \ 
     391     || defined __cplusplus || defined _MSC_VER) 
     392static int 
     393YYID (int i) 
     394#else 
     395static int 
     396YYID (i) 
     397    int i; 
     398#endif 
     399{ 
     400  return i; 
     401} 
     402#endif 
     403 
     404#if ! defined yyoverflow || YYERROR_VERBOSE 
    307405 
    308406/* The parser invokes alloca or malloc; define the necessary symbols.  */ 
     
    312410#   ifdef __GNUC__ 
    313411#    define YYSTACK_ALLOC __builtin_alloca 
     412#   elif defined __BUILTIN_VA_ARG_INCR 
     413#    include <alloca.h> /* INFRINGES ON USER NAME SPACE */ 
     414#   elif defined _AIX 
     415#    define YYSTACK_ALLOC __alloca 
     416#   elif defined _MSC_VER 
     417#    include <malloc.h> /* INFRINGES ON USER NAME SPACE */ 
     418#    define alloca _alloca 
    314419#   else 
    315420#    define YYSTACK_ALLOC alloca 
     421#    if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ 
     422     || defined __cplusplus || defined _MSC_VER) 
     423#     include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ 
     424#     ifndef _STDLIB_H 
     425#      define _STDLIB_H 1 
     426#     endif 
     427#    endif 
    316428#   endif 
    317429#  endif 
     
    319431 
    320432# ifdef YYSTACK_ALLOC 
    321    /* Pacify GCC's `empty if-body' warning. */ 
    322 #  define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) 
     433   /* Pacify GCC's `empty if-body' warning.  */ 
     434#  define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0)) 
     435#  ifndef YYSTACK_ALLOC_MAXIMUM 
     436    /* The OS might guarantee only one guard page at the bottom of the stack, 
     437       and a page size can be as small as 4096 bytes.  So we cannot safely 
     438       invoke alloca (N) if N exceeds 4096.  Use a slightly smaller number 
     439       to allow for a few compiler-allocated temporary stack slots.  */ 
     440#   define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */ 
     441#  endif 
    323442# else 
    324 #  if defined (__STDC__) || defined (__cplusplus) 
    325 #   include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ 
    326 #   define YYSIZE_T size_t 
    327 #  endif 
    328443#  define YYSTACK_ALLOC YYMALLOC 
    329444#  define YYSTACK_FREE YYFREE 
     445#  ifndef YYSTACK_ALLOC_MAXIMUM 
     446#   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM 
     447#  endif 
     448#  if (defined __cplusplus && ! defined _STDLIB_H \ 
     449       && ! ((defined YYMALLOC || defined malloc) \ 
     450             && (defined YYFREE || defined free))) 
     451#   include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ 
     452#   ifndef _STDLIB_H 
     453#    define _STDLIB_H 1 
     454#   endif 
     455#  endif 
     456#  ifndef YYMALLOC 
     457#   define YYMALLOC malloc 
     458#   if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ 
     459     || defined __cplusplus || defined _MSC_VER) 
     460void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ 
     461#   endif 
     462#  endif 
     463#  ifndef YYFREE 
     464#   define YYFREE free 
     465#   if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ 
     466     || defined __cplusplus || defined _MSC_VER) 
     467void free (void *); /* INFRINGES ON USER NAME SPACE */ 
     468#   endif 
     469#  endif 
    330470# endif 
    331 #endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */ 
    332  
    333  
    334 #if (! defined (yyoverflow)
    335      && (! defined (__cplusplus)
    336          || (defined (YYSTYPE_IS_TRIVIAL) && YYSTYPE_IS_TRIVIAL))) 
     471#endif /* ! defined yyoverflow || YYERROR_VERBOSE */ 
     472 
     473 
     474#if (! defined yyoverflow
     475     && (! defined __cplusplus
     476         || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) 
    337477 
    338478/* A type that is properly aligned for any stack member.  */ 
    339479union yyalloc 
    340480{ 
    341   short int yyss; 
     481  yytype_int16 yyss; 
    342482  YYSTYPE yyvs; 
    343483  }; 
     
    349489   N elements.  */ 
    350490# define YYSTACK_BYTES(N) \ 
    351      ((N) * (sizeof (short int) + sizeof (YYSTYPE))                   
     491     ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE))
    352492      + YYSTACK_GAP_MAXIMUM) 
    353493 
     
    355495   not overlap.  */ 
    356496# ifndef YYCOPY 
    357 #  if defined (__GNUC__) && 1 < __GNUC__ 
     497#  if defined __GNUC__ && 1 < __GNUC__ 
    358498#   define YYCOPY(To, From, Count) \ 
    359499      __builtin_memcpy (To, From, (Count) * sizeof (*(From))) 
     
    362502      do                                        \ 
    363503        {                                       \ 
    364           register YYSIZE_T yyi;              \ 
     504          YYSIZE_T yyi;                               \ 
    365505          for (yyi = 0; yyi < (Count); yyi++)   \ 
    366506            (To)[yyi] = (From)[yyi];            \ 
    367507        }                                       \ 
    368       while (0
     508      while (YYID (0)
    369509#  endif 
    370510# endif 
     
    384524        yyptr += yynewbytes / sizeof (*yyptr);                          \ 
    385525      }                                                                 \ 
    386     while (0) 
    387  
    388 #endif 
    389  
    390 #if defined (__STDC__) || defined (__cplusplus) 
    391    typedef signed char yysigned_char; 
    392 #else 
    393    typedef short int yysigned_char; 
    394 #endif 
    395  
    396 /* YYFINAL -- State number of the termination state. */ 
     526    while (YYID (0)) 
     527 
     528#endif 
     529 
     530/* YYFINAL -- State number of the termination state.  */ 
    397531#define YYFINAL  4 
    398532/* YYLAST -- Last index in YYTABLE.  */ 
    399533#define YYLAST   967 
    400534 
    401 /* YYNTOKENS -- Number of terminals. */ 
     535/* YYNTOKENS -- Number of terminals. */ 
    402536#define YYNTOKENS  88 
    403 /* YYNNTS -- Number of nonterminals. */ 
     537/* YYNNTS -- Number of nonterminals. */ 
    404538#define YYNNTS  257 
    405 /* YYNRULES -- Number of rules. */ 
     539/* YYNRULES -- Number of rules. */ 
    406540#define YYNRULES  458 
    407 /* YYNRULES -- Number of states. */ 
     541/* YYNRULES -- Number of states. */ 
    408542#define YYNSTATES  749 
    409543 
     
    412546#define YYMAXUTOK   337 
    413547 
    414 #define YYTRANSLATE(YYX)                                              \ 
     548#define YYTRANSLATE(YYX)                                              \ 
    415549  ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) 
    416550 
    417551/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX.  */ 
    418 static const unsigned char yytranslate[] = 
     552static const yytype_uint8 yytranslate[] = 
    419553{ 
    420554       0,     2,     2,     2,     2,     2,     2,     2,     2,     2, 
     
    457591/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in 
    458592   YYRHS.  */ 
    459 static const unsigned short int yyprhs[] = 
     593static const yytype_uint16 yyprhs[] = 
    460594{ 
    461595       0,     0,     3,     9,    11,    12,    15,    16,    18,    21, 
     
    507641}; 
    508642 
    509 /* YYRHS -- A `-1'-separated list of the rules' RHS. */ 
    510 static const short int yyrhs[] = 
     643/* YYRHS -- A `-1'-separated list of the rules' RHS. */ 
     644static const yytype_int16 yyrhs[] = 
    511645{ 
    512646      89,     0,    -1,    90,    91,    93,    96,   101,    -1,     3, 
     
    632766 
    633767/* YYRLINE[YYN] -- source line where rule number YYN was defined.  */ 
    634 static const unsigned short int yyrline[] = 
     768static const yytype_uint16 yyrline[] = 
    635769{ 
    636770       0,   196,   196,   203,   204,   207,   208,   211,   214,   215, 
     
    683817#endif 
    684818 
    685 #if YYDEBUG || YYERROR_VERBOSE 
    686 /* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. 
    687    First, the terminals, then, starting at YYNTOKENS, nonterminals. */ 
     819#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE 
     820/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. 
     821   First, the terminals, then, starting at YYNTOKENS, nonterminals. */ 
    688822static const char *const yytname[] = 
    689823{ 
     
    761895/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to 
    762896   token YYLEX-NUM.  */ 
    763 static const unsigned short int yytoknum[] = 
     897static const yytype_uint16 yytoknum[] = 
    764898{ 
    765899       0,   256,   257,   258,   259,   260,   261,   262,   263,   264, 
     
    776910 
    777911/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives.  */ 
    778 static const unsigned short int yyr1[] = 
     912static const yytype_uint16 yyr1[] = 
    779913{ 
    780914       0,    88,    89,    90,    90,    91,    91,    92,    93,    93, 
     
    827961 
    828962/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN.  */ 
    829 static const unsigned char yyr2[] = 
     963static const yytype_uint8 yyr2[] = 
    830964{ 
    831965       0,     2,     5,     1,     0,     2,     0,     1,     2,     0, 
     
    8801014   STATE-NUM when YYTABLE doesn't specify something else to do.  Zero 
    8811015   means the default is an error.  */ 
    882 static const unsigned short int yydefact[] = 
     1016static const yytype_uint16 yydefact[] = 
    8831017{ 
    8841018       4,     3,     0,     6,     1,     0,     9,     7,     5,    14, 
     
    9591093}; 
    9601094 
    961 /* YYDEFGOTO[NTERM-NUM]. */ 
    962 static const short int yydefgoto[] = 
     1095/* YYDEFGOTO[NTERM-NUM]. */ 
     1096static const yytype_int16 yydefgoto[] = 
    9631097{ 
    9641098      -1,     2,     3,     6,     8,     9,    11,    15,    12,    17, 
     
    9931127   STATE-NUM.  */ 
    9941128#define YYPACT_NINF -204 
    995 static const short int yypact[] = 
     1129static const yytype_int16 yypact[] = 
    9961130{ 
    9971131      32,  -204,    87,   122,  -204,   -41,  -204,  -204,  -204,    60, 
     
    10731207 
    10741208/* YYPGOTO[NTERM-NUM].  */ 
    1075 static const short int yypgoto[] = 
     1209static const yytype_int16 yypgoto[] = 
    10761210{ 
    10771211    -204,  -204,  -204,  -204,  -204,  -204,  -204,  -204,  -204,  -204, 
     
    11081242   If YYTABLE_NINF, syntax error.  */ 
    11091243#define YYTABLE_NINF -1 
    1110 static const unsigned short int yytable[] = 
     1244static const yytype_uint16 yytable[] = 
    11111245{ 
    11121246      39,    40,   103,   270,    30,   280,   347,   350,   348,   298, 
     
    12091343}; 
    12101344 
    1211 static const short int yycheck[] = 
     1345static const yytype_int16 yycheck[] = 
    12121346{ 
    12131347      21,    22,    68,   182,    18,   184,   201,   204,   202,   188, 
     
    13121446/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing 
    13131447   symbol of state STATE-NUM.  */ 
    1314 static const unsigned short int yystos[] = 
     1448static const yytype_uint16 yystos[] = 
    13151449{ 
    13161450       0,     3,    89,    90,     0,     4,    91,    80,    92,    93, 
     
    13911525}; 
    13921526 
    1393 #if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__) 
    1394 # define YYSIZE_T __SIZE_TYPE__ 
    1395 #endif 
    1396 #if ! defined (YYSIZE_T) && defined (size_t) 
    1397 # define YYSIZE_T size_t 
    1398 #endif 
    1399 #if ! defined (YYSIZE_T) 
    1400 # if defined (__STDC__) || defined (__cplusplus) 
    1401 #  include <stddef.h> /* INFRINGES ON USER NAME SPACE */ 
    1402 #  define YYSIZE_T size_t 
    1403 # endif 
    1404 #endif 
    1405 #if ! defined (YYSIZE_T) 
    1406 # define YYSIZE_T unsigned int 
    1407 #endif 
    1408  
    14091527#define yyerrok         (yyerrstatus = 0) 
    14101528#define yyclearin       (yychar = YYEMPTY) 
     
    14321550      yylval = (Value);                                         \ 
    14331551      yytoken = YYTRANSLATE (yychar);                           \ 
    1434       YYPOPSTACK;                                             \ 
     1552      YYPOPSTACK (1);                                         \ 
    14351553      goto yybackup;                                            \ 
    14361554    }                                                           \ 
    14371555  else                                                          \ 
    1438     {                                                                 \ 
    1439       yyerror ("syntax error: cannot back up");
     1556    {                                                         \ 
     1557      yyerror (YY_("syntax error: cannot back up"));
    14401558      YYERROR;                                                  \ 
    14411559    }                                                           \ 
    1442 while (0
     1560while (YYID (0)
    14431561 
    14441562 
     
    14551573# define YYLLOC_DEFAULT(Current, Rhs, N)                                \ 
    14561574    do                                                                  \ 
    1457       if (N)                                                           
     1575      if (YYID (N))                                                   
    14581576        {                                                               \ 
    14591577          (Current).first_line   = YYRHSLOC (Rhs, 1).first_line;        \ 
     
    14691587            YYRHSLOC (Rhs, 0).last_column;                              \ 
    14701588        }                                                               \ 
    1471     while (0
     1589    while (YYID (0)
    14721590#endif 
    14731591 
     
    14811599#  define YY_LOCATION_PRINT(File, Loc)                  \ 
    14821600     fprintf (File, "%d.%d-%d.%d",                      \ 
    1483               (Loc).first_line, (Loc).first_column,   \ 
    1484               (Loc).last_line,  (Loc).last_column) 
     1601             (Loc).first_line, (Loc).first_column,    \ 
     1602             (Loc).last_line,  (Loc).last_column) 
    14851603# else 
    14861604#  define YY_LOCATION_PRINT(File, Loc) ((void) 0) 
     
    15091627  if (yydebug)                                  \ 
    15101628    YYFPRINTF Args;                             \ 
    1511 } while (0) 
    1512  
    1513 # define YY_SYMBOL_PRINT(Title, Type, Value, Location)          \ 
    1514 do {                                                            \ 
    1515   if (yydebug)                                                  \ 
    1516     {                                                           \ 
    1517       YYFPRINTF (stderr, "%s ", Title);                         \ 
    1518       yysymprint (stderr,                                       \ 
    1519                   Type, Value); \ 
    1520       YYFPRINTF (stderr, "\n");                                 \ 
    1521     }                                                           \ 
    1522 } while (0) 
     1629} while (YYID (0)) 
     1630 
     1631# define YY_SYMBOL_PRINT(Title, Type, Value, Location)                    \ 
     1632do {                                                                      \ 
     1633  if (yydebug)                                                            \ 
     1634    {                                                                     \ 
     1635      YYFPRINTF (stderr, "%s ", Title);                                   \ 
     1636      yy_symbol_print (stderr,                                            \ 
     1637                  Type, Value); \ 
     1638      YYFPRINTF (stderr, "\n");                                           \ 
     1639    }                                                                     \ 
     1640} while (YYID (0)) 
     1641 
     1642 
     1643/*--------------------------------. 
     1644| Print this symbol on YYOUTPUT.  | 
     1645`--------------------------------*/ 
     1646 
     1647/*ARGSUSED*/ 
     1648#if (defined __STDC__ || defined __C99__FUNC__ \ 
     1649     || defined __cplusplus || defined _MSC_VER) 
     1650static void 
     1651yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) 
     1652#else 
     1653static void 
     1654yy_symbol_value_print (yyoutput, yytype, yyvaluep) 
     1655    FILE *yyoutput; 
     1656    int yytype; 
     1657    YYSTYPE const * const yyvaluep; 
     1658#endif 
     1659
     1660  if (!yyvaluep) 
     1661    return; 
     1662# ifdef YYPRINT 
     1663  if (yytype < YYNTOKENS) 
     1664    YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); 
     1665# else 
     1666  YYUSE (yyoutput); 
     1667# endif 
     1668  switch (yytype) 
     1669    { 
     1670      default: 
     1671        break; 
     1672    } 
     1673
     1674 
     1675 
     1676/*--------------------------------. 
     1677| Print this symbol on YYOUTPUT.  | 
     1678`--------------------------------*/ 
     1679 
     1680#if (defined __STDC__ || defined __C99__FUNC__ \ 
     1681     || defined __cplusplus || defined _MSC_VER) 
     1682static void 
     1683yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) 
     1684#else 
     1685static void 
     1686yy_symbol_print (yyoutput, yytype, yyvaluep) 
     1687    FILE *yyoutput; 
     1688    int yytype; 
     1689    YYSTYPE const * const yyvaluep; 
     1690#endif 
     1691
     1692  if (yytype < YYNTOKENS) 
     1693    YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); 
     1694  else 
     1695    YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); 
     1696 
     1697  yy_symbol_value_print (yyoutput, yytype, yyvaluep); 
     1698  YYFPRINTF (yyoutput, ")"); 
     1699
    15231700 
    15241701/*------------------------------------------------------------------. 
     
    15271704`------------------------------------------------------------------*/ 
    15281705 
    1529 #if defined (__STDC__) || defined (__cplusplus) 
     1706#if (defined __STDC__ || defined __C99__FUNC__ \ 
     1707     || defined __cplusplus || defined _MSC_VER) 
    15301708static void 
    1531 yy_stack_print (short int *bottom, short int *top) 
     1709yy_stack_print (yytype_int16 *bottom, yytype_int16 *top) 
    15321710#else 
    15331711static void 
    15341712yy_stack_print (bottom, top) 
    1535     short int *bottom; 
    1536     short int *top; 
     1713    yytype_int16 *bottom; 
     1714    yytype_int16 *top; 
    15371715#endif 
    15381716{ 
    15391717  YYFPRINTF (stderr, "Stack now"); 
    1540   for (/* Nothing. */; bottom <= top; ++bottom) 
     1718  for (; bottom <= top; ++bottom) 
    15411719    YYFPRINTF (stderr, " %d", *bottom); 
    15421720  YYFPRINTF (stderr, "\n"); 
     
    15471725  if (yydebug)                                                  \ 
    15481726    yy_stack_print ((Bottom), (Top));                           \ 
    1549 } while (0
     1727} while (YYID (0)
    15501728 
    15511729 
     
    15541732`------------------------------------------------*/ 
    15551733 
    1556 #if defined (__STDC__) || defined (__cplusplus) 
     1734#if (defined __STDC__ || defined __C99__FUNC__ \ 
     1735     || defined __cplusplus || defined _MSC_VER) 
    15571736static void 
    1558 yy_reduce_print (int yyrule) 
     1737yy_reduce_print (YYSTYPE *yyvsp, int yyrule) 
    15591738#else 
    15601739static void 
    1561 yy_reduce_print (yyrule) 
     1740yy_reduce_print (yyvsp, yyrule) 
     1741    YYSTYPE *yyvsp; 
    15621742    int yyrule; 
    15631743#endif 
    15641744{ 
     1745  int yynrhs = yyr2[yyrule]; 
    15651746  int yyi; 
    1566   unsigned int yylno = yyrline[yyrule]; 
    1567   YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ", 
    1568              yyrule - 1, yylno); 
    1569   /* Print the symbols being reduced, and their result.  */ 
    1570   for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++) 
    1571     YYFPRINTF (stderr, "%s ", yytname [yyrhs[yyi]]); 
    1572   YYFPRINTF (stderr, "-> %s\n", yytname [yyr1[yyrule]]); 
     1747  unsigned long int yylno = yyrline[yyrule]; 
     1748  YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n", 
     1749             yyrule - 1, yylno); 
     1750  /* The symbols being reduced.  */ 
     1751  for (yyi = 0; yyi < yynrhs; yyi++) 
     1752    { 
     1753      fprintf (stderr, "   $%d = ", yyi + 1); 
     1754      yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi], 
     1755                       &(yyvsp[(yyi + 1) - (yynrhs)]) 
     1756                                       ); 
     1757      fprintf (stderr, "\n"); 
     1758    } 
    15731759} 
    15741760 
     
    15761762do {                                    \ 
    15771763  if (yydebug)                          \ 
    1578     yy_reduce_print (Rule);           
    1579 } while (0
     1764    yy_reduce_print (yyvsp, Rule);
     1765} while (YYID (0)
    15801766 
    15811767/* Nonzero means print parse trace.  It is left uninitialized so that 
     
    15991785 
    16001786   Do not make this value too large; the results are undefined if 
    1601    SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH) 
     1787   YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH) 
    16021788   evaluated with infinite-precision integer arithmetic.  */ 
    16031789 
     
    16111797 
    16121798# ifndef yystrlen 
    1613 #  if defined (__GLIBC__) && defined (_STRING_H) 
     1799#  if defined __GLIBC__ && defined _STRING_H 
    16141800#   define yystrlen strlen 
    16151801#  else 
    16161802/* Return the length of YYSTR.  */ 
     1803#if (defined __STDC__ || defined __C99__FUNC__ \ 
     1804     || defined __cplusplus || defined _MSC_VER) 
    16171805static YYSIZE_T 
    1618 #   if defined (__STDC__) || defined (__cplusplus) 
    16191806yystrlen (const char *yystr) 
    1620 #   else 
     1807#else 
     1808static YYSIZE_T 
    16211809yystrlen (yystr) 
    1622     const char *yystr; 
    1623 #   endif 
     1810    const char *yystr; 
     1811#endif 
    16241812{ 
    1625   register const char *yys = yystr; 
    1626  
    1627   while (*yys++ != '\0') 
     1813  YYSIZE_T yylen; 
     1814  for (yylen = 0; yystr[yylen]; yylen++) 
    16281815    continue; 
    1629  
    1630   return yys - yystr - 1; 
     1816  return yylen; 
    16311817} 
    16321818#  endif 
     
    16341820 
    16351821# ifndef yystpcpy 
    1636 #  if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE) 
     1822#  if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE 
    16371823#   define yystpcpy stpcpy 
    16381824#  else 
    16391825/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in 
    16401826   YYDEST.  */ 
     1827#if (defined __STDC__ || defined __C99__FUNC__ \ 
     1828     || defined __cplusplus || defined _MSC_VER) 
    16411829static char * 
    1642 #   if defined (__STDC__) || defined (__cplusplus) 
    16431830yystpcpy (char *yydest, const char *yysrc) 
    1644 #   else 
     1831#else 
     1832static char * 
    16451833yystpcpy (yydest, yysrc) 
    1646     char *yydest; 
    1647     const char *yysrc; 
    1648 #   endif 
     1834    char *yydest; 
     1835    const char *yysrc; 
     1836#endif 
    16491837{ 
    1650   register char *yyd = yydest; 
    1651   register const char *yys = yysrc; 
     1838  char *yyd = yydest; 
     1839  const char *yys = yysrc; 
    16521840 
    16531841  while ((*yyd++ = *yys++) != '\0') 
     
    16591847# endif 
    16601848 
    1661 #endif /* !YYERROR_VERBOSE */ 
    1662  
     1849# ifndef yytnamerr 
     1850/* Copy to YYRES the contents of YYSTR after stripping away unnecessary 
     1851   quotes and backslashes, so that it's suitable for yyerror.  The 
     1852   heuristic is that double-quoting is unnecessary unless the string 
     1853   contains an apostrophe, a comma, or backslash (other than 
     1854   backslash-backslash).  YYSTR is taken from yytname.  If YYRES is 
     1855   null, do not copy; instead, return the length of what the result 
     1856   would have been.  */ 
     1857static YYSIZE_T 
     1858yytnamerr (char *yyres, const char *yystr) 
     1859
     1860  if (*yystr == '"') 
     1861    { 
     1862      YYSIZE_T yyn = 0; 
     1863      char const *yyp = yystr; 
     1864 
     1865      for (;;) 
     1866        switch (*++yyp) 
     1867          { 
     1868          case '\'': 
     1869          case ',': 
     1870            goto do_not_strip_quotes; 
     1871 
     1872          case '\\': 
     1873            if (*++yyp != '\\') 
     1874              goto do_not_strip_quotes; 
     1875            /* Fall through.  */ 
     1876          default: 
     1877            if (yyres) 
     1878              yyres[yyn] = *yyp; 
     1879            yyn++; 
     1880            break; 
     1881 
     1882          case '"': 
     1883            if (yyres) 
     1884              yyres[yyn] = '\0'; 
     1885            return yyn; 
     1886          } 
     1887    do_not_strip_quotes: ; 
     1888    } 
     1889 
     1890  if (! yyres) 
     1891    return yystrlen (yystr); 
     1892 
     1893  return yystpcpy (yyres, yystr) - yyres; 
     1894
     1895# endif 
     1896 
     1897/* Copy into YYRESULT an error message about the unexpected token 
     1898   YYCHAR while in state YYSTATE.  Return the number of bytes copied, 
     1899   including the terminating null byte.  If YYRESULT is null, do not 
     1900   copy anything; just return the number of bytes that would be 
     1901   copied.  As a special case, return 0 if an ordinary "syntax error" 
     1902   message will do.  Return YYSIZE_MAXIMUM if overflow occurs during 
     1903   size calculation.  */ 
     1904static YYSIZE_T 
     1905yysyntax_error (char *yyresult, int yystate, int yychar) 
     1906
     1907  int yyn = yypact[yystate]; 
     1908 
     1909  if (! (YYPACT_NINF < yyn && yyn <= YYLAST)) 
     1910    return 0; 
     1911  else 
     1912    { 
     1913      int yytype = YYTRANSLATE (yychar); 
     1914      YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]); 
     1915      YYSIZE_T yysize = yysize0; 
     1916      YYSIZE_T yysize1; 
     1917      int yysize_overflow = 0; 
     1918      enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 }; 
     1919      char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; 
     1920      int yyx; 
     1921 
     1922# if 0 
     1923      /* This is so xgettext sees the translatable formats that are 
     1924         constructed on the fly.  */ 
     1925      YY_("syntax error, unexpected %s"); 
     1926      YY_("syntax error, unexpected %s, expecting %s"); 
     1927      YY_("syntax error, unexpected %s, expecting %s or %s"); 
     1928      YY_("syntax error, unexpected %s, expecting %s or %s or %s"); 
     1929      YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"); 
     1930# endif 
     1931      char *yyfmt; 
     1932      char const *yyf; 
     1933      static char const yyunexpected[] = "syntax error, unexpected %s"; 
     1934      static char const yyexpecting[] = ", expecting %s"; 
     1935      static char const yyor[] = " or %s"; 
     1936      char yyformat[sizeof yyunexpected 
     1937                    + sizeof yyexpecting - 1 
     1938                    + ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2) 
     1939                       * (sizeof yyor - 1))]; 
     1940      char const *yyprefix = yyexpecting; 
     1941 
     1942      /* Start YYX at -YYN if negative to avoid negative indexes in 
     1943         YYCHECK.  */ 
     1944      int yyxbegin = yyn < 0 ? -yyn : 0; 
     1945 
     1946      /* Stay within bounds of both yycheck and yytname.  */ 
     1947      int yychecklim = YYLAST - yyn + 1; 
     1948      int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS; 
     1949      int yycount = 1; 
     1950 
     1951      yyarg[0] = yytname[yytype]; 
     1952      yyfmt = yystpcpy (yyformat, yyunexpected); 
     1953 
     1954      for (yyx = yyxbegin; yyx < yyxend; ++yyx) 
     1955        if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) 
     1956          { 
     1957            if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM) 
     1958              { 
     1959                yycount = 1; 
     1960                yysize = yysize0; 
     1961                yyformat[sizeof yyunexpected - 1] = '\0'; 
     1962                break; 
     1963              } 
     1964            yyarg[yycount++] = yytname[yyx]; 
     1965            yysize1 = yysize + yytnamerr (0, yytname[yyx]); 
     1966            yysize_overflow |= (yysize1 < yysize); 
     1967            yysize = yysize1; 
     1968            yyfmt = yystpcpy (yyfmt, yyprefix); 
     1969            yyprefix = yyor; 
     1970          } 
     1971 
     1972      yyf = YY_(yyformat); 
     1973      yysize1 = yysize + yystrlen (yyf); 
     1974      yysize_overflow |= (yysize1 < yysize); 
     1975      yysize = yysize1; 
     1976 
     1977      if (yysize_overflow) 
     1978        return YYSIZE_MAXIMUM; 
     1979 
     1980      if (yyresult) 
     1981        { 
     1982          /* Avoid sprintf, as that infringes on the user's name space. 
     1983             Don't have undefined behavior even if the translation 
     1984             produced a string with the wrong number of "%s"s.  */ 
     1985          char *yyp = yyresult; 
     1986          int yyi = 0; 
     1987          while ((*yyp = *yyf) != '\0') 
     1988            { 
     1989              if (*yyp == '%' && yyf[1] == 's' && yyi < yycount) 
     1990                { 
     1991                  yyp += yytnamerr (yyp, yyarg[yyi++]); 
     1992                  yyf += 2; 
     1993                } 
     1994              else 
     1995                { 
     1996                  yyp++; 
     1997                  yyf++; 
     1998                } 
     1999            } 
     2000        } 
     2001      return yysize; 
     2002    } 
     2003
     2004#endif /* YYERROR_VERBOSE */ 
    16632005  
    16642006 
    1665 #if YYDEBUG 
    1666 /*--------------------------------. 
    1667 | Print this symbol on YYOUTPUT.  | 
    1668 `--------------------------------*/ 
    1669  
    1670 #if defined (__STDC__) || defined (__cplusplus) 
    1671 static void 
    1672 yysymprint (FILE *yyoutput, int yytype, YYSTYPE *yyvaluep) 
    1673 #else 
    1674 static void 
    1675 yysymprint (yyoutput, yytype, yyvaluep) 
    1676     FILE *yyoutput; 
    1677     int yytype; 
    1678     YYSTYPE *yyvaluep; 
    1679 #endif 
    1680 { 
    1681   /* Pacify ``unused variable'' warnings.  */ 
    1682   (void) yyvaluep; 
    1683  
    1684   if (yytype < YYNTOKENS) 
    1685     YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); 
    1686   else 
    1687     YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); 
    1688  
    1689  
    1690 # ifdef YYPRINT 
    1691   if (yytype < YYNTOKENS) 
    1692     YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); 
    1693 # endif 
    1694   switch (yytype) 
    1695     { 
    1696       default: 
    1697         break; 
    1698     } 
    1699   YYFPRINTF (yyoutput, ")"); 
    1700 } 
    1701  
    1702 #endif /* ! YYDEBUG */ 
    17032007/*-----------------------------------------------. 
    17042008| Release the memory associated to this symbol.  | 
    17052009`-----------------------------------------------*/ 
    17062010 
    1707 #if defined (__STDC__) || defined (__cplusplus) 
     2011/*ARGSUSED*/ 
     2012#if (defined __STDC__ || defined __C99__FUNC__ \ 
     2013     || defined __cplusplus || defined _MSC_VER) 
    17082014static void 
    17092015yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep) 
     
    17162022#endif 
    17172023{ 
    1718   /* Pacify ``unused variable'' warnings.  */ 
    1719   (void) yyvaluep; 
     2024  YYUSE (yyvaluep); 
    17202025 
    17212026  if (!yymsg) 
     
    17272032 
    17282033      default: 
    1729         break; 
     2034       break; 
    17302035    } 
    17312036} 
     
    17352040 
    17362041#ifdef YYPARSE_PARAM 
    1737 # if defined (__STDC__) || defined (__cplusplus) 
     2042#if defined __STDC__ || defined __cplusplus 
    17382043int yyparse (void *YYPARSE_PARAM); 
    1739 # else 
     2044#else 
    17402045int yyparse (); 
    1741 # endif 
     2046#endif 
    17422047#else /* ! YYPARSE_PARAM */ 
    1743 #if defined (__STDC__) || defined (__cplusplus) 
     2048#if defined __STDC__ || defined __cplusplus 
    17442049int yyparse (void); 
    17452050#else 
     
    17582063 
    17592064#ifdef YYPARSE_PARAM 
    1760 # if defined (__STDC__) || defined (__cplusplus) 
    1761 int yyparse (void *YYPARSE_PARAM) 
    1762 # else 
    1763 int yyparse (YYPARSE_PARAM) 
    1764   void *YYPARSE_PARAM; 
    1765 # endif 
     2065#if (defined __STDC__ || defined __C99__FUNC__ \ 
     2066     || defined __cplusplus || defined _MSC_VER) 
     2067int 
     2068yyparse (void *YYPARSE_PARAM) 
     2069#else 
     2070int 
     2071yyparse (YYPARSE_PARAM) 
     2072    void *YYPARSE_PARAM; 
     2073#endif 
    17662074#else /* ! YYPARSE_PARAM */ 
    1767 #if defined (__STDC__) || defined (__cplusplus) 
     2075#if (defined __STDC__ || defined __C99__FUNC__ \ 
     2076     || defined __cplusplus || defined _MSC_VER) 
    17682077int 
    17692078