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

Side by Side Diff: gdb/objc-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/nto-tdep.c ('k') | gdb/objc-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 yyrule objc_rule /* With YYDEBUG defined */ 206 #define yyrule objc_rule /* With YYDEBUG defined */
207 #define yylhs objc_yylhs 207 #define yylhs objc_yylhs
208 #define yylen objc_yylen 208 #define yylen objc_yylen
209 #define yydefred objc_yydefred 209 #define yydefred objc_yydefred
210 #define yydgoto objc_yydgoto 210 #define yydgoto objc_yydgoto
211 #define yysindex objc_yysindex 211 #define yysindex objc_yysindex
212 #define yyrindex objc_yyrindex 212 #define yyrindex objc_yyrindex
213 #define yygindex objc_yygindex 213 #define yygindex objc_yygindex
214 #define yytable objc_yytable 214 #define yytable objc_yytable
215 #define yycheck objc_yycheck 215 #define yycheck objc_yycheck
216 #define yyss objc_yyss
217 #define yysslim objc_yysslim
218 #define yyssp objc_yyssp
219 #define yystacksize objc_yystacksize
220 #define yyvs objc_yyvs
221 #define yyvsp objc_yyvsp
216 222
217 #ifndef YYDEBUG 223 #ifndef YYDEBUG
218 #define YYDEBUG 0 /* Default to no yydebug support. */ 224 #define YYDEBUG 0 /* Default to no yydebug support. */
219 #endif 225 #endif
220 226
221 int yyparse (void); 227 int yyparse (void);
222 228
223 static int yylex (void); 229 static int yylex (void);
224 230
225 void yyerror (char *); 231 void yyerror (char *);
226 232
227 233
228 234
229 /* Enabling traces. */ 235 /* Enabling traces. */
230 #ifndef YYDEBUG 236 #ifndef YYDEBUG
231 # define YYDEBUG 0 237 # define YYDEBUG 0
232 #endif 238 #endif
233 239
234 /* Enabling verbose error messages. */ 240 /* Enabling verbose error messages. */
235 #ifdef YYERROR_VERBOSE 241 #ifdef YYERROR_VERBOSE
236 # undef YYERROR_VERBOSE 242 # undef YYERROR_VERBOSE
237 # define YYERROR_VERBOSE 1 243 # define YYERROR_VERBOSE 1
238 #else 244 #else
239 # define YYERROR_VERBOSE 0 245 # define YYERROR_VERBOSE 0
240 #endif 246 #endif
241 247
242 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) 248 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
243 #line 123 "objc-exp.y" 249 #line 129 "objc-exp.y"
244 typedef union YYSTYPE { 250 typedef union YYSTYPE {
245 LONGEST lval; 251 LONGEST lval;
246 struct { 252 struct {
247 LONGEST val; 253 LONGEST val;
248 struct type *type; 254 struct type *type;
249 } typed_val_int; 255 } typed_val_int;
250 struct { 256 struct {
251 DOUBLEST dval; 257 DOUBLEST dval;
252 struct type *type; 258 struct type *type;
253 } typed_val_float; 259 } typed_val_float;
254 struct symbol *sym; 260 struct symbol *sym;
255 struct type *tval; 261 struct type *tval;
256 struct stoken sval; 262 struct stoken sval;
257 struct ttype tsym; 263 struct ttype tsym;
258 struct symtoken ssym; 264 struct symtoken ssym;
259 int voidval; 265 int voidval;
260 struct block *bval; 266 struct block *bval;
261 enum exp_opcode opcode; 267 enum exp_opcode opcode;
262 struct internalvar *ivar; 268 struct internalvar *ivar;
263 struct objc_class_str class; 269 struct objc_class_str class;
264 270
265 struct type **tvec; 271 struct type **tvec;
266 int *ivec; 272 int *ivec;
267 } YYSTYPE; 273 } YYSTYPE;
268 /* Line 191 of yacc.c. */ 274 /* Line 191 of yacc.c. */
269 #line 270 "objc-exp.c" 275 #line 276 "objc-exp.c"
270 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 276 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
271 # define YYSTYPE_IS_DECLARED 1 277 # define YYSTYPE_IS_DECLARED 1
272 # define YYSTYPE_IS_TRIVIAL 1 278 # define YYSTYPE_IS_TRIVIAL 1
273 #endif 279 #endif
274 280
275 281
276 282
277 /* Copy the second part of user declarations. */ 283 /* Copy the second part of user declarations. */
278 #line 148 "objc-exp.y" 284 #line 154 "objc-exp.y"
279 285
280 /* YYSTYPE gets defined by %union. */ 286 /* YYSTYPE gets defined by %union. */
281 static int parse_number (char *, int, int, YYSTYPE *); 287 static int parse_number (char *, int, int, YYSTYPE *);
282 288
283 289
284 /* Line 214 of yacc.c. */ 290 /* Line 214 of yacc.c. */
285 #line 286 "objc-exp.c" 291 #line 292 "objc-exp.c"
286 292
287 #if ! defined (yyoverflow) || YYERROR_VERBOSE 293 #if ! defined (yyoverflow) || YYERROR_VERBOSE
288 294
289 # ifndef YYFREE 295 # ifndef YYFREE
290 # define YYFREE xfree 296 # define YYFREE xfree
291 # endif 297 # endif
292 # ifndef YYMALLOC 298 # ifndef YYMALLOC
293 # define YYMALLOC xmalloc 299 # define YYMALLOC xmalloc
294 # endif 300 # endif
295 301
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 17, -1, 21, 93, -1, 21, -1, 19, 95, 41, 516 17, -1, 21, 93, -1, 21, -1, 19, 95, 41,
511 91, 42, -1, 25, 92, -1, 26, 92, -1, 9, 517 91, 42, -1, 25, 92, -1, 26, 92, -1, 9,
512 -1, 24, -1, 22, -1, 23, -1, 91, -1, 94, 518 -1, 24, -1, 22, -1, 23, -1, 91, -1, 94,
513 30, 91, -1, 8, -1, 60, -1, 9, -1, 10, 519 30, 91, -1, 8, -1, 60, -1, 9, -1, 10,
514 -1, 11, -1, 8, -1, 60, -1 520 -1, 11, -1, 8, -1, 60, -1
515 }; 521 };
516 522
517 /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ 523 /* YYRLINE[YYN] -- source line where rule number YYN was defined. */
518 static const unsigned short yyrline[] = 524 static const unsigned short yyrline[] =
519 { 525 {
520 0, 227, 227, 228, 231, 238, 239, 244, 248, 252, 526 0, 233, 233, 234, 237, 244, 245, 250, 254, 258,
521 256, 260, 264, 268, 272, 276, 280, 284, 290, 297, 527 262, 266, 270, 274, 278, 282, 286, 290, 296, 303,
522 301, 308, 316, 320, 329, 328, 351, 350, 366, 365, 528 307, 314, 322, 326, 335, 334, 357, 356, 372, 371,
523 374, 376, 379, 380, 383, 385, 387, 394, 391, 401, 529 380, 382, 385, 386, 389, 391, 393, 400, 397, 407,
524 405, 408, 412, 416, 419, 426, 432, 438, 444, 448, 530 411, 414, 418, 422, 425, 432, 438, 444, 450, 454,
525 452, 456, 460, 464, 468, 472, 476, 480, 484, 488, 531 458, 462, 466, 470, 474, 478, 482, 486, 490, 494,
526 492, 496, 500, 504, 508, 512, 516, 520, 524, 528, 532 498, 502, 506, 510, 514, 518, 522, 526, 530, 534,
527 534, 541, 554, 561, 564, 568, 575, 583, 608, 616, 533 540, 547, 560, 567, 570, 574, 581, 589, 614, 622,
528 634, 644, 659, 672, 697, 698, 729, 785, 791, 792, 534 640, 650, 672, 685, 710, 711, 742, 798, 804, 805,
529 793, 795, 797, 801, 803, 805, 807, 809, 812, 814, 535 806, 808, 810, 814, 816, 818, 820, 822, 825, 827,
530 819, 826, 828, 832, 834, 838, 840, 852, 856, 858, 536 832, 839, 841, 845, 847, 851, 853, 865, 869, 871,
531 866, 868, 870, 872, 874, 876, 878, 880, 882, 884, 537 879, 881, 883, 885, 887, 889, 891, 893, 895, 897,
532 886, 888, 890, 892, 895, 898, 901, 904, 908, 910, 538 899, 901, 903, 905, 908, 911, 914, 917, 921, 923,
533 914, 916, 923, 924, 927, 928, 934, 940, 949, 954, 539 927, 929, 936, 937, 940, 941, 947, 953, 962, 967,
534 961, 962, 963, 964, 965, 968, 969 540 974, 975, 976, 977, 978, 981, 982
535 }; 541 };
536 #endif 542 #endif
537 543
538 #if YYDEBUG || YYERROR_VERBOSE 544 #if YYDEBUG || YYERROR_VERBOSE
539 /* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. 545 /* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
540 First, the terminals, then, starting at YYNTOKENS, nonterminals. */ 546 First, the terminals, then, starting at YYNTOKENS, nonterminals. */
541 static const char *const yytname[] = 547 static const char *const yytname[] =
542 { 548 {
543 "$end", "error", "$undefined", "INT", "FLOAT", "STRING", "NSSTRING", 549 "$end", "error", "$undefined", "INT", "FLOAT", "STRING", "NSSTRING",
544 "SELECTOR", "NAME", "TYPENAME", "CLASSNAME", "NAME_OR_INT", "STRUCT", 550 "SELECTOR", "NAME", "TYPENAME", "CLASSNAME", "NAME_OR_INT", "STRUCT",
(...skipping 946 matching lines...) Expand 10 before | Expand all | Expand 10 after
1491 1497
1492 /* If YYLEN is nonzero, implement the default value of the action: 1498 /* If YYLEN is nonzero, implement the default value of the action:
1493 `$$ = $1'. 1499 `$$ = $1'.
1494 1500
1495 Otherwise, the following line sets YYVAL to garbage. 1501 Otherwise, the following line sets YYVAL to garbage.
1496 This behavior is undocumented and Bison 1502 This behavior is undocumented and Bison
1497 users should not rely upon it. Assigning to YYVAL 1503 users should not rely upon it. Assigning to YYVAL
1498 unconditionally makes the parser a bit smaller, and it avoids a 1504 unconditionally makes the parser a bit smaller, and it avoids a
1499 GCC warning that YYVAL may be used uninitialized. */ 1505 GCC warning that YYVAL may be used uninitialized. */
1500 yyval = yyvsp[1-yylen]; 1506 yyval = yyvsp[1-yylen];

error: old chunk mismatch

OLDNEW
« no previous file with comments | « gdb/nto-tdep.c ('k') | gdb/objc-exp.y » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698