Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Side by Side Diff: gdb/ada-exp.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gdb/acx_configure_dir.m4 ('k') | gdb/ada-exp.y » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
None
OLDNEW
1 /* A Bison parser, made by GNU Bison 1.875c. */ 1 /* A Bison parser, made by GNU Bison 1.875c. */
2 2
3 /* Skeleton parser for Yacc-like parsing with Bison, 3 /* Skeleton parser for Yacc-like parsing with Bison,
4 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundati on, Inc. 4 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundati on, Inc.
5 5
6 This program is free software; you can redistribute it and/or modify 6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by 7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option) 8 the Free Software Foundation; either version 2, or (at your option)
9 any later version. 9 any later version.
10 10
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 #define yystate ada_state 206 #define yystate ada_state
207 #define yytmp ada_tmp 207 #define yytmp ada_tmp
208 #define yyv ada_v 208 #define yyv ada_v
209 #define yy_yyv ada_yyv 209 #define yy_yyv ada_yyv
210 #define yyval ada_val 210 #define yyval ada_val
211 #define yylloc ada_lloc 211 #define yylloc ada_lloc
212 #define yyreds ada_reds /* With YYDEBUG defined */ 212 #define yyreds ada_reds /* With YYDEBUG defined */
213 #define yytoks ada_toks /* With YYDEBUG defined */ 213 #define yytoks ada_toks /* With YYDEBUG defined */
214 #define yyname ada_name /* With YYDEBUG defined */ 214 #define yyname ada_name /* With YYDEBUG defined */
215 #define yyrule ada_rule /* With YYDEBUG defined */ 215 #define yyrule ada_rule /* With YYDEBUG defined */
216 #define yyss ada_yyss
217 #define yysslim ada_yysslim
218 #define yyssp ada_yyssp
219 #define yystacksize ada_yystacksize
220 #define yyvs ada_yyvs
221 #define yyvsp ada_yyvsp
216 222
217 #ifndef YYDEBUG 223 #ifndef YYDEBUG
218 #define YYDEBUG 1 /* Default to yydebug support */ 224 #define YYDEBUG 1 /* Default to yydebug support */
219 #endif 225 #endif
220 226
221 #define YYFPRINTF parser_fprintf 227 #define YYFPRINTF parser_fprintf
222 228
223 struct name_info { 229 struct name_info {
224 struct symbol *sym; 230 struct symbol *sym;
225 struct minimal_symbol *msym; 231 struct minimal_symbol *msym;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 291
286 /* Enabling verbose error messages. */ 292 /* Enabling verbose error messages. */
287 #ifdef YYERROR_VERBOSE 293 #ifdef YYERROR_VERBOSE
288 # undef YYERROR_VERBOSE 294 # undef YYERROR_VERBOSE
289 # define YYERROR_VERBOSE 1 295 # define YYERROR_VERBOSE 1
290 #else 296 #else
291 # define YYERROR_VERBOSE 0 297 # define YYERROR_VERBOSE 0
292 #endif 298 #endif
293 299
294 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) 300 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
295 #line 163 "ada-exp.y" 301 #line 169 "ada-exp.y"
296 typedef union YYSTYPE { 302 typedef union YYSTYPE {
297 LONGEST lval; 303 LONGEST lval;
298 struct { 304 struct {
299 LONGEST val; 305 LONGEST val;
300 struct type *type; 306 struct type *type;
301 } typed_val; 307 } typed_val;
302 struct { 308 struct {
303 DOUBLEST dval; 309 DOUBLEST dval;
304 struct type *type; 310 struct type *type;
305 } typed_val_float; 311 } typed_val_float;
306 struct type *tval; 312 struct type *tval;
307 struct stoken sval; 313 struct stoken sval;
308 struct block *bval; 314 struct block *bval;
309 struct internalvar *ivar; 315 struct internalvar *ivar;
310 } YYSTYPE; 316 } YYSTYPE;
311 /* Line 191 of yacc.c. */ 317 /* Line 191 of yacc.c. */
312 #line 313 "ada-exp.c" 318 #line 319 "ada-exp.c"
313 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 319 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
314 # define YYSTYPE_IS_DECLARED 1 320 # define YYSTYPE_IS_DECLARED 1
315 # define YYSTYPE_IS_TRIVIAL 1 321 # define YYSTYPE_IS_TRIVIAL 1
316 #endif 322 #endif
317 323
318 324
319 325
320 /* Copy the second part of user declarations. */ 326 /* Copy the second part of user declarations. */
321 327
322 328
323 /* Line 214 of yacc.c. */ 329 /* Line 214 of yacc.c. */
324 #line 325 "ada-exp.c" 330 #line 331 "ada-exp.c"
325 331
326 #if ! defined (yyoverflow) || YYERROR_VERBOSE 332 #if ! defined (yyoverflow) || YYERROR_VERBOSE
327 333
328 # ifndef YYFREE 334 # ifndef YYFREE
329 # define YYFREE xfree 335 # define YYFREE xfree
330 # endif 336 # endif
331 # ifndef YYMALLOC 337 # ifndef YYMALLOC
332 # define YYMALLOC xmalloc 338 # define YYMALLOC xmalloc
333 # endif 339 # endif
334 340
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 43, 96, 78, -1, 75, 43, 78, -1, -1, 75, 552 43, 96, 78, -1, 75, 43, 78, -1, -1, 75,
547 24, 75, 43, 97, 78, -1, -1, 11, 42, 98, 553 24, 75, 43, 97, 78, -1, -1, 11, 42, 98,
548 95, -1, 75, 42, 95, -1, -1, 75, 24, 75, 554 95, -1, 75, 42, 95, -1, -1, 75, 24, 75,
549 42, 99, 95, -1, 34, 72, -1, 32, 72, -1, 555 42, 99, 95, -1, 34, 72, -1, 32, 72, -1,
550 72, 59, 78, 68, -1 556 72, 59, 78, 68, -1
551 }; 557 };
552 558
553 /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ 559 /* YYRLINE[YYN] -- source line where rule number YYN was defined. */
554 static const unsigned short yyrline[] = 560 static const unsigned short yyrline[] =
555 { 561 {
556 0, 228, 228, 232, 233, 235, 240, 244, 248, 254, 562 0, 234, 234, 238, 239, 241, 246, 250, 254, 260,
557 273, 273, 285, 289, 291, 299, 310, 320, 324, 327, 563 279, 279, 291, 295, 297, 305, 316, 326, 330, 333,
558 330, 334, 338, 342, 346, 349, 351, 353, 355, 359, 564 336, 340, 344, 348, 352, 355, 357, 359, 361, 365,
559 372, 376, 380, 384, 388, 392, 396, 400, 404, 408, 565 378, 382, 386, 390, 394, 398, 402, 406, 410, 414,
560 411, 415, 419, 423, 425, 430, 438, 442, 448, 459, 566 417, 421, 425, 429, 431, 436, 444, 448, 454, 465,
561 463, 467, 471, 472, 473, 474, 475, 476, 480, 482, 567 469, 473, 477, 478, 479, 480, 481, 482, 486, 488,
562 487, 489, 494, 496, 501, 503, 507, 509, 521, 523, 568 493, 495, 500, 502, 507, 509, 513, 515, 527, 529,
563 529, 532, 535, 538, 540, 542, 544, 546, 548, 550, 569 535, 538, 541, 544, 546, 548, 550, 552, 554, 556,
564 554, 556, 561, 571, 573, 579, 583, 590, 598, 602, 570 560, 562, 567, 577, 579, 585, 589, 596, 604, 608,
565 608, 610, 614, 618, 620, 622, 630, 641, 643, 648, 571 614, 616, 620, 624, 626, 628, 636, 647, 649, 654,
566 657, 658, 664, 669, 675, 684, 685, 686, 690, 695, 572 663, 664, 670, 675, 681, 690, 691, 692, 696, 701,
567 710, 709, 712, 715, 714, 720, 719, 722, 725, 724, 573 716, 715, 718, 721, 720, 726, 725, 728, 731, 730,
568 732, 734, 736 574 738, 740, 742
569 }; 575 };
570 #endif 576 #endif
571 577
572 #if YYDEBUG || YYERROR_VERBOSE 578 #if YYDEBUG || YYERROR_VERBOSE
573 /* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. 579 /* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
574 First, the terminals, then, starting at YYNTOKENS, nonterminals. */ 580 First, the terminals, then, starting at YYNTOKENS, nonterminals. */
575 static const char *const yytname[] = 581 static const char *const yytname[] =
576 { 582 {
577 "$end", "error", "$undefined", "INT", "NULL_PTR", "CHARLIT", "FLOAT", 583 "$end", "error", "$undefined", "INT", "NULL_PTR", "CHARLIT", "FLOAT",
578 "TRUEKEYWORD", "FALSEKEYWORD", "COLONCOLON", "STRING", "NAME", "DOT_ID", 584 "TRUEKEYWORD", "FALSEKEYWORD", "COLONCOLON", "STRING", "NAME", "DOT_ID",
(...skipping 942 matching lines...) Expand 10 before | Expand all | Expand 10 after
1521 1527
1522 /* If YYLEN is nonzero, implement the default value of the action: 1528 /* If YYLEN is nonzero, implement the default value of the action:
1523 `$$ = $1'. 1529 `$$ = $1'.
1524 1530
1525 Otherwise, the following line sets YYVAL to garbage. 1531 Otherwise, the following line sets YYVAL to garbage.
1526 This behavior is undocumented and Bison 1532 This behavior is undocumented and Bison
1527 users should not rely upon it. Assigning to YYVAL 1533 users should not rely upon it. Assigning to YYVAL
1528 unconditionally makes the parser a bit smaller, and it avoids a 1534 unconditionally makes the parser a bit smaller, and it avoids a
1529 GCC warning that YYVAL may be used uninitialized. */ 1535 GCC warning that YYVAL may be used uninitialized. */
1530 yyval = yyvsp[1-yylen]; 1536 yyval = yyvsp[1-yylen];

error: old chunk mismatch

OLDNEW
« no previous file with comments | « gdb/acx_configure_dir.m4 ('k') | gdb/ada-exp.y » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698