OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.2/] [gdb/] [cp-name-parser.c] - Diff between revs 330 and 342

Show entire file | Details | Blame | View Log

Rev 330 Rev 342
Line 1... Line 1...
/* A Bison parser, made by GNU Bison 1.875c.  */
 
 
 
/* Skeleton parser for Yacc-like parsing with Bison,
/* A Bison parser, made by GNU Bison 2.4.1.  */
   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
 
 
 
   This program is free software; you can redistribute it and/or modify
/* Skeleton implementation for Bison's Yacc-like parsers in C
 
 
 
      Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
 
   Free Software Foundation, Inc.
 
 
 
   This program is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2, or (at your option)
   the Free Software Foundation, either version 3 of the License, or
   any later version.
   (at your option) any later version.
 
 
   This program is distributed in the hope that it will be useful,
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
   GNU General Public License for more details.
 
 
   You should have received a copy of the GNU General Public License
   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
   Foundation, Inc., 59 Temple Place - Suite 330,
 
   Boston, MA 02111-1307, USA.  */
/* As a special exception, you may create a larger work that contains
 
   part or all of the Bison parser skeleton and distribute that work
/* As a special exception, when this file is copied by Bison into a
   under terms of your choice, so long as that work isn't itself a
   Bison output file, you may use that output file without restriction.
   parser generator using the skeleton or a modified version thereof
   This special exception was added by the Free Software Foundation
   as a parser skeleton.  Alternatively, if you modify or redistribute
   in version 1.24 of Bison.  */
   the parser skeleton itself, you may (at your option) remove this
 
   special exception, which will cause the skeleton and the resulting
 
   Bison output files to be licensed under the GNU General Public
 
   License without this special exception.
 
 
 
   This special exception was added by the Free Software Foundation in
 
   version 2.2 of Bison.  */
 
 
/* Written by Richard Stallman by simplifying the original so called
/* C LALR(1) parser skeleton written by Richard Stallman, by
   ``semantic'' parser.  */
   simplifying the original so-called "semantic" parser.  */
 
 
/* All symbols defined below should begin with yy or YY, to avoid
/* All symbols defined below should begin with yy or YY, to avoid
   infringing on user name space.  This should be done even for local
   infringing on user name space.  This should be done even for local
   variables, as they might otherwise be expanded by user macros.
   variables, as they might otherwise be expanded by user macros.
   There are some unavoidable exceptions within include files to
   There are some unavoidable exceptions within include files to
Line 34... Line 43...
   USER NAME SPACE" below.  */
   USER NAME SPACE" below.  */
 
 
/* Identify Bison output.  */
/* Identify Bison output.  */
#define YYBISON 1
#define YYBISON 1
 
 
 
/* Bison version.  */
 
#define YYBISON_VERSION "2.4.1"
 
 
/* Skeleton name.  */
/* Skeleton name.  */
#define YYSKELETON_NAME "yacc.c"
#define YYSKELETON_NAME "yacc.c"
 
 
/* Pure parsers.  */
/* Pure parsers.  */
#define YYPURE 0
#define YYPURE 0
 
 
/* Using locations.  */
/* Push parsers.  */
#define YYLSP_NEEDED 0
#define YYPUSH 0
 
 
 
 
 
/* Pull parsers.  */
 
#define YYPULL 1
 
 
/* Tokens.  */
/* Using locations.  */
#ifndef YYTOKENTYPE
#define YYLSP_NEEDED 0
# define YYTOKENTYPE
 
   /* Put the tokens into the symbol table, so that GDB and other debuggers
 
      know about them.  */
 
   enum yytokentype {
 
     INT = 258,
 
     FLOAT = 259,
 
     NAME = 260,
 
     STRUCT = 261,
 
     CLASS = 262,
 
     UNION = 263,
 
     ENUM = 264,
 
     SIZEOF = 265,
 
     UNSIGNED = 266,
 
     COLONCOLON = 267,
 
     TEMPLATE = 268,
 
     ERROR = 269,
 
     NEW = 270,
 
     DELETE = 271,
 
     OPERATOR = 272,
 
     STATIC_CAST = 273,
 
     REINTERPRET_CAST = 274,
 
     DYNAMIC_CAST = 275,
 
     SIGNED_KEYWORD = 276,
 
     LONG = 277,
 
     SHORT = 278,
 
     INT_KEYWORD = 279,
 
     CONST_KEYWORD = 280,
 
     VOLATILE_KEYWORD = 281,
 
     DOUBLE_KEYWORD = 282,
 
     BOOL = 283,
 
     ELLIPSIS = 284,
 
     RESTRICT = 285,
 
     VOID = 286,
 
     FLOAT_KEYWORD = 287,
 
     CHAR = 288,
 
     WCHAR_T = 289,
 
     ASSIGN_MODIFY = 290,
 
     TRUEKEYWORD = 291,
 
     FALSEKEYWORD = 292,
 
     DEMANGLER_SPECIAL = 293,
 
     CONSTRUCTION_VTABLE = 294,
 
     CONSTRUCTION_IN = 295,
 
     OROR = 296,
 
     ANDAND = 297,
 
     NOTEQUAL = 298,
 
     EQUAL = 299,
 
     GEQ = 300,
 
     LEQ = 301,
 
     RSH = 302,
 
     LSH = 303,
 
     DECREMENT = 304,
 
     INCREMENT = 305,
 
     UNARY = 306,
 
     ARROW = 307
 
   };
 
#endif
 
#define INT 258
 
#define FLOAT 259
 
#define NAME 260
 
#define STRUCT 261
 
#define CLASS 262
 
#define UNION 263
 
#define ENUM 264
 
#define SIZEOF 265
 
#define UNSIGNED 266
 
#define COLONCOLON 267
 
#define TEMPLATE 268
 
#define ERROR 269
 
#define NEW 270
 
#define DELETE 271
 
#define OPERATOR 272
 
#define STATIC_CAST 273
 
#define REINTERPRET_CAST 274
 
#define DYNAMIC_CAST 275
 
#define SIGNED_KEYWORD 276
 
#define LONG 277
 
#define SHORT 278
 
#define INT_KEYWORD 279
 
#define CONST_KEYWORD 280
 
#define VOLATILE_KEYWORD 281
 
#define DOUBLE_KEYWORD 282
 
#define BOOL 283
 
#define ELLIPSIS 284
 
#define RESTRICT 285
 
#define VOID 286
 
#define FLOAT_KEYWORD 287
 
#define CHAR 288
 
#define WCHAR_T 289
 
#define ASSIGN_MODIFY 290
 
#define TRUEKEYWORD 291
 
#define FALSEKEYWORD 292
 
#define DEMANGLER_SPECIAL 293
 
#define CONSTRUCTION_VTABLE 294
 
#define CONSTRUCTION_IN 295
 
#define OROR 296
 
#define ANDAND 297
 
#define NOTEQUAL 298
 
#define EQUAL 299
 
#define GEQ 300
 
#define LEQ 301
 
#define RSH 302
 
#define LSH 303
 
#define DECREMENT 304
 
#define INCREMENT 305
 
#define UNARY 306
 
#define ARROW 307
 
 
 
 
 
 
 
 
 
/* Copy the first part of user declarations.  */
/* Copy the first part of user declarations.  */
 
 
 
/* Line 189 of yacc.c  */
#line 31 "cp-name-parser.y"
#line 31 "cp-name-parser.y"
 
 
 
 
#include "defs.h"
#include "defs.h"
 
 
Line 369... Line 277...
#define d_left(dc) (dc)->u.s_binary.left
#define d_left(dc) (dc)->u.s_binary.left
#define d_right(dc) (dc)->u.s_binary.right
#define d_right(dc) (dc)->u.s_binary.right
 
 
 
 
 
 
 
/* Line 189 of yacc.c  */
 
#line 284 "cp-name-parser.c.tmp"
 
 
/* Enabling traces.  */
/* Enabling traces.  */
#ifndef YYDEBUG
#ifndef YYDEBUG
# define YYDEBUG 0
# define YYDEBUG 0
#endif
#endif
 
 
Line 382... Line 293...
# define YYERROR_VERBOSE 1
# define YYERROR_VERBOSE 1
#else
#else
# define YYERROR_VERBOSE 0
# define YYERROR_VERBOSE 0
#endif
#endif
 
 
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
/* Enabling the token table.  */
 
#ifndef YYTOKEN_TABLE
 
# define YYTOKEN_TABLE 0
 
#endif
 
 
 
 
 
/* Tokens.  */
 
#ifndef YYTOKENTYPE
 
# define YYTOKENTYPE
 
   /* Put the tokens into the symbol table, so that GDB and other debuggers
 
      know about them.  */
 
   enum yytokentype {
 
     INT = 258,
 
     FLOAT = 259,
 
     NAME = 260,
 
     STRUCT = 261,
 
     CLASS = 262,
 
     UNION = 263,
 
     ENUM = 264,
 
     SIZEOF = 265,
 
     UNSIGNED = 266,
 
     COLONCOLON = 267,
 
     TEMPLATE = 268,
 
     ERROR = 269,
 
     NEW = 270,
 
     DELETE = 271,
 
     OPERATOR = 272,
 
     STATIC_CAST = 273,
 
     REINTERPRET_CAST = 274,
 
     DYNAMIC_CAST = 275,
 
     SIGNED_KEYWORD = 276,
 
     LONG = 277,
 
     SHORT = 278,
 
     INT_KEYWORD = 279,
 
     CONST_KEYWORD = 280,
 
     VOLATILE_KEYWORD = 281,
 
     DOUBLE_KEYWORD = 282,
 
     BOOL = 283,
 
     ELLIPSIS = 284,
 
     RESTRICT = 285,
 
     VOID = 286,
 
     FLOAT_KEYWORD = 287,
 
     CHAR = 288,
 
     WCHAR_T = 289,
 
     ASSIGN_MODIFY = 290,
 
     TRUEKEYWORD = 291,
 
     FALSEKEYWORD = 292,
 
     DEMANGLER_SPECIAL = 293,
 
     CONSTRUCTION_VTABLE = 294,
 
     CONSTRUCTION_IN = 295,
 
     OROR = 296,
 
     ANDAND = 297,
 
     NOTEQUAL = 298,
 
     EQUAL = 299,
 
     GEQ = 300,
 
     LEQ = 301,
 
     RSH = 302,
 
     LSH = 303,
 
     DECREMENT = 304,
 
     INCREMENT = 305,
 
     UNARY = 306,
 
     ARROW = 307
 
   };
 
#endif
 
/* Tokens.  */
 
#define INT 258
 
#define FLOAT 259
 
#define NAME 260
 
#define STRUCT 261
 
#define CLASS 262
 
#define UNION 263
 
#define ENUM 264
 
#define SIZEOF 265
 
#define UNSIGNED 266
 
#define COLONCOLON 267
 
#define TEMPLATE 268
 
#define ERROR 269
 
#define NEW 270
 
#define DELETE 271
 
#define OPERATOR 272
 
#define STATIC_CAST 273
 
#define REINTERPRET_CAST 274
 
#define DYNAMIC_CAST 275
 
#define SIGNED_KEYWORD 276
 
#define LONG 277
 
#define SHORT 278
 
#define INT_KEYWORD 279
 
#define CONST_KEYWORD 280
 
#define VOLATILE_KEYWORD 281
 
#define DOUBLE_KEYWORD 282
 
#define BOOL 283
 
#define ELLIPSIS 284
 
#define RESTRICT 285
 
#define VOID 286
 
#define FLOAT_KEYWORD 287
 
#define CHAR 288
 
#define WCHAR_T 289
 
#define ASSIGN_MODIFY 290
 
#define TRUEKEYWORD 291
 
#define FALSEKEYWORD 292
 
#define DEMANGLER_SPECIAL 293
 
#define CONSTRUCTION_VTABLE 294
 
#define CONSTRUCTION_IN 295
 
#define OROR 296
 
#define ANDAND 297
 
#define NOTEQUAL 298
 
#define EQUAL 299
 
#define GEQ 300
 
#define LEQ 301
 
#define RSH 302
 
#define LSH 303
 
#define DECREMENT 304
 
#define INCREMENT 305
 
#define UNARY 306
 
#define ARROW 307
 
 
 
 
 
 
 
 
 
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
 
typedef union YYSTYPE
 
{
 
 
 
/* Line 214 of yacc.c  */
#line 242 "cp-name-parser.y"
#line 242 "cp-name-parser.y"
typedef union YYSTYPE {
 
    struct demangle_component *comp;
    struct demangle_component *comp;
    struct nested {
    struct nested {
      struct demangle_component *comp;
      struct demangle_component *comp;
      struct demangle_component **last;
      struct demangle_component **last;
    } nested;
    } nested;
Line 401... Line 435...
      struct demangle_component *start;
      struct demangle_component *start;
      int fold_flag;
      int fold_flag;
    } abstract;
    } abstract;
    int lval;
    int lval;
    const char *opname;
    const char *opname;
 
 
 
 
 
 
 
/* Line 214 of yacc.c  */
 
#line 445 "cp-name-parser.c.tmp"
  } YYSTYPE;
  } YYSTYPE;
/* Line 191 of yacc.c.  */
# define YYSTYPE_IS_TRIVIAL 1
#line 409 "cp-name-parser.c.tmp"
 
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_TRIVIAL 1
 
#endif
#endif
 
 
 
 
 
 
/* Copy the second part of user declarations.  */
/* Copy the second part of user declarations.  */
 
 
 
 
/* Line 214 of yacc.c.  */
/* Line 264 of yacc.c  */
#line 421 "cp-name-parser.c.tmp"
#line 457 "cp-name-parser.c.tmp"
 
 
#if ! defined (yyoverflow) || YYERROR_VERBOSE
#ifdef short
 
# undef short
 
#endif
 
 
# ifndef YYFREE
#ifdef YYTYPE_UINT8
#  define YYFREE xfree
typedef YYTYPE_UINT8 yytype_uint8;
 
#else
 
typedef unsigned char yytype_uint8;
# endif
# endif
# ifndef YYMALLOC
 
#  define YYMALLOC xmalloc
#ifdef YYTYPE_INT8
 
typedef YYTYPE_INT8 yytype_int8;
 
#elif (defined __STDC__ || defined __C99__FUNC__ \
 
     || defined __cplusplus || defined _MSC_VER)
 
typedef signed char yytype_int8;
 
#else
 
typedef short int yytype_int8;
# endif
# endif
 
 
/* The parser invokes alloca or xmalloc; define the necessary symbols.  */
#ifdef YYTYPE_UINT16
 
typedef YYTYPE_UINT16 yytype_uint16;
 
#else
 
typedef unsigned short int yytype_uint16;
 
#endif
 
 
# ifdef YYSTACK_USE_ALLOCA
#ifdef YYTYPE_INT16
#  if YYSTACK_USE_ALLOCA
typedef YYTYPE_INT16 yytype_int16;
#   define YYSTACK_ALLOC alloca
#else
 
typedef short int yytype_int16;
#  endif
#  endif
 
 
 
#ifndef YYSIZE_T
 
# ifdef __SIZE_TYPE__
 
#  define YYSIZE_T __SIZE_TYPE__
 
# elif defined size_t
 
#  define YYSIZE_T size_t
 
# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \
 
     || defined __cplusplus || defined _MSC_VER)
 
#  include <stddef.h> /* INFRINGES ON USER NAME SPACE */
 
#  define YYSIZE_T size_t
# else
# else
#  if defined (alloca) || defined (_ALLOCA_H)
#  define YYSIZE_T unsigned int
#   define YYSTACK_ALLOC alloca
# endif
 
#endif
 
 
 
#define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
 
 
 
#ifndef YY_
 
# if YYENABLE_NLS
 
#  if ENABLE_NLS
 
#   include <libintl.h> /* INFRINGES ON USER NAME SPACE */
 
#   define YY_(msgid) dgettext ("bison-runtime", msgid)
 
#  endif
 
# endif
 
# ifndef YY_
 
#  define YY_(msgid) msgid
 
# endif
 
#endif
 
 
 
/* Suppress unused-variable warnings by "using" E.  */
 
#if ! defined lint || defined __GNUC__
 
# define YYUSE(e) ((void) (e))
#  else
#  else
 
# define YYUSE(e) /* empty */
 
#endif
 
 
 
/* Identity function, used to suppress warnings about constant conditions.  */
 
#ifndef lint
 
# define YYID(n) (n)
 
#else
 
#if (defined __STDC__ || defined __C99__FUNC__ \
 
     || defined __cplusplus || defined _MSC_VER)
 
static int
 
YYID (int yyi)
 
#else
 
static int
 
YYID (yyi)
 
    int yyi;
 
#endif
 
{
 
  return yyi;
 
}
 
#endif
 
 
 
#if ! defined yyoverflow || YYERROR_VERBOSE
 
 
 
/* The parser invokes alloca or xmalloc; define the necessary symbols.  */
 
 
 
# ifdef YYSTACK_USE_ALLOCA
 
#  if YYSTACK_USE_ALLOCA
#   ifdef __GNUC__
#   ifdef __GNUC__
#    define YYSTACK_ALLOC __builtin_alloca
#    define YYSTACK_ALLOC __builtin_alloca
 
#   elif defined __BUILTIN_VA_ARG_INCR
 
#    include <alloca.h> /* INFRINGES ON USER NAME SPACE */
 
#   elif defined _AIX
 
#    define YYSTACK_ALLOC __alloca
 
#   elif defined _MSC_VER
 
#    define alloca _alloca
 
#   else
 
#    define YYSTACK_ALLOC alloca
 
#    if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
 
     || defined __cplusplus || defined _MSC_VER)
 
#     include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
 
#     ifndef _STDLIB_H
 
#      define _STDLIB_H 1
 
#     endif
 
#    endif
#   endif
#   endif
#  endif
#  endif
# endif
# endif
 
 
# ifdef YYSTACK_ALLOC
# ifdef YYSTACK_ALLOC
   /* Pacify GCC's `empty if-body' warning. */
   /* Pacify GCC's `empty if-body' warning. */
#  define YYSTACK_FREE(Ptr) do { /* empty */; } while (0)
#  define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0))
# else
#  ifndef YYSTACK_ALLOC_MAXIMUM
#  if defined (__STDC__) || defined (__cplusplus)
    /* The OS might guarantee only one guard page at the bottom of the stack,
#   include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
       and a page size can be as small as 4096 bytes.  So we cannot safely
#   define YYSIZE_T size_t
       invoke alloca (N) if N exceeds 4096.  Use a slightly smaller number
 
       to allow for a few compiler-allocated temporary stack slots.  */
 
#   define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */
#  endif
#  endif
 
# else
#  define YYSTACK_ALLOC YYMALLOC
#  define YYSTACK_ALLOC YYMALLOC
#  define YYSTACK_FREE YYFREE
#  define YYSTACK_FREE YYFREE
 
#  ifndef YYSTACK_ALLOC_MAXIMUM
 
#   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
# endif
# endif
#endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */
#  if (defined __cplusplus && ! defined _STDLIB_H \
 
       && ! ((defined YYMALLOC || defined xmalloc) \
 
             && (defined YYFREE || defined xfree)))
 
#   include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
 
#   ifndef _STDLIB_H
 
#    define _STDLIB_H 1
 
#   endif
 
#  endif
 
#  ifndef YYMALLOC
 
#   define YYMALLOC xmalloc
 
#   if ! defined xmalloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
 
     || defined __cplusplus || defined _MSC_VER)
 
void *xmalloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
 
#   endif
 
#  endif
 
#  ifndef YYFREE
 
#   define YYFREE xfree
 
#   if ! defined xfree && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
 
     || defined __cplusplus || defined _MSC_VER)
 
void xfree (void *); /* INFRINGES ON USER NAME SPACE */
 
#   endif
 
#  endif
 
# endif
 
#endif /* ! defined yyoverflow || YYERROR_VERBOSE */
 
 
 
 
#if (! defined (yyoverflow) \
#if (! defined yyoverflow \
     && (! defined (__cplusplus) \
     && (! defined __cplusplus \
         || (defined (YYSTYPE_IS_TRIVIAL) && YYSTYPE_IS_TRIVIAL)))
         || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
 
 
/* A type that is properly aligned for any stack member.  */
/* A type that is properly aligned for any stack member.  */
union yyalloc
union yyalloc
{
{
  short yyss;
  yytype_int16 yyss_alloc;
  YYSTYPE yyvs;
  YYSTYPE yyvs_alloc;
  };
  };
 
 
/* The size of the maximum gap between one aligned stack and the next.  */
/* The size of the maximum gap between one aligned stack and the next.  */
# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
 
 
/* The size of an array large to enough to hold all stacks, each with
/* The size of an array large to enough to hold all stacks, each with
   N elements.  */
   N elements.  */
# define YYSTACK_BYTES(N) \
# define YYSTACK_BYTES(N) \
     ((N) * (sizeof (short) + sizeof (YYSTYPE))                         \
     ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
      + YYSTACK_GAP_MAXIMUM)
      + YYSTACK_GAP_MAXIMUM)
 
 
/* Copy COUNT objects from FROM to TO.  The source and destination do
/* Copy COUNT objects from FROM to TO.  The source and destination do
   not overlap.  */
   not overlap.  */
# ifndef YYCOPY
# ifndef YYCOPY
#  if defined (__GNUC__) && 1 < __GNUC__
#  if defined __GNUC__ && 1 < __GNUC__
#   define YYCOPY(To, From, Count) \
#   define YYCOPY(To, From, Count) \
      __builtin_memcpy (To, From, (Count) * sizeof (*(From)))
      __builtin_memcpy (To, From, (Count) * sizeof (*(From)))
#  else
#  else
#   define YYCOPY(To, From, Count)              \
#   define YYCOPY(To, From, Count)              \
      do                                        \
      do                                        \
        {                                       \
        {                                       \
          register YYSIZE_T yyi;                \
          YYSIZE_T yyi;                         \
          for (yyi = 0; yyi < (Count); yyi++)    \
          for (yyi = 0; yyi < (Count); yyi++)    \
            (To)[yyi] = (From)[yyi];            \
            (To)[yyi] = (From)[yyi];            \
        }                                       \
        }                                       \
      while (0)
      while (YYID (0))
#  endif
#  endif
# endif
# endif
 
 
/* Relocate STACK from its old location to the new one.  The
/* Relocate STACK from its old location to the new one.  The
   local variables YYSIZE and YYSTACKSIZE give the old and new number of
   local variables YYSIZE and YYSTACKSIZE give the old and new number of
   elements in the stack, and YYPTR gives the new location of the
   elements in the stack, and YYPTR gives the new location of the
   stack.  Advance YYPTR to a properly aligned location for the next
   stack.  Advance YYPTR to a properly aligned location for the next
   stack.  */
   stack.  */
# define YYSTACK_RELOCATE(Stack)                                        \
# define YYSTACK_RELOCATE(Stack_alloc, Stack)                           \
    do                                                                  \
    do                                                                  \
      {                                                                 \
      {                                                                 \
        YYSIZE_T yynewbytes;                                            \
        YYSIZE_T yynewbytes;                                            \
        YYCOPY (&yyptr->Stack, Stack, yysize);                          \
        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
        Stack = &yyptr->Stack;                                          \
        Stack = &yyptr->Stack_alloc;                                    \
        yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
        yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
        yyptr += yynewbytes / sizeof (*yyptr);                          \
        yyptr += yynewbytes / sizeof (*yyptr);                          \
      }                                                                 \
      }                                                                 \
    while (0)
    while (YYID (0))
 
 
#endif
#endif
 
 
#if defined (__STDC__) || defined (__cplusplus)
 
   typedef signed char yysigned_char;
 
#else
 
   typedef short yysigned_char;
 
#endif
 
 
 
/* YYFINAL -- State number of the termination state. */
/* YYFINAL -- State number of the termination state. */
#define YYFINAL  84
#define YYFINAL  84
/* YYLAST -- Last index in YYTABLE.  */
/* YYLAST -- Last index in YYTABLE.  */
#define YYLAST   1097
#define YYLAST   1097
 
 
Line 540... Line 684...
 
 
#define YYTRANSLATE(YYX)                                                \
#define YYTRANSLATE(YYX)                                                \
  ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
  ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
 
 
/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX.  */
/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX.  */
static const unsigned char yytranslate[] =
static const yytype_uint8 yytranslate[] =
{
{
       0,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       0,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,    72,     2,     2,     2,    63,    49,     2,
       2,     2,     2,    72,     2,     2,     2,    63,    49,     2,
Line 578... Line 722...
};
};
 
 
#if YYDEBUG
#if YYDEBUG
/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
   YYRHS.  */
   YYRHS.  */
static const unsigned short yyprhs[] =
static const yytype_uint16 yyprhs[] =
{
{
       0,     0,     3,     5,     7,     9,    11,    12,    15,    18,
       0,     0,     3,     5,     7,     9,    11,    12,    15,    18,
      22,    26,    29,    32,    35,    40,    43,    46,    51,    56,
      22,    26,    29,    32,    35,    40,    43,    46,    51,    56,
      59,    62,    65,    68,    71,    74,    77,    80,    83,    86,
      59,    62,    65,    68,    71,    74,    77,    80,    83,    86,
      89,    92,    95,    98,   101,   104,   107,   110,   113,   116,
      89,    92,    95,    98,   101,   104,   107,   110,   113,   116,
Line 603... Line 747...
     565,   569,   573,   577,   581,   585,   589,   593,   597,   601,
     565,   569,   573,   577,   581,   585,   589,   593,   597,   601,
     607,   609,   611,   616,   618
     607,   609,   611,   616,   618
};
};
 
 
/* YYRHS -- A `-1'-separated list of the rules' RHS. */
/* YYRHS -- A `-1'-separated list of the rules' RHS. */
static const yysigned_char yyrhs[] =
static const yytype_int8 yyrhs[] =
{
{
      76,     0,    -1,    77,    -1,   108,    -1,    80,    -1,    79,
      76,     0,    -1,    77,    -1,   108,    -1,    80,    -1,    79,
      -1,    -1,    12,    77,    -1,   104,   111,    -1,   104,    95,
      -1,    -1,    12,    77,    -1,   104,   111,    -1,   104,    95,
      78,    -1,    88,    95,    78,    -1,    83,    78,    -1,    83,
      78,    -1,    88,    95,    78,    -1,    83,    78,    -1,    83,
     107,    -1,    38,    77,    -1,    39,    77,    40,    77,    -1,
     107,    -1,    38,    77,    -1,    39,    77,    40,    77,    -1,
Line 670... Line 814...
      -1,   113,    44,   113,    74,   113,    -1,     3,    -1,     4,
      -1,   113,    44,   113,    74,   113,    -1,     3,    -1,     4,
      -1,    10,    73,   108,    41,    -1,    36,    -1,    37,    -1
      -1,    10,    73,   108,    41,    -1,    36,    -1,    37,    -1
};
};
 
 
/* YYRLINE[YYN] -- source line where rule number YYN was defined.  */
/* YYRLINE[YYN] -- source line where rule number YYN was defined.  */
static const unsigned short yyrline[] =
static const yytype_uint16 yyrline[] =
{
{
       0,   356,   356,   360,   362,   364,   369,   370,   377,   386,
       0,   356,   356,   360,   362,   364,   369,   370,   377,   386,
     389,   393,   396,   415,   419,   423,   425,   427,   429,   431,
     389,   393,   396,   415,   419,   423,   425,   427,   429,   431,
     433,   435,   437,   439,   441,   443,   445,   447,   449,   451,
     433,   435,   437,   439,   441,   443,   445,   447,   449,   451,
     453,   455,   457,   459,   461,   463,   465,   467,   469,   471,
     453,   455,   457,   459,   461,   463,   465,   467,   469,   471,
Line 695... Line 839...
    1109,  1113,  1117,  1121,  1125,  1129,  1133,  1138,  1142,  1146,
    1109,  1113,  1117,  1121,  1125,  1129,  1133,  1138,  1142,  1146,
    1153,  1157,  1160,  1165,  1174
    1153,  1157,  1160,  1165,  1174
};
};
#endif
#endif
 
 
#if YYDEBUG || YYERROR_VERBOSE
#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE
/* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
   First, the terminals, then, starting at YYNTOKENS, nonterminals. */
   First, the terminals, then, starting at YYNTOKENS, nonterminals. */
static const char *const yytname[] =
static const char *const yytname[] =
{
{
  "$end", "error", "$undefined", "INT", "FLOAT", "NAME", "STRUCT",
  "$end", "error", "$undefined", "INT", "FLOAT", "NAME", "STRUCT",
  "CLASS", "UNION", "ENUM", "SIZEOF", "UNSIGNED", "COLONCOLON", "TEMPLATE",
  "CLASS", "UNION", "ENUM", "SIZEOF", "UNSIGNED", "COLONCOLON", "TEMPLATE",
Line 727... Line 871...
#endif
#endif
 
 
# ifdef YYPRINT
# ifdef YYPRINT
/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
   token YYLEX-NUM.  */
   token YYLEX-NUM.  */
static const unsigned short yytoknum[] =
static const yytype_uint16 yytoknum[] =
{
{
       0,   256,   257,   258,   259,   260,   261,   262,   263,   264,
       0,   256,   257,   258,   259,   260,   261,   262,   263,   264,
     265,   266,   267,   268,   269,   270,   271,   272,   273,   274,
     265,   266,   267,   268,   269,   270,   271,   272,   273,   274,
     275,   276,   277,   278,   279,   280,   281,   282,   283,   284,
     275,   276,   277,   278,   279,   280,   281,   282,   283,   284,
     285,   286,   287,   288,   289,   290,   291,   292,   293,   294,
     285,   286,   287,   288,   289,   290,   291,   292,   293,   294,
Line 741... Line 885...
      93,   126,    33,    40,    58
      93,   126,    33,    40,    58
};
};
# endif
# endif
 
 
/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives.  */
/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives.  */
static const unsigned char yyr1[] =
static const yytype_uint8 yyr1[] =
{
{
       0,    75,    76,    77,    77,    77,    78,    78,    79,    79,
       0,    75,    76,    77,    77,    77,    78,    78,    79,    79,
      79,    79,    79,    80,    80,    81,    81,    81,    81,    81,
      79,    79,    79,    80,    80,    81,    81,    81,    81,    81,
      81,    81,    81,    81,    81,    81,    81,    81,    81,    81,
      81,    81,    81,    81,    81,    81,    81,    81,    81,    81,
      81,    81,    81,    81,    81,    81,    81,    81,    81,    81,
      81,    81,    81,    81,    81,    81,    81,    81,    81,    81,
Line 766... Line 910...
     113,   113,   113,   113,   113,   113,   113,   113,   113,   113,
     113,   113,   113,   113,   113,   113,   113,   113,   113,   113,
     113,   113,   113,   113,   113
     113,   113,   113,   113,   113
};
};
 
 
/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN.  */
/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN.  */
static const unsigned char yyr2[] =
static const yytype_uint8 yyr2[] =
{
{
       0,     2,     1,     1,     1,     1,     0,     2,     2,     3,
       0,     2,     1,     1,     1,     1,     0,     2,     2,     3,
       3,     2,     2,     2,     4,     2,     2,     4,     4,     2,
       3,     2,     2,     2,     4,     2,     2,     4,     4,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
Line 793... Line 937...
};
};
 
 
/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
   STATE-NUM when YYTABLE doesn't specify something else to do.  Zero
   STATE-NUM when YYTABLE doesn't specify something else to do.  Zero
   means the default is an error.  */
   means the default is an error.  */
static const unsigned char yydefact[] =
static const yytype_uint8 yydefact[] =
{
{
       0,    59,    97,     0,     0,    96,    99,   100,    95,    92,
       0,    59,    97,     0,     0,    96,    99,   100,    95,    92,
      91,   105,   107,    90,   109,   104,    98,   108,     0,     0,
      91,   105,   107,    90,   109,   104,    98,   108,     0,     0,
       0,     0,     2,     5,     4,    53,    50,     6,    67,   121,
       0,     0,     2,     5,     4,    53,    50,     6,    67,   121,
       0,    64,     0,    61,    93,     0,   101,   103,   117,   140,
       0,    64,     0,    61,    93,     0,   101,   103,   117,   140,
Line 831... Line 975...
       0,    83,   144,     0,     0,     0,   162,   189,     0,     0,
       0,    83,   144,     0,     0,     0,   162,   189,     0,     0,
       0,   167,   169,   168
       0,   167,   169,   168
};
};
 
 
/* YYDEFGOTO[NTERM-NUM]. */
/* YYDEFGOTO[NTERM-NUM]. */
static const short yydefgoto[] =
static const yytype_int16 yydefgoto[] =
{
{
      -1,    21,   155,    92,    23,    24,    25,    26,    27,    28,
      -1,    21,   155,    92,    23,    24,    25,    26,    27,    28,
     118,    29,   252,    30,    31,    78,    33,   142,   143,   166,
     118,    29,   252,    30,    31,    78,    33,   142,   143,   166,
      95,   157,    34,    35,    36,    37,    38,   167,    97,    39,
      95,   157,    34,    35,    36,    37,    38,   167,    97,    39,
     169,   126,    99,    40,   254,   255,   127,   128,   209,   210
     169,   126,    99,    40,   254,   255,   127,   128,   209,   210
};
};
 
 
/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
   STATE-NUM.  */
   STATE-NUM.  */
#define YYPACT_NINF -193
#define YYPACT_NINF -193
static const short yypact[] =
static const yytype_int16 yypact[] =
{
{
     771,    28,  -193,    45,   545,  -193,   -16,  -193,  -193,  -193,
     771,    28,  -193,    45,   545,  -193,   -16,  -193,  -193,  -193,
    -193,  -193,  -193,  -193,  -193,  -193,  -193,  -193,   771,   771,
    -193,  -193,  -193,  -193,  -193,  -193,  -193,  -193,   771,   771,
      15,    58,  -193,  -193,  -193,    -4,  -193,     5,  -193,   116,
      15,    58,  -193,  -193,  -193,    -4,  -193,     5,  -193,   116,
     -22,  -193,    48,    55,   116,   887,  -193,   244,   116,   295,
     -22,  -193,    48,    55,   116,   887,  -193,   244,   116,   295,
Line 880... Line 1024...
     266,  -193,  -193,   492,   492,   492,  -193,   904,   193,   199,
     266,  -193,  -193,   492,   492,   492,  -193,   904,   193,   199,
     200,  -193,  -193,  -193
     200,  -193,  -193,  -193
};
};
 
 
/* YYPGOTO[NTERM-NUM].  */
/* YYPGOTO[NTERM-NUM].  */
static const short yypgoto[] =
static const yytype_int16 yypgoto[] =
{
{
    -193,  -193,    25,    57,  -193,  -193,  -193,     1,  -193,     9,
    -193,  -193,    25,    57,  -193,  -193,  -193,     1,  -193,     9,
    -193,    -1,   -34,   -24,     3,     0,   150,   157,    47,  -193,
    -193,    -1,   -34,   -24,     3,     0,   150,   157,    47,  -193,
     -23,  -149,  -193,   210,   208,  -193,   212,   -15,   -97,   188,
     -23,  -149,  -193,   210,   208,  -193,   212,   -15,   -97,   188,
     -18,   -19,   165,   151,  -192,  -193,   138,  -193,    -6,  -159
     -18,   -19,   165,   151,  -192,  -193,   138,  -193,    -6,  -159
Line 893... Line 1037...
/* YYTABLE[YYPACT[STATE-NUM]].  What to do in state STATE-NUM.  If
/* YYTABLE[YYPACT[STATE-NUM]].  What to do in state STATE-NUM.  If
   positive, shift that token.  If negative, reduce the rule which
   positive, shift that token.  If negative, reduce the rule which
   number is the opposite.  If zero, do what YYDEFACT says.
   number is the opposite.  If zero, do what YYDEFACT says.
   If YYTABLE_NINF, syntax error.  */
   If YYTABLE_NINF, syntax error.  */
#define YYTABLE_NINF -1
#define YYTABLE_NINF -1
static const unsigned short yytable[] =
static const yytype_uint16 yytable[] =
{
{
      32,   178,    44,    46,    43,   120,    45,   102,    98,   159,
      32,   178,    44,    46,    43,   120,    45,   102,    98,   159,
      86,    80,    96,   170,   242,   121,   123,    87,    32,    32,
      86,    80,    96,   170,   242,   121,   123,    87,    32,    32,
      83,   125,   247,   189,   124,    22,   232,    93,   233,   178,
      83,   125,   247,   189,   124,    22,   232,    93,   233,   178,
      90,   196,   103,   104,   110,   101,   145,   103,   119,   122,
      90,   196,   103,   104,   110,   101,   145,   103,   119,   122,
Line 1007... Line 1151...
     225,   226,     0,   227,   228,   229,   230,   231,     0,     0,
     225,   226,     0,   227,   228,   229,   230,   231,     0,     0,
       0,   232,     0,   233,   225,   226,     0,   227,   228,   229,
       0,   232,     0,   233,   225,   226,     0,   227,   228,   229,
     230,   231,     0,     0,     0,   232,     0,   233
     230,   231,     0,     0,     0,   232,     0,   233
};
};
 
 
static const short yycheck[] =
static const yytype_int16 yycheck[] =
{
{
       0,    98,     3,     3,     3,    39,     3,    30,    27,     3,
       0,    98,     3,     3,     3,    39,     3,    30,    27,     3,
       5,    27,    27,     5,   163,    39,    39,    12,    18,    19,
       5,    27,    27,     5,   163,    39,    39,    12,    18,    19,
       5,    39,   171,   120,    39,     0,    67,    27,    69,   126,
       5,    39,   171,   120,    39,     0,    67,    27,    69,   126,
      68,   128,     5,    32,    35,    73,    42,     5,    39,    39,
      68,   128,     5,    32,    35,    73,    42,     5,    39,    39,
Line 1123... Line 1267...
      62,    63,    -1,    -1,    -1,    67,    -1,    69
      62,    63,    -1,    -1,    -1,    67,    -1,    69
};
};
 
 
/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
   symbol of state STATE-NUM.  */
   symbol of state STATE-NUM.  */
static const unsigned char yystos[] =
static const yytype_uint8 yystos[] =
{
{
       0,     5,    11,    12,    17,    21,    22,    23,    24,    25,
       0,     5,    11,    12,    17,    21,    22,    23,    24,    25,
      26,    27,    28,    30,    31,    32,    33,    34,    38,    39,
      26,    27,    28,    30,    31,    32,    33,    34,    38,    39,
      71,    76,    77,    79,    80,    81,    82,    83,    84,    86,
      71,    76,    77,    79,    80,    81,    82,    83,    84,    86,
      88,    89,    90,    91,    97,    98,    99,   100,   101,   104,
      88,    89,    90,    91,    97,    98,    99,   100,   101,   104,
Line 1160... Line 1304...
      77,    77,    41,    53,    53,    53,    41,    77,   113,   113,
      77,    77,    41,    53,    53,    53,    41,    77,   113,   113,
      74,   105,    41,    73,    73,    73,    41,   113,   114,   114,
      74,   105,    41,    73,    73,    73,    41,   113,   114,   114,
     114,    41,    41,    41
     114,    41,    41,    41
};
};
 
 
#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__)
 
# define YYSIZE_T __SIZE_TYPE__
 
#endif
 
#if ! defined (YYSIZE_T) && defined (size_t)
 
# define YYSIZE_T size_t
 
#endif
 
#if ! defined (YYSIZE_T)
 
# if defined (__STDC__) || defined (__cplusplus)
 
#  include <stddef.h> /* INFRINGES ON USER NAME SPACE */
 
#  define YYSIZE_T size_t
 
# endif
 
#endif
 
#if ! defined (YYSIZE_T)
 
# define YYSIZE_T unsigned int
 
#endif
 
 
 
#define yyerrok         (yyerrstatus = 0)
#define yyerrok         (yyerrstatus = 0)
#define yyclearin       (yychar = YYEMPTY)
#define yyclearin       (yychar = YYEMPTY)
#define YYEMPTY         (-2)
#define YYEMPTY         (-2)
#define YYEOF           0
#define YYEOF           0
 
 
Line 1201... Line 1329...
  if (yychar == YYEMPTY && yylen == 1)                          \
  if (yychar == YYEMPTY && yylen == 1)                          \
    {                                                           \
    {                                                           \
      yychar = (Token);                                         \
      yychar = (Token);                                         \
      yylval = (Value);                                         \
      yylval = (Value);                                         \
      yytoken = YYTRANSLATE (yychar);                           \
      yytoken = YYTRANSLATE (yychar);                           \
      YYPOPSTACK;                                               \
      YYPOPSTACK (1);                                           \
      goto yybackup;                                            \
      goto yybackup;                                            \
    }                                                           \
    }                                                           \
  else                                                          \
  else                                                          \
    {                                                           \
    {                                                           \
      yyerror ("syntax error: cannot back up");\
      yyerror (YY_("syntax error: cannot back up")); \
      YYERROR;                                                  \
      YYERROR;                                                  \
    }                                                           \
    }                                                           \
while (0)
while (YYID (0))
 
 
 
 
#define YYTERROR        1
#define YYTERROR        1
#define YYERRCODE       256
#define YYERRCODE       256
 
 
/* YYLLOC_DEFAULT -- Compute the default location (before the actions
 
   are run).  */
 
 
 
 
/* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N].
 
   If N is 0, then set CURRENT to the empty location which ends
 
   the previous symbol: RHS[0] (always defined).  */
 
 
 
#define YYRHSLOC(Rhs, K) ((Rhs)[K])
#ifndef YYLLOC_DEFAULT
#ifndef YYLLOC_DEFAULT
# define YYLLOC_DEFAULT(Current, Rhs, N)                \
# define YYLLOC_DEFAULT(Current, Rhs, N)                \
   ((Current).first_line   = (Rhs)[1].first_line,       \
    do                                                                  \
    (Current).first_column = (Rhs)[1].first_column,     \
      if (YYID (N))                                                    \
    (Current).last_line    = (Rhs)[N].last_line,        \
        {                                                               \
    (Current).last_column  = (Rhs)[N].last_column)
          (Current).first_line   = YYRHSLOC (Rhs, 1).first_line;        \
 
          (Current).first_column = YYRHSLOC (Rhs, 1).first_column;      \
 
          (Current).last_line    = YYRHSLOC (Rhs, N).last_line;         \
 
          (Current).last_column  = YYRHSLOC (Rhs, N).last_column;       \
 
        }                                                               \
 
      else                                                              \
 
        {                                                               \
 
          (Current).first_line   = (Current).last_line   =              \
 
            YYRHSLOC (Rhs, 0).last_line;                         \
 
          (Current).first_column = (Current).last_column =              \
 
            YYRHSLOC (Rhs, 0).last_column;                               \
 
        }                                                               \
 
    while (YYID (0))
#endif
#endif
 
 
 
 
 
/* YY_LOCATION_PRINT -- Print the location on the stream.
 
   This macro was not mandated originally: define only if we know
 
   we won't break user code: when these are the locations we know.  */
 
 
 
#ifndef YY_LOCATION_PRINT
 
# if YYLTYPE_IS_TRIVIAL
 
#  define YY_LOCATION_PRINT(File, Loc)                  \
 
     fprintf (File, "%d.%d-%d.%d",                      \
 
              (Loc).first_line, (Loc).first_column,     \
 
              (Loc).last_line,  (Loc).last_column)
 
# else
 
#  define YY_LOCATION_PRINT(File, Loc) ((void) 0)
 
# endif
 
#endif
 
 
 
 
/* YYLEX -- calling `yylex' with the right arguments.  */
/* YYLEX -- calling `yylex' with the right arguments.  */
 
 
#ifdef YYLEX_PARAM
#ifdef YYLEX_PARAM
# define YYLEX yylex (YYLEX_PARAM)
# define YYLEX yylex (YYLEX_PARAM)
#else
#else
Line 1245... Line 1406...
 
 
# define YYDPRINTF(Args)                        \
# define YYDPRINTF(Args)                        \
do {                                            \
do {                                            \
  if (yydebug)                                  \
  if (yydebug)                                  \
    YYFPRINTF Args;                             \
    YYFPRINTF Args;                             \
} while (0)
} while (YYID (0))
 
 
# define YYDSYMPRINT(Args)                      \
# define YY_SYMBOL_PRINT(Title, Type, Value, Location)                    \
do {                                            \
 
  if (yydebug)                                  \
 
    yysymprint Args;                            \
 
} while (0)
 
 
 
# define YYDSYMPRINTF(Title, Token, Value, Location)            \
 
do {                                                            \
do {                                                            \
  if (yydebug)                                                  \
  if (yydebug)                                                  \
    {                                                           \
    {                                                           \
      YYFPRINTF (stderr, "%s ", Title);                         \
      YYFPRINTF (stderr, "%s ", Title);                         \
      yysymprint (stderr,                                       \
      yy_symbol_print (stderr,                                            \
                  Token, Value);        \
                  Type, Value); \
      YYFPRINTF (stderr, "\n");                                 \
      YYFPRINTF (stderr, "\n");                                 \
    }                                                           \
    }                                                           \
} while (0)
} while (YYID (0))
 
 
 
 
 
/*--------------------------------.
 
| Print this symbol on YYOUTPUT.  |
 
`--------------------------------*/
 
 
 
/*ARGSUSED*/
 
#if (defined __STDC__ || defined __C99__FUNC__ \
 
     || defined __cplusplus || defined _MSC_VER)
 
static void
 
yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep)
 
#else
 
static void
 
yy_symbol_value_print (yyoutput, yytype, yyvaluep)
 
    FILE *yyoutput;
 
    int yytype;
 
    YYSTYPE const * const yyvaluep;
 
#endif
 
{
 
  if (!yyvaluep)
 
    return;
 
# ifdef YYPRINT
 
  if (yytype < YYNTOKENS)
 
    YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
 
# else
 
  YYUSE (yyoutput);
 
# endif
 
  switch (yytype)
 
    {
 
      default:
 
        break;
 
    }
 
}
 
 
 
 
 
/*--------------------------------.
 
| Print this symbol on YYOUTPUT.  |
 
`--------------------------------*/
 
 
 
#if (defined __STDC__ || defined __C99__FUNC__ \
 
     || defined __cplusplus || defined _MSC_VER)
 
static void
 
yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep)
 
#else
 
static void
 
yy_symbol_print (yyoutput, yytype, yyvaluep)
 
    FILE *yyoutput;
 
    int yytype;
 
    YYSTYPE const * const yyvaluep;
 
#endif
 
{
 
  if (yytype < YYNTOKENS)
 
    YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
 
  else
 
    YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
 
 
 
  yy_symbol_value_print (yyoutput, yytype, yyvaluep);
 
  YYFPRINTF (yyoutput, ")");
 
}
 
 
/*------------------------------------------------------------------.
/*------------------------------------------------------------------.
| yy_stack_print -- Print the state stack from its BOTTOM up to its |
| yy_stack_print -- Print the state stack from its BOTTOM up to its |
| TOP (included).                                                   |
| TOP (included).                                                   |
`------------------------------------------------------------------*/
`------------------------------------------------------------------*/
 
 
#if defined (__STDC__) || defined (__cplusplus)
#if (defined __STDC__ || defined __C99__FUNC__ \
 
     || defined __cplusplus || defined _MSC_VER)
static void
static void
yy_stack_print (short *bottom, short *top)
yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop)
#else
#else
static void
static void
yy_stack_print (bottom, top)
yy_stack_print (yybottom, yytop)
    short *bottom;
    yytype_int16 *yybottom;
    short *top;
    yytype_int16 *yytop;
#endif
#endif
{
{
  YYFPRINTF (stderr, "Stack now");
  YYFPRINTF (stderr, "Stack now");
  for (/* Nothing. */; bottom <= top; ++bottom)
  for (; yybottom <= yytop; yybottom++)
    YYFPRINTF (stderr, " %d", *bottom);
    {
 
      int yybot = *yybottom;
 
      YYFPRINTF (stderr, " %d", yybot);
 
    }
  YYFPRINTF (stderr, "\n");
  YYFPRINTF (stderr, "\n");
}
}
 
 
# define YY_STACK_PRINT(Bottom, Top)                            \
# define YY_STACK_PRINT(Bottom, Top)                            \
do {                                                            \
do {                                                            \
  if (yydebug)                                                  \
  if (yydebug)                                                  \
    yy_stack_print ((Bottom), (Top));                           \
    yy_stack_print ((Bottom), (Top));                           \
} while (0)
} while (YYID (0))
 
 
 
 
/*------------------------------------------------.
/*------------------------------------------------.
| Report that the YYRULE is going to be reduced.  |
| Report that the YYRULE is going to be reduced.  |
`------------------------------------------------*/
`------------------------------------------------*/
 
 
#if defined (__STDC__) || defined (__cplusplus)
#if (defined __STDC__ || defined __C99__FUNC__ \
 
     || defined __cplusplus || defined _MSC_VER)
static void
static void
yy_reduce_print (int yyrule)
yy_reduce_print (YYSTYPE *yyvsp, int yyrule)
#else
#else
static void
static void
yy_reduce_print (yyrule)
yy_reduce_print (yyvsp, yyrule)
 
    YYSTYPE *yyvsp;
    int yyrule;
    int yyrule;
#endif
#endif
{
{
 
  int yynrhs = yyr2[yyrule];
  int yyi;
  int yyi;
  unsigned int yylno = yyrline[yyrule];
  unsigned long int yylno = yyrline[yyrule];
  YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ",
  YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
             yyrule - 1, yylno);
             yyrule - 1, yylno);
  /* Print the symbols being reduced, and their result.  */
  /* The symbols being reduced.  */
  for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++)
  for (yyi = 0; yyi < yynrhs; yyi++)
    YYFPRINTF (stderr, "%s ", yytname [yyrhs[yyi]]);
    {
  YYFPRINTF (stderr, "-> %s\n", yytname [yyr1[yyrule]]);
      YYFPRINTF (stderr, "   $%d = ", yyi + 1);
 
      yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi],
 
                       &(yyvsp[(yyi + 1) - (yynrhs)])
 
                                       );
 
      YYFPRINTF (stderr, "\n");
 
    }
}
}
 
 
# define YY_REDUCE_PRINT(Rule)          \
# define YY_REDUCE_PRINT(Rule)          \
do {                                    \
do {                                    \
  if (yydebug)                          \
  if (yydebug)                          \
    yy_reduce_print (Rule);             \
    yy_reduce_print (yyvsp, Rule); \
} while (0)
} while (YYID (0))
 
 
/* Nonzero means print parse trace.  It is left uninitialized so that
/* Nonzero means print parse trace.  It is left uninitialized so that
   multiple parsers can coexist.  */
   multiple parsers can coexist.  */
int yydebug;
int yydebug;
#else /* !YYDEBUG */
#else /* !YYDEBUG */
# define YYDPRINTF(Args)
# define YYDPRINTF(Args)
# define YYDSYMPRINT(Args)
# define YY_SYMBOL_PRINT(Title, Type, Value, Location)
# define YYDSYMPRINTF(Title, Token, Value, Location)
 
# define YY_STACK_PRINT(Bottom, Top)
# define YY_STACK_PRINT(Bottom, Top)
# define YY_REDUCE_PRINT(Rule)
# define YY_REDUCE_PRINT(Rule)
#endif /* !YYDEBUG */
#endif /* !YYDEBUG */
 
 
 
 
Line 1342... Line 1567...
 
 
/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
   if the built-in stack extension method is used).
   if the built-in stack extension method is used).
 
 
   Do not make this value too large; the results are undefined if
   Do not make this value too large; the results are undefined if
   SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH)
   YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH)
   evaluated with infinite-precision integer arithmetic.  */
   evaluated with infinite-precision integer arithmetic.  */
 
 
#if defined (YYMAXDEPTH) && YYMAXDEPTH == 0
 
# undef YYMAXDEPTH
 
#endif
 
 
 
#ifndef YYMAXDEPTH
#ifndef YYMAXDEPTH
# define YYMAXDEPTH 10000
# define YYMAXDEPTH 10000
#endif
#endif
 
 


 
 
#if YYERROR_VERBOSE
#if YYERROR_VERBOSE
 
 
# ifndef yystrlen
# ifndef yystrlen
#  if defined (__GLIBC__) && defined (_STRING_H)
#  if defined __GLIBC__ && defined _STRING_H
#   define yystrlen strlen
#   define yystrlen strlen
#  else
#  else
/* Return the length of YYSTR.  */
/* Return the length of YYSTR.  */
 
#if (defined __STDC__ || defined __C99__FUNC__ \
 
     || defined __cplusplus || defined _MSC_VER)
static YYSIZE_T
static YYSIZE_T
#   if defined (__STDC__) || defined (__cplusplus)
 
yystrlen (const char *yystr)
yystrlen (const char *yystr)
#   else
#   else
 
static YYSIZE_T
yystrlen (yystr)
yystrlen (yystr)
     const char *yystr;
     const char *yystr;
#   endif
#   endif
{
{
  register const char *yys = yystr;
  YYSIZE_T yylen;
 
  for (yylen = 0; yystr[yylen]; yylen++)
  while (*yys++ != '\0')
 
    continue;
    continue;
 
  return yylen;
  return yys - yystr - 1;
 
}
}
#  endif
#  endif
# endif
# endif
 
 
# ifndef yystpcpy
# ifndef yystpcpy
#  if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE)
#  if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE
#   define yystpcpy stpcpy
#   define yystpcpy stpcpy
#  else
#  else
/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
   YYDEST.  */
   YYDEST.  */
 
#if (defined __STDC__ || defined __C99__FUNC__ \
 
     || defined __cplusplus || defined _MSC_VER)
static char *
static char *
#   if defined (__STDC__) || defined (__cplusplus)
 
yystpcpy (char *yydest, const char *yysrc)
yystpcpy (char *yydest, const char *yysrc)
#   else
#   else
 
static char *
yystpcpy (yydest, yysrc)
yystpcpy (yydest, yysrc)
     char *yydest;
     char *yydest;
     const char *yysrc;
     const char *yysrc;
#   endif
#   endif
{
{
  register char *yyd = yydest;
  char *yyd = yydest;
  register const char *yys = yysrc;
  const char *yys = yysrc;
 
 
  while ((*yyd++ = *yys++) != '\0')
  while ((*yyd++ = *yys++) != '\0')
    continue;
    continue;
 
 
  return yyd - 1;
  return yyd - 1;
}
}
#  endif
#  endif
# endif
# endif
 
 
#endif /* !YYERROR_VERBOSE */
# ifndef yytnamerr
 
/* Copy to YYRES the contents of YYSTR after stripping away unnecessary
 
   quotes and backslashes, so that it's suitable for yyerror.  The
 
   heuristic is that double-quoting is unnecessary unless the string
 
   contains an apostrophe, a comma, or backslash (other than
 
   backslash-backslash).  YYSTR is taken from yytname.  If YYRES is
 
   null, do not copy; instead, return the length of what the result
 
   would have been.  */
 
static YYSIZE_T
 
yytnamerr (char *yyres, const char *yystr)
 
{
 
  if (*yystr == '"')
 
    {
 
      YYSIZE_T yyn = 0;
 
      char const *yyp = yystr;
 
 

      for (;;)
 
        switch (*++yyp)
 
          {
 
          case '\'':
 
          case ',':
 
            goto do_not_strip_quotes;
 
 
#if YYDEBUG
          case '\\':
/*--------------------------------.
            if (*++yyp != '\\')
| Print this symbol on YYOUTPUT.  |
              goto do_not_strip_quotes;
`--------------------------------*/
            /* Fall through.  */
 
          default:
 
            if (yyres)
 
              yyres[yyn] = *yyp;
 
            yyn++;
 
            break;
 
 
#if defined (__STDC__) || defined (__cplusplus)
          case '"':
static void
            if (yyres)
yysymprint (FILE *yyoutput, int yytype, YYSTYPE *yyvaluep)
              yyres[yyn] = '\0';
#else
            return yyn;
static void
          }
yysymprint (yyoutput, yytype, yyvaluep)
    do_not_strip_quotes: ;
    FILE *yyoutput;
    }
    int yytype;
 
    YYSTYPE *yyvaluep;
  if (! yyres)
 
    return yystrlen (yystr);
 
 
 
  return yystpcpy (yyres, yystr) - yyres;
 
}
#endif
#endif
{
 
  /* Pacify ``unused variable'' warnings.  */
 
  (void) yyvaluep;
 
 
 
  if (yytype < YYNTOKENS)
/* Copy into YYRESULT an error message about the unexpected token
 
   YYCHAR while in state YYSTATE.  Return the number of bytes copied,
 
   including the terminating null byte.  If YYRESULT is null, do not
 
   copy anything; just return the number of bytes that would be
 
   copied.  As a special case, return 0 if an ordinary "syntax error"
 
   message will do.  Return YYSIZE_MAXIMUM if overflow occurs during
 
   size calculation.  */
 
static YYSIZE_T
 
yysyntax_error (char *yyresult, int yystate, int yychar)
    {
    {
      YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
  int yyn = yypact[yystate];
# ifdef YYPRINT
 
      YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
  if (! (YYPACT_NINF < yyn && yyn <= YYLAST))
# endif
    return 0;
    }
 
  else
  else
    YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
    {
 
      int yytype = YYTRANSLATE (yychar);
 
      YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]);
 
      YYSIZE_T yysize = yysize0;
 
      YYSIZE_T yysize1;
 
      int yysize_overflow = 0;
 
      enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
 
      char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
 
      int yyx;
 
 
  switch (yytype)
# if 0
 
      /* This is so xgettext sees the translatable formats that are
 
         constructed on the fly.  */
 
      YY_("syntax error, unexpected %s");
 
      YY_("syntax error, unexpected %s, expecting %s");
 
      YY_("syntax error, unexpected %s, expecting %s or %s");
 
      YY_("syntax error, unexpected %s, expecting %s or %s or %s");
 
      YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s");
 
# endif
 
      char *yyfmt;
 
      char const *yyf;
 
      static char const yyunexpected[] = "syntax error, unexpected %s";
 
      static char const yyexpecting[] = ", expecting %s";
 
      static char const yyor[] = " or %s";
 
      char yyformat[sizeof yyunexpected
 
                    + sizeof yyexpecting - 1
 
                    + ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2)
 
                       * (sizeof yyor - 1))];
 
      char const *yyprefix = yyexpecting;
 
 
 
      /* Start YYX at -YYN if negative to avoid negative indexes in
 
         YYCHECK.  */
 
      int yyxbegin = yyn < 0 ? -yyn : 0;
 
 
 
      /* Stay within bounds of both yycheck and yytname.  */
 
      int yychecklim = YYLAST - yyn + 1;
 
      int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
 
      int yycount = 1;
 
 
 
      yyarg[0] = yytname[yytype];
 
      yyfmt = yystpcpy (yyformat, yyunexpected);
 
 
 
      for (yyx = yyxbegin; yyx < yyxend; ++yyx)
 
        if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
    {
    {
      default:
            if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
 
              {
 
                yycount = 1;
 
                yysize = yysize0;
 
                yyformat[sizeof yyunexpected - 1] = '\0';
        break;
        break;
    }
    }
  YYFPRINTF (yyoutput, ")");
            yyarg[yycount++] = yytname[yyx];
 
            yysize1 = yysize + yytnamerr (0, yytname[yyx]);
 
            yysize_overflow |= (yysize1 < yysize);
 
            yysize = yysize1;
 
            yyfmt = yystpcpy (yyfmt, yyprefix);
 
            yyprefix = yyor;
}
}
 
 
#endif /* ! YYDEBUG */
      yyf = YY_(yyformat);
 
      yysize1 = yysize + yystrlen (yyf);
 
      yysize_overflow |= (yysize1 < yysize);
 
      yysize = yysize1;
 
 
 
      if (yysize_overflow)
 
        return YYSIZE_MAXIMUM;
 
 
 
      if (yyresult)
 
        {
 
          /* Avoid sprintf, as that infringes on the user's name space.
 
             Don't have undefined behavior even if the translation
 
             produced a string with the wrong number of "%s"s.  */
 
          char *yyp = yyresult;
 
          int yyi = 0;
 
          while ((*yyp = *yyf) != '\0')
 
            {
 
              if (*yyp == '%' && yyf[1] == 's' && yyi < yycount)
 
                {
 
                  yyp += yytnamerr (yyp, yyarg[yyi++]);
 
                  yyf += 2;
 
                }
 
              else
 
                {
 
                  yyp++;
 
                  yyf++;
 
                }
 
            }
 
        }
 
      return yysize;
 
    }
 
}
 
#endif /* YYERROR_VERBOSE */
 

 
 
/*-----------------------------------------------.
/*-----------------------------------------------.
| Release the memory associated to this symbol.  |
| Release the memory associated to this symbol.  |
`-----------------------------------------------*/
`-----------------------------------------------*/
 
 
#if defined (__STDC__) || defined (__cplusplus)
/*ARGSUSED*/
 
#if (defined __STDC__ || defined __C99__FUNC__ \
 
     || defined __cplusplus || defined _MSC_VER)
static void
static void
yydestruct (int yytype, YYSTYPE *yyvaluep)
yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep)
#else
#else
static void
static void
yydestruct (yytype, yyvaluep)
yydestruct (yymsg, yytype, yyvaluep)
 
    const char *yymsg;
    int yytype;
    int yytype;
    YYSTYPE *yyvaluep;
    YYSTYPE *yyvaluep;
#endif
#endif
{
{
  /* Pacify ``unused variable'' warnings.  */
  YYUSE (yyvaluep);
  (void) yyvaluep;
 
 
  if (!yymsg)
 
    yymsg = "Deleting";
 
  YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp);
 
 
  switch (yytype)
  switch (yytype)
    {
    {
 
 
      default:
      default:
        break;
        break;
    }
    }
}
}

 
 
 
/* Prevent warnings from -Wmissing-prototypes.  */
/* Prevent warnings from -Wmissing-prototypes.  */
 
 
#ifdef YYPARSE_PARAM
#ifdef YYPARSE_PARAM
# if defined (__STDC__) || defined (__cplusplus)
#if defined __STDC__ || defined __cplusplus
int yyparse (void *YYPARSE_PARAM);
int yyparse (void *YYPARSE_PARAM);
# else
# else
int yyparse ();
int yyparse ();
# endif
# endif
#else /* ! YYPARSE_PARAM */
#else /* ! YYPARSE_PARAM */
#if defined (__STDC__) || defined (__cplusplus)
#if defined __STDC__ || defined __cplusplus
int yyparse (void);
int yyparse (void);
#else
#else
int yyparse ();
int yyparse ();
#endif
#endif
#endif /* ! YYPARSE_PARAM */
#endif /* ! YYPARSE_PARAM */
 
 
 
 
 
 
/* The lookahead symbol.  */
/* The lookahead symbol.  */
int yychar;
int yychar;
 
 
/* The semantic value of the lookahead symbol.  */
/* The semantic value of the lookahead symbol.  */
YYSTYPE yylval;
YYSTYPE yylval;
Line 1503... Line 1845...
/* Number of syntax errors so far.  */
/* Number of syntax errors so far.  */
int yynerrs;
int yynerrs;
 
 
 
 
 
 
/*----------.
/*-------------------------.
| yyparse.  |
| yyparse or yypush_parse.  |
`----------*/
`-------------------------*/
 
 
#ifdef YYPARSE_PARAM
#ifdef YYPARSE_PARAM
# if defined (__STDC__) || defined (__cplusplus)
#if (defined __STDC__ || defined __C99__FUNC__ \
int yyparse (void *YYPARSE_PARAM)
     || defined __cplusplus || defined _MSC_VER)
 
int
 
yyparse (void *YYPARSE_PARAM)
# else
# else
int yyparse (YYPARSE_PARAM)
int
 
yyparse (YYPARSE_PARAM)
  void *YYPARSE_PARAM;
  void *YYPARSE_PARAM;
# endif
# endif
#else /* ! YYPARSE_PARAM */
#else /* ! YYPARSE_PARAM */
#if defined (__STDC__) || defined (__cplusplus)
#if (defined __STDC__ || defined __C99__FUNC__ \
 
     || defined __cplusplus || defined _MSC_VER)
int
int
yyparse (void)
yyparse (void)
#else
#else
int
int
yyparse ()
yyparse ()
 
 
#endif
#endif
#endif
#endif
{
{
 
 
  register int yystate;
 
  register int yyn;
    int yystate;
  int yyresult;
 
  /* Number of tokens to shift before error messages enabled.  */
  /* Number of tokens to shift before error messages enabled.  */
  int yyerrstatus;
  int yyerrstatus;
  /* Lookahead token as an internal (translated) token number.  */
 
  int yytoken = 0;
 
 
 
  /* Three stacks and their tools:
    /* The stacks and their tools:
     `yyss': related to states,
       `yyss': related to states.
     `yyvs': related to semantic values,
       `yyvs': related to semantic values.
     `yyls': related to locations.
 
 
 
     Refer to the stacks thru separate pointers, to allow yyoverflow
     Refer to the stacks thru separate pointers, to allow yyoverflow
     to xreallocate them elsewhere.  */
     to xreallocate them elsewhere.  */
 
 
  /* The state stack.  */
  /* The state stack.  */
  short yyssa[YYINITDEPTH];
    yytype_int16 yyssa[YYINITDEPTH];
  short *yyss = yyssa;
    yytype_int16 *yyss;
  register short *yyssp;
    yytype_int16 *yyssp;
 
 
  /* The semantic value stack.  */
  /* The semantic value stack.  */
  YYSTYPE yyvsa[YYINITDEPTH];
  YYSTYPE yyvsa[YYINITDEPTH];
  YYSTYPE *yyvs = yyvsa;
    YYSTYPE *yyvs;
  register YYSTYPE *yyvsp;
    YYSTYPE *yyvsp;
 
 
 
    YYSIZE_T yystacksize;
 
 
 
  int yyn;
#define YYPOPSTACK   (yyvsp--, yyssp--)
  int yyresult;
 
  /* Lookahead token as an internal (translated) token number.  */
  YYSIZE_T yystacksize = YYINITDEPTH;
  int yytoken;
 
 
  /* The variables used to return semantic value and location from the
  /* The variables used to return semantic value and location from the
     action routines.  */
     action routines.  */
  YYSTYPE yyval;
  YYSTYPE yyval;
 
 
 
#if YYERROR_VERBOSE
  /* When reducing, the number of symbols on the RHS of the reduced
  /* Buffer for error messages, and its allocated size.  */
     rule.  */
  char yymsgbuf[128];
  int yylen;
  char *yymsg = yymsgbuf;
 
  YYSIZE_T yymsg_alloc = sizeof yymsgbuf;
 
#endif
 
 
 
#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
 
 
 
  /* The number of symbols on the RHS of the reduced rule.
 
     Keep to zero when no symbol should be popped.  */
 
  int yylen = 0;
 
 
 
  yytoken = 0;
 
  yyss = yyssa;
 
  yyvs = yyvsa;
 
  yystacksize = YYINITDEPTH;
 
 
  YYDPRINTF ((stderr, "Starting parse\n"));
  YYDPRINTF ((stderr, "Starting parse\n"));
 
 
  yystate = 0;
  yystate = 0;
  yyerrstatus = 0;
  yyerrstatus = 0;
Line 1578... Line 1933...
 
 
  /* Initialize stack pointers.
  /* Initialize stack pointers.
     Waste one element of value and location stack
     Waste one element of value and location stack
     so that they stay on the same level as the state stack.
     so that they stay on the same level as the state stack.
     The wasted elements are never initialized.  */
     The wasted elements are never initialized.  */
 
 
  yyssp = yyss;
  yyssp = yyss;
  yyvsp = yyvs;
  yyvsp = yyvs;
 
 
  goto yysetstate;
  goto yysetstate;
 
 
/*------------------------------------------------------------.
/*------------------------------------------------------------.
| yynewstate -- Push a new state, which is found in yystate.  |
| yynewstate -- Push a new state, which is found in yystate.  |
`------------------------------------------------------------*/
`------------------------------------------------------------*/
 yynewstate:
 yynewstate:
  /* In all cases, when you get here, the value and location stacks
  /* In all cases, when you get here, the value and location stacks
     have just been pushed. so pushing a state here evens the stacks.
     have just been pushed.  So pushing a state here evens the stacks.  */
     */
 
  yyssp++;
  yyssp++;
 
 
 yysetstate:
 yysetstate:
  *yyssp = yystate;
  *yyssp = yystate;
 
 
Line 1607... Line 1960...
      {
      {
        /* Give user a chance to xreallocate the stack. Use copies of
        /* Give user a chance to xreallocate the stack. Use copies of
           these so that the &'s don't force the real ones into
           these so that the &'s don't force the real ones into
           memory.  */
           memory.  */
        YYSTYPE *yyvs1 = yyvs;
        YYSTYPE *yyvs1 = yyvs;
        short *yyss1 = yyss;
        yytype_int16 *yyss1 = yyss;
 
 
 
 
        /* Each stack pointer address is followed by the size of the
        /* Each stack pointer address is followed by the size of the
           data in use in that stack, in bytes.  This used to be a
           data in use in that stack, in bytes.  This used to be a
           conditional around just the two extra args, but that might
           conditional around just the two extra args, but that might
           be undefined if yyoverflow is a macro.  */
           be undefined if yyoverflow is a macro.  */
        yyoverflow ("parser stack overflow",
        yyoverflow (YY_("memory exhausted"),
                    &yyss1, yysize * sizeof (*yyssp),
                    &yyss1, yysize * sizeof (*yyssp),
                    &yyvs1, yysize * sizeof (*yyvsp),
                    &yyvs1, yysize * sizeof (*yyvsp),
 
 
                    &yystacksize);
                    &yystacksize);
 
 
        yyss = yyss1;
        yyss = yyss1;
        yyvs = yyvs1;
        yyvs = yyvs1;
      }
      }
#else /* no yyoverflow */
#else /* no yyoverflow */
# ifndef YYSTACK_RELOCATE
# ifndef YYSTACK_RELOCATE
      goto yyoverflowlab;
      goto yyexhaustedlab;
# else
# else
      /* Extend the stack our own way.  */
      /* Extend the stack our own way.  */
      if (YYMAXDEPTH <= yystacksize)
      if (YYMAXDEPTH <= yystacksize)
        goto yyoverflowlab;
        goto yyexhaustedlab;
      yystacksize *= 2;
      yystacksize *= 2;
      if (YYMAXDEPTH < yystacksize)
      if (YYMAXDEPTH < yystacksize)
        yystacksize = YYMAXDEPTH;
        yystacksize = YYMAXDEPTH;
 
 
      {
      {
        short *yyss1 = yyss;
        yytype_int16 *yyss1 = yyss;
        union yyalloc *yyptr =
        union yyalloc *yyptr =
          (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
          (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
        if (! yyptr)
        if (! yyptr)
          goto yyoverflowlab;
          goto yyexhaustedlab;
        YYSTACK_RELOCATE (yyss);
        YYSTACK_RELOCATE (yyss_alloc, yyss);
        YYSTACK_RELOCATE (yyvs);
        YYSTACK_RELOCATE (yyvs_alloc, yyvs);
 
 
#  undef YYSTACK_RELOCATE
#  undef YYSTACK_RELOCATE
        if (yyss1 != yyssa)
        if (yyss1 != yyssa)
          YYSTACK_FREE (yyss1);
          YYSTACK_FREE (yyss1);
      }
      }
# endif
# endif
#endif /* no yyoverflow */
#endif /* no yyoverflow */
 
 
      yyssp = yyss + yysize - 1;
      yyssp = yyss + yysize - 1;
      yyvsp = yyvs + yysize - 1;
      yyvsp = yyvs + yysize - 1;
 
 
 
 
      YYDPRINTF ((stderr, "Stack size increased to %lu\n",
      YYDPRINTF ((stderr, "Stack size increased to %lu\n",
                  (unsigned long int) yystacksize));
                  (unsigned long int) yystacksize));
 
 
      if (yyss + yystacksize - 1 <= yyssp)
      if (yyss + yystacksize - 1 <= yyssp)
        YYABORT;
        YYABORT;
    }
    }
 
 
  YYDPRINTF ((stderr, "Entering state %d\n", yystate));
  YYDPRINTF ((stderr, "Entering state %d\n", yystate));
 
 
 
  if (yystate == YYFINAL)
 
    YYACCEPT;
 
 
  goto yybackup;
  goto yybackup;
 
 
/*-----------.
/*-----------.
| yybackup.  |
| yybackup.  |
`-----------*/
`-----------*/
yybackup:
yybackup:
 
 
/* Do appropriate processing given the current state.  */
  /* Do appropriate processing given the current state.  Read a
/* Read a lookahead token if we need one and don't already have one.  */
     lookahead token if we need one and don't already have one.  */
/* yyresume: */
 
 
 
  /* First try to decide what to do without reference to lookahead token.  */
  /* First try to decide what to do without reference to lookahead token.  */
 
 
  yyn = yypact[yystate];
  yyn = yypact[yystate];
  if (yyn == YYPACT_NINF)
  if (yyn == YYPACT_NINF)
    goto yydefault;
    goto yydefault;
 
 
  /* Not known => get a lookahead token if don't already have one.  */
  /* Not known => get a lookahead token if don't already have one.  */
Line 1697... Line 2047...
      YYDPRINTF ((stderr, "Now at end of input.\n"));
      YYDPRINTF ((stderr, "Now at end of input.\n"));
    }
    }
  else
  else
    {
    {
      yytoken = YYTRANSLATE (yychar);
      yytoken = YYTRANSLATE (yychar);
      YYDSYMPRINTF ("Next token is", yytoken, &yylval, &yylloc);
      YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
    }
    }
 
 
  /* If the proper action on seeing token YYTOKEN is to reduce or to
  /* If the proper action on seeing token YYTOKEN is to reduce or to
     detect an error, take that action.  */
     detect an error, take that action.  */
  yyn += yytoken;
  yyn += yytoken;
Line 1714... Line 2064...
        goto yyerrlab;
        goto yyerrlab;
      yyn = -yyn;
      yyn = -yyn;
      goto yyreduce;
      goto yyreduce;
    }
    }
 
 
  if (yyn == YYFINAL)
  /* Count tokens shifted since error; after three, turn off error
    YYACCEPT;
     status.  */
 
  if (yyerrstatus)
 
    yyerrstatus--;
 
 
  /* Shift the lookahead token.  */
  /* Shift the lookahead token.  */
  YYDPRINTF ((stderr, "Shifting token %s, ", yytname[yytoken]));
  YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
 
 
  /* Discard the token being shifted unless it is eof.  */
  /* Discard the shifted token.  */
  if (yychar != YYEOF)
 
    yychar = YYEMPTY;
    yychar = YYEMPTY;
 
 
 
  yystate = yyn;
  *++yyvsp = yylval;
  *++yyvsp = yylval;
 
 
 
 
  /* Count tokens shifted since error; after three, turn off error
 
     status.  */
 
  if (yyerrstatus)
 
    yyerrstatus--;
 
 
 
  yystate = yyn;
 
  goto yynewstate;
  goto yynewstate;
 
 
 
 
/*-----------------------------------------------------------.
/*-----------------------------------------------------------.
| yydefault -- do the default action for the current state.  |
| yydefault -- do the default action for the current state.  |
Line 1768... Line 2113...
 
 
  YY_REDUCE_PRINT (yyn);
  YY_REDUCE_PRINT (yyn);
  switch (yyn)
  switch (yyn)
    {
    {
        case 2:
        case 2:
 
 
 
/* Line 1455 of yacc.c  */
#line 357 "cp-name-parser.y"
#line 357 "cp-name-parser.y"
    { global_result = yyvsp[0].comp; }
    { global_result = (yyvsp[(1) - (1)].comp); }
    break;
    break;
 
 
  case 6:
  case 6:
 
 
 
/* Line 1455 of yacc.c  */
#line 369 "cp-name-parser.y"
#line 369 "cp-name-parser.y"
    { yyval.comp = NULL; }
    { (yyval.comp) = NULL; }
    break;
    break;
 
 
  case 7:
  case 7:
 
 
 
/* Line 1455 of yacc.c  */
#line 371 "cp-name-parser.y"
#line 371 "cp-name-parser.y"
    { yyval.comp = yyvsp[0].comp; }
    { (yyval.comp) = (yyvsp[(2) - (2)].comp); }
    break;
    break;
 
 
  case 8:
  case 8:
 
 
 
/* Line 1455 of yacc.c  */
#line 378 "cp-name-parser.y"
#line 378 "cp-name-parser.y"
    { yyval.comp = yyvsp[0].nested.comp;
    { (yyval.comp) = (yyvsp[(2) - (2)].nested).comp;
                          *yyvsp[0].nested.last = yyvsp[-1].comp;
                          *(yyvsp[(2) - (2)].nested).last = (yyvsp[(1) - (2)].comp);
                        }
                        }
    break;
    break;
 
 
  case 9:
  case 9:
 
 
 
/* Line 1455 of yacc.c  */
#line 387 "cp-name-parser.y"
#line 387 "cp-name-parser.y"
    { yyval.comp = fill_comp (DEMANGLE_COMPONENT_TYPED_NAME, yyvsp[-2].comp, yyvsp[-1].nested.comp);
    { (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_TYPED_NAME, (yyvsp[(1) - (3)].comp), (yyvsp[(2) - (3)].nested).comp);
                          if (yyvsp[0].comp) yyval.comp = fill_comp (DEMANGLE_COMPONENT_LOCAL_NAME, yyval.comp, yyvsp[0].comp); }
                          if ((yyvsp[(3) - (3)].comp)) (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_LOCAL_NAME, (yyval.comp), (yyvsp[(3) - (3)].comp)); }
    break;
    break;
 
 
  case 10:
  case 10:
 
 
 
/* Line 1455 of yacc.c  */
#line 390 "cp-name-parser.y"
#line 390 "cp-name-parser.y"
    { yyval.comp = fill_comp (DEMANGLE_COMPONENT_TYPED_NAME, yyvsp[-2].comp, yyvsp[-1].nested.comp);
    { (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_TYPED_NAME, (yyvsp[(1) - (3)].comp), (yyvsp[(2) - (3)].nested).comp);
                          if (yyvsp[0].comp) yyval.comp = fill_comp (DEMANGLE_COMPONENT_LOCAL_NAME, yyval.comp, yyvsp[0].comp); }
                          if ((yyvsp[(3) - (3)].comp)) (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_LOCAL_NAME, (yyval.comp), (yyvsp[(3) - (3)].comp)); }
    break;
    break;
 
 
  case 11:
  case 11:
 
 
 
/* Line 1455 of yacc.c  */
#line 394 "cp-name-parser.y"
#line 394 "cp-name-parser.y"
    { yyval.comp = yyvsp[-1].nested.comp;
    { (yyval.comp) = (yyvsp[(1) - (2)].nested).comp;
                          if (yyvsp[0].comp) yyval.comp = fill_comp (DEMANGLE_COMPONENT_LOCAL_NAME, yyval.comp, yyvsp[0].comp); }
                          if ((yyvsp[(2) - (2)].comp)) (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_LOCAL_NAME, (yyval.comp), (yyvsp[(2) - (2)].comp)); }
    break;
    break;
 
 
  case 12:
  case 12:
 
 
 
/* Line 1455 of yacc.c  */
#line 397 "cp-name-parser.y"
#line 397 "cp-name-parser.y"
    { if (yyvsp[0].abstract.last)
    { if ((yyvsp[(2) - (2)].abstract).last)
                            {
                            {
                               /* First complete the abstract_declarator's type using
                               /* First complete the abstract_declarator's type using
                                  the typespec from the conversion_op_name.  */
                                  the typespec from the conversion_op_name.  */
                              *yyvsp[0].abstract.last = *yyvsp[-1].nested.last;
                              *(yyvsp[(2) - (2)].abstract).last = *(yyvsp[(1) - (2)].nested).last;
                              /* Then complete the conversion_op_name with the type.  */
                              /* Then complete the conversion_op_name with the type.  */
                              *yyvsp[-1].nested.last = yyvsp[0].abstract.comp;
                              *(yyvsp[(1) - (2)].nested).last = (yyvsp[(2) - (2)].abstract).comp;
                            }
                            }
                          /* If we have an arglist, build a function type.  */
                          /* If we have an arglist, build a function type.  */
                          if (yyvsp[0].abstract.fn.comp)
                          if ((yyvsp[(2) - (2)].abstract).fn.comp)
                            yyval.comp = fill_comp (DEMANGLE_COMPONENT_TYPED_NAME, yyvsp[-1].nested.comp, yyvsp[0].abstract.fn.comp);
                            (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_TYPED_NAME, (yyvsp[(1) - (2)].nested).comp, (yyvsp[(2) - (2)].abstract).fn.comp);
                          else
                          else
                            yyval.comp = yyvsp[-1].nested.comp;
                            (yyval.comp) = (yyvsp[(1) - (2)].nested).comp;
                          if (yyvsp[0].abstract.start) yyval.comp = fill_comp (DEMANGLE_COMPONENT_LOCAL_NAME, yyval.comp, yyvsp[0].abstract.start);
                          if ((yyvsp[(2) - (2)].abstract).start) (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_LOCAL_NAME, (yyval.comp), (yyvsp[(2) - (2)].abstract).start);
                        }
                        }
    break;
    break;
 
 
  case 13:
  case 13:
 
 
 
/* Line 1455 of yacc.c  */
#line 416 "cp-name-parser.y"
#line 416 "cp-name-parser.y"
    { yyval.comp = make_empty (yyvsp[-1].lval);
    { (yyval.comp) = make_empty ((yyvsp[(1) - (2)].lval));
                          d_left (yyval.comp) = yyvsp[0].comp;
                          d_left ((yyval.comp)) = (yyvsp[(2) - (2)].comp);
                          d_right (yyval.comp) = NULL; }
                          d_right ((yyval.comp)) = NULL; }
    break;
    break;
 
 
  case 14:
  case 14:
 
 
 
/* Line 1455 of yacc.c  */
#line 420 "cp-name-parser.y"
#line 420 "cp-name-parser.y"
    { yyval.comp = fill_comp (DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE, yyvsp[-2].comp, yyvsp[0].comp); }
    { (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE, (yyvsp[(2) - (4)].comp), (yyvsp[(4) - (4)].comp)); }
    break;
    break;
 
 
  case 15:
  case 15:
 
 
 
/* Line 1455 of yacc.c  */
#line 424 "cp-name-parser.y"
#line 424 "cp-name-parser.y"
    { yyval.comp = make_operator ("new", 1); }
    { (yyval.comp) = make_operator ("new", 1); }
    break;
    break;
 
 
  case 16:
  case 16:
 
 
 
/* Line 1455 of yacc.c  */
#line 426 "cp-name-parser.y"
#line 426 "cp-name-parser.y"
    { yyval.comp = make_operator ("delete", 1); }
    { (yyval.comp) = make_operator ("delete", 1); }
    break;
    break;
 
 
  case 17:
  case 17:
 
 
 
/* Line 1455 of yacc.c  */
#line 428 "cp-name-parser.y"
#line 428 "cp-name-parser.y"
    { yyval.comp = make_operator ("new[]", 1); }
    { (yyval.comp) = make_operator ("new[]", 1); }
    break;
    break;
 
 
  case 18:
  case 18:
 
 
 
/* Line 1455 of yacc.c  */
#line 430 "cp-name-parser.y"
#line 430 "cp-name-parser.y"
    { yyval.comp = make_operator ("delete[]", 1); }
    { (yyval.comp) = make_operator ("delete[]", 1); }
    break;
    break;
 
 
  case 19:
  case 19:
 
 
 
/* Line 1455 of yacc.c  */
#line 432 "cp-name-parser.y"
#line 432 "cp-name-parser.y"
    { yyval.comp = make_operator ("+", 2); }
    { (yyval.comp) = make_operator ("+", 2); }
    break;
    break;
 
 
  case 20:
  case 20:
 
 
 
/* Line 1455 of yacc.c  */
#line 434 "cp-name-parser.y"
#line 434 "cp-name-parser.y"
    { yyval.comp = make_operator ("-", 2); }
    { (yyval.comp) = make_operator ("-", 2); }
    break;
    break;
 
 
  case 21:
  case 21:
 
 
 
/* Line 1455 of yacc.c  */
#line 436 "cp-name-parser.y"
#line 436 "cp-name-parser.y"
    { yyval.comp = make_operator ("*", 2); }
    { (yyval.comp) = make_operator ("*", 2); }
    break;
    break;
 
 
  case 22:
  case 22:
 
 
 
/* Line 1455 of yacc.c  */
#line 438 "cp-name-parser.y"
#line 438 "cp-name-parser.y"
    { yyval.comp = make_operator ("/", 2); }
    { (yyval.comp) = make_operator ("/", 2); }
    break;
    break;
 
 
  case 23:
  case 23:
 
 
 
/* Line 1455 of yacc.c  */
#line 440 "cp-name-parser.y"
#line 440 "cp-name-parser.y"
    { yyval.comp = make_operator ("%", 2); }
    { (yyval.comp) = make_operator ("%", 2); }
    break;
    break;
 
 
  case 24:
  case 24:
 
 
 
/* Line 1455 of yacc.c  */
#line 442 "cp-name-parser.y"
#line 442 "cp-name-parser.y"
    { yyval.comp = make_operator ("^", 2); }
    { (yyval.comp) = make_operator ("^", 2); }
    break;
    break;
 
 
  case 25:
  case 25:
 
 
 
/* Line 1455 of yacc.c  */
#line 444 "cp-name-parser.y"
#line 444 "cp-name-parser.y"
    { yyval.comp = make_operator ("&", 2); }
    { (yyval.comp) = make_operator ("&", 2); }
    break;
    break;
 
 
  case 26:
  case 26:
 
 
 
/* Line 1455 of yacc.c  */
#line 446 "cp-name-parser.y"
#line 446 "cp-name-parser.y"
    { yyval.comp = make_operator ("|", 2); }
    { (yyval.comp) = make_operator ("|", 2); }
    break;
    break;
 
 
  case 27:
  case 27:
 
 
 
/* Line 1455 of yacc.c  */
#line 448 "cp-name-parser.y"
#line 448 "cp-name-parser.y"
    { yyval.comp = make_operator ("~", 1); }
    { (yyval.comp) = make_operator ("~", 1); }
    break;
    break;
 
 
  case 28:
  case 28:
 
 
 
/* Line 1455 of yacc.c  */
#line 450 "cp-name-parser.y"
#line 450 "cp-name-parser.y"
    { yyval.comp = make_operator ("!", 1); }
    { (yyval.comp) = make_operator ("!", 1); }
    break;
    break;
 
 
  case 29:
  case 29:
 
 
 
/* Line 1455 of yacc.c  */
#line 452 "cp-name-parser.y"
#line 452 "cp-name-parser.y"
    { yyval.comp = make_operator ("=", 2); }
    { (yyval.comp) = make_operator ("=", 2); }
    break;
    break;
 
 
  case 30:
  case 30:
 
 
 
/* Line 1455 of yacc.c  */
#line 454 "cp-name-parser.y"
#line 454 "cp-name-parser.y"
    { yyval.comp = make_operator ("<", 2); }
    { (yyval.comp) = make_operator ("<", 2); }
    break;
    break;
 
 
  case 31:
  case 31:
 
 
 
/* Line 1455 of yacc.c  */
#line 456 "cp-name-parser.y"
#line 456 "cp-name-parser.y"
    { yyval.comp = make_operator (">", 2); }
    { (yyval.comp) = make_operator (">", 2); }
    break;
    break;
 
 
  case 32:
  case 32:
 
 
 
/* Line 1455 of yacc.c  */
#line 458 "cp-name-parser.y"
#line 458 "cp-name-parser.y"
    { yyval.comp = make_operator (yyvsp[0].opname, 2); }
    { (yyval.comp) = make_operator ((yyvsp[(2) - (2)].opname), 2); }
    break;
    break;
 
 
  case 33:
  case 33:
 
 
 
/* Line 1455 of yacc.c  */
#line 460 "cp-name-parser.y"
#line 460 "cp-name-parser.y"
    { yyval.comp = make_operator ("<<", 2); }
    { (yyval.comp) = make_operator ("<<", 2); }
    break;
    break;
 
 
  case 34:
  case 34:
 
 
 
/* Line 1455 of yacc.c  */
#line 462 "cp-name-parser.y"
#line 462 "cp-name-parser.y"
    { yyval.comp = make_operator (">>", 2); }
    { (yyval.comp) = make_operator (">>", 2); }
    break;
    break;
 
 
  case 35:
  case 35:
 
 
 
/* Line 1455 of yacc.c  */
#line 464 "cp-name-parser.y"
#line 464 "cp-name-parser.y"
    { yyval.comp = make_operator ("==", 2); }
    { (yyval.comp) = make_operator ("==", 2); }
    break;
    break;
 
 
  case 36:
  case 36:
 
 
 
/* Line 1455 of yacc.c  */
#line 466 "cp-name-parser.y"
#line 466 "cp-name-parser.y"
    { yyval.comp = make_operator ("!=", 2); }
    { (yyval.comp) = make_operator ("!=", 2); }
    break;
    break;
 
 
  case 37:
  case 37:
 
 
 
/* Line 1455 of yacc.c  */
#line 468 "cp-name-parser.y"
#line 468 "cp-name-parser.y"
    { yyval.comp = make_operator ("<=", 2); }
    { (yyval.comp) = make_operator ("<=", 2); }
    break;
    break;
 
 
  case 38:
  case 38:
 
 
 
/* Line 1455 of yacc.c  */
#line 470 "cp-name-parser.y"
#line 470 "cp-name-parser.y"
    { yyval.comp = make_operator (">=", 2); }
    { (yyval.comp) = make_operator (">=", 2); }
    break;
    break;
 
 
  case 39:
  case 39:
 
 
 
/* Line 1455 of yacc.c  */
#line 472 "cp-name-parser.y"
#line 472 "cp-name-parser.y"
    { yyval.comp = make_operator ("&&", 2); }
    { (yyval.comp) = make_operator ("&&", 2); }
    break;
    break;
 
 
  case 40:
  case 40:
 
 
 
/* Line 1455 of yacc.c  */
#line 474 "cp-name-parser.y"
#line 474 "cp-name-parser.y"
    { yyval.comp = make_operator ("||", 2); }
    { (yyval.comp) = make_operator ("||", 2); }
    break;
    break;
 
 
  case 41:
  case 41:
 
 
 
/* Line 1455 of yacc.c  */
#line 476 "cp-name-parser.y"
#line 476 "cp-name-parser.y"
    { yyval.comp = make_operator ("++", 1); }
    { (yyval.comp) = make_operator ("++", 1); }
    break;
    break;
 
 
  case 42:
  case 42:
 
 
 
/* Line 1455 of yacc.c  */
#line 478 "cp-name-parser.y"
#line 478 "cp-name-parser.y"
    { yyval.comp = make_operator ("--", 1); }
    { (yyval.comp) = make_operator ("--", 1); }
    break;
    break;
 
 
  case 43:
  case 43:
 
 
 
/* Line 1455 of yacc.c  */
#line 480 "cp-name-parser.y"
#line 480 "cp-name-parser.y"
    { yyval.comp = make_operator (",", 2); }
    { (yyval.comp) = make_operator (",", 2); }
    break;
    break;
 
 
  case 44:
  case 44:
 
 
 
/* Line 1455 of yacc.c  */
#line 482 "cp-name-parser.y"
#line 482 "cp-name-parser.y"
    { yyval.comp = make_operator ("->*", 2); }
    { (yyval.comp) = make_operator ("->*", 2); }
    break;
    break;
 
 
  case 45:
  case 45:
 
 
 
/* Line 1455 of yacc.c  */
#line 484 "cp-name-parser.y"
#line 484 "cp-name-parser.y"
    { yyval.comp = make_operator ("->", 2); }
    { (yyval.comp) = make_operator ("->", 2); }
    break;
    break;
 
 
  case 46:
  case 46:
 
 
 
/* Line 1455 of yacc.c  */
#line 486 "cp-name-parser.y"
#line 486 "cp-name-parser.y"
    { yyval.comp = make_operator ("()", 2); }
    { (yyval.comp) = make_operator ("()", 2); }
    break;
    break;
 
 
  case 47:
  case 47:
 
 
 
/* Line 1455 of yacc.c  */
#line 488 "cp-name-parser.y"
#line 488 "cp-name-parser.y"
    { yyval.comp = make_operator ("[]", 2); }
    { (yyval.comp) = make_operator ("[]", 2); }
    break;
    break;
 
 
  case 48:
  case 48:
 
 
 
/* Line 1455 of yacc.c  */
#line 496 "cp-name-parser.y"
#line 496 "cp-name-parser.y"
    { yyval.comp = fill_comp (DEMANGLE_COMPONENT_CAST, yyvsp[0].comp, NULL); }
    { (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_CAST, (yyvsp[(2) - (2)].comp), NULL); }
    break;
    break;
 
 
  case 49:
  case 49:
 
 
 
/* Line 1455 of yacc.c  */
#line 501 "cp-name-parser.y"
#line 501 "cp-name-parser.y"
    { yyval.nested.comp = yyvsp[-1].nested1.comp;
    { (yyval.nested).comp = (yyvsp[(1) - (2)].nested1).comp;
                          d_right (yyvsp[-1].nested1.last) = yyvsp[0].comp;
                          d_right ((yyvsp[(1) - (2)].nested1).last) = (yyvsp[(2) - (2)].comp);
                          yyval.nested.last = &d_left (yyvsp[0].comp);
                          (yyval.nested).last = &d_left ((yyvsp[(2) - (2)].comp));
                        }
                        }
    break;
    break;
 
 
  case 50:
  case 50:
 
 
 
/* Line 1455 of yacc.c  */
#line 506 "cp-name-parser.y"
#line 506 "cp-name-parser.y"
    { yyval.nested.comp = yyvsp[0].comp;
    { (yyval.nested).comp = (yyvsp[(1) - (1)].comp);
                          yyval.nested.last = &d_left (yyvsp[0].comp);
                          (yyval.nested).last = &d_left ((yyvsp[(1) - (1)].comp));
                        }
                        }
    break;
    break;
 
 
  case 51:
  case 51:
 
 
 
/* Line 1455 of yacc.c  */
#line 510 "cp-name-parser.y"
#line 510 "cp-name-parser.y"
    { yyval.nested.comp = yyvsp[-1].nested1.comp;
    { (yyval.nested).comp = (yyvsp[(2) - (3)].nested1).comp;
                          d_right (yyvsp[-1].nested1.last) = yyvsp[0].comp;
                          d_right ((yyvsp[(2) - (3)].nested1).last) = (yyvsp[(3) - (3)].comp);
                          yyval.nested.last = &d_left (yyvsp[0].comp);
                          (yyval.nested).last = &d_left ((yyvsp[(3) - (3)].comp));
                        }
                        }
    break;
    break;
 
 
  case 52:
  case 52:
 
 
 
/* Line 1455 of yacc.c  */
#line 515 "cp-name-parser.y"
#line 515 "cp-name-parser.y"
    { yyval.nested.comp = yyvsp[0].comp;
    { (yyval.nested).comp = (yyvsp[(2) - (2)].comp);
                          yyval.nested.last = &d_left (yyvsp[0].comp);
                          (yyval.nested).last = &d_left ((yyvsp[(2) - (2)].comp));
                        }
                        }
    break;
    break;
 
 
  case 54:
  case 54:
 
 
 
/* Line 1455 of yacc.c  */
#line 524 "cp-name-parser.y"
#line 524 "cp-name-parser.y"
    { yyval.comp = fill_comp (DEMANGLE_COMPONENT_TEMPLATE, yyvsp[-3].comp, yyvsp[-1].nested.comp); }
    { (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_TEMPLATE, (yyvsp[(1) - (4)].comp), (yyvsp[(3) - (4)].nested).comp); }
    break;
    break;
 
 
  case 55:
  case 55:
 
 
 
/* Line 1455 of yacc.c  */
#line 526 "cp-name-parser.y"
#line 526 "cp-name-parser.y"
    { yyval.comp = make_dtor (gnu_v3_complete_object_dtor, yyvsp[0].comp); }
    { (yyval.comp) = make_dtor (gnu_v3_complete_object_dtor, (yyvsp[(2) - (2)].comp)); }
    break;
    break;
 
 
  case 57:
  case 57:
 
 
 
/* Line 1455 of yacc.c  */
#line 539 "cp-name-parser.y"
#line 539 "cp-name-parser.y"
    { yyval.comp = yyvsp[0].comp; }
    { (yyval.comp) = (yyvsp[(2) - (2)].comp); }
    break;
    break;
 
 
  case 58:
  case 58:
 
 
 
/* Line 1455 of yacc.c  */
#line 545 "cp-name-parser.y"
#line 545 "cp-name-parser.y"
    { yyval.comp = yyvsp[-1].nested1.comp; d_right (yyvsp[-1].nested1.last) = yyvsp[0].comp; }
    { (yyval.comp) = (yyvsp[(1) - (2)].nested1).comp; d_right ((yyvsp[(1) - (2)].nested1).last) = (yyvsp[(2) - (2)].comp); }
    break;
    break;
 
 
  case 60:
  case 60:
 
 
 
/* Line 1455 of yacc.c  */
#line 548 "cp-name-parser.y"
#line 548 "cp-name-parser.y"
    { yyval.comp = yyvsp[-1].nested1.comp; d_right (yyvsp[-1].nested1.last) = yyvsp[0].comp; }
    { (yyval.comp) = (yyvsp[(1) - (2)].nested1).comp; d_right ((yyvsp[(1) - (2)].nested1).last) = (yyvsp[(2) - (2)].comp); }
    break;
    break;
 
 
  case 65:
  case 65:
 
 
 
/* Line 1455 of yacc.c  */
#line 558 "cp-name-parser.y"
#line 558 "cp-name-parser.y"
    { yyval.comp = yyvsp[0].comp; }
    { (yyval.comp) = (yyvsp[(2) - (2)].comp); }
    break;
    break;
 
 
  case 66:
  case 66:
 
 
 
/* Line 1455 of yacc.c  */
#line 562 "cp-name-parser.y"
#line 562 "cp-name-parser.y"
    { yyval.comp = yyvsp[-1].nested1.comp; d_right (yyvsp[-1].nested1.last) = yyvsp[0].comp; }
    { (yyval.comp) = (yyvsp[(1) - (2)].nested1).comp; d_right ((yyvsp[(1) - (2)].nested1).last) = (yyvsp[(2) - (2)].comp); }
    break;
    break;
 
 
  case 68:
  case 68:
 
 
 
/* Line 1455 of yacc.c  */
#line 567 "cp-name-parser.y"
#line 567 "cp-name-parser.y"
    { yyval.nested1.comp = make_empty (DEMANGLE_COMPONENT_QUAL_NAME);
    { (yyval.nested1).comp = make_empty (DEMANGLE_COMPONENT_QUAL_NAME);
                          d_left (yyval.nested1.comp) = yyvsp[-1].comp;
                          d_left ((yyval.nested1).comp) = (yyvsp[(1) - (2)].comp);
                          d_right (yyval.nested1.comp) = NULL;
                          d_right ((yyval.nested1).comp) = NULL;
                          yyval.nested1.last = yyval.nested1.comp;
                          (yyval.nested1).last = (yyval.nested1).comp;
                        }
                        }
    break;
    break;
 
 
  case 69:
  case 69:
 
 
 
/* Line 1455 of yacc.c  */
#line 573 "cp-name-parser.y"
#line 573 "cp-name-parser.y"
    { yyval.nested1.comp = yyvsp[-2].nested1.comp;
    { (yyval.nested1).comp = (yyvsp[(1) - (3)].nested1).comp;
                          d_right (yyvsp[-2].nested1.last) = make_empty (DEMANGLE_COMPONENT_QUAL_NAME);
                          d_right ((yyvsp[(1) - (3)].nested1).last) = make_empty (DEMANGLE_COMPONENT_QUAL_NAME);
                          yyval.nested1.last = d_right (yyvsp[-2].nested1.last);
                          (yyval.nested1).last = d_right ((yyvsp[(1) - (3)].nested1).last);
                          d_left (yyval.nested1.last) = yyvsp[-1].comp;
                          d_left ((yyval.nested1).last) = (yyvsp[(2) - (3)].comp);
                          d_right (yyval.nested1.last) = NULL;
                          d_right ((yyval.nested1).last) = NULL;
                        }
                        }
    break;
    break;
 
 
  case 70:
  case 70:
 
 
 
/* Line 1455 of yacc.c  */
#line 580 "cp-name-parser.y"
#line 580 "cp-name-parser.y"
    { yyval.nested1.comp = make_empty (DEMANGLE_COMPONENT_QUAL_NAME);
    { (yyval.nested1).comp = make_empty (DEMANGLE_COMPONENT_QUAL_NAME);
                          d_left (yyval.nested1.comp) = yyvsp[-1].comp;
                          d_left ((yyval.nested1).comp) = (yyvsp[(1) - (2)].comp);
                          d_right (yyval.nested1.comp) = NULL;
                          d_right ((yyval.nested1).comp) = NULL;
                          yyval.nested1.last = yyval.nested1.comp;
                          (yyval.nested1).last = (yyval.nested1).comp;
                        }
                        }
    break;
    break;
 
 
  case 71:
  case 71:
 
 
 
/* Line 1455 of yacc.c  */
#line 586 "cp-name-parser.y"
#line 586 "cp-name-parser.y"
    { yyval.nested1.comp = yyvsp[-2].nested1.comp;
    { (yyval.nested1).comp = (yyvsp[(1) - (3)].nested1).comp;
                          d_right (yyvsp[-2].nested1.last) = make_empty (DEMANGLE_COMPONENT_QUAL_NAME);
                          d_right ((yyvsp[(1) - (3)].nested1).last) = make_empty (DEMANGLE_COMPONENT_QUAL_NAME);
                          yyval.nested1.last = d_right (yyvsp[-2].nested1.last);
                          (yyval.nested1).last = d_right ((yyvsp[(1) - (3)].nested1).last);
                          d_left (yyval.nested1.last) = yyvsp[-1].comp;
                          d_left ((yyval.nested1).last) = (yyvsp[(2) - (3)].comp);
                          d_right (yyval.nested1.last) = NULL;
                          d_right ((yyval.nested1).last) = NULL;
                        }
                        }
    break;
    break;
 
 
  case 72:
  case 72:
 
 
 
/* Line 1455 of yacc.c  */
#line 597 "cp-name-parser.y"
#line 597 "cp-name-parser.y"
    { yyval.comp = fill_comp (DEMANGLE_COMPONENT_TEMPLATE, yyvsp[-3].comp, yyvsp[-1].nested.comp); }
    { (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_TEMPLATE, (yyvsp[(1) - (4)].comp), (yyvsp[(3) - (4)].nested).comp); }
    break;
    break;
 
 
  case 73:
  case 73:
 
 
 
/* Line 1455 of yacc.c  */
#line 601 "cp-name-parser.y"
#line 601 "cp-name-parser.y"
    { yyval.nested.comp = fill_comp (DEMANGLE_COMPONENT_TEMPLATE_ARGLIST, yyvsp[0].comp, NULL);
    { (yyval.nested).comp = fill_comp (DEMANGLE_COMPONENT_TEMPLATE_ARGLIST, (yyvsp[(1) - (1)].comp), NULL);
                        yyval.nested.last = &d_right (yyval.nested.comp); }
                        (yyval.nested).last = &d_right ((yyval.nested).comp); }
    break;
    break;
 
 
  case 74:
  case 74:
 
 
 
/* Line 1455 of yacc.c  */
#line 604 "cp-name-parser.y"
#line 604 "cp-name-parser.y"
    { yyval.nested.comp = yyvsp[-2].nested.comp;
    { (yyval.nested).comp = (yyvsp[(1) - (3)].nested).comp;
                          *yyvsp[-2].nested.last = fill_comp (DEMANGLE_COMPONENT_TEMPLATE_ARGLIST, yyvsp[0].comp, NULL);
                          *(yyvsp[(1) - (3)].nested).last = fill_comp (DEMANGLE_COMPONENT_TEMPLATE_ARGLIST, (yyvsp[(3) - (3)].comp), NULL);
                          yyval.nested.last = &d_right (*yyvsp[-2].nested.last);
                          (yyval.nested).last = &d_right (*(yyvsp[(1) - (3)].nested).last);
                        }
                        }
    break;
    break;
 
 
  case 76:
  case 76:
 
 
 
/* Line 1455 of yacc.c  */
#line 616 "cp-name-parser.y"
#line 616 "cp-name-parser.y"
    { yyval.comp = yyvsp[0].abstract.comp;
    { (yyval.comp) = (yyvsp[(2) - (2)].abstract).comp;
                          *yyvsp[0].abstract.last = yyvsp[-1].comp;
                          *(yyvsp[(2) - (2)].abstract).last = (yyvsp[(1) - (2)].comp);
                        }
                        }
    break;
    break;
 
 
  case 77:
  case 77:
 
 
 
/* Line 1455 of yacc.c  */
#line 620 "cp-name-parser.y"
#line 620 "cp-name-parser.y"
    { yyval.comp = fill_comp (DEMANGLE_COMPONENT_UNARY, make_operator ("&", 1), yyvsp[0].comp); }
    { (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_UNARY, make_operator ("&", 1), (yyvsp[(2) - (2)].comp)); }
    break;
    break;
 
 
  case 78:
  case 78:
 
 
 
/* Line 1455 of yacc.c  */
#line 622 "cp-name-parser.y"
#line 622 "cp-name-parser.y"
    { yyval.comp = fill_comp (DEMANGLE_COMPONENT_UNARY, make_operator ("&", 1), yyvsp[-1].comp); }
    { (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_UNARY, make_operator ("&", 1), (yyvsp[(3) - (4)].comp)); }
    break;
    break;
 
 
  case 80:
  case 80:
 
 
 
/* Line 1455 of yacc.c  */
#line 627 "cp-name-parser.y"
#line 627 "cp-name-parser.y"
    { yyval.nested.comp = fill_comp (DEMANGLE_COMPONENT_ARGLIST, yyvsp[0].comp, NULL);
    { (yyval.nested).comp = fill_comp (DEMANGLE_COMPONENT_ARGLIST, (yyvsp[(1) - (1)].comp), NULL);
                          yyval.nested.last = &d_right (yyval.nested.comp);
                          (yyval.nested).last = &d_right ((yyval.nested).comp);
                        }
                        }
    break;
    break;
 
 
  case 81:
  case 81:
 
 
 
/* Line 1455 of yacc.c  */
#line 631 "cp-name-parser.y"
#line 631 "cp-name-parser.y"
    { *yyvsp[0].abstract.last = yyvsp[-1].comp;
    { *(yyvsp[(2) - (2)].abstract).last = (yyvsp[(1) - (2)].comp);
                          yyval.nested.comp = fill_comp (DEMANGLE_COMPONENT_ARGLIST, yyvsp[0].abstract.comp, NULL);
                          (yyval.nested).comp = fill_comp (DEMANGLE_COMPONENT_ARGLIST, (yyvsp[(2) - (2)].abstract).comp, NULL);
                          yyval.nested.last = &d_right (yyval.nested.comp);
                          (yyval.nested).last = &d_right ((yyval.nested).comp);
                        }
                        }
    break;
    break;
 
 
  case 82:
  case 82:
 
 
 
/* Line 1455 of yacc.c  */
#line 636 "cp-name-parser.y"
#line 636 "cp-name-parser.y"
    { *yyvsp[-2].nested.last = fill_comp (DEMANGLE_COMPONENT_ARGLIST, yyvsp[0].comp, NULL);
    { *(yyvsp[(1) - (3)].nested).last = fill_comp (DEMANGLE_COMPONENT_ARGLIST, (yyvsp[(3) - (3)].comp), NULL);
                          yyval.nested.comp = yyvsp[-2].nested.comp;
                          (yyval.nested).comp = (yyvsp[(1) - (3)].nested).comp;
                          yyval.nested.last = &d_right (*yyvsp[-2].nested.last);
                          (yyval.nested).last = &d_right (*(yyvsp[(1) - (3)].nested).last);
                        }
                        }
    break;
    break;
 
 
  case 83:
  case 83:
 
 
 
/* Line 1455 of yacc.c  */
#line 641 "cp-name-parser.y"
#line 641 "cp-name-parser.y"
    { *yyvsp[0].abstract.last = yyvsp[-1].comp;
    { *(yyvsp[(4) - (4)].abstract).last = (yyvsp[(3) - (4)].comp);
                          *yyvsp[-3].nested.last = fill_comp (DEMANGLE_COMPONENT_ARGLIST, yyvsp[0].abstract.comp, NULL);
                          *(yyvsp[(1) - (4)].nested).last = fill_comp (DEMANGLE_COMPONENT_ARGLIST, (yyvsp[(4) - (4)].abstract).comp, NULL);
                          yyval.nested.comp = yyvsp[-3].nested.comp;
                          (yyval.nested).comp = (yyvsp[(1) - (4)].nested).comp;
                          yyval.nested.last = &d_right (*yyvsp[-3].nested.last);
                          (yyval.nested).last = &d_right (*(yyvsp[(1) - (4)].nested).last);
                        }
                        }
    break;
    break;
 
 
  case 84:
  case 84:
 
 
 
/* Line 1455 of yacc.c  */
#line 647 "cp-name-parser.y"
#line 647 "cp-name-parser.y"
    { *yyvsp[-2].nested.last
    { *(yyvsp[(1) - (3)].nested).last
                            = fill_comp (DEMANGLE_COMPONENT_ARGLIST,
                            = fill_comp (DEMANGLE_COMPONENT_ARGLIST,
                                           make_builtin_type ("..."),
                                           make_builtin_type ("..."),
                                           NULL);
                                           NULL);
                          yyval.nested.comp = yyvsp[-2].nested.comp;
                          (yyval.nested).comp = (yyvsp[(1) - (3)].nested).comp;
                          yyval.nested.last = &d_right (*yyvsp[-2].nested.last);
                          (yyval.nested).last = &d_right (*(yyvsp[(1) - (3)].nested).last);
                        }
                        }
    break;
    break;
 
 
  case 85:
  case 85:
 
 
 
/* Line 1455 of yacc.c  */
#line 657 "cp-name-parser.y"
#line 657 "cp-name-parser.y"
    { yyval.nested.comp = fill_comp (DEMANGLE_COMPONENT_FUNCTION_TYPE, NULL, yyvsp[-2].nested.comp);
    { (yyval.nested).comp = fill_comp (DEMANGLE_COMPONENT_FUNCTION_TYPE, NULL, (yyvsp[(2) - (4)].nested).comp);
                          yyval.nested.last = &d_left (yyval.nested.comp);
                          (yyval.nested).last = &d_left ((yyval.nested).comp);
                          yyval.nested.comp = d_qualify (yyval.nested.comp, yyvsp[0].lval, 1); }
                          (yyval.nested).comp = d_qualify ((yyval.nested).comp, (yyvsp[(4) - (4)].lval), 1); }
    break;
    break;
 
 
  case 86:
  case 86:
 
 
 
/* Line 1455 of yacc.c  */
#line 661 "cp-name-parser.y"
#line 661 "cp-name-parser.y"
    { yyval.nested.comp = fill_comp (DEMANGLE_COMPONENT_FUNCTION_TYPE, NULL, NULL);
    { (yyval.nested).comp = fill_comp (DEMANGLE_COMPONENT_FUNCTION_TYPE, NULL, NULL);
                          yyval.nested.last = &d_left (yyval.nested.comp);
                          (yyval.nested).last = &d_left ((yyval.nested).comp);
                          yyval.nested.comp = d_qualify (yyval.nested.comp, yyvsp[0].lval, 1); }
                          (yyval.nested).comp = d_qualify ((yyval.nested).comp, (yyvsp[(4) - (4)].lval), 1); }
    break;
    break;
 
 
  case 87:
  case 87:
 
 
 
/* Line 1455 of yacc.c  */
#line 665 "cp-name-parser.y"
#line 665 "cp-name-parser.y"
    { yyval.nested.comp = fill_comp (DEMANGLE_COMPONENT_FUNCTION_TYPE, NULL, NULL);
    { (yyval.nested).comp = fill_comp (DEMANGLE_COMPONENT_FUNCTION_TYPE, NULL, NULL);
                          yyval.nested.last = &d_left (yyval.nested.comp);
                          (yyval.nested).last = &d_left ((yyval.nested).comp);
                          yyval.nested.comp = d_qualify (yyval.nested.comp, yyvsp[0].lval, 1); }
                          (yyval.nested).comp = d_qualify ((yyval.nested).comp, (yyvsp[(3) - (3)].lval), 1); }
    break;
    break;
 
 
  case 88:
  case 88:
 
 
 
/* Line 1455 of yacc.c  */
#line 672 "cp-name-parser.y"
#line 672 "cp-name-parser.y"
    { yyval.lval = 0; }
    { (yyval.lval) = 0; }
    break;
    break;
 
 
  case 90:
  case 90:
 
 
 
/* Line 1455 of yacc.c  */
#line 677 "cp-name-parser.y"
#line 677 "cp-name-parser.y"
    { yyval.lval = QUAL_RESTRICT; }
    { (yyval.lval) = QUAL_RESTRICT; }
    break;
    break;
 
 
  case 91:
  case 91:
 
 
 
/* Line 1455 of yacc.c  */
#line 679 "cp-name-parser.y"
#line 679 "cp-name-parser.y"
    { yyval.lval = QUAL_VOLATILE; }
    { (yyval.lval) = QUAL_VOLATILE; }
    break;
    break;
 
 
  case 92:
  case 92:
 
 
 
/* Line 1455 of yacc.c  */
#line 681 "cp-name-parser.y"
#line 681 "cp-name-parser.y"
    { yyval.lval = QUAL_CONST; }
    { (yyval.lval) = QUAL_CONST; }
    break;
    break;
 
 
  case 94:
  case 94:
 
 
 
/* Line 1455 of yacc.c  */
#line 686 "cp-name-parser.y"
#line 686 "cp-name-parser.y"
    { yyval.lval = yyvsp[-1].lval | yyvsp[0].lval; }
    { (yyval.lval) = (yyvsp[(1) - (2)].lval) | (yyvsp[(2) - (2)].lval); }
    break;
    break;
 
 
  case 95:
  case 95:
 
 
 
/* Line 1455 of yacc.c  */
#line 693 "cp-name-parser.y"
#line 693 "cp-name-parser.y"
    { yyval.lval = 0; }
    { (yyval.lval) = 0; }
    break;
    break;
 
 
  case 96:
  case 96:
 
 
 
/* Line 1455 of yacc.c  */
#line 695 "cp-name-parser.y"
#line 695 "cp-name-parser.y"
    { yyval.lval = INT_SIGNED; }
    { (yyval.lval) = INT_SIGNED; }
    break;
    break;
 
 
  case 97:
  case 97:
 
 
 
/* Line 1455 of yacc.c  */
#line 697 "cp-name-parser.y"
#line 697 "cp-name-parser.y"
    { yyval.lval = INT_UNSIGNED; }
    { (yyval.lval) = INT_UNSIGNED; }
    break;
    break;
 
 
  case 98:
  case 98:
 
 
 
/* Line 1455 of yacc.c  */
#line 699 "cp-name-parser.y"
#line 699 "cp-name-parser.y"
    { yyval.lval = INT_CHAR; }
    { (yyval.lval) = INT_CHAR; }
    break;
    break;
 
 
  case 99:
  case 99:
 
 
 
/* Line 1455 of yacc.c  */
#line 701 "cp-name-parser.y"
#line 701 "cp-name-parser.y"
    { yyval.lval = INT_LONG; }
    { (yyval.lval) = INT_LONG; }
    break;
    break;
 
 
  case 100:
  case 100:
 
 
 
/* Line 1455 of yacc.c  */
#line 703 "cp-name-parser.y"
#line 703 "cp-name-parser.y"
    { yyval.lval = INT_SHORT; }
    { (yyval.lval) = INT_SHORT; }
    break;
    break;
 
 
  case 102:
  case 102:
 
 
 
/* Line 1455 of yacc.c  */
#line 708 "cp-name-parser.y"
#line 708 "cp-name-parser.y"
    { yyval.lval = yyvsp[-1].lval | yyvsp[0].lval; if (yyvsp[-1].lval & yyvsp[0].lval & INT_LONG) yyval.lval = yyvsp[-1].lval | INT_LLONG; }
    { (yyval.lval) = (yyvsp[(1) - (2)].lval) | (yyvsp[(2) - (2)].lval); if ((yyvsp[(1) - (2)].lval) & (yyvsp[(2) - (2)].lval) & INT_LONG) (yyval.lval) = (yyvsp[(1) - (2)].lval) | INT_LLONG; }
    break;
    break;
 
 
  case 103:
  case 103:
 
 
 
/* Line 1455 of yacc.c  */
#line 712 "cp-name-parser.y"
#line 712 "cp-name-parser.y"
    { yyval.comp = d_int_type (yyvsp[0].lval); }
    { (yyval.comp) = d_int_type ((yyvsp[(1) - (1)].lval)); }
    break;
    break;
 
 
  case 104:
  case 104:
 
 
 
/* Line 1455 of yacc.c  */
#line 714 "cp-name-parser.y"
#line 714 "cp-name-parser.y"
    { yyval.comp = make_builtin_type ("float"); }
    { (yyval.comp) = make_builtin_type ("float"); }
    break;
    break;
 
 
  case 105:
  case 105:
 
 
 
/* Line 1455 of yacc.c  */
#line 716 "cp-name-parser.y"
#line 716 "cp-name-parser.y"
    { yyval.comp = make_builtin_type ("double"); }
    { (yyval.comp) = make_builtin_type ("double"); }
    break;
    break;
 
 
  case 106:
  case 106:
 
 
 
/* Line 1455 of yacc.c  */
#line 718 "cp-name-parser.y"
#line 718 "cp-name-parser.y"
    { yyval.comp = make_builtin_type ("long double"); }
    { (yyval.comp) = make_builtin_type ("long double"); }
    break;
    break;
 
 
  case 107:
  case 107:
 
 
 
/* Line 1455 of yacc.c  */
#line 720 "cp-name-parser.y"
#line 720 "cp-name-parser.y"
    { yyval.comp = make_builtin_type ("bool"); }
    { (yyval.comp) = make_builtin_type ("bool"); }
    break;
    break;
 
 
  case 108:
  case 108:
 
 
 
/* Line 1455 of yacc.c  */
#line 722 "cp-name-parser.y"
#line 722 "cp-name-parser.y"
    { yyval.comp = make_builtin_type ("wchar_t"); }
    { (yyval.comp) = make_builtin_type ("wchar_t"); }
    break;
    break;
 
 
  case 109:
  case 109:
 
 
 
/* Line 1455 of yacc.c  */
#line 724 "cp-name-parser.y"
#line 724 "cp-name-parser.y"
    { yyval.comp = make_builtin_type ("void"); }
    { (yyval.comp) = make_builtin_type ("void"); }
    break;
    break;
 
 
  case 110:
  case 110:
 
 
 
/* Line 1455 of yacc.c  */
#line 728 "cp-name-parser.y"
#line 728 "cp-name-parser.y"
    { yyval.nested.comp = make_empty (DEMANGLE_COMPONENT_POINTER);
    { (yyval.nested).comp = make_empty (DEMANGLE_COMPONENT_POINTER);
                          yyval.nested.comp->u.s_binary.left = yyval.nested.comp->u.s_binary.right = NULL;
                          (yyval.nested).comp->u.s_binary.left = (yyval.nested).comp->u.s_binary.right = NULL;
                          yyval.nested.last = &d_left (yyval.nested.comp);
                          (yyval.nested).last = &d_left ((yyval.nested).comp);
                          yyval.nested.comp = d_qualify (yyval.nested.comp, yyvsp[0].lval, 0); }
                          (yyval.nested).comp = d_qualify ((yyval.nested).comp, (yyvsp[(2) - (2)].lval), 0); }
    break;
    break;
 
 
  case 111:
  case 111:
 
 
 
/* Line 1455 of yacc.c  */
#line 734 "cp-name-parser.y"
#line 734 "cp-name-parser.y"
    { yyval.nested.comp = make_empty (DEMANGLE_COMPONENT_REFERENCE);
    { (yyval.nested).comp = make_empty (DEMANGLE_COMPONENT_REFERENCE);
                          yyval.nested.comp->u.s_binary.left = yyval.nested.comp->u.s_binary.right = NULL;
                          (yyval.nested).comp->u.s_binary.left = (yyval.nested).comp->u.s_binary.right = NULL;
                          yyval.nested.last = &d_left (yyval.nested.comp); }
                          (yyval.nested).last = &d_left ((yyval.nested).comp); }
    break;
    break;
 
 
  case 112:
  case 112:
 
 
 
/* Line 1455 of yacc.c  */
#line 738 "cp-name-parser.y"
#line 738 "cp-name-parser.y"
    { yyval.nested.comp = make_empty (DEMANGLE_COMPONENT_PTRMEM_TYPE);
    { (yyval.nested).comp = make_empty (DEMANGLE_COMPONENT_PTRMEM_TYPE);
                          yyval.nested.comp->u.s_binary.left = yyvsp[-2].nested1.comp;
                          (yyval.nested).comp->u.s_binary.left = (yyvsp[(1) - (3)].nested1).comp;
                          /* Convert the innermost DEMANGLE_COMPONENT_QUAL_NAME to a DEMANGLE_COMPONENT_NAME.  */
                          /* Convert the innermost DEMANGLE_COMPONENT_QUAL_NAME to a DEMANGLE_COMPONENT_NAME.  */
                          *yyvsp[-2].nested1.last = *d_left (yyvsp[-2].nested1.last);
                          *(yyvsp[(1) - (3)].nested1).last = *d_left ((yyvsp[(1) - (3)].nested1).last);
                          yyval.nested.comp->u.s_binary.right = NULL;
                          (yyval.nested).comp->u.s_binary.right = NULL;
                          yyval.nested.last = &d_right (yyval.nested.comp);
                          (yyval.nested).last = &d_right ((yyval.nested).comp);
                          yyval.nested.comp = d_qualify (yyval.nested.comp, yyvsp[0].lval, 0); }
                          (yyval.nested).comp = d_qualify ((yyval.nested).comp, (yyvsp[(3) - (3)].lval), 0); }
    break;
    break;
 
 
  case 113:
  case 113:
 
 
 
/* Line 1455 of yacc.c  */
#line 746 "cp-name-parser.y"
#line 746 "cp-name-parser.y"
    { yyval.nested.comp = make_empty (DEMANGLE_COMPONENT_PTRMEM_TYPE);
    { (yyval.nested).comp = make_empty (DEMANGLE_COMPONENT_PTRMEM_TYPE);
                          yyval.nested.comp->u.s_binary.left = yyvsp[-2].nested1.comp;
                          (yyval.nested).comp->u.s_binary.left = (yyvsp[(2) - (4)].nested1).comp;
                          /* Convert the innermost DEMANGLE_COMPONENT_QUAL_NAME to a DEMANGLE_COMPONENT_NAME.  */
                          /* Convert the innermost DEMANGLE_COMPONENT_QUAL_NAME to a DEMANGLE_COMPONENT_NAME.  */
                          *yyvsp[-2].nested1.last = *d_left (yyvsp[-2].nested1.last);
                          *(yyvsp[(2) - (4)].nested1).last = *d_left ((yyvsp[(2) - (4)].nested1).last);
                          yyval.nested.comp->u.s_binary.right = NULL;
                          (yyval.nested).comp->u.s_binary.right = NULL;
                          yyval.nested.last = &d_right (yyval.nested.comp);
                          (yyval.nested).last = &d_right ((yyval.nested).comp);
                          yyval.nested.comp = d_qualify (yyval.nested.comp, yyvsp[0].lval, 0); }
                          (yyval.nested).comp = d_qualify ((yyval.nested).comp, (yyvsp[(4) - (4)].lval), 0); }
    break;
    break;
 
 
  case 114:
  case 114:
 
 
 
/* Line 1455 of yacc.c  */
#line 756 "cp-name-parser.y"
#line 756 "cp-name-parser.y"
    { yyval.comp = make_empty (DEMANGLE_COMPONENT_ARRAY_TYPE);
    { (yyval.comp) = make_empty (DEMANGLE_COMPONENT_ARRAY_TYPE);
                          d_left (yyval.comp) = NULL;
                          d_left ((yyval.comp)) = NULL;
                        }
                        }
    break;
    break;
 
 
  case 115:
  case 115:
 
 
 
/* Line 1455 of yacc.c  */
#line 760 "cp-name-parser.y"
#line 760 "cp-name-parser.y"
    { yyval.comp = make_empty (DEMANGLE_COMPONENT_ARRAY_TYPE);
    { (yyval.comp) = make_empty (DEMANGLE_COMPONENT_ARRAY_TYPE);
                          d_left (yyval.comp) = yyvsp[-1].comp;
                          d_left ((yyval.comp)) = (yyvsp[(2) - (3)].comp);
                        }
                        }
    break;
    break;
 
 
  case 116:
  case 116:
 
 
 
/* Line 1455 of yacc.c  */
#line 776 "cp-name-parser.y"
#line 776 "cp-name-parser.y"
    { yyval.comp = d_qualify (yyvsp[-1].comp, yyvsp[0].lval, 0); }
    { (yyval.comp) = d_qualify ((yyvsp[(1) - (2)].comp), (yyvsp[(2) - (2)].lval), 0); }
    break;
    break;
 
 
  case 118:
  case 118:
 
 
 
/* Line 1455 of yacc.c  */
#line 779 "cp-name-parser.y"
#line 779 "cp-name-parser.y"
    { yyval.comp = d_qualify (yyvsp[-1].comp, yyvsp[-2].lval | yyvsp[0].lval, 0); }
    { (yyval.comp) = d_qualify ((yyvsp[(2) - (3)].comp), (yyvsp[(1) - (3)].lval) | (yyvsp[(3) - (3)].lval), 0); }
    break;
    break;
 
 
  case 119:
  case 119:
 
 
 
/* Line 1455 of yacc.c  */
#line 781 "cp-name-parser.y"
#line 781 "cp-name-parser.y"
    { yyval.comp = d_qualify (yyvsp[0].comp, yyvsp[-1].lval, 0); }
    { (yyval.comp) = d_qualify ((yyvsp[(2) - (2)].comp), (yyvsp[(1) - (2)].lval), 0); }
    break;
    break;
 
 
  case 120:
  case 120:
 
 
 
/* Line 1455 of yacc.c  */
#line 784 "cp-name-parser.y"
#line 784 "cp-name-parser.y"
    { yyval.comp = d_qualify (yyvsp[-1].comp, yyvsp[0].lval, 0); }
    { (yyval.comp) = d_qualify ((yyvsp[(1) - (2)].comp), (yyvsp[(2) - (2)].lval), 0); }
    break;
    break;
 
 
  case 122:
  case 122:
 
 
 
/* Line 1455 of yacc.c  */
#line 787 "cp-name-parser.y"
#line 787 "cp-name-parser.y"
    { yyval.comp = d_qualify (yyvsp[-1].comp, yyvsp[-2].lval | yyvsp[0].lval, 0); }
    { (yyval.comp) = d_qualify ((yyvsp[(2) - (3)].comp), (yyvsp[(1) - (3)].lval) | (yyvsp[(3) - (3)].lval), 0); }
    break;
    break;
 
 
  case 123:
  case 123:
 
 
 
/* Line 1455 of yacc.c  */
#line 789 "cp-name-parser.y"
#line 789 "cp-name-parser.y"
    { yyval.comp = d_qualify (yyvsp[0].comp, yyvsp[-1].lval, 0); }
    { (yyval.comp) = d_qualify ((yyvsp[(2) - (2)].comp), (yyvsp[(1) - (2)].lval), 0); }
    break;
    break;
 
 
  case 124:
  case 124:
 
 
 
/* Line 1455 of yacc.c  */
#line 792 "cp-name-parser.y"
#line 792 "cp-name-parser.y"
    { yyval.comp = d_qualify (yyvsp[-1].comp, yyvsp[0].lval, 0); }
    { (yyval.comp) = d_qualify ((yyvsp[(2) - (3)].comp), (yyvsp[(3) - (3)].lval), 0); }
    break;
    break;
 
 
  case 125:
  case 125:
 
 
 
/* Line 1455 of yacc.c  */
#line 794 "cp-name-parser.y"
#line 794 "cp-name-parser.y"
    { yyval.comp = yyvsp[0].comp; }
    { (yyval.comp) = (yyvsp[(2) - (2)].comp); }
    break;
    break;
 
 
  case 126:
  case 126:
 
 
 
/* Line 1455 of yacc.c  */
#line 796 "cp-name-parser.y"
#line 796 "cp-name-parser.y"
    { yyval.comp = d_qualify (yyvsp[-1].comp, yyvsp[-3].lval | yyvsp[0].lval, 0); }
    { (yyval.comp) = d_qualify ((yyvsp[(3) - (4)].comp), (yyvsp[(1) - (4)].lval) | (yyvsp[(4) - (4)].lval), 0); }
    break;
    break;
 
 
  case 127:
  case 127:
 
 
 
/* Line 1455 of yacc.c  */
#line 798 "cp-name-parser.y"
#line 798 "cp-name-parser.y"
    { yyval.comp = d_qualify (yyvsp[0].comp, yyvsp[-2].lval, 0); }
    { (yyval.comp) = d_qualify ((yyvsp[(3) - (3)].comp), (yyvsp[(1) - (3)].lval), 0); }
    break;
    break;
 
 
  case 128:
  case 128:
 
 
 
/* Line 1455 of yacc.c  */
#line 803 "cp-name-parser.y"
#line 803 "cp-name-parser.y"
    { yyval.abstract.comp = yyvsp[0].nested.comp; yyval.abstract.last = yyvsp[0].nested.last;
    { (yyval.abstract).comp = (yyvsp[(1) - (1)].nested).comp; (yyval.abstract).last = (yyvsp[(1) - (1)].nested).last;
                          yyval.abstract.fn.comp = NULL; yyval.abstract.fn.last = NULL; }
                          (yyval.abstract).fn.comp = NULL; (yyval.abstract).fn.last = NULL; }
    break;
    break;
 
 
  case 129:
  case 129:
 
 
 
/* Line 1455 of yacc.c  */
#line 806 "cp-name-parser.y"
#line 806 "cp-name-parser.y"
    { yyval.abstract = yyvsp[0].abstract; yyval.abstract.fn.comp = NULL; yyval.abstract.fn.last = NULL;
    { (yyval.abstract) = (yyvsp[(2) - (2)].abstract); (yyval.abstract).fn.comp = NULL; (yyval.abstract).fn.last = NULL;
                          if (yyvsp[0].abstract.fn.comp) { yyval.abstract.last = yyvsp[0].abstract.fn.last; *yyvsp[0].abstract.last = yyvsp[0].abstract.fn.comp; }
                          if ((yyvsp[(2) - (2)].abstract).fn.comp) { (yyval.abstract).last = (yyvsp[(2) - (2)].abstract).fn.last; *(yyvsp[(2) - (2)].abstract).last = (yyvsp[(2) - (2)].abstract).fn.comp; }
                          *yyval.abstract.last = yyvsp[-1].nested.comp;
                          *(yyval.abstract).last = (yyvsp[(1) - (2)].nested).comp;
                          yyval.abstract.last = yyvsp[-1].nested.last; }
                          (yyval.abstract).last = (yyvsp[(1) - (2)].nested).last; }
    break;
    break;
 
 
  case 130:
  case 130:
 
 
 
/* Line 1455 of yacc.c  */
#line 811 "cp-name-parser.y"
#line 811 "cp-name-parser.y"
    { yyval.abstract.fn.comp = NULL; yyval.abstract.fn.last = NULL;
    { (yyval.abstract).fn.comp = NULL; (yyval.abstract).fn.last = NULL;
                          if (yyvsp[0].abstract.fn.comp) { yyval.abstract.last = yyvsp[0].abstract.fn.last; *yyvsp[0].abstract.last = yyvsp[0].abstract.fn.comp; }
                          if ((yyvsp[(1) - (1)].abstract).fn.comp) { (yyval.abstract).last = (yyvsp[(1) - (1)].abstract).fn.last; *(yyvsp[(1) - (1)].abstract).last = (yyvsp[(1) - (1)].abstract).fn.comp; }
                        }
                        }
    break;
    break;
 
 
  case 131:
  case 131:
 
 
 
/* Line 1455 of yacc.c  */
#line 818 "cp-name-parser.y"
#line 818 "cp-name-parser.y"
    { yyval.abstract = yyvsp[-1].abstract; yyval.abstract.fn.comp = NULL; yyval.abstract.fn.last = NULL; yyval.abstract.fold_flag = 1;
    { (yyval.abstract) = (yyvsp[(2) - (3)].abstract); (yyval.abstract).fn.comp = NULL; (yyval.abstract).fn.last = NULL; (yyval.abstract).fold_flag = 1;
                          if (yyvsp[-1].abstract.fn.comp) { yyval.abstract.last = yyvsp[-1].abstract.fn.last; *yyvsp[-1].abstract.last = yyvsp[-1].abstract.fn.comp; }
                          if ((yyvsp[(2) - (3)].abstract).fn.comp) { (yyval.abstract).last = (yyvsp[(2) - (3)].abstract).fn.last; *(yyvsp[(2) - (3)].abstract).last = (yyvsp[(2) - (3)].abstract).fn.comp; }
                        }
                        }
    break;
    break;
 
 
  case 132:
  case 132:
 
 
 
/* Line 1455 of yacc.c  */
#line 822 "cp-name-parser.y"
#line 822 "cp-name-parser.y"
    { yyval.abstract.fold_flag = 0;
    { (yyval.abstract).fold_flag = 0;
                          if (yyvsp[-1].abstract.fn.comp) { yyval.abstract.last = yyvsp[-1].abstract.fn.last; *yyvsp[-1].abstract.last = yyvsp[-1].abstract.fn.comp; }
                          if ((yyvsp[(1) - (2)].abstract).fn.comp) { (yyval.abstract).last = (yyvsp[(1) - (2)].abstract).fn.last; *(yyvsp[(1) - (2)].abstract).last = (yyvsp[(1) - (2)].abstract).fn.comp; }
                          if (yyvsp[-1].abstract.fold_flag)
                          if ((yyvsp[(1) - (2)].abstract).fold_flag)
                            {
                            {
                              *yyval.abstract.last = yyvsp[0].nested.comp;
                              *(yyval.abstract).last = (yyvsp[(2) - (2)].nested).comp;
                              yyval.abstract.last = yyvsp[0].nested.last;
                              (yyval.abstract).last = (yyvsp[(2) - (2)].nested).last;
                            }
                            }
                          else
                          else
                            yyval.abstract.fn = yyvsp[0].nested;
                            (yyval.abstract).fn = (yyvsp[(2) - (2)].nested);
                        }
                        }
    break;
    break;
 
 
  case 133:
  case 133:
 
 
 
/* Line 1455 of yacc.c  */
#line 833 "cp-name-parser.y"
#line 833 "cp-name-parser.y"
    { yyval.abstract.fn.comp = NULL; yyval.abstract.fn.last = NULL; yyval.abstract.fold_flag = 0;
    { (yyval.abstract).fn.comp = NULL; (yyval.abstract).fn.last = NULL; (yyval.abstract).fold_flag = 0;
                          if (yyvsp[-1].abstract.fn.comp) { yyval.abstract.last = yyvsp[-1].abstract.fn.last; *yyvsp[-1].abstract.last = yyvsp[-1].abstract.fn.comp; }
                          if ((yyvsp[(1) - (2)].abstract).fn.comp) { (yyval.abstract).last = (yyvsp[(1) - (2)].abstract).fn.last; *(yyvsp[(1) - (2)].abstract).last = (yyvsp[(1) - (2)].abstract).fn.comp; }
                          *yyvsp[-1].abstract.last = yyvsp[0].comp;
                          *(yyvsp[(1) - (2)].abstract).last = (yyvsp[(2) - (2)].comp);
                          yyval.abstract.last = &d_right (yyvsp[0].comp);
                          (yyval.abstract).last = &d_right ((yyvsp[(2) - (2)].comp));
                        }
                        }
    break;
    break;
 
 
  case 134:
  case 134:
 
 
 
/* Line 1455 of yacc.c  */
#line 839 "cp-name-parser.y"
#line 839 "cp-name-parser.y"
    { yyval.abstract.fn.comp = NULL; yyval.abstract.fn.last = NULL; yyval.abstract.fold_flag = 0;
    { (yyval.abstract).fn.comp = NULL; (yyval.abstract).fn.last = NULL; (yyval.abstract).fold_flag = 0;
                          yyval.abstract.comp = yyvsp[0].comp;
                          (yyval.abstract).comp = (yyvsp[(1) - (1)].comp);
                          yyval.abstract.last = &d_right (yyvsp[0].comp);
                          (yyval.abstract).last = &d_right ((yyvsp[(1) - (1)].comp));
                        }
                        }
    break;
    break;
 
 
  case 135:
  case 135:
 
 
 
/* Line 1455 of yacc.c  */
#line 857 "cp-name-parser.y"
#line 857 "cp-name-parser.y"
    { yyval.abstract.comp = yyvsp[0].nested.comp; yyval.abstract.last = yyvsp[0].nested.last;
    { (yyval.abstract).comp = (yyvsp[(1) - (1)].nested).comp; (yyval.abstract).last = (yyvsp[(1) - (1)].nested).last;
                          yyval.abstract.fn.comp = NULL; yyval.abstract.fn.last = NULL; yyval.abstract.start = NULL; }
                          (yyval.abstract).fn.comp = NULL; (yyval.abstract).fn.last = NULL; (yyval.abstract).start = NULL; }
    break;
    break;
 
 
  case 136:
  case 136:
 
 
 
/* Line 1455 of yacc.c  */
#line 860 "cp-name-parser.y"
#line 860 "cp-name-parser.y"
    { yyval.abstract = yyvsp[0].abstract;
    { (yyval.abstract) = (yyvsp[(2) - (2)].abstract);
                          if (yyvsp[0].abstract.last)
                          if ((yyvsp[(2) - (2)].abstract).last)
                            *yyval.abstract.last = yyvsp[-1].nested.comp;
                            *(yyval.abstract).last = (yyvsp[(1) - (2)].nested).comp;
                          else
                          else
                            yyval.abstract.comp = yyvsp[-1].nested.comp;
                            (yyval.abstract).comp = (yyvsp[(1) - (2)].nested).comp;
                          yyval.abstract.last = yyvsp[-1].nested.last;
                          (yyval.abstract).last = (yyvsp[(1) - (2)].nested).last;
                        }
                        }
    break;
    break;
 
 
  case 137:
  case 137:
 
 
 
/* Line 1455 of yacc.c  */
#line 868 "cp-name-parser.y"
#line 868 "cp-name-parser.y"
    { yyval.abstract.comp = yyvsp[0].abstract.comp; yyval.abstract.last = yyvsp[0].abstract.last; yyval.abstract.fn = yyvsp[0].abstract.fn; yyval.abstract.start = NULL; }
    { (yyval.abstract).comp = (yyvsp[(1) - (1)].abstract).comp; (yyval.abstract).last = (yyvsp[(1) - (1)].abstract).last; (yyval.abstract).fn = (yyvsp[(1) - (1)].abstract).fn; (yyval.abstract).start = NULL; }
    break;
    break;
 
 
  case 138:
  case 138:
 
 
 
/* Line 1455 of yacc.c  */
#line 870 "cp-name-parser.y"
#line 870 "cp-name-parser.y"
    { yyval.abstract.start = yyvsp[0].comp;
    { (yyval.abstract).start = (yyvsp[(4) - (4)].comp);
                          if (yyvsp[-3].abstract.fn.comp) { yyval.abstract.last = yyvsp[-3].abstract.fn.last; *yyvsp[-3].abstract.last = yyvsp[-3].abstract.fn.comp; }
                          if ((yyvsp[(1) - (4)].abstract).fn.comp) { (yyval.abstract).last = (yyvsp[(1) - (4)].abstract).fn.last; *(yyvsp[(1) - (4)].abstract).last = (yyvsp[(1) - (4)].abstract).fn.comp; }
                          if (yyvsp[-3].abstract.fold_flag)
                          if ((yyvsp[(1) - (4)].abstract).fold_flag)
                            {
                            {
                              *yyval.abstract.last = yyvsp[-2].nested.comp;
                              *(yyval.abstract).last = (yyvsp[(2) - (4)].nested).comp;
                              yyval.abstract.last = yyvsp[-2].nested.last;
                              (yyval.abstract).last = (yyvsp[(2) - (4)].nested).last;
                            }
                            }
                          else
                          else
                            yyval.abstract.fn = yyvsp[-2].nested;
                            (yyval.abstract).fn = (yyvsp[(2) - (4)].nested);
                        }
                        }
    break;
    break;
 
 
  case 139:
  case 139:
 
 
 
/* Line 1455 of yacc.c  */
#line 881 "cp-name-parser.y"
#line 881 "cp-name-parser.y"
    { yyval.abstract.fn = yyvsp[-1].nested;
    { (yyval.abstract).fn = (yyvsp[(1) - (2)].nested);
                          yyval.abstract.start = yyvsp[0].comp;
                          (yyval.abstract).start = (yyvsp[(2) - (2)].comp);
                          yyval.abstract.comp = NULL; yyval.abstract.last = NULL;
                          (yyval.abstract).comp = NULL; (yyval.abstract).last = NULL;
                        }
                        }
    break;
    break;
 
 
  case 141:
  case 141:
 
 
 
/* Line 1455 of yacc.c  */
#line 889 "cp-name-parser.y"
#line 889 "cp-name-parser.y"
    { yyval.comp = yyvsp[0].abstract.comp;
    { (yyval.comp) = (yyvsp[(2) - (2)].abstract).comp;
                          *yyvsp[0].abstract.last = yyvsp[-1].comp;
                          *(yyvsp[(2) - (2)].abstract).last = (yyvsp[(1) - (2)].comp);
                        }
                        }
    break;
    break;
 
 
  case 142:
  case 142:
 
 
 
/* Line 1455 of yacc.c  */
#line 895 "cp-name-parser.y"
#line 895 "cp-name-parser.y"
    { yyval.nested.comp = yyvsp[0].nested.comp;
    { (yyval.nested).comp = (yyvsp[(2) - (2)].nested).comp;
                          yyval.nested.last = yyvsp[-1].nested.last;
                          (yyval.nested).last = (yyvsp[(1) - (2)].nested).last;
                          *yyvsp[0].nested.last = yyvsp[-1].nested.comp; }
                          *(yyvsp[(2) - (2)].nested).last = (yyvsp[(1) - (2)].nested).comp; }
    break;
    break;
 
 
  case 144:
  case 144:
 
 
 
/* Line 1455 of yacc.c  */
#line 903 "cp-name-parser.y"
#line 903 "cp-name-parser.y"
    { yyval.nested = yyvsp[-1].nested; }
    { (yyval.nested) = (yyvsp[(2) - (3)].nested); }
    break;
    break;
 
 
  case 145:
  case 145:
 
 
 
/* Line 1455 of yacc.c  */
#line 905 "cp-name-parser.y"
#line 905 "cp-name-parser.y"
    { yyval.nested.comp = yyvsp[-1].nested.comp;
    { (yyval.nested).comp = (yyvsp[(1) - (2)].nested).comp;
                          *yyvsp[-1].nested.last = yyvsp[0].nested.comp;
                          *(yyvsp[(1) - (2)].nested).last = (yyvsp[(2) - (2)].nested).comp;
                          yyval.nested.last = yyvsp[0].nested.last;
                          (yyval.nested).last = (yyvsp[(2) - (2)].nested).last;
                        }
                        }
    break;
    break;
 
 
  case 146:
  case 146:
 
 
 
/* Line 1455 of yacc.c  */
#line 910 "cp-name-parser.y"
#line 910 "cp-name-parser.y"
    { yyval.nested.comp = yyvsp[-1].nested.comp;
    { (yyval.nested).comp = (yyvsp[(1) - (2)].nested).comp;
                          *yyvsp[-1].nested.last = yyvsp[0].comp;
                          *(yyvsp[(1) - (2)].nested).last = (yyvsp[(2) - (2)].comp);
                          yyval.nested.last = &d_right (yyvsp[0].comp);
                          (yyval.nested).last = &d_right ((yyvsp[(2) - (2)].comp));
                        }
                        }
    break;
    break;
 
 
  case 147:
  case 147:
 
 
 
/* Line 1455 of yacc.c  */
#line 915 "cp-name-parser.y"
#line 915 "cp-name-parser.y"
    { yyval.nested.comp = make_empty (DEMANGLE_COMPONENT_TYPED_NAME);
    { (yyval.nested).comp = make_empty (DEMANGLE_COMPONENT_TYPED_NAME);
                          d_left (yyval.nested.comp) = yyvsp[0].comp;
                          d_left ((yyval.nested).comp) = (yyvsp[(1) - (1)].comp);
                          yyval.nested.last = &d_right (yyval.nested.comp);
                          (yyval.nested).last = &d_right ((yyval.nested).comp);
                        }
                        }
    break;
    break;
 
 
  case 148:
  case 148:
 
 
 
/* Line 1455 of yacc.c  */
#line 928 "cp-name-parser.y"
#line 928 "cp-name-parser.y"
    { yyval.nested.comp = yyvsp[0].nested.comp;
    { (yyval.nested).comp = (yyvsp[(2) - (2)].nested).comp;
                          yyval.nested.last = yyvsp[-1].nested.last;
                          (yyval.nested).last = (yyvsp[(1) - (2)].nested).last;
                          *yyvsp[0].nested.last = yyvsp[-1].nested.comp; }
                          *(yyvsp[(2) - (2)].nested).last = (yyvsp[(1) - (2)].nested).comp; }
    break;
    break;
 
 
  case 149:
  case 149:
 
 
 
/* Line 1455 of yacc.c  */
#line 932 "cp-name-parser.y"
#line 932 "cp-name-parser.y"
    { yyval.nested.comp = make_empty (DEMANGLE_COMPONENT_TYPED_NAME);
    { (yyval.nested).comp = make_empty (DEMANGLE_COMPONENT_TYPED_NAME);
                          d_left (yyval.nested.comp) = yyvsp[0].comp;
                          d_left ((yyval.nested).comp) = (yyvsp[(1) - (1)].comp);
                          yyval.nested.last = &d_right (yyval.nested.comp);
                          (yyval.nested).last = &d_right ((yyval.nested).comp);
                        }
                        }
    break;
    break;
 
 
  case 151:
  case 151:
 
 
 
/* Line 1455 of yacc.c  */
#line 945 "cp-name-parser.y"
#line 945 "cp-name-parser.y"
    { yyval.nested.comp = fill_comp (DEMANGLE_COMPONENT_TYPED_NAME, yyvsp[-3].comp, yyvsp[-2].nested.comp);
    { (yyval.nested).comp = fill_comp (DEMANGLE_COMPONENT_TYPED_NAME, (yyvsp[(1) - (4)].comp), (yyvsp[(2) - (4)].nested).comp);
                          yyval.nested.last = yyvsp[-2].nested.last;
                          (yyval.nested).last = (yyvsp[(2) - (4)].nested).last;
                          yyval.nested.comp = fill_comp (DEMANGLE_COMPONENT_LOCAL_NAME, yyval.nested.comp, yyvsp[0].comp);
                          (yyval.nested).comp = fill_comp (DEMANGLE_COMPONENT_LOCAL_NAME, (yyval.nested).comp, (yyvsp[(4) - (4)].comp));
                        }
                        }
    break;
    break;
 
 
  case 152:
  case 152:
 
 
 
/* Line 1455 of yacc.c  */
#line 950 "cp-name-parser.y"
#line 950 "cp-name-parser.y"
    { yyval.nested.comp = yyvsp[-3].nested.comp;
    { (yyval.nested).comp = (yyvsp[(1) - (4)].nested).comp;
                          *yyvsp[-3].nested.last = yyvsp[-2].nested.comp;
                          *(yyvsp[(1) - (4)].nested).last = (yyvsp[(2) - (4)].nested).comp;
                          yyval.nested.last = yyvsp[-2].nested.last;
                          (yyval.nested).last = (yyvsp[(2) - (4)].nested).last;
                          yyval.nested.comp = fill_comp (DEMANGLE_COMPONENT_LOCAL_NAME, yyval.nested.comp, yyvsp[0].comp);
                          (yyval.nested).comp = fill_comp (DEMANGLE_COMPONENT_LOCAL_NAME, (yyval.nested).comp, (yyvsp[(4) - (4)].comp));
                        }
                        }
    break;
    break;
 
 
  case 153:
  case 153:
 
 
 
/* Line 1455 of yacc.c  */
#line 959 "cp-name-parser.y"
#line 959 "cp-name-parser.y"
    { yyval.nested.comp = yyvsp[-1].nested.comp;
    { (yyval.nested).comp = (yyvsp[(3) - (4)].nested).comp;
                          yyval.nested.last = yyvsp[-2].nested.last;
                          (yyval.nested).last = (yyvsp[(2) - (4)].nested).last;
                          *yyvsp[-1].nested.last = yyvsp[-2].nested.comp; }
                          *(yyvsp[(3) - (4)].nested).last = (yyvsp[(2) - (4)].nested).comp; }
    break;
    break;
 
 
  case 154:
  case 154:
 
 
 
/* Line 1455 of yacc.c  */
#line 963 "cp-name-parser.y"
#line 963 "cp-name-parser.y"
    { yyval.nested.comp = yyvsp[-1].nested.comp;
    { (yyval.nested).comp = (yyvsp[(1) - (2)].nested).comp;
                          *yyvsp[-1].nested.last = yyvsp[0].nested.comp;
                          *(yyvsp[(1) - (2)].nested).last = (yyvsp[(2) - (2)].nested).comp;
                          yyval.nested.last = yyvsp[0].nested.last;
                          (yyval.nested).last = (yyvsp[(2) - (2)].nested).last;
                        }
                        }
    break;
    break;
 
 
  case 155:
  case 155:
 
 
 
/* Line 1455 of yacc.c  */
#line 968 "cp-name-parser.y"
#line 968 "cp-name-parser.y"
    { yyval.nested.comp = yyvsp[-1].nested.comp;
    { (yyval.nested).comp = (yyvsp[(1) - (2)].nested).comp;
                          *yyvsp[-1].nested.last = yyvsp[0].comp;
                          *(yyvsp[(1) - (2)].nested).last = (yyvsp[(2) - (2)].comp);
                          yyval.nested.last = &d_right (yyvsp[0].comp);
                          (yyval.nested).last = &d_right ((yyvsp[(2) - (2)].comp));
                        }
                        }
    break;
    break;
 
 
  case 156:
  case 156:
 
 
 
/* Line 1455 of yacc.c  */
#line 973 "cp-name-parser.y"
#line 973 "cp-name-parser.y"
    { yyval.nested.comp = fill_comp (DEMANGLE_COMPONENT_TYPED_NAME, yyvsp[-1].comp, yyvsp[0].nested.comp);
    { (yyval.nested).comp = fill_comp (DEMANGLE_COMPONENT_TYPED_NAME, (yyvsp[(1) - (2)].comp), (yyvsp[(2) - (2)].nested).comp);
                          yyval.nested.last = yyvsp[0].nested.last;
                          (yyval.nested).last = (yyvsp[(2) - (2)].nested).last;
                        }
                        }
    break;
    break;
 
 
  case 157:
  case 157:
 
 
 
/* Line 1455 of yacc.c  */
#line 977 "cp-name-parser.y"
#line 977 "cp-name-parser.y"
    { yyval.nested.comp = fill_comp (DEMANGLE_COMPONENT_TYPED_NAME, yyvsp[-1].comp, yyvsp[0].comp);
    { (yyval.nested).comp = fill_comp (DEMANGLE_COMPONENT_TYPED_NAME, (yyvsp[(1) - (2)].comp), (yyvsp[(2) - (2)].comp));
                          yyval.nested.last = &d_right (yyvsp[0].comp);
                          (yyval.nested).last = &d_right ((yyvsp[(2) - (2)].comp));
                        }
                        }
    break;
    break;
 
 
  case 158:
  case 158:
 
 
 
/* Line 1455 of yacc.c  */
#line 983 "cp-name-parser.y"
#line 983 "cp-name-parser.y"
    { yyval.comp = yyvsp[-1].comp; }
    { (yyval.comp) = (yyvsp[(2) - (3)].comp); }
    break;
    break;
 
 
  case 160:
  case 160:
 
 
 
/* Line 1455 of yacc.c  */
#line 992 "cp-name-parser.y"
#line 992 "cp-name-parser.y"
    { yyval.comp = d_binary (">", yyvsp[-2].comp, yyvsp[0].comp); }
    { (yyval.comp) = d_binary (">", (yyvsp[(1) - (3)].comp), (yyvsp[(3) - (3)].comp)); }
    break;
    break;
 
 
  case 161:
  case 161:
 
 
 
/* Line 1455 of yacc.c  */
#line 999 "cp-name-parser.y"
#line 999 "cp-name-parser.y"
    { yyval.comp = fill_comp (DEMANGLE_COMPONENT_UNARY, make_operator ("&", 1), yyvsp[0].comp); }
    { (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_UNARY, make_operator ("&", 1), (yyvsp[(2) - (2)].comp)); }
    break;
    break;
 
 
  case 162:
  case 162:
 
 
 
/* Line 1455 of yacc.c  */
#line 1001 "cp-name-parser.y"
#line 1001 "cp-name-parser.y"
    { yyval.comp = fill_comp (DEMANGLE_COMPONENT_UNARY, make_operator ("&", 1), yyvsp[-1].comp); }
    { (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_UNARY, make_operator ("&", 1), (yyvsp[(3) - (4)].comp)); }
    break;
    break;
 
 
  case 163:
  case 163:
 
 
 
/* Line 1455 of yacc.c  */
#line 1006 "cp-name-parser.y"
#line 1006 "cp-name-parser.y"
    { yyval.comp = d_unary ("-", yyvsp[0].comp); }
    { (yyval.comp) = d_unary ("-", (yyvsp[(2) - (2)].comp)); }
    break;
    break;
 
 
  case 164:
  case 164:
 
 
 
/* Line 1455 of yacc.c  */
#line 1010 "cp-name-parser.y"
#line 1010 "cp-name-parser.y"
    { yyval.comp = d_unary ("!", yyvsp[0].comp); }
    { (yyval.comp) = d_unary ("!", (yyvsp[(2) - (2)].comp)); }
    break;
    break;
 
 
  case 165:
  case 165:
 
 
 
/* Line 1455 of yacc.c  */
#line 1014 "cp-name-parser.y"
#line 1014 "cp-name-parser.y"
    { yyval.comp = d_unary ("~", yyvsp[0].comp); }
    { (yyval.comp) = d_unary ("~", (yyvsp[(2) - (2)].comp)); }
    break;
    break;
 
 
  case 166:
  case 166:
 
 
 
/* Line 1455 of yacc.c  */
#line 1021 "cp-name-parser.y"
#line 1021 "cp-name-parser.y"
    { if (yyvsp[0].comp->type == DEMANGLE_COMPONENT_LITERAL
    { if ((yyvsp[(4) - (4)].comp)->type == DEMANGLE_COMPONENT_LITERAL
                      || yyvsp[0].comp->type == DEMANGLE_COMPONENT_LITERAL_NEG)
                      || (yyvsp[(4) - (4)].comp)->type == DEMANGLE_COMPONENT_LITERAL_NEG)
                    {
                    {
                      yyval.comp = yyvsp[0].comp;
                      (yyval.comp) = (yyvsp[(4) - (4)].comp);
                      d_left (yyvsp[0].comp) = yyvsp[-2].comp;
                      d_left ((yyvsp[(4) - (4)].comp)) = (yyvsp[(2) - (4)].comp);
                    }
                    }
                  else
                  else
                    yyval.comp = fill_comp (DEMANGLE_COMPONENT_UNARY,
                    (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_UNARY,
                                      fill_comp (DEMANGLE_COMPONENT_CAST, yyvsp[-2].comp, NULL),
                                      fill_comp (DEMANGLE_COMPONENT_CAST, (yyvsp[(2) - (4)].comp), NULL),
                                      yyvsp[0].comp);
                                      (yyvsp[(4) - (4)].comp));
                }
                }
    break;
    break;
 
 
  case 167:
  case 167:
 
 
 
/* Line 1455 of yacc.c  */
#line 1037 "cp-name-parser.y"
#line 1037 "cp-name-parser.y"
    { yyval.comp = fill_comp (DEMANGLE_COMPONENT_UNARY,
    { (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_UNARY,
                                    fill_comp (DEMANGLE_COMPONENT_CAST, yyvsp[-4].comp, NULL),
                                    fill_comp (DEMANGLE_COMPONENT_CAST, (yyvsp[(3) - (7)].comp), NULL),
                                    yyvsp[-1].comp);
                                    (yyvsp[(6) - (7)].comp));
                }
                }
    break;
    break;
 
 
  case 168:
  case 168:
 
 
 
/* Line 1455 of yacc.c  */
#line 1044 "cp-name-parser.y"
#line 1044 "cp-name-parser.y"
    { yyval.comp = fill_comp (DEMANGLE_COMPONENT_UNARY,
    { (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_UNARY,
                                    fill_comp (DEMANGLE_COMPONENT_CAST, yyvsp[-4].comp, NULL),
                                    fill_comp (DEMANGLE_COMPONENT_CAST, (yyvsp[(3) - (7)].comp), NULL),
                                    yyvsp[-1].comp);
                                    (yyvsp[(6) - (7)].comp));
                }
                }
    break;
    break;
 
 
  case 169:
  case 169:
 
 
 
/* Line 1455 of yacc.c  */
#line 1051 "cp-name-parser.y"
#line 1051 "cp-name-parser.y"
    { yyval.comp = fill_comp (DEMANGLE_COMPONENT_UNARY,
    { (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_UNARY,
                                    fill_comp (DEMANGLE_COMPONENT_CAST, yyvsp[-4].comp, NULL),
                                    fill_comp (DEMANGLE_COMPONENT_CAST, (yyvsp[(3) - (7)].comp), NULL),
                                    yyvsp[-1].comp);
                                    (yyvsp[(6) - (7)].comp));
                }
                }
    break;
    break;
 
 
  case 170:
  case 170:
 
 
 
/* Line 1455 of yacc.c  */
#line 1070 "cp-name-parser.y"
#line 1070 "cp-name-parser.y"
    { yyval.comp = d_binary ("*", yyvsp[-2].comp, yyvsp[0].comp); }
    { (yyval.comp) = d_binary ("*", (yyvsp[(1) - (3)].comp), (yyvsp[(3) - (3)].comp)); }
    break;
    break;
 
 
  case 171:
  case 171:
 
 
 
/* Line 1455 of yacc.c  */
#line 1074 "cp-name-parser.y"
#line 1074 "cp-name-parser.y"
    { yyval.comp = d_binary ("/", yyvsp[-2].comp, yyvsp[0].comp); }
    { (yyval.comp) = d_binary ("/", (yyvsp[(1) - (3)].comp), (yyvsp[(3) - (3)].comp)); }
    break;
    break;
 
 
  case 172:
  case 172:
 
 
 
/* Line 1455 of yacc.c  */
#line 1078 "cp-name-parser.y"
#line 1078 "cp-name-parser.y"
    { yyval.comp = d_binary ("%", yyvsp[-2].comp, yyvsp[0].comp); }
    { (yyval.comp) = d_binary ("%", (yyvsp[(1) - (3)].comp), (yyvsp[(3) - (3)].comp)); }
    break;
    break;
 
 
  case 173:
  case 173:
 
 
 
/* Line 1455 of yacc.c  */
#line 1082 "cp-name-parser.y"
#line 1082 "cp-name-parser.y"
    { yyval.comp = d_binary ("+", yyvsp[-2].comp, yyvsp[0].comp); }
    { (yyval.comp) = d_binary ("+", (yyvsp[(1) - (3)].comp), (yyvsp[(3) - (3)].comp)); }
    break;
    break;
 
 
  case 174:
  case 174:
 
 
 
/* Line 1455 of yacc.c  */
#line 1086 "cp-name-parser.y"
#line 1086 "cp-name-parser.y"
    { yyval.comp = d_binary ("-", yyvsp[-2].comp, yyvsp[0].comp); }
    { (yyval.comp) = d_binary ("-", (yyvsp[(1) - (3)].comp), (yyvsp[(3) - (3)].comp)); }
    break;
    break;
 
 
  case 175:
  case 175:
 
 
 
/* Line 1455 of yacc.c  */
#line 1090 "cp-name-parser.y"
#line 1090 "cp-name-parser.y"
    { yyval.comp = d_binary ("<<", yyvsp[-2].comp, yyvsp[0].comp); }
    { (yyval.comp) = d_binary ("<<", (yyvsp[(1) - (3)].comp), (yyvsp[(3) - (3)].comp)); }
    break;
    break;
 
 
  case 176:
  case 176:
 
 
 
/* Line 1455 of yacc.c  */
#line 1094 "cp-name-parser.y"
#line 1094 "cp-name-parser.y"
    { yyval.comp = d_binary (">>", yyvsp[-2].comp, yyvsp[0].comp); }
    { (yyval.comp) = d_binary (">>", (yyvsp[(1) - (3)].comp), (yyvsp[(3) - (3)].comp)); }
    break;
    break;
 
 
  case 177:
  case 177:
 
 
 
/* Line 1455 of yacc.c  */
#line 1098 "cp-name-parser.y"
#line 1098 "cp-name-parser.y"
    { yyval.comp = d_binary ("==", yyvsp[-2].comp, yyvsp[0].comp); }
    { (yyval.comp) = d_binary ("==", (yyvsp[(1) - (3)].comp), (yyvsp[(3) - (3)].comp)); }
    break;
    break;
 
 
  case 178:
  case 178:
 
 
 
/* Line 1455 of yacc.c  */
#line 1102 "cp-name-parser.y"
#line 1102 "cp-name-parser.y"
    { yyval.comp = d_binary ("!=", yyvsp[-2].comp, yyvsp[0].comp); }
    { (yyval.comp) = d_binary ("!=", (yyvsp[(1) - (3)].comp), (yyvsp[(3) - (3)].comp)); }
    break;
    break;
 
 
  case 179:
  case 179:
 
 
 
/* Line 1455 of yacc.c  */
#line 1106 "cp-name-parser.y"
#line 1106 "cp-name-parser.y"
    { yyval.comp = d_binary ("<=", yyvsp[-2].comp, yyvsp[0].comp); }
    { (yyval.comp) = d_binary ("<=", (yyvsp[(1) - (3)].comp), (yyvsp[(3) - (3)].comp)); }
    break;
    break;
 
 
  case 180:
  case 180:
 
 
 
/* Line 1455 of yacc.c  */
#line 1110 "cp-name-parser.y"
#line 1110 "cp-name-parser.y"
    { yyval.comp = d_binary (">=", yyvsp[-2].comp, yyvsp[0].comp); }
    { (yyval.comp) = d_binary (">=", (yyvsp[(1) - (3)].comp), (yyvsp[(3) - (3)].comp)); }
    break;
    break;
 
 
  case 181:
  case 181:
 
 
 
/* Line 1455 of yacc.c  */
#line 1114 "cp-name-parser.y"
#line 1114 "cp-name-parser.y"
    { yyval.comp = d_binary ("<", yyvsp[-2].comp, yyvsp[0].comp); }
    { (yyval.comp) = d_binary ("<", (yyvsp[(1) - (3)].comp), (yyvsp[(3) - (3)].comp)); }
    break;
    break;
 
 
  case 182:
  case 182:
 
 
 
/* Line 1455 of yacc.c  */
#line 1118 "cp-name-parser.y"
#line 1118 "cp-name-parser.y"
    { yyval.comp = d_binary ("&", yyvsp[-2].comp, yyvsp[0].comp); }
    { (yyval.comp) = d_binary ("&", (yyvsp[(1) - (3)].comp), (yyvsp[(3) - (3)].comp)); }
    break;
    break;
 
 
  case 183:
  case 183:
 
 
 
/* Line 1455 of yacc.c  */
#line 1122 "cp-name-parser.y"
#line 1122 "cp-name-parser.y"
    { yyval.comp = d_binary ("^", yyvsp[-2].comp, yyvsp[0].comp); }
    { (yyval.comp) = d_binary ("^", (yyvsp[(1) - (3)].comp), (yyvsp[(3) - (3)].comp)); }
    break;
    break;
 
 
  case 184:
  case 184:
 
 
 
/* Line 1455 of yacc.c  */
#line 1126 "cp-name-parser.y"
#line 1126 "cp-name-parser.y"
    { yyval.comp = d_binary ("|", yyvsp[-2].comp, yyvsp[0].comp); }
    { (yyval.comp) = d_binary ("|", (yyvsp[(1) - (3)].comp), (yyvsp[(3) - (3)].comp)); }
    break;
    break;
 
 
  case 185:
  case 185:
 
 
 
/* Line 1455 of yacc.c  */
#line 1130 "cp-name-parser.y"
#line 1130 "cp-name-parser.y"
    { yyval.comp = d_binary ("&&", yyvsp[-2].comp, yyvsp[0].comp); }
    { (yyval.comp) = d_binary ("&&", (yyvsp[(1) - (3)].comp), (yyvsp[(3) - (3)].comp)); }
    break;
    break;
 
 
  case 186:
  case 186:
 
 
 
/* Line 1455 of yacc.c  */
#line 1134 "cp-name-parser.y"
#line 1134 "cp-name-parser.y"
    { yyval.comp = d_binary ("||", yyvsp[-2].comp, yyvsp[0].comp); }
    { (yyval.comp) = d_binary ("||", (yyvsp[(1) - (3)].comp), (yyvsp[(3) - (3)].comp)); }
    break;
    break;
 
 
  case 187:
  case 187:
 
 
 
/* Line 1455 of yacc.c  */
#line 1139 "cp-name-parser.y"
#line 1139 "cp-name-parser.y"
    { yyval.comp = d_binary ("->", yyvsp[-2].comp, yyvsp[0].comp); }
    { (yyval.comp) = d_binary ("->", (yyvsp[(1) - (3)].comp), (yyvsp[(3) - (3)].comp)); }
    break;
    break;
 
 
  case 188:
  case 188:
 
 
 
/* Line 1455 of yacc.c  */
#line 1143 "cp-name-parser.y"
#line 1143 "cp-name-parser.y"
    { yyval.comp = d_binary (".", yyvsp[-2].comp, yyvsp[0].comp); }
    { (yyval.comp) = d_binary (".", (yyvsp[(1) - (3)].comp), (yyvsp[(3) - (3)].comp)); }
    break;
    break;
 
 
  case 189:
  case 189:
 
 
 
/* Line 1455 of yacc.c  */
#line 1147 "cp-name-parser.y"
#line 1147 "cp-name-parser.y"
    { yyval.comp = fill_comp (DEMANGLE_COMPONENT_TRINARY, make_operator ("?", 3),
    { (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_TRINARY, make_operator ("?", 3),
                                    fill_comp (DEMANGLE_COMPONENT_TRINARY_ARG1, yyvsp[-4].comp,
                                    fill_comp (DEMANGLE_COMPONENT_TRINARY_ARG1, (yyvsp[(1) - (5)].comp),
                                                 fill_comp (DEMANGLE_COMPONENT_TRINARY_ARG2, yyvsp[-2].comp, yyvsp[0].comp)));
                                                 fill_comp (DEMANGLE_COMPONENT_TRINARY_ARG2, (yyvsp[(3) - (5)].comp), (yyvsp[(5) - (5)].comp))));
                }
                }
    break;
    break;
 
 
  case 192:
  case 192:
 
 
 
/* Line 1455 of yacc.c  */
#line 1161 "cp-name-parser.y"
#line 1161 "cp-name-parser.y"
    { yyval.comp = d_unary ("sizeof", yyvsp[-1].comp); }
    { (yyval.comp) = d_unary ("sizeof", (yyvsp[(3) - (4)].comp)); }
    break;
    break;
 
 
  case 193:
  case 193:
 
 
 
/* Line 1455 of yacc.c  */
#line 1166 "cp-name-parser.y"
#line 1166 "cp-name-parser.y"
    { struct demangle_component *i;
    { struct demangle_component *i;
                  i = make_name ("1", 1);
                  i = make_name ("1", 1);
                  yyval.comp = fill_comp (DEMANGLE_COMPONENT_LITERAL,
                  (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_LITERAL,
                                    make_builtin_type ("bool"),
                                    make_builtin_type ("bool"),
                                    i);
                                    i);
                }
                }
    break;
    break;
 
 
  case 194:
  case 194:
 
 
 
/* Line 1455 of yacc.c  */
#line 1175 "cp-name-parser.y"
#line 1175 "cp-name-parser.y"
    { struct demangle_component *i;
    { struct demangle_component *i;
                  i = make_name ("0", 1);
                  i = make_name ("0", 1);
                  yyval.comp = fill_comp (DEMANGLE_COMPONENT_LITERAL,
                  (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_LITERAL,
                                    make_builtin_type ("bool"),
                                    make_builtin_type ("bool"),
                                    i);
                                    i);
                }
                }
    break;
    break;
 
 
 
 
    }
 
 
 
/* Line 1000 of yacc.c.  */
 
#line 2834 "cp-name-parser.c.tmp"
 

 
  yyvsp -= yylen;
 
  yyssp -= yylen;
 
 
 
 
/* Line 1455 of yacc.c  */
 
#line 3517 "cp-name-parser.c.tmp"
 
      default: break;
 
    }
 
  YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);
 
 
 
  YYPOPSTACK (yylen);
 
  yylen = 0;
  YY_STACK_PRINT (yyss, yyssp);
  YY_STACK_PRINT (yyss, yyssp);
 
 
  *++yyvsp = yyval;
  *++yyvsp = yyval;
 
 
 
 
  /* Now `shift' the result of the reduction.  Determine what state
  /* Now `shift' the result of the reduction.  Determine what state
     that goes to, based on the state we popped back to and the rule
     that goes to, based on the state we popped back to and the rule
     number reduced by.  */
     number reduced by.  */
 
 
  yyn = yyr1[yyn];
  yyn = yyr1[yyn];
Line 2862... Line 3544...
yyerrlab:
yyerrlab:
  /* If not already recovering from an error, report this error.  */
  /* If not already recovering from an error, report this error.  */
  if (!yyerrstatus)
  if (!yyerrstatus)
    {
    {
      ++yynerrs;
      ++yynerrs;
#if YYERROR_VERBOSE
#if ! YYERROR_VERBOSE
      yyn = yypact[yystate];
      yyerror (YY_("syntax error"));
 
#else
      if (YYPACT_NINF < yyn && yyn < YYLAST)
 
        {
        {
          YYSIZE_T yysize = 0;
        YYSIZE_T yysize = yysyntax_error (0, yystate, yychar);
          int yytype = YYTRANSLATE (yychar);
        if (yymsg_alloc < yysize && yymsg_alloc < YYSTACK_ALLOC_MAXIMUM)
          const char* yyprefix;
 
          char *yymsg;
 
          int yyx;
 
 
 
          /* Start YYX at -YYN if negative to avoid negative indexes in
 
             YYCHECK.  */
 
          int yyxbegin = yyn < 0 ? -yyn : 0;
 
 
 
          /* Stay within bounds of both yycheck and yytname.  */
 
          int yychecklim = YYLAST - yyn;
 
          int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
 
          int yycount = 0;
 
 
 
          yyprefix = ", expecting ";
 
          for (yyx = yyxbegin; yyx < yyxend; ++yyx)
 
            if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
 
              {
              {
                yysize += yystrlen (yyprefix) + yystrlen (yytname [yyx]);
            YYSIZE_T yyalloc = 2 * yysize;
                yycount += 1;
            if (! (yysize <= yyalloc && yyalloc <= YYSTACK_ALLOC_MAXIMUM))
                if (yycount == 5)
              yyalloc = YYSTACK_ALLOC_MAXIMUM;
 
            if (yymsg != yymsgbuf)
 
              YYSTACK_FREE (yymsg);
 
            yymsg = (char *) YYSTACK_ALLOC (yyalloc);
 
            if (yymsg)
 
              yymsg_alloc = yyalloc;
 
            else
                  {
                  {
                    yysize = 0;
                yymsg = yymsgbuf;
                    break;
                yymsg_alloc = sizeof yymsgbuf;
                  }
                  }
              }
              }
          yysize += (sizeof ("syntax error, unexpected ")
 
                     + yystrlen (yytname[yytype]));
 
          yymsg = (char *) YYSTACK_ALLOC (yysize);
 
          if (yymsg != 0)
 
            {
 
              char *yyp = yystpcpy (yymsg, "syntax error, unexpected ");
 
              yyp = yystpcpy (yyp, yytname[yytype]);
 
 
 
              if (yycount < 5)
        if (0 < yysize && yysize <= yymsg_alloc)
                {
 
                  yyprefix = ", expecting ";
 
                  for (yyx = yyxbegin; yyx < yyxend; ++yyx)
 
                    if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
 
                      {
                      {
                        yyp = yystpcpy (yyp, yyprefix);
            (void) yysyntax_error (yymsg, yystate, yychar);
                        yyp = yystpcpy (yyp, yytname[yyx]);
 
                        yyprefix = " or ";
 
                      }
 
                }
 
              yyerror (yymsg);
              yyerror (yymsg);
              YYSTACK_FREE (yymsg);
 
            }
            }
          else
          else
            yyerror ("syntax error; also virtual memory exhausted");
          {
 
            yyerror (YY_("syntax error"));
 
            if (yysize != 0)
 
              goto yyexhaustedlab;
        }
        }
      else
      }
#endif /* YYERROR_VERBOSE */
#endif
        yyerror ("syntax error");
 
    }
    }
 
 
 
 
 
 
  if (yyerrstatus == 3)
  if (yyerrstatus == 3)
Line 2933... Line 3590...
      /* If just tried and failed to reuse lookahead token after an
      /* If just tried and failed to reuse lookahead token after an
         error, discard it.  */
         error, discard it.  */
 
 
      if (yychar <= YYEOF)
      if (yychar <= YYEOF)
        {
        {
          /* If at end of input, pop the error token,
          /* Return failure if at end of input.  */
             then the rest of the stack, then return failure.  */
 
          if (yychar == YYEOF)
          if (yychar == YYEOF)
             for (;;)
 
               {
 
                 YYPOPSTACK;
 
                 if (yyssp == yyss)
 
                   YYABORT;
                   YYABORT;
                 YYDSYMPRINTF ("Error: popping", yystos[*yyssp], yyvsp, yylsp);
 
                 yydestruct (yystos[*yyssp], yyvsp);
 
               }
 
        }
        }
      else
      else
        {
        {
          YYDSYMPRINTF ("Error: discarding", yytoken, &yylval, &yylloc);
          yydestruct ("Error: discarding",
          yydestruct (yytoken, &yylval);
                      yytoken, &yylval);
          yychar = YYEMPTY;
          yychar = YYEMPTY;
 
 
        }
        }
    }
    }
 
 
  /* Else will try to reuse lookahead token after shifting the error
  /* Else will try to reuse lookahead token after shifting the error
     token.  */
     token.  */
Line 2964... Line 3612...
/*---------------------------------------------------.
/*---------------------------------------------------.
| yyerrorlab -- error raised explicitly by YYERROR.  |
| yyerrorlab -- error raised explicitly by YYERROR.  |
`---------------------------------------------------*/
`---------------------------------------------------*/
yyerrorlab:
yyerrorlab:
 
 
#ifdef __GNUC__
  /* Pacify compilers like GCC when the user code never invokes
  /* Pacify GCC when the user code never invokes YYERROR and the label
     YYERROR and the label yyerrorlab therefore never appears in user
     yyerrorlab therefore never appears in user code.  */
     code.  */
  if (0)
  if (/*CONSTCOND*/ 0)
     goto yyerrorlab;
     goto yyerrorlab;
#endif
 
 
 
  yyvsp -= yylen;
  /* Do not reclaim the symbols of the rule which action triggered
  yyssp -= yylen;
     this YYERROR.  */
 
  YYPOPSTACK (yylen);
 
  yylen = 0;
 
  YY_STACK_PRINT (yyss, yyssp);
  yystate = *yyssp;
  yystate = *yyssp;
  goto yyerrlab1;
  goto yyerrlab1;
 
 
 
 
/*-------------------------------------------------------------.
/*-------------------------------------------------------------.
Line 3001... Line 3651...
 
 
      /* Pop the current state because it cannot handle the error token.  */
      /* Pop the current state because it cannot handle the error token.  */
      if (yyssp == yyss)
      if (yyssp == yyss)
        YYABORT;
        YYABORT;
 
 
      YYDSYMPRINTF ("Error: popping", yystos[*yyssp], yyvsp, yylsp);
 
      yydestruct (yystos[yystate], yyvsp);
      yydestruct ("Error: popping",
      YYPOPSTACK;
                  yystos[yystate], yyvsp);
 
      YYPOPSTACK (1);
      yystate = *yyssp;
      yystate = *yyssp;
      YY_STACK_PRINT (yyss, yyssp);
      YY_STACK_PRINT (yyss, yyssp);
    }
    }
 
 
  if (yyn == YYFINAL)
 
    YYACCEPT;
 
 
 
  YYDPRINTF ((stderr, "Shifting error token, "));
 
 
 
  *++yyvsp = yylval;
  *++yyvsp = yylval;
 
 
 
 
 
  /* Shift the error token.  */
 
  YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp);
 
 
  yystate = yyn;
  yystate = yyn;
  goto yynewstate;
  goto yynewstate;
 
 
 
 
/*-------------------------------------.
/*-------------------------------------.
Line 3034... Line 3683...
`-----------------------------------*/
`-----------------------------------*/
yyabortlab:
yyabortlab:
  yyresult = 1;
  yyresult = 1;
  goto yyreturn;
  goto yyreturn;
 
 
#ifndef yyoverflow
#if !defined(yyoverflow) || YYERROR_VERBOSE
/*----------------------------------------------.
/*-------------------------------------------------.
| yyoverflowlab -- parser overflow comes here.  |
| yyexhaustedlab -- memory exhaustion comes here.  |
`----------------------------------------------*/
`-------------------------------------------------*/
yyoverflowlab:
yyexhaustedlab:
  yyerror ("parser stack overflow");
  yyerror (YY_("memory exhausted"));
  yyresult = 2;
  yyresult = 2;
  /* Fall through.  */
  /* Fall through.  */
#endif
#endif
 
 
yyreturn:
yyreturn:
 
  if (yychar != YYEMPTY)
 
     yydestruct ("Cleanup: discarding lookahead",
 
                 yytoken, &yylval);
 
  /* Do not reclaim the symbols of the rule which action triggered
 
     this YYABORT or YYACCEPT.  */
 
  YYPOPSTACK (yylen);
 
  YY_STACK_PRINT (yyss, yyssp);
 
  while (yyssp != yyss)
 
    {
 
      yydestruct ("Cleanup: popping",
 
                  yystos[*yyssp], yyvsp);
 
      YYPOPSTACK (1);
 
    }
#ifndef yyoverflow
#ifndef yyoverflow
  if (yyss != yyssa)
  if (yyss != yyssa)
    YYSTACK_FREE (yyss);
    YYSTACK_FREE (yyss);
#endif
#endif
  return yyresult;
#if YYERROR_VERBOSE
 
  if (yymsg != yymsgbuf)
 
    YYSTACK_FREE (yymsg);
 
#endif
 
  /* Make sure YYID is used.  */
 
  return YYID (yyresult);
}
}
 
 
 
 
 
 
 
/* Line 1675 of yacc.c  */
#line 1185 "cp-name-parser.y"
#line 1185 "cp-name-parser.y"
 
 
 
 
/* Apply QUALIFIERS to LHS and return a qualified component.  IS_METHOD
/* Apply QUALIFIERS to LHS and return a qualified component.  IS_METHOD
   is set if LHS is a method, in which case the qualifiers are logically
   is set if LHS is a method, in which case the qualifiers are logically
Line 3986... Line 4655...
}
}
 
 
#endif
#endif
 
 
 
 
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.