Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gdb/dist/gdb Remove d-exp.c (generated file)
details: https://anonhg.NetBSD.org/src/rev/018776933939
branches: trunk
changeset: 343731:018776933939
user: christos <christos%NetBSD.org@localhost>
date: Tue Feb 23 22:32:07 2016 +0000
description:
Remove d-exp.c (generated file)
diffstat:
external/gpl3/gdb/dist/gdb/d-exp.c | 2691 ------------------------------------
1 files changed, 0 insertions(+), 2691 deletions(-)
diffs (truncated from 2695 to 300 lines):
diff -r 9eeab66916fc -r 018776933939 external/gpl3/gdb/dist/gdb/d-exp.c
--- a/external/gpl3/gdb/dist/gdb/d-exp.c Tue Feb 23 18:30:16 2016 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2691 +0,0 @@
-/* original parser id follows */
-/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
-/* (use YYMAJOR/YYMINOR for ifdefs dependent on parser version) */
-
-#define YYBYACC 1
-#define YYMAJOR 1
-#define YYMINOR 9
-
-#define YYEMPTY (-1)
-#define yyclearin (yychar = YYEMPTY)
-#define yyerrok (yyerrflag = 0)
-#define YYRECOVERING() (yyerrflag != 0)
-#define YYENOMEM (-2)
-#define YYEOF 0
-#undef YYBTYACC
-#define YYBTYACC 0
-#define YYDEBUGSTR YYPREFIX "debug"
-#define YYPREFIX "yy"
-
-#define YYPURE 0
-
-#line 40 "/usr/src/tools/gdb/../../external/gpl3/gdb/dist/gdb/d-exp.y"
-
-#include "defs.h"
-#include <ctype.h>
-#include "expression.h"
-#include "value.h"
-#include "parser-defs.h"
-#include "language.h"
-#include "c-lang.h"
-#include "d-lang.h"
-#include "bfd.h" /* Required by objfiles.h. */
-#include "symfile.h" /* Required by objfiles.h. */
-#include "objfiles.h" /* For have_full_symbols and have_partial_symbols */
-#include "charset.h"
-#include "block.h"
-
-#define parse_type(ps) builtin_type (parse_gdbarch (ps))
-#define parse_d_type(ps) builtin_d_type (parse_gdbarch (ps))
-
-/* Remap normal yacc parser interface names (yyparse, yylex, yyerror, etc),
- as well as gratuitiously global symbol names, so we can have multiple
- yacc generated parsers in gdb. Note that these are only the variables
- produced by yacc. If other parser generators (bison, byacc, etc) produce
- additional global names that conflict at link time, then those parser
- generators need to be fixed instead of adding those names to this list. */
-
-#define yymaxdepth d_maxdepth
-#define yyparse d_parse_internal
-#define yylex d_lex
-#define yyerror d_error
-#define yylval d_lval
-#define yychar d_char
-#define yydebug d_debug
-#define yypact d_pact
-#define yyr1 d_r1
-#define yyr2 d_r2
-#define yydef d_def
-#define yychk d_chk
-#define yypgo d_pgo
-#define yyact d_act
-#define yyexca d_exca
-#define yyerrflag d_errflag
-#define yynerrs d_nerrs
-#define yyps d_ps
-#define yypv d_pv
-#define yys d_s
-#define yy_yys d_yys
-#define yystate d_state
-#define yytmp d_tmp
-#define yyv d_v
-#define yy_yyv d_yyv
-#define yyval d_val
-#define yylloc d_lloc
-#define yyreds d_reds /* With YYDEBUG defined */
-#define yytoks d_toks /* With YYDEBUG defined */
-#define yyname d_name /* With YYDEBUG defined */
-#define yyrule d_rule /* With YYDEBUG defined */
-#define yylhs d_yylhs
-#define yylen d_yylen
-#define yydefre d_yydefred
-#define yydgoto d_yydgoto
-#define yysindex d_yysindex
-#define yyrindex d_yyrindex
-#define yygindex d_yygindex
-#define yytable d_yytable
-#define yycheck d_yycheck
-#define yyss d_yyss
-#define yysslim d_yysslim
-#define yyssp d_yyssp
-#define yystacksize d_yystacksize
-#define yyvs d_yyvs
-#define yyvsp d_yyvsp
-
-#ifndef YYDEBUG
-#define YYDEBUG 1 /* Default to yydebug support */
-#endif
-
-#define YYFPRINTF parser_fprintf
-
-/* The state of the parser, used internally when we are parsing the
- expression. */
-
-static struct parser_state *pstate = NULL;
-
-int yyparse (void);
-
-static int yylex (void);
-
-void yyerror (char *);
-
-#line 135 "/usr/src/tools/gdb/../../external/gpl3/gdb/dist/gdb/d-exp.y"
-#ifdef YYSTYPE
-#undef YYSTYPE_IS_DECLARED
-#define YYSTYPE_IS_DECLARED 1
-#endif
-#ifndef YYSTYPE_IS_DECLARED
-#define YYSTYPE_IS_DECLARED 1
-typedef union
- {
- struct {
- LONGEST val;
- struct type *type;
- } typed_val_int;
- struct {
- DOUBLEST dval;
- struct type *type;
- } typed_val_float;
- struct symbol *sym;
- struct type *tval;
- struct typed_stoken tsval;
- struct stoken sval;
- struct ttype tsym;
- struct symtoken ssym;
- int ival;
- struct block *bval;
- enum exp_opcode opcode;
- struct stoken_vector svec;
- } YYSTYPE;
-#endif /* !YYSTYPE_IS_DECLARED */
-#line 158 "/usr/src/tools/gdb/../../external/gpl3/gdb/dist/gdb/d-exp.y"
-/* YYSTYPE gets defined by %union */
-static int parse_number (struct parser_state *, const char *,
- int, int, YYSTYPE *);
-
-static void push_expression_name (struct parser_state *, struct stoken);
-#line 148 "/usr/src/tools/gdb/../../external/gpl3/gdb/dist/gdb/d-exp.c"
-
-/* compatibility with bison */
-#ifdef YYPARSE_PARAM
-/* compatibility with FreeBSD */
-# ifdef YYPARSE_PARAM_TYPE
-# define YYPARSE_DECL() yyparse(YYPARSE_PARAM_TYPE YYPARSE_PARAM)
-# else
-# define YYPARSE_DECL() yyparse(void *YYPARSE_PARAM)
-# endif
-#else
-# define YYPARSE_DECL() yyparse(void)
-#endif
-
-/* Parameters sent to lex. */
-#ifdef YYLEX_PARAM
-# define YYLEX_DECL() yylex(void *YYLEX_PARAM)
-# define YYLEX yylex(YYLEX_PARAM)
-#else
-# define YYLEX_DECL() yylex(void)
-# define YYLEX yylex()
-#endif
-
-/* Parameters sent to yyerror. */
-#ifndef YYERROR_DECL
-#define YYERROR_DECL() yyerror(const char *s)
-#endif
-#ifndef YYERROR_CALL
-#define YYERROR_CALL(msg) yyerror(msg)
-#endif
-
-extern int YYPARSE_DECL();
-
-#define IDENTIFIER 257
-#define TYPENAME 258
-#define COMPLETE 259
-#define NAME_OR_INT 260
-#define INTEGER_LITERAL 261
-#define FLOAT_LITERAL 262
-#define CHARACTER_LITERAL 263
-#define STRING_LITERAL 264
-#define ENTRY 265
-#define ERROR 266
-#define TRUE_KEYWORD 267
-#define FALSE_KEYWORD 268
-#define NULL_KEYWORD 269
-#define SUPER_KEYWORD 270
-#define CAST_KEYWORD 271
-#define SIZEOF_KEYWORD 272
-#define TYPEOF_KEYWORD 273
-#define TYPEID_KEYWORD 274
-#define INIT_KEYWORD 275
-#define IMMUTABLE_KEYWORD 276
-#define CONST_KEYWORD 277
-#define SHARED_KEYWORD 278
-#define STRUCT_KEYWORD 279
-#define UNION_KEYWORD 280
-#define CLASS_KEYWORD 281
-#define INTERFACE_KEYWORD 282
-#define ENUM_KEYWORD 283
-#define TEMPLATE_KEYWORD 284
-#define DELEGATE_KEYWORD 285
-#define FUNCTION_KEYWORD 286
-#define DOLLAR_VARIABLE 287
-#define ASSIGN_MODIFY 288
-#define OROR 289
-#define ANDAND 290
-#define EQUAL 291
-#define NOTEQUAL 292
-#define LEQ 293
-#define GEQ 294
-#define LSH 295
-#define RSH 296
-#define HATHAT 297
-#define IDENTITY 298
-#define NOTIDENTITY 299
-#define INCREMENT 300
-#define DECREMENT 301
-#define DOTDOT 302
-#define YYERRCODE 256
-typedef int YYINT;
-static const YYINT yylhs[] = { -1,
- 0, 0, 6, 7, 7, 8, 8, 8, 9, 9,
- 10, 10, 11, 11, 12, 12, 13, 13, 14, 14,
- 15, 15, 15, 15, 17, 17, 18, 18, 19, 19,
- 19, 19, 16, 16, 16, 20, 20, 20, 20, 21,
- 21, 21, 21, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 23, 23, 24, 24, 25, 25, 25,
- 25, 25, 25, 30, 30, 31, 31, 32, 27, 28,
- 29, 29, 26, 26, 26, 26, 26, 26, 26, 26,
- 26, 26, 26, 26, 26, 26, 5, 4, 4, 1,
- 1, 3, 3, 33, 33, 33, 33, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
-};
-static const YYINT yylen[] = { 2,
- 1, 1, 1, 1, 3, 1, 3, 3, 1, 5,
- 1, 3, 1, 3, 1, 3, 1, 3, 1, 3,
- 1, 1, 1, 1, 3, 3, 3, 3, 3, 3,
- 3, 3, 1, 3, 3, 1, 3, 3, 3, 1,
- 3, 3, 3, 2, 2, 2, 2, 2, 2, 2,
- 2, 1, 1, 5, 4, 1, 3, 1, 2, 2,
- 1, 1, 1, 1, 3, 0, 1, 0, 5, 4,
- 3, 6, 3, 1, 3, 4, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 3, 1, 3, 1,
- 2, 1, 2, 1, 2, 3, 4, 1, 2, 2,
- 3, 2, 2, 3, 2, 2, 3, 2, 2, 3,
-};
-static const YYINT yydefred[] = { 0,
- 88, 98, 78, 82, 83, 84, 90, 80, 81, 79,
- 0, 0, 0, 0, 0, 77, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 2,
- 0, 86, 1, 3, 0, 0, 0, 0, 0, 0,
- 0, 19, 0, 22, 23, 24, 0, 0, 40, 52,
- 53, 0, 58, 61, 62, 63, 0, 103, 0, 106,
- 0, 100, 0, 109, 0, 44, 49, 48, 47, 45,
- 46, 64, 0, 0, 0, 0, 51, 50, 91, 0,
- 0, 93, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 59,
- 60, 0, 68, 0, 104, 0, 107, 101, 110, 0,
- 87, 0, 73, 95, 0, 0, 75, 5, 8, 7,
- 0, 0, 0, 0, 0, 20, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 41,
- 42, 43, 57, 71, 0, 0, 0, 0, 89, 65,
- 55, 0, 76, 0, 0, 70, 0, 54, 97, 10,
- 0, 69, 72,
-};
-#if defined(YYDESTRUCT_CALL) || defined(YYSTYPE_TOSTRING)
-static const YYINT yystos[] = { 0,
- 257, 258, 260, 261, 262, 263, 264, 267, 268, 269,
- 271, 279, 280, 281, 283, 287, 38, 43, 45, 42,
- 300, 301, 91, 40, 126, 33, 304, 305, 306, 307,
- 308, 309, 310, 311, 312, 313, 314, 315, 316, 317,
- 318, 319, 320, 321, 322, 323, 324, 325, 326, 327,
- 328, 329, 330, 331, 332, 333, 40, 259, 308, 259,
- 308, 259, 308, 259, 308, 326, 326, 326, 326, 326,
- 326, 312, 334, 335, 307, 310, 326, 326, 264, 42,
- 91, 337, 46, 44, 288, 61, 63, 289, 290, 124,
- 94, 38, 291, 292, 60, 62, 293, 294, 295, 296,
- 298, 299, 43, 45, 126, 42, 47, 37, 297, 300,
- 301, 91, 40, 307, 259, 46, 259, 259, 259, 44,
- 93, 41, 41, 337, 261, 257, 259, 311, 312, 312,
- 310, 315, 316, 317, 318, 319, 320, 320, 320, 320,
- 320, 320, 324, 324, 320, 320, 325, 325, 325, 326,
- 326, 326, 326, 93, 312, 334, 336, 41, 257, 312,
- 326, 93, 259, 58, 302, 93, 335, 326, 337, 313,
- 312, 41, 93,
-};
-#endif /* YYDESTRUCT_CALL || YYSTYPE_TOSTRING */
-static const YYINT yydgoto[] = { 27,
Home |
Main Index |
Thread Index |
Old Index