📄 objc-parse.c
字号:
/* A Bison parser, made from objc-parse.y */#define YYBISON 1 /* Identify Bison output. */#define IDENTIFIER 258#define TYPENAME 259#define SCSPEC 260#define TYPESPEC 261#define TYPE_QUAL 262#define CONSTANT 263#define STRING 264#define ELLIPSIS 265#define SIZEOF 266#define ENUM 267#define STRUCT 268#define UNION 269#define IF 270#define ELSE 271#define WHILE 272#define DO 273#define FOR 274#define SWITCH 275#define CASE 276#define DEFAULT 277#define BREAK 278#define CONTINUE 279#define RETURN 280#define GOTO 281#define ASM_KEYWORD 282#define TYPEOF 283#define ALIGNOF 284#define ALIGN 285#define ATTRIBUTE 286#define EXTENSION 287#define LABEL 288#define ASSIGN 289#define OROR 290#define ANDAND 291#define EQCOMPARE 292#define ARITHCOMPARE 293#define LSHIFT 294#define RSHIFT 295#define UNARY 296#define PLUSPLUS 297#define MINUSMINUS 298#define HYPERUNARY 299#define POINTSAT 300#define INTERFACE 301#define IMPLEMENTATION 302#define END 303#define SELECTOR 304#define DEFS 305#define ENCODE 306#define CLASSNAME 307#define PUBLIC 308#line 31 "objc-parse.y"#include <stdio.h>#include <errno.h>#include <setjmp.h>#include "config.h"#include "tree.h"#include "input.h"#include "c-lex.h"#include "c-tree.h"#include "flags.h"#ifdef MULTIBYTE_CHARS#include <stdlib.h>#include <locale.h>#endif#include "objc-actions.h"#ifndef errnoextern int errno;#endifvoid yyerror ();/* Like YYERROR but do call yyerror. */#define YYERROR1 { yyerror ("syntax error"); YYERROR; }/* Cause the `yydebug' variable to be defined. */#define YYDEBUG 1#line 65 "objc-parse.y"typedef union {long itype; tree ttype; enum tree_code code; char *filename; int lineno; } YYSTYPE;#line 180 "objc-parse.y"/* Number of statements (loosely speaking) seen so far. */static int stmt_count;/* Input file and line number of the end of the body of last simple_if; used by the stmt-rule immediately after simple_if returns. */static char *if_stmt_file;static int if_stmt_line;/* List of types and structure classes of the current declaration. */static tree current_declspecs;/* Stack of saved values of current_declspecs. */static tree declspec_stack;/* 1 if we explained undeclared var errors. */static int undeclared_variable_notice;/* Objective-C specific information */tree objc_interface_context;tree objc_implementation_context;tree objc_method_context;tree objc_ivar_chain;tree objc_ivar_context;enum tree_code objc_inherit_code;int objc_receiver_context;int objc_public_flag;/* Tell yyparse how to print a token's value, if yydebug is set. */#define YYPRINT(FILE,YYCHAR,YYLVAL) yyprint(FILE,YYCHAR,YYLVAL)extern void yyprint ();#ifndef YYLTYPEtypedef struct yyltype { int timestamp; int first_line; int first_column; int last_line; int last_column; char *text; } yyltype;#define YYLTYPE yyltype#endif#include <stdio.h>#ifndef __STDC__#define const#endif#define YYFINAL 828#define YYFLAG -32768#define YYNTBASE 76#define YYTRANSLATE(x) ((unsigned)(x) <= 308 ? yytranslate[x] : 261)static const char yytranslate[] = { 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, 72, 2, 2, 2, 51, 42, 2, 58, 68, 49, 47, 73, 48, 57, 50, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 37, 69, 2, 35, 2, 36, 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, 59, 2, 75, 41, 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, 74, 40, 70, 71, 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, 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, 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, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 38, 39, 43, 44, 45, 46, 52, 53, 54, 55, 56, 60, 61, 62, 63, 64, 65, 66, 67};static const short yyprhs[] = { 0, 0, 1, 3, 4, 7, 8, 12, 14, 16, 18, 24, 28, 33, 38, 41, 44, 47, 50, 52, 53, 54, 62, 67, 68, 69, 77, 82, 83, 84, 91, 95, 97, 99, 101, 103, 105, 107, 109, 111, 113, 115, 117, 118, 120, 122, 126, 128, 131, 132, 136, 139, 142, 145, 150, 153, 158, 160, 165, 173, 175, 179, 183, 187, 191, 195, 199, 203, 207, 211, 215, 219, 223, 227, 231, 237, 241, 245, 247, 249, 251, 255, 259, 260, 265, 270, 275, 279, 283, 286, 289, 291, 293, 295, 297, 300, 301, 303, 306, 310, 312, 314, 317, 320, 325, 330, 333, 336, 340, 342, 344, 347, 350, 351, 356, 361, 365, 369, 372, 375, 378, 382, 383, 386, 389, 391, 393, 396, 399, 402, 406, 407, 410, 412, 414, 416, 418, 423, 428, 430, 432, 434, 436, 440, 442, 446, 447, 452, 453, 460, 464, 465, 472, 476, 477, 484, 486, 490, 492, 497, 502, 511, 513, 516, 520, 525, 527, 529, 533, 540, 549, 554, 561, 565, 571, 572, 576, 577, 581, 583, 585, 589, 593, 598, 602, 606, 608, 612, 617, 621, 625, 627, 631, 635, 639, 644, 648, 650, 651, 658, 663, 666, 667, 674, 679, 682, 683, 691, 692, 699, 702,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -