📄 y.tab.cc
字号:
/* A Bison parser, made from /home/dpg1/omni/cvs/40/src/tool/omniidl/cxx/idl.yy by GNU Bison version 1.28 */#define YYBISON 1 /* Identify Bison output. */#define IDENTIFIER 257#define ABSTRACT 258#define ANY 259#define ATTRIBUTE 260#define BOOLEAN 261#define CASE 262#define CHAR 263#define CONST 264#define CONTEXT 265#define CUSTOM 266#define DEFAULT 267#define DOUBLE 268#define ENUM 269#define EXCEPTION 270#define FACTORY 271#define FALSE_ 272#define FIXED 273#define FLOAT 274#define IN 275#define INOUT 276#define INTERFACE 277#define LOCAL 278#define LONG 279#define MODULE 280#define NATIVE 281#define OBJECT 282#define OCTET 283#define ONEWAY 284#define OUT 285#define PRIVATE 286#define PUBLIC 287#define RAISES 288#define READONLY 289#define SEQUENCE 290#define SHORT 291#define STRING 292#define STRUCT 293#define SUPPORTS 294#define SWITCH 295#define TRUE_ 296#define TRUNCATABLE 297#define TYPEDEF 298#define UNION 299#define UNSIGNED 300#define VALUEBASE 301#define VALUETYPE 302#define VOID 303#define WCHAR 304#define WSTRING 305#define PRAGMA 306#define PRAGMA_PREFIX 307#define PRAGMA_ID 308#define PRAGMA_VERSION 309#define OMNI_PRAGMA 310#define END_PRAGMA 311#define UNKNOWN_PRAGMA_BODY 312#define INTEGER_LITERAL 313#define CHARACTER_LITERAL 314#define WIDE_CHARACTER_LITERAL 315#define FLOATING_PT_LITERAL 316#define STRING_LITERAL 317#define WIDE_STRING_LITERAL 318#define FIXED_PT_LITERAL 319#define SCOPE_DELIM 320#define LEFT_SHIFT 321#define RIGHT_SHIFT 322#line 94 "/home/dpg1/omni/cvs/40/src/tool/omniidl/cxx/idl.yy"#include <stdlib.h>#include <string.h>#include <idlutil.h>#include <idlerr.h>#include <idlrepoId.h>#include <idlscope.h>#include <idltype.h>#include <idlexpr.h>#include <idlast.h>#define YYDEBUG 1// Globals from lexerextern int yylineno;extern char* currentFile;extern IDL_Boolean mainFile;void yyerror(char *s) {}extern int yylex();// Nasty hack for abstract valuetypesValueAbs* valueabs_hack = 0;#ifdef __VMS/* Apparently, __ALLOCA is defined for some versions of the C (but not C++) compiler on VAX. */#if defined(__ALPHA) || defined(__DECC) && __DECC_VER >= 60000000#include <builtins.h>#define alloca __ALLOCA#else#define alloca malloc#endif#endif#line 134 "/home/dpg1/omni/cvs/40/src/tool/omniidl/cxx/idl.yy"typedef union { char* id_val; int int_val; IDL_ULong ulong_val; IdlIntLiteral int_literal_val;#ifndef __VMS IdlFloatLiteral float_literal_val;#else double float_literal_val;#endif char char_val; char* string_val; IDL_WChar wchar_val; IDL_WChar* wstring_val; IDL_Boolean boolean_val; IDL_Fixed* fixed_val; IdlType* type_val; TypeSpec* type_spec_val; IdlExpr* expr_val; ScopedName* scopedname_val; Decl* decl_val; Module* module_val; Interface* interface_val; InheritSpec* inheritspec_val; Forward* forward_val; Const* const_val; Typedef* typedef_val; Struct* struct_val; Exception* exception_val; Member* member_val; Declarator* declarator_val; Union* union_val; UnionCase* union_case_val; CaseLabel* case_label_val; ValueBase* value_base_val; Value* value_val; ValueForward* value_forward_val; ValueBox* value_box_val; ValueAbs* value_abs_val; ValueInheritSpec* valueinheritspec_val; ValueInheritSupportSpec* valueinheritsupportspec_val; StateMember* statemember_val; Factory* factory_val; Enumerator* enumerator_val; Enum* enum_val; ArraySize* array_size_val; Attribute* attribute_val; Operation* operation_val; Parameter* parameter_val; RaisesSpec* raisesspec_val; ContextSpec* contextspec_val;} YYSTYPE;#include <stdio.h>#ifndef __cplusplus#ifndef __STDC__#define const#endif#endif#define YYFINAL 507#define YYFLAG -32768#define YYNTBASE 91#define YYTRANSLATE(x) ((unsigned)(x) <= 322 ? yytranslate[x] : 238)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, 2, 2, 2, 2, 84, 79, 2, 74, 75, 82, 80, 73, 81, 90, 83, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 72, 69, 86, 76, 87, 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, 88, 2, 89, 78, 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, 70, 77, 71, 85, 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, 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, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68};#if YYDEBUG != 0static const short yyprhs[] = { 0, 0, 1, 3, 5, 8, 11, 14, 17, 20, 23, 26, 28, 30, 32, 38, 39, 46, 49, 52, 54, 56, 61, 62, 69, 72, 76, 82, 83, 85, 87, 89, 90, 93, 96, 99, 102, 105, 108, 110, 112, 113, 115, 118, 121, 127, 129, 131, 133, 136, 140, 142, 144, 146, 148, 151, 155, 159, 160, 168, 169, 178, 180, 185, 189, 194, 197, 201, 206, 209, 212, 215, 216, 218, 220, 224, 226, 227, 230, 232, 234, 236, 241, 243, 245, 246, 253, 254, 261, 264, 265, 267, 269, 273, 277, 283, 285, 287, 289, 291, 293, 295, 297, 299, 301, 303, 305, 307, 311, 313, 317, 319, 323, 325, 329, 333, 335, 339, 343, 345, 349, 353, 357, 360, 362, 364, 366, 368, 370, 372, 376, 378, 380, 382, 384, 386, 388, 390, 392, 394, 397, 399, 402, 404, 406, 408, 411, 413, 415, 417, 420, 422, 425, 427, 429, 431, 433, 435, 437, 439, 441, 443, 445, 447, 449, 451, 453, 455, 457, 459, 461, 463, 465, 467, 470, 476, 478, 480, 482, 484, 486, 488, 491, 493, 495, 497, 499, 501, 503, 505, 508, 510, 512, 514, 517, 520, 524, 526, 528, 530, 532, 534, 536, 543, 546, 549, 552, 556, 560, 562, 576, 579, 582, 584, 586, 588, 590, 592, 594, 597, 601, 605, 607, 610, 615, 619, 622, 629, 632, 635, 638, 644, 646, 653, 658, 663, 665, 670, 672, 675, 677, 680, 684, 689, 690, 692, 695, 701, 708, 711, 714, 715, 718, 719, 727, 730, 734, 735, 737, 739, 741, 743, 748, 752, 756, 759, 765, 769, 771, 773, 775, 776, 779, 784, 787, 793, 794, 797, 802, 805, 811, 813, 815, 817, 819, 826, 828, 830, 833, 836, 838, 840, 842, 844, 846, 849, 850, 852, 856, 859, 864, 868, 875, 879, 883, 887, 889};static const short yyrhs[] = { -1, 92, 0, 93, 0, 92, 93, 0, 152, 69, 0,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -