47 #define YYBISON_VERSION "3.0.2"
50 #define YYSKELETON_NAME "yacc.c"
87 #define parse_type(ps) builtin_type (parse_gdbarch (ps))
96 #define yymaxdepth c_maxdepth
97 #define yyparse c_parse_internal
99 #define yyerror c_error
100 #define yylval c_lval
101 #define yychar c_char
102 #define yydebug c_debug
103 #define yypact c_pact
110 #define yyexca c_exca
111 #define yyerrflag c_errflag
112 #define yynerrs c_nerrs
117 #define yystate c_state
122 #define yylloc c_lloc
123 #define yyreds c_reds
124 #define yytoks c_toks
125 #define yyname c_name
126 #define yyrule c_rule
127 #define yylhs c_yylhs
128 #define yylen c_yylen
129 #define yydefred c_yydefred
130 #define yydgoto c_yydgoto
131 #define yysindex c_yysindex
132 #define yyrindex c_yyrindex
133 #define yygindex c_yygindex
134 #define yytable c_yytable
135 #define yycheck c_yycheck
137 #define yysslim c_yysslim
138 #define yyssp c_yyssp
139 #define yystacksize c_yystacksize
141 #define yyvsp c_yyvsp
147 #define YYFPRINTF parser_fprintf
156 static int yylex (
void);
166 # if defined __cplusplus && 201103L <= __cplusplus
167 # define YY_NULLPTR nullptr
169 # define YY_NULLPTR 0
174 #ifdef YYERROR_VERBOSE
175 # undef YYERROR_VERBOSE
176 # define YYERROR_VERBOSE 1
178 # define YYERROR_VERBOSE 0
269 #define UNKNOWN_CPP_NAME 266
272 #define CLASSNAME 269
273 #define OBJC_LBRAC 270
274 #define NAME_OR_INT 271
282 #define COLONCOLON 279
287 #define REINTERPRET_CAST 284
288 #define DYNAMIC_CAST 285
289 #define STATIC_CAST 286
290 #define CONST_CAST 287
295 #define SIGNED_KEYWORD 292
298 #define INT_KEYWORD 295
299 #define CONST_KEYWORD 296
300 #define VOLATILE_KEYWORD 297
301 #define DOUBLE_KEYWORD 298
303 #define ASSIGN_MODIFY 300
304 #define TRUEKEYWORD 301
305 #define FALSEKEYWORD 302
306 #define ABOVE_COMMA 303
316 #define INCREMENT 313
317 #define DECREMENT 314
319 #define ARROW_STAR 316
321 #define BLOCKNAME 318
323 #define DOTDOTDOT 320
326 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
351 const struct block *
bval;
364 # define YYSTYPE_IS_TRIVIAL 1
365 # define YYSTYPE_IS_DECLARED 1
380 const char *,
int,
int,
YYSTYPE *);
388 #define YYPRINT(FILE, TYPE, VALUE) c_print_token (FILE, TYPE, VALUE)
422 # ifdef __SIZE_TYPE__
423 # define YYSIZE_T __SIZE_TYPE__
424 # elif defined size_t
425 # define YYSIZE_T size_t
426 # elif ! defined YYSIZE_T
428 # define YYSIZE_T size_t
430 # define YYSIZE_T unsigned int
434 #define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
437 # if defined YYENABLE_NLS && YYENABLE_NLS
439 # include <libintl.h>
440 # define YY_(Msgid) dgettext ("bison-runtime", Msgid)
444 # define YY_(Msgid) Msgid
449 # if (defined __GNUC__ \
450 && (2 < __GNUC__ || (__GNUC__ == 2 && 96 <= __GNUC_MINOR__))) \
451 || defined __SUNPRO_C && 0x5110 <= __SUNPRO_C
452 # define YY_ATTRIBUTE(Spec) __attribute__(Spec)
454 # define YY_ATTRIBUTE(Spec)
458 #ifndef YY_ATTRIBUTE_PURE
459 # define YY_ATTRIBUTE_PURE YY_ATTRIBUTE ((__pure__))
462 #ifndef YY_ATTRIBUTE_UNUSED
463 # define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__))
466 #if !defined _Noreturn \
467 && (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112)
468 # if defined _MSC_VER && 1200 <= _MSC_VER
469 # define _Noreturn __declspec (noreturn)
471 # define _Noreturn YY_ATTRIBUTE ((__noreturn__))
476 #if ! defined lint || defined __GNUC__
477 # define YYUSE(E) ((void) (E))
482 #if defined __GNUC__ && 407 <= __GNUC__ * 100 + __GNUC_MINOR__
484 # define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \
485 _Pragma ("GCC diagnostic push") \
486 _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"")\
487 _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"")
488 # define YY_IGNORE_MAYBE_UNINITIALIZED_END \
489 _Pragma ("GCC diagnostic pop")
491 # define YY_INITIAL_VALUE(Value) Value
493 #ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
494 # define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
495 # define YY_IGNORE_MAYBE_UNINITIALIZED_END
497 #ifndef YY_INITIAL_VALUE
498 # define YY_INITIAL_VALUE(Value)
502 #if ! defined yyoverflow || YYERROR_VERBOSE
506 # ifdef YYSTACK_USE_ALLOCA
507 # if YYSTACK_USE_ALLOCA
509 # define YYSTACK_ALLOC __builtin_alloca
510 # elif defined __BUILTIN_VA_ARG_INCR
513 # define YYSTACK_ALLOC __alloca
514 # elif defined _MSC_VER
515 # define alloca _alloca
517 # define YYSTACK_ALLOC alloca
518 # if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS
521 # ifndef EXIT_SUCCESS
522 # define EXIT_SUCCESS 0
529 # ifdef YYSTACK_ALLOC
531 # define YYSTACK_FREE(Ptr) do { ; } while (0)
532 # ifndef YYSTACK_ALLOC_MAXIMUM
537 # define YYSTACK_ALLOC_MAXIMUM 4032
540 # define YYSTACK_ALLOC YYMALLOC
541 # define YYSTACK_FREE YYFREE
542 # ifndef YYSTACK_ALLOC_MAXIMUM
543 # define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
545 # if (defined __cplusplus && ! defined EXIT_SUCCESS \
546 && ! ((defined YYMALLOC || defined xmalloc) \
547 && (defined YYFREE || defined xfree)))
549 # ifndef EXIT_SUCCESS
550 # define EXIT_SUCCESS 0
554 # define YYMALLOC xmalloc
555 # if ! defined xmalloc && ! defined EXIT_SUCCESS
560 # define YYFREE xfree
561 # if ! defined xfree && ! defined EXIT_SUCCESS
569 #if (! defined yyoverflow \
570 && (! defined __cplusplus \
571 || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
581 # define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
585 # define YYSTACK_BYTES(N) \
586 ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
587 + YYSTACK_GAP_MAXIMUM)
589 # define YYCOPY_NEEDED 1
596 # define YYSTACK_RELOCATE(Stack_alloc, Stack) \
599 YYSIZE_T yynewbytes; \
600 YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \
601 Stack = &yyptr->Stack_alloc; \
602 yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
603 yyptr += yynewbytes / sizeof (*yyptr); \
609 #if defined YYCOPY_NEEDED && YYCOPY_NEEDED
613 # if defined __GNUC__ && 1 < __GNUC__
614 # define YYCOPY(Dst, Src, Count) \
615 __builtin_memcpy (Dst, Src, (Count) * sizeof (*(Src)))
617 # define YYCOPY(Dst, Src, Count) \
621 for (yyi = 0; yyi < (Count); yyi++) \
622 (Dst)[yyi] = (Src)[yyi]; \
641 #define YYNSTATES 413
646 #define YYMAXUTOK 320
648 #define YYTRANSLATE(YYX) \
649 ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
653 static const yytype_uint8 yytranslate[] =
655 0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
656 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
657 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
658 2, 2, 2, 84, 2, 2, 2, 70, 56, 2,
659 79, 83, 68, 66, 48, 67, 76, 69, 2, 2,
660 2, 2, 2, 2, 2, 2, 2, 2, 87, 2,
661 59, 50, 60, 51, 65, 2, 2, 2, 2, 2,
662 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
663 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
664 2, 78, 2, 86, 55, 2, 2, 2, 2, 2,
665 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
666 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
667 2, 2, 2, 88, 54, 89, 85, 2, 2, 2,
668 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
669 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
670 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
671 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
672 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
673 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
674 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
675 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
676 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
677 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
678 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
679 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
680 2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
681 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
682 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
683 25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
684 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
685 45, 46, 47, 49, 52, 53, 57, 58, 61, 62,
686 63, 64, 71, 72, 73, 74, 75, 77, 80, 81,
692 static const yytype_uint16 yyrline[] =
694 0, 288, 288, 289, 292, 296, 300, 306, 313, 314,
695 319, 323, 327, 331, 335, 339, 343, 347, 351, 355,
696 359, 363, 367, 371, 377, 384, 394, 400, 407, 415,
697 419, 425, 432, 442, 448, 455, 463, 467, 471, 481,
698 480, 504, 503, 520, 519, 528, 530, 533, 534, 537,
699 539, 541, 548, 545, 557, 556, 582, 586, 589, 593,
700 597, 615, 618, 625, 629, 633, 639, 643, 647, 651,
701 655, 659, 663, 667, 671, 675, 679, 683, 687, 691,
702 695, 699, 703, 707, 711, 715, 719, 723, 730, 737,
703 746, 759, 766, 773, 776, 782, 789, 809, 814, 818,
704 822, 829, 846, 864, 897, 906, 914, 924, 932, 938,
705 948, 963, 985, 998, 1022, 1031, 1032, 1060, 1114, 1118,
706 1119, 1122, 1125, 1126, 1130, 1131, 1136, 1135, 1139, 1138,
707 1141, 1143, 1147, 1156, 1158, 1159, 1162, 1164, 1171, 1178,
708 1184, 1191, 1193, 1195, 1197, 1201, 1203, 1215, 1219, 1221,
709 1225, 1229, 1233, 1237, 1241, 1245, 1249, 1253, 1257, 1261,
710 1265, 1269, 1273, 1277, 1281, 1285, 1289, 1293, 1297, 1301,
711 1305, 1309, 1313, 1317, 1321, 1325, 1331, 1337, 1340, 1345,
712 1351, 1354, 1359, 1365, 1368, 1373, 1379, 1382, 1387, 1393,
713 1397, 1401, 1405, 1412, 1416, 1418, 1422, 1423, 1431, 1439,
714 1450, 1452, 1461, 1467, 1474, 1475, 1482, 1486, 1487, 1490,
715 1491, 1494, 1498, 1500, 1504, 1506, 1508, 1510, 1512, 1514,
716 1516, 1518, 1520, 1522, 1524, 1526, 1528, 1530, 1532, 1534,
717 1536, 1538, 1540, 1542, 1582, 1584, 1586, 1588, 1590, 1592,
718 1594, 1596, 1598, 1600, 1602, 1604, 1606, 1608, 1610, 1612,
719 1614, 1630, 1631, 1632, 1633, 1634, 1635, 1638, 1639, 1647,
724 #if YYDEBUG || YYERROR_VERBOSE || 0
727 static const char *
const yytname[] =
729 "$end",
"error",
"$undefined",
"INT",
"FLOAT",
"DECFLOAT",
"STRING",
730 "NSSTRING",
"SELECTOR",
"CHAR",
"NAME",
"UNKNOWN_CPP_NAME",
"COMPLETE",
731 "TYPENAME",
"CLASSNAME",
"OBJC_LBRAC",
"NAME_OR_INT",
"OPERATOR",
732 "STRUCT",
"CLASS",
"UNION",
"ENUM",
"SIZEOF",
"UNSIGNED",
"COLONCOLON",
733 "TEMPLATE",
"ERROR",
"NEW",
"DELETE",
"REINTERPRET_CAST",
"DYNAMIC_CAST",
734 "STATIC_CAST",
"CONST_CAST",
"ENTRY",
"TYPEOF",
"DECLTYPE",
"TYPEID",
735 "SIGNED_KEYWORD",
"LONG",
"SHORT",
"INT_KEYWORD",
"CONST_KEYWORD",
736 "VOLATILE_KEYWORD",
"DOUBLE_KEYWORD",
"VARIABLE",
"ASSIGN_MODIFY",
737 "TRUEKEYWORD",
"FALSEKEYWORD",
"','",
"ABOVE_COMMA",
"'='",
"'?'",
738 "OROR",
"ANDAND",
"'|'",
"'^'",
"'&'",
"EQUAL",
"NOTEQUAL",
"'<'",
"'>'",
739 "LEQ",
"GEQ",
"LSH",
"RSH",
"'@'",
"'+'",
"'-'",
"'*'",
"'/'",
"'%'",
740 "UNARY",
"INCREMENT",
"DECREMENT",
"ARROW",
"ARROW_STAR",
"'.'",
741 "DOT_STAR",
"'['",
"'('",
"BLOCKNAME",
"FILENAME",
"DOTDOTDOT",
"')'",
742 "'!'",
"'~'",
"']'",
"':'",
"'{'",
"'}'",
"$accept",
"start",
"type_exp",
743 "exp1",
"exp",
"$@1",
"$@2",
"$@3",
"msglist",
"msgarglist",
"msgarg",
744 "$@4",
"$@5",
"lcurly",
"arglist",
"rcurly",
"string_exp",
"block",
745 "variable",
"qualified_name",
"space_identifier",
"const_or_volatile",
746 "cv_with_space_id",
"const_or_volatile_or_space_identifier_noopt",
747 "const_or_volatile_or_space_identifier",
"ptr_operator",
"$@6",
"$@7",
748 "ptr_operator_ts",
"abs_decl",
"direct_abs_decl",
"array_mod",
749 "func_mod",
"type",
"typebase",
"type_name",
"parameter_typelist",
750 "nonempty_typelist",
"ptype",
"conversion_type_id",
751 "conversion_declarator",
"const_and_volatile",
"const_or_volatile_noopt",
752 "oper",
"name",
"name_not_typename",
YY_NULLPTR
759 static const yytype_uint16 yytoknum[] =
761 0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
762 265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
763 275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
764 285, 286, 287, 288, 289, 290, 291, 292, 293, 294,
765 295, 296, 297, 298, 299, 300, 301, 302, 44, 303,
766 61, 63, 304, 305, 124, 94, 38, 306, 307, 60,
767 62, 308, 309, 310, 311, 64, 43, 45, 42, 47,
768 37, 312, 313, 314, 315, 316, 46, 317, 91, 40,
769 318, 319, 320, 41, 33, 126, 93, 58, 123, 125
773 #define YYPACT_NINF -217
775 #define yypact_value_is_default(Yystate) \
776 (!!((Yystate) == (-217)))
778 #define YYTABLE_NINF -121
780 #define yytable_value_is_error(Yytable_value) \
785 static const yytype_int16 yypact[] =
787 468, -217, -217, -217, -217, -217, -54, -217, -217, -36,
788 35, 227, -217, 800, 137, 347, 355, 363, 640, 185,
789 24, 112, 20, 36, 48, 51, -17, -8, 40, 226,
790 291, 57, -217, 26, 72, -217, -217, -217, -217, 726,
791 726, 726, 726, 726, 726, 468, 103, -217, 726, 726,
792 -217, 135, -217, 104, 1340, 382, 149, 134, -217, -217,
793 116, -217, 1647, -217, 74, 58, -217, 120, -217, 154,
794 112, -217, 53, 35, -217, 1340, -217, 111, 25, 30,
795 -217, -217, -217, -217, -217, -217, -217, -217, -217, -217,
796 -217, -217, -217, -217, -217, -217, -217, -217, -217, -217,
797 -217, -217, -217, -217, -217, 117, 107, -217, -217, 204,
798 -217, -217, -217, -217, -217, -217, -217, -217, 201, -217,
799 202, -217, 203, -217, 207, 35, 468, 702, -217, 11,
800 176, -217, -217, -217, -217, -217, 167, 1615, 1615, 1615,
801 1615, 554, 726, 468, 80, -217, -217, 187, 188, 279,
802 -217, -217, 208, 210, -217, -217, -217, 702, 702, 702,
803 702, 702, 702, 169, -22, 702, 702, -217, 726, 726,
804 726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
805 726, 726, 726, 726, 726, 726, 726, 726, 726, 726,
806 726, 726, -217, -217, 71, 726, 265, 726, 726, 1604,
807 166, 1340, -29, -217, 112, 251, 152, 74, -217, 10,
808 194, -217, 12, 906, 199, 21, -217, 27, -217, -217,
809 -217, 196, 726, 112, 244, 37, 37, 37, -217, 184,
810 198, 200, 215, -217, -217, 34, -217, -217, -217, -217,
811 -217, 197, 245, -217, -217, 1647, 228, 229, 230, 249,
812 948, 221, 1004, 222, 1060, 270, -217, -217, -217, 273,
813 278, -217, -217, -217, 726, -217, 1340, -9, 1340, 1340,
814 836, 1396, 1425, 1452, 1481, 1508, 1537, 1537, 453, 453,
815 453, 453, 539, 539, 625, 903, 903, 702, 702, 702,
816 -217, 35, 112, -217, 308, 130, -217, 112, -217, 311,
817 130, 7, 726, -217, 241, 277, -217, 726, 726, -217,
818 303, -217, -217, -217, 246, -217, 199, 74, 247, -217,
819 -217, 252, 253, -217, 27, 746, -217, -217, -217, 8,
820 -217, 112, 726, 726, 254, 37, -217, 255, 257, 258,
821 -217, -217, -217, -217, -217, -217, -217, -217, 286, 259,
822 260, 268, 269, -217, -217, -217, -217, -217, -217, -217,
823 -217, 702, -217, 726, 337, -217, 339, -217, -217, 9,
824 152, 915, 702, 1340, -217, -217, -217, -217, -217, -217,
825 74, -217, -217, 1340, 1340, -217, -217, 255, 726, -217,
826 -217, -217, 726, 726, 726, 726, 1369, -217, -217, -217,
827 -217, -217, -217, -217, 1340, 1116, 1172, 1228, 1284, -217,
834 static const yytype_uint16 yydefact[] =
836 120, 88, 91, 92, 101, 104, 0, 89, 257, 260,
837 148, 0, 90, 120, 0, 0, 0, 0, 0, 190,
838 0, 0, 0, 0, 0, 0, 0, 0, 0, 192,
839 150, 151, 149, 212, 213, 175, 94, 105, 106, 0,
840 0, 0, 0, 0, 0, 120, 258, 108, 0, 0,
841 56, 0, 3, 2, 8, 57, 103, 0, 93, 115,
842 0, 122, 120, 4, 204, 147, 211, 123, 259, 117,
843 0, 54, 0, 39, 41, 43, 148, 0, 214, 215,
844 233, 244, 230, 241, 240, 227, 225, 226, 236, 237,
845 231, 232, 238, 239, 234, 235, 220, 221, 222, 223,
846 224, 242, 243, 246, 245, 0, 0, 229, 228, 207,
847 250, 251, 255, 178, 253, 254, 252, 256, 177, 181,
848 180, 184, 183, 187, 186, 0, 120, 22, 196, 198,
849 199, 197, 189, 260, 258, 116, 0, 120, 120, 120,
850 120, 120, 0, 120, 198, 199, 191, 158, 154, 159,
851 152, 176, 173, 171, 169, 209, 210, 11, 13, 12,
852 10, 16, 17, 0, 0, 14, 15, 1, 0, 0,
853 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
854 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
855 0, 0, 18, 19, 0, 0, 0, 0, 0, 52,
856 0, 58, 0, 102, 0, 0, 120, 194, 195, 0,
857 130, 128, 0, 120, 132, 134, 205, 135, 138, 140,
858 110, 0, 57, 0, 112, 0, 0, 0, 249, 0,
859 0, 0, 0, 248, 247, 207, 206, 179, 182, 185,
860 188, 0, 165, 156, 172, 120, 0, 0, 0, 0,
861 0, 0, 0, 0, 0, 163, 155, 157, 153, 167,
862 162, 160, 174, 170, 0, 65, 9, 0, 87, 86,
863 0, 84, 83, 82, 81, 80, 74, 75, 78, 79,
864 76, 77, 72, 73, 66, 70, 71, 67, 68, 69,
865 25, 253, 0, 28, 23, 29, 32, 0, 35, 30,
866 36, 0, 57, 202, 0, 200, 61, 0, 0, 62,
867 111, 118, 121, 119, 0, 142, 131, 125, 0, 141,
868 145, 0, 0, 126, 133, 120, 137, 139, 95, 0,
869 113, 0, 0, 0, 0, 46, 47, 45, 0, 0,
870 218, 216, 219, 217, 126, 208, 96, 166, 0, 0,
871 0, 0, 0, 5, 6, 7, 21, 20, 164, 168,
872 161, 64, 38, 0, 26, 24, 33, 31, 37, 0,
873 120, 120, 63, 59, 144, 124, 129, 143, 136, 146,
874 125, 55, 114, 51, 50, 40, 48, 0, 0, 42,
875 44, 193, 0, 0, 0, 0, 85, 27, 34, 53,
876 60, 201, 203, 127, 49, 0, 0, 0, 0, 97,
881 static const yytype_int16 yypgoto[] =
883 -217, -217, 3, 14, -11, -217, -217, -217, -31, -217,
884 18, -217, -217, -217, -216, 153, -217, -217, -217, -122,
885 -217, -188, -217, -63, -26, -101, -217, -217, -217, 143,
886 146, -213, -212, -124, 39, 333, 170, -217, -217, -217,
887 159, -217, -182, -5, 6, 350
891 static const yytype_int16 yydefgoto[] =
893 -1, 51, 163, 164, 54, 225, 226, 227, 334, 335,
894 336, 302, 222, 55, 202, 307, 56, 57, 58, 59,
895 206, 60, 61, 62, 376, 214, 380, 317, 215, 216,
896 217, 218, 219, 63, 64, 132, 322, 305, 65, 110,
897 236, 66, 67, 68, 337, 69
903 static const yytype_int16 yytable[] =
905 75, 208, 241, 52, 326, 327, 329, 127, 235, 117,
906 117, 117, 117, 314, 53, 318, 117, 251, 312, 308,
907 118, 120, 122, 124, 313, 70, 168, 136, 157, 158,
908 159, 160, 161, 162, 8, 133, 209, 165, 166, 168,
909 229, 13, 209, 71, 201, 231, 208, 111, 112, 242,
910 114, 243, 109, 115, 13, 168, 308, 308, 200, 72,
911 306, 265, 141, 111, 112, 117, 114, 117, 155, 115,
912 13, 142, 293, 209, 298, 303, 221, 362, 224, 137,
913 152, 111, 112, 290, 291, 332, 369, 115, 13, 303,
914 210, 381, 399, 368, 153, 138, 315, 154, 319, 212,
915 213, 207, 344, 230, 134, 212, 325, 139, 232, 316,
916 140, 326, 327, 156, 210, 33, 34, 116, 255, 143,
917 256, 348, 111, 112, 333, 114, 211, -107, 115, 13,
918 250, 252, 254, 116, 235, 167, 212, 213, 223, -120,
919 246, 247, 248, 249, 208, 169, 253, 111, 112, 113,
920 114, 116, 168, 115, 13, 203, 292, 266, 204, 268,
921 269, 270, 271, 272, 273, 274, 275, 276, 277, 278,
922 279, 280, 281, 282, 283, 284, 285, 286, 287, 288,
923 289, 205, 400, 267, 295, -119, 300, 220, 313, 117,
924 234, 117, 116, 33, 34, 338, 339, 228, 128, 117,
925 294, 303, 299, 233, 194, 195, 196, 197, 198, 199,
926 310, 201, 301, 237, 238, 239, 244, 116, 117, 240,
927 117, 117, 117, 129, 130, 131, 245, 257, 258, 330,
928 1, 2, 3, 4, 5, 6, 7, 8, 9, 128,
929 73, 74, 11, 12, 13, 33, 34, 402, 262, 18,
930 263, 20, 264, 361, 375, 306, 22, 23, 24, 25,
931 210, 311, 211, 28, 144, 145, 131, 323, 331, -120,
932 340, 36, 211, 37, 38, 111, 112, 296, 291, 328,
933 346, 115, 13, 39, 341, 347, 342, 117, 349, 350,
934 351, 201, 117, 40, 41, 42, 372, 373, 364, 43,
935 44, 343, 259, 366, 354, 356, 45, 46, 47, 352,
936 358, 48, 49, 359, 147, 50, 260, 375, 360, 261,
937 365, 383, 384, 367, 370, 371, 117, -109, 148, 149,
938 117, 150, 374, 377, 151, 378, 379, 382, 392, 393,
939 385, 387, 388, 389, 390, 116, 391, 394, 395, 397,
940 297, 398, 396, 386, 403, 309, 321, 111, 112, 119,
941 114, 324, 146, 115, 13, 111, 112, 121, 114, 304,
942 135, 115, 13, 111, 112, 123, 114, 404, 0, 115,
943 13, 405, 406, 407, 408, 1, 2, 3, 4, 5,
944 6, 7, 8, 9, 345, 10, 0, 11, 12, 13,
945 14, 15, 16, 17, 18, 19, 20, 21, 0, 0,
946 0, 22, 23, 24, 25, 0, 26, 27, 28, 29,
947 30, 31, 32, 33, 34, 35, 36, 116, 37, 38,
948 0, 0, 0, 0, 0, 116, 0, 0, 39, 0,
949 0, 0, 0, 116, 0, 0, 0, -120, 40, 41,
950 42, 0, 0, 0, 43, 44, 0, 0, 0, 0,
951 0, 45, 46, 47, 0, 0, 48, 49, 169, 0,
952 50, 1, 2, 3, 4, 5, 6, 7, 8, 9,
953 0, 10, 0, 11, 12, 13, 14, 15, 16, 17,
954 18, 19, 20, 21, 0, 0, 0, 22, 23, 24,
955 25, 0, 26, 27, 28, 29, 30, 31, 32, 33,
956 34, 35, 36, 0, 37, 38, 184, 185, 186, 187,
957 188, 189, 190, 191, 39, 192, 193, 194, 195, 196,
958 197, 198, 199, 0, 40, 41, 42, 0, 0, 0,
959 43, 44, 0, 0, 0, 0, 0, 45, 46, 47,
960 0, 0, 48, 49, 169, 0, 50, 1, 2, 3,
961 4, 5, 6, 7, 8, 9, 0, 10, 0, 11,
962 12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
963 0, 0, 0, 22, 23, 24, 25, 0, 0, 0,
964 28, 29, 30, 31, 32, 33, 34, 35, 36, 0,
965 37, 38, 0, 0, 186, 187, 188, 189, 190, 191,
966 39, 192, 193, 194, 195, 196, 197, 198, 199, 0,
967 40, 41, 42, 0, 0, 0, 43, 44, 0, 0,
968 0, 0, 0, 45, 46, 47, 0, 0, 48, 49,
969 169, 0, 50, 1, 2, 3, 4, 5, 6, 7,
970 8, 9, 0, 125, 0, 11, 12, 13, 0, 0,
971 0, 0, 18, 0, 20, 0, 0, 0, 0, 22,
972 23, 24, 25, 0, 0, 0, 28, 0, 0, 0,
973 0, 0, 0, 0, 36, 0, 37, 38, 0, 0,
974 0, 187, 188, 189, 190, 191, 39, 192, 193, 194,
975 195, 196, 197, 198, 199, 0, 40, 41, 42, 0,
976 0, 0, 43, 44, 0, 0, 0, 169, 0, 126,
977 46, 47, 0, 0, 48, 49, 0, 0, 50, 1,
978 2, 3, 4, 5, 6, 7, 8, 9, 0, 125,
979 0, 11, 12, 13, 0, 0, 0, 0, 18, 0,
980 20, 0, 0, 0, 0, 22, 23, 24, 25, 76,
981 0, 0, 28, 0, 14, 15, 16, 17, 0, 19,
982 36, 21, 37, 38, 192, 193, 194, 195, 196, 197,
983 198, 199, 39, 29, 30, 31, 32, 33, 34, 35,
984 0, 0, 40, 41, 42, 0, 0, 0, 43, 44,
985 0, 0, 0, 0, 0, 45, 46, 47, 0, 0,
986 48, 49, 0, 76, 50, 77, 0, 0, 14, 15,
987 16, 17, 0, 19, 0, 21, 0, 78, 79, 320,
988 0, 0, 0, 0, 0, 0, 0, 29, 30, 31,
989 32, 33, 34, 35, 0, 80, 0, 0, 81, 0,
990 82, 169, 83, 84, 85, 86, 87, 88, 89, 90,
991 91, 92, 93, 94, 95, 0, 96, 97, 98, 99,
992 100, 0, 101, 102, 103, 104, 0, 0, 105, 106,
993 0, 170, 0, 0, 107, 108, 171, 172, 173, 174,
994 175, 176, 177, 178, 179, 180, 181, 182, 183, 184,
995 185, 186, 187, 188, 189, 190, 191, 0, 192, 193,
996 194, 195, 196, 197, 198, 199, 0, 0, 169, 76,
997 0, 209, 0, 363, 14, 15, 16, 17, 76, 19,
998 0, 21, 0, 14, 15, 16, 17, 0, 19, 0,
999 21, 0, 0, 29, 30, 31, 32, 33, 34, 35,
1000 0, 0, 29, 30, 31, 32, 33, 34, 35, 0,
1001 0, 0, 210, 169, 0, 0, 0, 0, 0, 0,
1002 0, 189, 190, 191, 211, 192, 193, 194, 195, 196,
1003 197, 198, 199, 0, 212, 213, 0, 0, 0, 320,
1004 0, 0, 0, 170, 0, 0, 0, 401, 171, 172,
1005 173, 174, 175, 176, 177, 178, 179, 180, 181, 182,
1006 183, 184, 185, 186, 187, 188, 189, 190, 191, 169,
1007 192, 193, 194, 195, 196, 197, 198, 199, 0, 0,
1008 0, 353, 0, 0, 0, 0, 0, 0, 0, 0,
1009 0, 0, 0, 0, 0, 0, 0, 0, 0, 170,
1010 0, 0, 0, 0, 171, 172, 173, 174, 175, 176,
1011 177, 178, 179, 180, 181, 182, 183, 184, 185, 186,
1012 187, 188, 189, 190, 191, 169, 192, 193, 194, 195,
1013 196, 197, 198, 199, 0, 0, 0, 355, 0, 0,
1014 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1015 0, 0, 0, 0, 0, 170, 0, 0, 0, 0,
1016 171, 172, 173, 174, 175, 176, 177, 178, 179, 180,
1017 181, 182, 183, 184, 185, 186, 187, 188, 189, 190,
1018 191, 169, 192, 193, 194, 195, 196, 197, 198, 199,
1019 0, 0, 0, 357, 0, 0, 0, 0, 0, 0,
1020 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1021 0, 170, 0, 0, 0, 0, 171, 172, 173, 174,
1022 175, 176, 177, 178, 179, 180, 181, 182, 183, 184,
1023 185, 186, 187, 188, 189, 190, 191, 169, 192, 193,
1024 194, 195, 196, 197, 198, 199, 0, 0, 0, 409,
1025 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1026 0, 0, 0, 0, 0, 0, 0, 170, 0, 0,
1027 0, 0, 171, 172, 173, 174, 175, 176, 177, 178,
1028 179, 180, 181, 182, 183, 184, 185, 186, 187, 188,
1029 189, 190, 191, 169, 192, 193, 194, 195, 196, 197,
1030 198, 199, 0, 0, 0, 410, 0, 0, 0, 0,
1031 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1032 0, 0, 0, 170, 0, 0, 0, 0, 171, 172,
1033 173, 174, 175, 176, 177, 178, 179, 180, 181, 182,
1034 183, 184, 185, 186, 187, 188, 189, 190, 191, 169,
1035 192, 193, 194, 195, 196, 197, 198, 199, 0, 0,
1036 0, 411, 0, 0, 0, 0, 0, 0, 0, 0,
1037 0, 0, 0, 0, 0, 0, 0, 0, 0, 170,
1038 0, 0, 0, 0, 171, 172, 173, 174, 175, 176,
1039 177, 178, 179, 180, 181, 182, 183, 184, 185, 186,
1040 187, 188, 189, 190, 191, 169, 192, 193, 194, 195,
1041 196, 197, 198, 199, 0, 0, 0, 412, 0, 0,
1042 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1043 0, 0, 0, 0, 169, 170, 0, 0, 0, 0,
1044 171, 172, 173, 174, 175, 176, 177, 178, 179, 180,
1045 181, 182, 183, 184, 185, 186, 187, 188, 189, 190,
1046 191, 169, 192, 193, 194, 195, 196, 197, 198, 199,
1047 172, 173, 174, 175, 176, 177, 178, 179, 180, 181,
1048 182, 183, 184, 185, 186, 187, 188, 189, 190, 191,
1049 169, 192, 193, 194, 195, 196, 197, 198, 199, 174,
1050 175, 176, 177, 178, 179, 180, 181, 182, 183, 184,
1051 185, 186, 187, 188, 189, 190, 191, 169, 192, 193,
1052 194, 195, 196, 197, 198, 199, 0, 0, 0, 175,
1053 176, 177, 178, 179, 180, 181, 182, 183, 184, 185,
1054 186, 187, 188, 189, 190, 191, 169, 192, 193, 194,
1055 195, 196, 197, 198, 199, 0, 0, 176, 177, 178,
1056 179, 180, 181, 182, 183, 184, 185, 186, 187, 188,
1057 189, 190, 191, 169, 192, 193, 194, 195, 196, 197,
1058 198, 199, 0, 0, 0, 0, 0, 177, 178, 179,
1059 180, 181, 182, 183, 184, 185, 186, 187, 188, 189,
1060 190, 191, 169, 192, 193, 194, 195, 196, 197, 198,
1061 199, 0, 0, 0, 0, 178, 179, 180, 181, 182,
1062 183, 184, 185, 186, 187, 188, 189, 190, 191, 0,
1063 192, 193, 194, 195, 196, 197, 198, 199, 0, 0,
1064 0, 0, 0, 0, 0, 0, 180, 181, 182, 183,
1065 184, 185, 186, 187, 188, 189, 190, 191, 0, 192,
1066 193, 194, 195, 196, 197, 198, 199, 76, 0, 0,
1067 0, 0, 14, 15, 16, 17, 0, 19, 76, 21,
1068 0, 0, 0, 14, 15, 16, 17, 0, 19, 0,
1069 21, 29, 30, 31, 32, 33, 34, 35, 0, 26,
1070 27, 0, 29, 30, 31, 32, 33, 34, 35, 0,
1071 76, 0, 0, 0, 0, 14, 15, 16, 17, -120,
1072 19, 0, 21, 0, 0, 0, 0, 0, 0, 0,
1073 0, 0, 0, 0, 29, 30, 31, 32, 33, 34,
1077 static const yytype_int16 yycheck[] =
1079 11, 64, 126, 0, 217, 217, 222, 18, 109, 14,
1080 15, 16, 17, 3, 0, 3, 21, 141, 206, 48,
1081 14, 15, 16, 17, 206, 79, 48, 21, 39, 40,
1082 41, 42, 43, 44, 10, 11, 15, 48, 49, 48,
1083 15, 17, 15, 79, 55, 15, 109, 10, 11, 38,
1084 13, 40, 13, 16, 17, 48, 48, 48, 55, 24,
1085 89, 83, 79, 10, 11, 70, 13, 72, 42, 16,
1086 17, 79, 194, 15, 196, 199, 70, 86, 72, 59,
1087 23, 10, 11, 12, 13, 48, 302, 16, 17, 213,
1088 56, 83, 83, 86, 37, 59, 86, 40, 86, 78,
1089 79, 62, 68, 78, 80, 78, 79, 59, 78, 210,
1090 59, 324, 324, 41, 56, 41, 42, 80, 38, 79,
1091 40, 245, 10, 11, 87, 13, 68, 24, 16, 17,
1092 141, 142, 143, 80, 235, 0, 78, 79, 85, 65,
1093 137, 138, 139, 140, 207, 15, 143, 10, 11, 12,
1094 13, 80, 48, 16, 17, 6, 85, 168, 24, 170,
1095 171, 172, 173, 174, 175, 176, 177, 178, 179, 180,
1096 181, 182, 183, 184, 185, 186, 187, 188, 189, 190,
1097 191, 65, 370, 169, 195, 65, 197, 33, 370, 194,
1098 83, 196, 80, 41, 42, 226, 227, 86, 13, 204,
1099 194, 325, 196, 86, 74, 75, 76, 77, 78, 79,
1100 204, 222, 198, 12, 12, 12, 40, 80, 223, 12,
1101 225, 226, 227, 38, 39, 40, 59, 40, 40, 223,
1102 3, 4, 5, 6, 7, 8, 9, 10, 11, 13,
1103 13, 14, 15, 16, 17, 41, 42, 371, 40, 22,
1104 40, 24, 83, 264, 317, 89, 29, 30, 31, 32,
1105 56, 10, 68, 36, 38, 39, 40, 68, 24, 65,
1106 86, 44, 68, 46, 47, 10, 11, 12, 13, 83,
1107 83, 16, 17, 56, 86, 40, 86, 292, 60, 60,
1108 60, 302, 297, 66, 67, 68, 307, 308, 292, 72,
1109 73, 86, 23, 297, 83, 83, 79, 80, 81, 60,
1110 40, 84, 85, 40, 23, 88, 37, 380, 40, 40,
1111 12, 332, 333, 12, 83, 48, 331, 24, 37, 38,
1112 335, 40, 86, 86, 43, 83, 83, 331, 79, 79,
1113 86, 335, 87, 86, 86, 80, 60, 79, 79, 12,
1114 85, 12, 363, 335, 380, 202, 213, 10, 11, 12,
1115 13, 215, 29, 16, 17, 10, 11, 12, 13, 199,
1116 20, 16, 17, 10, 11, 12, 13, 388, -1, 16,
1117 17, 392, 393, 394, 395, 3, 4, 5, 6, 7,
1118 8, 9, 10, 11, 235, 13, -1, 15, 16, 17,
1119 18, 19, 20, 21, 22, 23, 24, 25, -1, -1,
1120 -1, 29, 30, 31, 32, -1, 34, 35, 36, 37,
1121 38, 39, 40, 41, 42, 43, 44, 80, 46, 47,
1122 -1, -1, -1, -1, -1, 80, -1, -1, 56, -1,
1123 -1, -1, -1, 80, -1, -1, -1, 65, 66, 67,
1124 68, -1, -1, -1, 72, 73, -1, -1, -1, -1,
1125 -1, 79, 80, 81, -1, -1, 84, 85, 15, -1,
1126 88, 3, 4, 5, 6, 7, 8, 9, 10, 11,
1127 -1, 13, -1, 15, 16, 17, 18, 19, 20, 21,
1128 22, 23, 24, 25, -1, -1, -1, 29, 30, 31,
1129 32, -1, 34, 35, 36, 37, 38, 39, 40, 41,
1130 42, 43, 44, -1, 46, 47, 63, 64, 65, 66,
1131 67, 68, 69, 70, 56, 72, 73, 74, 75, 76,
1132 77, 78, 79, -1, 66, 67, 68, -1, -1, -1,
1133 72, 73, -1, -1, -1, -1, -1, 79, 80, 81,
1134 -1, -1, 84, 85, 15, -1, 88, 3, 4, 5,
1135 6, 7, 8, 9, 10, 11, -1, 13, -1, 15,
1136 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
1137 -1, -1, -1, 29, 30, 31, 32, -1, -1, -1,
1138 36, 37, 38, 39, 40, 41, 42, 43, 44, -1,
1139 46, 47, -1, -1, 65, 66, 67, 68, 69, 70,
1140 56, 72, 73, 74, 75, 76, 77, 78, 79, -1,
1141 66, 67, 68, -1, -1, -1, 72, 73, -1, -1,
1142 -1, -1, -1, 79, 80, 81, -1, -1, 84, 85,
1143 15, -1, 88, 3, 4, 5, 6, 7, 8, 9,
1144 10, 11, -1, 13, -1, 15, 16, 17, -1, -1,
1145 -1, -1, 22, -1, 24, -1, -1, -1, -1, 29,
1146 30, 31, 32, -1, -1, -1, 36, -1, -1, -1,
1147 -1, -1, -1, -1, 44, -1, 46, 47, -1, -1,
1148 -1, 66, 67, 68, 69, 70, 56, 72, 73, 74,
1149 75, 76, 77, 78, 79, -1, 66, 67, 68, -1,
1150 -1, -1, 72, 73, -1, -1, -1, 15, -1, 79,
1151 80, 81, -1, -1, 84, 85, -1, -1, 88, 3,
1152 4, 5, 6, 7, 8, 9, 10, 11, -1, 13,
1153 -1, 15, 16, 17, -1, -1, -1, -1, 22, -1,
1154 24, -1, -1, -1, -1, 29, 30, 31, 32, 13,
1155 -1, -1, 36, -1, 18, 19, 20, 21, -1, 23,
1156 44, 25, 46, 47, 72, 73, 74, 75, 76, 77,
1157 78, 79, 56, 37, 38, 39, 40, 41, 42, 43,
1158 -1, -1, 66, 67, 68, -1, -1, -1, 72, 73,
1159 -1, -1, -1, -1, -1, 79, 80, 81, -1, -1,
1160 84, 85, -1, 13, 88, 15, -1, -1, 18, 19,
1161 20, 21, -1, 23, -1, 25, -1, 27, 28, 83,
1162 -1, -1, -1, -1, -1, -1, -1, 37, 38, 39,
1163 40, 41, 42, 43, -1, 45, -1, -1, 48, -1,
1164 50, 15, 52, 53, 54, 55, 56, 57, 58, 59,
1165 60, 61, 62, 63, 64, -1, 66, 67, 68, 69,
1166 70, -1, 72, 73, 74, 75, -1, -1, 78, 79,
1167 -1, 45, -1, -1, 84, 85, 50, 51, 52, 53,
1168 54, 55, 56, 57, 58, 59, 60, 61, 62, 63,
1169 64, 65, 66, 67, 68, 69, 70, -1, 72, 73,
1170 74, 75, 76, 77, 78, 79, -1, -1, 15, 13,
1171 -1, 15, -1, 87, 18, 19, 20, 21, 13, 23,
1172 -1, 25, -1, 18, 19, 20, 21, -1, 23, -1,
1173 25, -1, -1, 37, 38, 39, 40, 41, 42, 43,
1174 -1, -1, 37, 38, 39, 40, 41, 42, 43, -1,
1175 -1, -1, 56, 15, -1, -1, -1, -1, -1, -1,
1176 -1, 68, 69, 70, 68, 72, 73, 74, 75, 76,
1177 77, 78, 79, -1, 78, 79, -1, -1, -1, 83,
1178 -1, -1, -1, 45, -1, -1, -1, 82, 50, 51,
1179 52, 53, 54, 55, 56, 57, 58, 59, 60, 61,
1180 62, 63, 64, 65, 66, 67, 68, 69, 70, 15,
1181 72, 73, 74, 75, 76, 77, 78, 79, -1, -1,
1182 -1, 83, -1, -1, -1, -1, -1, -1, -1, -1,
1183 -1, -1, -1, -1, -1, -1, -1, -1, -1, 45,
1184 -1, -1, -1, -1, 50, 51, 52, 53, 54, 55,
1185 56, 57, 58, 59, 60, 61, 62, 63, 64, 65,
1186 66, 67, 68, 69, 70, 15, 72, 73, 74, 75,
1187 76, 77, 78, 79, -1, -1, -1, 83, -1, -1,
1188 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
1189 -1, -1, -1, -1, -1, 45, -1, -1, -1, -1,
1190 50, 51, 52, 53, 54, 55, 56, 57, 58, 59,
1191 60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
1192 70, 15, 72, 73, 74, 75, 76, 77, 78, 79,
1193 -1, -1, -1, 83, -1, -1, -1, -1, -1, -1,
1194 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
1195 -1, 45, -1, -1, -1, -1, 50, 51, 52, 53,
1196 54, 55, 56, 57, 58, 59, 60, 61, 62, 63,
1197 64, 65, 66, 67, 68, 69, 70, 15, 72, 73,
1198 74, 75, 76, 77, 78, 79, -1, -1, -1, 83,
1199 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
1200 -1, -1, -1, -1, -1, -1, -1, 45, -1, -1,
1201 -1, -1, 50, 51, 52, 53, 54, 55, 56, 57,
1202 58, 59, 60, 61, 62, 63, 64, 65, 66, 67,
1203 68, 69, 70, 15, 72, 73, 74, 75, 76, 77,
1204 78, 79, -1, -1, -1, 83, -1, -1, -1, -1,
1205 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
1206 -1, -1, -1, 45, -1, -1, -1, -1, 50, 51,
1207 52, 53, 54, 55, 56, 57, 58, 59, 60, 61,
1208 62, 63, 64, 65, 66, 67, 68, 69, 70, 15,
1209 72, 73, 74, 75, 76, 77, 78, 79, -1, -1,
1210 -1, 83, -1, -1, -1, -1, -1, -1, -1, -1,
1211 -1, -1, -1, -1, -1, -1, -1, -1, -1, 45,
1212 -1, -1, -1, -1, 50, 51, 52, 53, 54, 55,
1213 56, 57, 58, 59, 60, 61, 62, 63, 64, 65,
1214 66, 67, 68, 69, 70, 15, 72, 73, 74, 75,
1215 76, 77, 78, 79, -1, -1, -1, 83, -1, -1,
1216 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
1217 -1, -1, -1, -1, 15, 45, -1, -1, -1, -1,
1218 50, 51, 52, 53, 54, 55, 56, 57, 58, 59,
1219 60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
1220 70, 15, 72, 73, 74, 75, 76, 77, 78, 79,
1221 51, 52, 53, 54, 55, 56, 57, 58, 59, 60,
1222 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
1223 15, 72, 73, 74, 75, 76, 77, 78, 79, 53,
1224 54, 55, 56, 57, 58, 59, 60, 61, 62, 63,
1225 64, 65, 66, 67, 68, 69, 70, 15, 72, 73,
1226 74, 75, 76, 77, 78, 79, -1, -1, -1, 54,
1227 55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
1228 65, 66, 67, 68, 69, 70, 15, 72, 73, 74,
1229 75, 76, 77, 78, 79, -1, -1, 55, 56, 57,
1230 58, 59, 60, 61, 62, 63, 64, 65, 66, 67,
1231 68, 69, 70, 15, 72, 73, 74, 75, 76, 77,
1232 78, 79, -1, -1, -1, -1, -1, 56, 57, 58,
1233 59, 60, 61, 62, 63, 64, 65, 66, 67, 68,
1234 69, 70, 15, 72, 73, 74, 75, 76, 77, 78,
1235 79, -1, -1, -1, -1, 57, 58, 59, 60, 61,
1236 62, 63, 64, 65, 66, 67, 68, 69, 70, -1,
1237 72, 73, 74, 75, 76, 77, 78, 79, -1, -1,
1238 -1, -1, -1, -1, -1, -1, 59, 60, 61, 62,
1239 63, 64, 65, 66, 67, 68, 69, 70, -1, 72,
1240 73, 74, 75, 76, 77, 78, 79, 13, -1, -1,
1241 -1, -1, 18, 19, 20, 21, -1, 23, 13, 25,
1242 -1, -1, -1, 18, 19, 20, 21, -1, 23, -1,
1243 25, 37, 38, 39, 40, 41, 42, 43, -1, 34,
1244 35, -1, 37, 38, 39, 40, 41, 42, 43, -1,
1245 13, -1, -1, -1, -1, 18, 19, 20, 21, 65,
1246 23, -1, 25, -1, -1, -1, -1, -1, -1, -1,
1247 -1, -1, -1, -1, 37, 38, 39, 40, 41, 42,
1253 static const yytype_uint8 yystos[] =
1255 0, 3, 4, 5, 6, 7, 8, 9, 10, 11,
1256 13, 15, 16, 17, 18, 19, 20, 21, 22, 23,
1257 24, 25, 29, 30, 31, 32, 34, 35, 36, 37,
1258 38, 39, 40, 41, 42, 43, 44, 46, 47, 56,
1259 66, 67, 68, 72, 73, 79, 80, 81, 84, 85,
1260 88, 91, 92, 93, 94, 103, 106, 107, 108, 109,
1261 111, 112, 113, 123, 124, 128, 131, 132, 133, 135,
1262 79, 79, 24, 13, 14, 94, 13, 15, 27, 28,
1263 45, 48, 50, 52, 53, 54, 55, 56, 57, 58,
1264 59, 60, 61, 62, 63, 64, 66, 67, 68, 69,
1265 70, 72, 73, 74, 75, 78, 79, 84, 85, 124,
1266 129, 10, 11, 12, 13, 16, 80, 133, 134, 12,
1267 134, 12, 134, 12, 134, 13, 79, 94, 13, 38,
1268 39, 40, 125, 11, 80, 135, 134, 59, 59, 59,
1269 59, 79, 79, 79, 38, 39, 125, 23, 37, 38,
1270 40, 43, 23, 37, 40, 42, 41, 94, 94, 94,
1271 94, 94, 94, 92, 93, 94, 94, 0, 48, 15,
1272 45, 50, 51, 52, 53, 54, 55, 56, 57, 58,
1273 59, 60, 61, 62, 63, 64, 65, 66, 67, 68,
1274 69, 70, 72, 73, 74, 75, 76, 77, 78, 79,
1275 92, 94, 104, 6, 24, 65, 110, 124, 113, 15,
1276 56, 68, 78, 79, 115, 118, 119, 120, 121, 122,
1277 33, 134, 102, 85, 134, 95, 96, 97, 86, 15,
1278 78, 15, 78, 86, 83, 115, 130, 12, 12, 12,
1279 12, 123, 38, 40, 40, 59, 92, 92, 92, 92,
1280 94, 123, 94, 92, 94, 38, 40, 40, 40, 23,
1281 37, 40, 40, 40, 83, 83, 94, 93, 94, 94,
1282 94, 94, 94, 94, 94, 94, 94, 94, 94, 94,
1283 94, 94, 94, 94, 94, 94, 94, 94, 94, 94,
1284 12, 13, 85, 109, 134, 94, 12, 85, 109, 134,
1285 94, 93, 101, 123, 126, 127, 89, 105, 48, 105,
1286 134, 10, 111, 132, 3, 86, 115, 117, 3, 86,
1287 83, 119, 126, 68, 120, 79, 121, 122, 83, 104,
1288 134, 24, 48, 87, 98, 99, 100, 134, 98, 98,
1289 86, 86, 86, 86, 68, 130, 83, 40, 123, 60,
1290 60, 60, 60, 83, 83, 83, 83, 83, 40, 40,
1291 40, 94, 86, 87, 134, 12, 134, 12, 86, 104,
1292 83, 48, 94, 94, 86, 113, 114, 86, 83, 83,
1293 116, 83, 134, 94, 94, 86, 100, 134, 87, 86,
1294 86, 60, 79, 79, 79, 79, 94, 12, 12, 83,
1295 111, 82, 123, 114, 94, 94, 94, 94, 94, 83,
1300 static const yytype_uint8 yyr1[] =
1302 0, 90, 91, 91, 92, 92, 92, 92, 93, 93,
1303 94, 94, 94, 94, 94, 94, 94, 94, 94, 94,
1304 94, 94, 94, 94, 94, 94, 94, 94, 94, 94,
1305 94, 94, 94, 94, 94, 94, 94, 94, 94, 95,
1306 94, 96, 94, 97, 94, 98, 98, 99, 99, 100,
1307 100, 100, 101, 94, 102, 94, 103, 104, 104, 104,
1308 94, 105, 94, 94, 94, 94, 94, 94, 94, 94,
1309 94, 94, 94, 94, 94, 94, 94, 94, 94, 94,
1310 94, 94, 94, 94, 94, 94, 94, 94, 94, 94,
1311 94, 94, 94, 94, 94, 94, 94, 94, 94, 94,
1312 94, 106, 106, 94, 94, 94, 94, 107, 107, 107,
1313 108, 108, 109, 109, 109, 108, 108, 108, 110, 111,
1314 111, 112, 113, 113, 114, 114, 116, 115, 117, 115,
1315 115, 115, 118, 119, 119, 119, 120, 120, 120, 120,
1316 120, 121, 121, 121, 121, 122, 122, 123, 124, 124,
1317 124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
1318 124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
1319 124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
1320 124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
1321 124, 124, 124, 124, 124, 124, 125, 125, 125, 125,
1322 126, 126, 127, 127, 128, 128, 129, 130, 130, 131,
1323 131, 132, 132, 132, 133, 133, 133, 133, 133, 133,
1324 133, 133, 133, 133, 133, 133, 133, 133, 133, 133,
1325 133, 133, 133, 133, 133, 133, 133, 133, 133, 133,
1326 133, 133, 133, 133, 133, 133, 133, 133, 133, 133,
1327 133, 134, 134, 134, 134, 134, 134, 135, 135, 135,
1332 static const yytype_uint8 yyr2[] =
1334 0, 2, 1, 1, 1, 4, 4, 4, 1, 3,
1335 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
1336 4, 4, 2, 3, 4, 3, 4, 5, 3, 3,
1337 3, 4, 3, 4, 5, 3, 3, 4, 4, 0,
1338 5, 0, 5, 0, 5, 1, 1, 1, 2, 3,
1339 2, 2, 0, 5, 0, 5, 1, 0, 1, 3,
1340 5, 1, 3, 4, 4, 3, 3, 3, 3, 3,
1341 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
1342 3, 3, 3, 3, 3, 5, 3, 3, 1, 1,
1343 1, 1, 1, 1, 1, 4, 4, 7, 7, 7,
1344 7, 1, 2, 1, 1, 1, 1, 1, 1, 3,
1345 2, 3, 3, 4, 5, 1, 2, 1, 2, 1,
1346 0, 3, 1, 1, 1, 0, 0, 4, 0, 3,
1347 1, 2, 1, 2, 1, 1, 3, 2, 1, 2,
1348 1, 2, 2, 3, 3, 2, 3, 1, 1, 1,
1349 1, 1, 2, 3, 2, 3, 3, 3, 2, 2,
1350 3, 4, 3, 3, 4, 3, 4, 3, 4, 2,
1351 3, 2, 3, 2, 3, 1, 2, 2, 2, 3,
1352 2, 2, 3, 2, 2, 3, 2, 2, 3, 2,
1353 1, 2, 1, 5, 2, 2, 1, 1, 1, 1,
1354 1, 3, 1, 3, 1, 2, 2, 0, 2, 2,
1355 2, 1, 1, 1, 2, 2, 4, 4, 4, 4,
1356 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
1357 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
1358 2, 2, 2, 2, 2, 2, 2, 3, 3, 3,
1359 2, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1364 #define yyerrok (yyerrstatus = 0)
1365 #define yyclearin (yychar = YYEMPTY)
1366 #define YYEMPTY (-2)
1369 #define YYACCEPT goto yyacceptlab
1370 #define YYABORT goto yyabortlab
1371 #define YYERROR goto yyerrorlab
1374 #define YYRECOVERING() (!!yyerrstatus)
1376 #define YYBACKUP(Token, Value) \
1378 if (yychar == YYEMPTY) \
1382 YYPOPSTACK (yylen); \
1388 yyerror (YY_("syntax error: cannot back up")); \
1395 #define YYERRCODE 256
1404 # define YYFPRINTF fprintf
1407 # define YYDPRINTF(Args) \
1414 #ifndef YY_LOCATION_PRINT
1415 # define YY_LOCATION_PRINT(File, Loc) ((void) 0)
1419 # define YY_SYMBOL_PRINT(Title, Type, Value, Location) \
1423 YYFPRINTF (stderr, "%s ", Title); \
1424 yy_symbol_print (stderr, \
1426 YYFPRINTF (stderr, "\n"); \
1438 FILE *yyo = yyoutput;
1444 YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
1458 yytype <
YYNTOKENS ?
"token" :
"nterm", yytname[yytype]);
1473 for (; yybottom <= yytop; yybottom++)
1475 int yybot = *yybottom;
1481 # define YY_STACK_PRINT(Bottom, Top) \
1484 yy_stack_print ((Bottom), (Top)); \
1495 unsigned long int yylno = yyrline[
yyrule];
1496 int yynrhs = yyr2[
yyrule];
1498 YYFPRINTF (stderr,
"Reducing stack by rule %d (line %lu):\n",
1501 for (yyi = 0; yyi < yynrhs; yyi++)
1505 yystos[yyssp[yyi + 1 - yynrhs]],
1506 &(yyvsp[(yyi + 1) - (yynrhs)])
1512 # define YY_REDUCE_PRINT(Rule) \
1515 yy_reduce_print (yyssp, yyvsp, Rule); \
1522 # define YYDPRINTF(Args)
1523 # define YY_SYMBOL_PRINT(Title, Type, Value, Location)
1524 # define YY_STACK_PRINT(Bottom, Top)
1525 # define YY_REDUCE_PRINT(Rule)
1531 # define YYINITDEPTH 200
1542 # define YYMAXDEPTH 10000
1549 # if defined __GLIBC__ && defined _STRING_H
1550 # define yystrlen strlen
1554 yystrlen (
const char *yystr)
1557 for (yylen = 0; yystr[
yylen]; yylen++)
1565 # if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE
1566 # define yystpcpy stpcpy
1571 yystpcpy (
char *yydest,
const char *yysrc)
1574 const char *yys = yysrc;
1576 while ((*yyd++ = *yys++) !=
'\0')
1593 yytnamerr (
char *yyres,
const char *yystr)
1598 char const *yyp = yystr;
1605 goto do_not_strip_quotes;
1609 goto do_not_strip_quotes;
1622 do_not_strip_quotes: ;
1626 return yystrlen (yystr);
1628 return yystpcpy (yyres, yystr) - yyres;
1641 yysyntax_error (
YYSIZE_T *yymsg_alloc,
char **yymsg,
1642 yytype_int16 *yyssp,
int yytoken)
1646 enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
1650 char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
1680 int yyn = yypact[*
yyssp];
1681 yyarg[yycount++] = yytname[yytoken];
1687 int yyxbegin = yyn < 0 ? -yyn : 0;
1689 int yychecklim =
YYLAST - yyn + 1;
1693 for (yyx = yyxbegin; yyx < yyxend; ++yyx)
1694 if (yycheck[yyx + yyn] == yyx && yyx !=
YYTERROR
1697 if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
1703 yyarg[yycount++] = yytname[yyx];
1706 if (! (yysize <= yysize1
1717 # define YYCASE_(N, S) \
1721 YYCASE_(0,
YY_(
"syntax error"));
1722 YYCASE_(1,
YY_(
"syntax error, unexpected %s"));
1723 YYCASE_(2,
YY_(
"syntax error, unexpected %s, expecting %s"));
1724 YYCASE_(3,
YY_(
"syntax error, unexpected %s, expecting %s or %s"));
1725 YYCASE_(4,
YY_(
"syntax error, unexpected %s, expecting %s or %s or %s"));
1726 YYCASE_(5,
YY_(
"syntax error, unexpected %s, expecting %s or %s or %s or %s"));
1731 YYSIZE_T yysize1 = yysize + yystrlen (yyformat);
1737 if (*yymsg_alloc < yysize)
1739 *yymsg_alloc = 2 * yysize;
1740 if (! (yysize <= *yymsg_alloc
1752 while ((*yyp = *yyformat) !=
'\0')
1753 if (*yyp ==
'%' && yyformat[1] ==
's' && yyi < yycount)
1755 yyp += yytnamerr (yyp, yyarg[yyi++]);
1818 yytype_int16 *
yyssp;
1838 char *yymsg = yymsgbuf;
1839 YYSIZE_T yymsg_alloc =
sizeof yymsgbuf;
1842 #define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N))
1848 yyssp = yyss = yyssa;
1849 yyvsp = yyvs = yyvsa;
1852 YYDPRINTF ((stderr,
"Starting parse\n"));
1871 if (yyss + yystacksize - 1 <= yyssp)
1874 YYSIZE_T yysize = yyssp - yyss + 1;
1882 yytype_int16 *yyss1 =
yyss;
1888 yyoverflow (
YY_(
"memory exhausted"),
1889 &yyss1, yysize *
sizeof (*yyssp),
1890 &yyvs1, yysize *
sizeof (*yyvsp),
1897 # ifndef YYSTACK_RELOCATE
1898 goto yyexhaustedlab;
1902 goto yyexhaustedlab;
1908 yytype_int16 *yyss1 =
yyss;
1912 goto yyexhaustedlab;
1915 # undef YYSTACK_RELOCATE
1922 yyssp = yyss + yysize - 1;
1923 yyvsp = yyvs + yysize - 1;
1925 YYDPRINTF ((stderr,
"Stack size increased to %lu\n",
1926 (
unsigned long int) yystacksize));
1928 if (yyss + yystacksize - 1 <= yyssp)
1932 YYDPRINTF ((stderr,
"Entering state %d\n", yystate));
1957 YYDPRINTF ((stderr,
"Reading a token: "));
1961 if (yychar <=
YYEOF)
1963 yychar = yytoken =
YYEOF;
1964 YYDPRINTF ((stderr,
"Now at end of input.\n"));
1975 if (yyn < 0 ||
YYLAST < yyn || yycheck[yyn] != yytoken)
2030 yyval = yyvsp[1-
yylen];
2041 #line 2043 "c-exp.c"
2049 #line 2051 "c-exp.c"
2059 #line 2061 "c-exp.c"
2067 #line 2069 "c-exp.c"
2073 #line 2075 "c-exp.c"
2079 #line 2081 "c-exp.c"
2085 #line 2087 "c-exp.c"
2091 #line 2093 "c-exp.c"
2097 #line 2099 "c-exp.c"
2103 #line 2105 "c-exp.c"
2109 #line 2111 "c-exp.c"
2115 #line 2117 "c-exp.c"
2121 #line 2123 "c-exp.c"
2127 #line 2129 "c-exp.c"
2133 #line 2135 "c-exp.c"
2139 #line 2141 "c-exp.c"
2145 #line 2147 "c-exp.c"
2151 #line 2153 "c-exp.c"
2159 #line 2161 "c-exp.c"
2168 #line 2170 "c-exp.c"
2180 #line 2182 "c-exp.c"
2188 #line 2190 "c-exp.c"
2197 #line 2199 "c-exp.c"
2207 #line 2209 "c-exp.c"
2213 #line 2215 "c-exp.c"
2221 #line 2223 "c-exp.c"
2230 #line 2232 "c-exp.c"
2242 #line 2244 "c-exp.c"
2250 #line 2252 "c-exp.c"
2259 #line 2261 "c-exp.c"
2269 #line 2271 "c-exp.c"
2275 #line 2277 "c-exp.c"
2281 #line 2283 "c-exp.c"
2287 #line 2289 "c-exp.c"
2298 error (
_(
"%s is not an ObjC Class"),
2307 #line 2309 "c-exp.c"
2316 #line 2318 "c-exp.c"
2329 #line 2331 "c-exp.c"
2338 #line 2340 "c-exp.c"
2344 #line 2346 "c-exp.c"
2353 #line 2355 "c-exp.c"
2359 #line 2361 "c-exp.c"
2365 #line 2367 "c-exp.c"
2371 #line 2373 "c-exp.c"
2377 #line 2379 "c-exp.c"
2383 #line 2385 "c-exp.c"
2392 #line 2394 "c-exp.c"
2413 #line 2415 "c-exp.c"
2424 #line 2426 "c-exp.c"
2430 #line 2432 "c-exp.c"
2436 #line 2438 "c-exp.c"
2442 #line 2444 "c-exp.c"
2449 struct type *type_elt;
2462 #line 2464 "c-exp.c"
2468 #line 2470 "c-exp.c"
2477 #line 2479 "c-exp.c"
2483 #line 2485 "c-exp.c"
2489 #line 2491 "c-exp.c"
2495 #line 2497 "c-exp.c"
2501 #line 2503 "c-exp.c"
2507 #line 2509 "c-exp.c"
2513 #line 2515 "c-exp.c"
2519 #line 2521 "c-exp.c"
2525 #line 2527 "c-exp.c"
2531 #line 2533 "c-exp.c"
2537 #line 2539 "c-exp.c"
2543 #line 2545 "c-exp.c"
2549 #line 2551 "c-exp.c"
2555 #line 2557 "c-exp.c"
2561 #line 2563 "c-exp.c"
2567 #line 2569 "c-exp.c"
2573 #line 2575 "c-exp.c"
2579 #line 2581 "c-exp.c"
2585 #line 2587 "c-exp.c"
2591 #line 2593 "c-exp.c"
2597 #line 2599 "c-exp.c"
2603 #line 2605 "c-exp.c"
2609 #line 2611 "c-exp.c"
2615 #line 2617 "c-exp.c"
2621 #line 2623 "c-exp.c"
2629 BINOP_ASSIGN_MODIFY); }
2630 #line 2632 "c-exp.c"
2639 #line 2641 "c-exp.c"
2647 vec.
tokens = &(yyvsp[0].tsval);
2650 #line 2652 "c-exp.c"
2657 (yyvsp[0].ssym).stoken.length, 0, &val);
2664 #line 2666 "c-exp.c"
2673 #line 2675 "c-exp.c"
2682 #line 2684 "c-exp.c"
2690 #line 2692 "c-exp.c"
2699 #line 2701 "c-exp.c"
2704 {
struct type *
type = (yyvsp[-1].tval);
2721 #line 2723 "c-exp.c"
2727 UNOP_REINTERPRET_CAST); }
2728 #line 2730 "c-exp.c"
2734 #line 2736 "c-exp.c"
2740 #line 2742 "c-exp.c"
2748 #line 2750 "c-exp.c"
2761 (yyval.
svec).tokens = vec;
2766 memcpy (vec->
ptr, (yyvsp[0].tsval).ptr, (yyvsp[0].tsval).length + 1);
2768 #line 2770 "c-exp.c"
2782 memcpy (p, (yyvsp[0].tsval).
ptr, (yyvsp[0].tsval).
length + 1);
2784 (yyval.
svec).tokens[(yyval.
svec).len - 1].type = (yyvsp[0].tsval).
type;
2786 (yyval.
svec).tokens[(yyval.
svec).len - 1].ptr = p;
2788 #line 2790 "c-exp.c"
2797 for (i = 0; i < (yyvsp[0].svec).
len; ++i)
2799 switch ((yyvsp[0].svec).tokens[i].type)
2807 && type != (yyvsp[0].svec).tokens[i].type)
2808 error (
_(
"Undefined string concatenation."));
2809 type = (yyvsp[0].svec).tokens[i].type;
2814 "unrecognized type in string concatenation");
2819 for (i = 0; i < (yyvsp[0].svec).
len; ++i)
2820 xfree ((yyvsp[0].svec).tokens[i].ptr);
2821 xfree ((yyvsp[0].svec).tokens);
2823 #line 2825 "c-exp.c"
2831 #line 2833 "c-exp.c"
2841 #line 2843 "c-exp.c"
2851 #line 2853 "c-exp.c"
2857 if ((yyvsp[0].ssym).sym)
2860 error (
_(
"No file or function \"%s\"."),
2863 #line 2865 "c-exp.c"
2869 (yyval.
bval) = (yyvsp[0].bval);
2871 #line 2873 "c-exp.c"
2880 error (
_(
"No function \"%s\" in specified context."),
2883 #line 2885 "c-exp.c"
2888 {
struct symbol *sym = (yyvsp[-1].ssym).sym;
2892 error (
_(
"@entry can be used only for function "
2893 "parameters, not for \"%s\""),
2900 #line 2902 "c-exp.c"
2909 error (
_(
"No symbol \"%s\" in specified context."),
2924 #line 2926 "c-exp.c"
2930 struct type *
type = (yyvsp[-2].tsym).type;
2933 error (
_(
"`%s' is not defined as an aggregate type."),
2941 #line 2943 "c-exp.c"
2947 struct type *
type = (yyvsp[-3].tsym).type;
2953 error (
_(
"`%s' is not defined as an aggregate type."),
2955 buf = alloca ((yyvsp[0].sval).
length + 2);
2956 tmp_token.
ptr = buf;
2959 memcpy (buf+1, (yyvsp[0].sval).
ptr, (yyvsp[0].sval).
length);
2960 buf[tmp_token.
length] = 0;
2969 #line 2971 "c-exp.c"
2973 #line 1023 "c-exp.y"
2975 char *copy =
copy_name ((yyvsp[-2].sval));
2976 error (
_(
"No type \"%s\" within class "
2977 "or namespace \"%s\"."),
2980 #line 2982 "c-exp.c"
2984 #line 1033 "c-exp.y"
3003 if (msymbol.
minsym != NULL)
3006 error (
_(
"No symbol table is loaded. Use the \"file\" command."));
3008 error (
_(
"No symbol \"%s\" in current context."), name);
3010 #line 3012 "c-exp.c"
3014 #line 1061 "c-exp.y"
3015 {
struct symbol *sym = (yyvsp[0].ssym).sym;
3035 else if ((yyvsp[0].ssym).is_a_field_of_this)
3057 if (msymbol.
minsym != NULL)
3060 error (
_(
"No symbol table is loaded. Use the \"file\" command."));
3062 error (
_(
"No symbol \"%s\" in current context."),
3066 #line 3068 "c-exp.c"
3070 #line 1115 "c-exp.y"
3072 #line 3074 "c-exp.c"
3076 #line 1136 "c-exp.y"
3078 #line 3080 "c-exp.c"
3082 #line 1139 "c-exp.y"
3084 #line 3086 "c-exp.c"
3088 #line 1142 "c-exp.y"
3090 #line 3092 "c-exp.c"
3094 #line 1144 "c-exp.y"
3096 #line 3098 "c-exp.c"
3100 #line 1148 "c-exp.y"
3107 #line 3109 "c-exp.c"
3111 #line 1157 "c-exp.y"
3113 #line 3115 "c-exp.c"
3117 #line 1163 "c-exp.y"
3118 { (yyval.type_stack) = (yyvsp[-1].
type_stack); }
3119 #line 3121 "c-exp.c"
3123 #line 1165 "c-exp.y"
3130 #line 3132 "c-exp.c"
3134 #line 1172 "c-exp.y"
3140 #line 3142 "c-exp.c"
3144 #line 1179 "c-exp.y"
3150 #line 3152 "c-exp.c"
3154 #line 1185 "c-exp.y"
3159 #line 3161 "c-exp.c"
3163 #line 1192 "c-exp.y"
3164 { (yyval.
lval) = -1; }
3165 #line 3167 "c-exp.c"
3169 #line 1194 "c-exp.y"
3170 { (yyval.
lval) = -1; }
3171 #line 3173 "c-exp.c"
3175 #line 1196 "c-exp.y"
3176 { (yyval.
lval) = (yyvsp[-1].typed_val_int).val; }
3177 #line 3179 "c-exp.c"
3181 #line 1198 "c-exp.y"
3182 { (yyval.
lval) = (yyvsp[-1].typed_val_int).val; }
3183 #line 3185 "c-exp.c"
3187 #line 1202 "c-exp.y"
3188 { (yyval.
tvec) = NULL; }
3189 #line 3191 "c-exp.c"
3193 #line 1204 "c-exp.y"
3194 { (yyval.
tvec) = (yyvsp[-1].tvec); }
3195 #line 3197 "c-exp.c"
3199 #line 1220 "c-exp.y"
3200 { (yyval.
tval) = (yyvsp[0].tsym).type; }
3201 #line 3203 "c-exp.c"
3205 #line 1222 "c-exp.y"
3209 #line 3211 "c-exp.c"
3213 #line 1226 "c-exp.y"
3217 #line 3219 "c-exp.c"
3221 #line 1230 "c-exp.y"
3225 #line 3227 "c-exp.c"
3229 #line 1234 "c-exp.y"
3233 #line 3235 "c-exp.c"
3237 #line 1238 "c-exp.y"
3241 #line 3243 "c-exp.c"
3245 #line 1242 "c-exp.y"
3249 #line 3251 "c-exp.c"
3253 #line 1246 "c-exp.y"
3257 #line 3259 "c-exp.c"
3261 #line 1250 "c-exp.y"
3265 #line 3267 "c-exp.c"
3269 #line 1254 "c-exp.y"
3273 #line 3275 "c-exp.c"
3277 #line 1258 "c-exp.y"
3281 #line 3283 "c-exp.c"
3285 #line 1262 "c-exp.y"
3289 #line 3291 "c-exp.c"
3293 #line 1266 "c-exp.y"
3297 #line 3299 "c-exp.c"
3301 #line 1270 "c-exp.y"
3305 #line 3307 "c-exp.c"
3309 #line 1274 "c-exp.y"
3313 #line 3315 "c-exp.c"
3317 #line 1278 "c-exp.y"
3321 #line 3323 "c-exp.c"
3325 #line 1282 "c-exp.y"
3329 #line 3331 "c-exp.c"
3333 #line 1286 "c-exp.y"
3337 #line 3339 "c-exp.c"
3341 #line 1290 "c-exp.y"
3345 #line 3347 "c-exp.c"
3349 #line 1294 "c-exp.y"
3353 #line 3355 "c-exp.c"
3357 #line 1298 "c-exp.y"
3361 #line 3363 "c-exp.c"
3365 #line 1302 "c-exp.y"
3369 #line 3371 "c-exp.c"
3373 #line 1306 "c-exp.y"
3377 #line 3379 "c-exp.c"
3381 #line 1310 "c-exp.y"
3385 #line 3387 "c-exp.c"
3389 #line 1314 "c-exp.y"
3393 #line 3395 "c-exp.c"
3397 #line 1318 "c-exp.y"
3401 #line 3403 "c-exp.c"
3405 #line 1322 "c-exp.y"
3409 #line 3411 "c-exp.c"
3413 #line 1326 "c-exp.y"
3417 (
struct block *) NULL,
3419 #line 3421 "c-exp.c"
3423 #line 1332 "c-exp.y"
3427 (
struct block *) NULL,
3429 #line 3431 "c-exp.c"
3433 #line 1338 "c-exp.y"
3436 #line 3438 "c-exp.c"
3440 #line 1341 "c-exp.y"
3443 (yyval.
tval) = NULL;
3445 #line 3447 "c-exp.c"
3449 #line 1346 "c-exp.y"
3452 (yyvsp[-1].sval).length);
3453 (yyval.
tval) = NULL;
3455 #line 3457 "c-exp.c"
3459 #line 1352 "c-exp.y"
3462 #line 3464 "c-exp.c"
3466 #line 1355 "c-exp.y"
3469 (yyval.
tval) = NULL;
3471 #line 3473 "c-exp.c"
3475 #line 1360 "c-exp.y"
3478 (yyvsp[-1].sval).length);
3479 (yyval.
tval) = NULL;
3481 #line 3483 "c-exp.c"
3485 #line 1366 "c-exp.y"
3488 #line 3490 "c-exp.c"
3492 #line 1369 "c-exp.y"
3495 (yyval.
tval) = NULL;
3497 #line 3499 "c-exp.c"
3501 #line 1374 "c-exp.y"
3504 (yyvsp[-1].sval).length);
3505 (yyval.
tval) = NULL;
3507 #line 3509 "c-exp.c"
3511 #line 1380 "c-exp.y"
3514 #line 3516 "c-exp.c"
3518 #line 1383 "c-exp.y"
3521 (yyval.
tval) = NULL;
3523 #line 3525 "c-exp.c"
3527 #line 1388 "c-exp.y"
3530 (yyvsp[-1].sval).length);
3531 (yyval.
tval) = NULL;
3533 #line 3535 "c-exp.c"
3537 #line 1394 "c-exp.y"
3541 #line 3543 "c-exp.c"
3545 #line 1398 "c-exp.y"
3549 #line 3551 "c-exp.c"
3553 #line 1402 "c-exp.y"
3557 #line 3559 "c-exp.c"
3561 #line 1406 "c-exp.y"
3565 #line 3567 "c-exp.c"
3569 #line 1413 "c-exp.y"
3573 #line 3575 "c-exp.c"
3577 #line 1417 "c-exp.y"
3579 #line 3581 "c-exp.c"
3583 #line 1419 "c-exp.y"
3585 #line 3587 "c-exp.c"
3589 #line 1424 "c-exp.y"
3592 (yyval.
tsym).stoken.length = 3;
3597 #line 3599 "c-exp.c"
3601 #line 1432 "c-exp.y"
3604 (yyval.
tsym).stoken.length = 4;
3609 #line 3611 "c-exp.c"
3613 #line 1440 "c-exp.y"
3616 (yyval.
tsym).stoken.length = 5;
3621 #line 3623 "c-exp.c"
3625 #line 1451 "c-exp.y"
3627 #line 3629 "c-exp.c"
3631 #line 1453 "c-exp.y"
3635 (yyval.
tvec) = (yyvsp[-2].tvec);
3637 #line 3639 "c-exp.c"
3641 #line 1462 "c-exp.y"
3645 (yyval.
tvec) = typelist;
3647 #line 3649 "c-exp.c"
3651 #line 1468 "c-exp.y"
3654 (yyval.
tvec) = (yyvsp[-2].tvec);
3656 #line 3658 "c-exp.c"
3660 #line 1476 "c-exp.y"
3665 #line 3667 "c-exp.c"
3669 #line 1483 "c-exp.y"
3671 #line 3673 "c-exp.c"
3675 #line 1495 "c-exp.y"
3679 #line 3681 "c-exp.c"
3683 #line 1499 "c-exp.y"
3685 #line 3687 "c-exp.c"
3689 #line 1501 "c-exp.y"
3691 #line 3693 "c-exp.c"
3695 #line 1505 "c-exp.y"
3697 #line 3699 "c-exp.c"
3701 #line 1507 "c-exp.y"
3703 #line 3705 "c-exp.c"
3707 #line 1509 "c-exp.y"
3709 #line 3711 "c-exp.c"
3713 #line 1511 "c-exp.y"
3715 #line 3717 "c-exp.c"
3719 #line 1513 "c-exp.y"
3721 #line 3723 "c-exp.c"
3725 #line 1515 "c-exp.y"
3727 #line 3729 "c-exp.c"
3731 #line 1517 "c-exp.y"
3733 #line 3735 "c-exp.c"
3737 #line 1519 "c-exp.y"
3739 #line 3741 "c-exp.c"
3743 #line 1521 "c-exp.y"
3745 #line 3747 "c-exp.c"
3749 #line 1523 "c-exp.y"
3751 #line 3753 "c-exp.c"
3755 #line 1525 "c-exp.y"
3757 #line 3759 "c-exp.c"
3761 #line 1527 "c-exp.y"
3763 #line 3765 "c-exp.c"
3767 #line 1529 "c-exp.y"
3769 #line 3771 "c-exp.c"
3773 #line 1531 "c-exp.y"
3775 #line 3777 "c-exp.c"
3779 #line 1533 "c-exp.y"
3781 #line 3783 "c-exp.c"
3785 #line 1535 "c-exp.y"
3787 #line 3789 "c-exp.c"
3791 #line 1537 "c-exp.y"
3793 #line 3795 "c-exp.c"
3797 #line 1539 "c-exp.y"
3799 #line 3801 "c-exp.c"
3803 #line 1541 "c-exp.y"
3805 #line 3807 "c-exp.c"
3809 #line 1543 "c-exp.y"
3810 {
const char *op =
"unknown";
3811 switch ((yyvsp[0].opcode))
3834 case BINOP_BITWISE_IOR:
3837 case BINOP_BITWISE_AND:
3840 case BINOP_BITWISE_XOR:
3849 #line 3851 "c-exp.c"
3853 #line 1583 "c-exp.y"
3855 #line 3857 "c-exp.c"
3859 #line 1585 "c-exp.y"
3861 #line 3863 "c-exp.c"
3865 #line 1587 "c-exp.y"
3867 #line 3869 "c-exp.c"
3871 #line 1589 "c-exp.y"
3873 #line 3875 "c-exp.c"
3877 #line 1591 "c-exp.y"
3879 #line 3881 "c-exp.c"
3883 #line 1593 "c-exp.y"
3885 #line 3887 "c-exp.c"
3889 #line 1595 "c-exp.y"
3891 #line 3893 "c-exp.c"
3895 #line 1597 "c-exp.y"
3897 #line 3899 "c-exp.c"
3901 #line 1599 "c-exp.y"
3903 #line 3905 "c-exp.c"
3907 #line 1601 "c-exp.y"
3909 #line 3911 "c-exp.c"
3913 #line 1603 "c-exp.y"
3915 #line 3917 "c-exp.c"
3919 #line 1605 "c-exp.y"
3921 #line 3923 "c-exp.c"
3925 #line 1607 "c-exp.y"
3927 #line 3929 "c-exp.c"
3931 #line 1609 "c-exp.y"
3933 #line 3935 "c-exp.c"
3937 #line 1611 "c-exp.y"
3939 #line 3941 "c-exp.c"
3943 #line 1613 "c-exp.y"
3945 #line 3947 "c-exp.c"
3949 #line 1615 "c-exp.y"
3961 #line 3963 "c-exp.c"
3965 #line 1630 "c-exp.y"
3966 { (yyval.
sval) = (yyvsp[0].ssym).stoken; }
3967 #line 3969 "c-exp.c"
3971 #line 1631 "c-exp.y"
3972 { (yyval.
sval) = (yyvsp[0].ssym).stoken; }
3973 #line 3975 "c-exp.c"
3977 #line 1632 "c-exp.y"
3978 { (yyval.
sval) = (yyvsp[0].tsym).stoken; }
3979 #line 3981 "c-exp.c"
3983 #line 1633 "c-exp.y"
3984 { (yyval.
sval) = (yyvsp[0].ssym).stoken; }
3985 #line 3987 "c-exp.c"
3989 #line 1634 "c-exp.y"
3990 { (yyval.
sval) = (yyvsp[0].ssym).stoken; }
3991 #line 3993 "c-exp.c"
3995 #line 1635 "c-exp.y"
3996 { (yyval.
sval) = (yyvsp[0].sval); }
3997 #line 3999 "c-exp.c"
4001 #line 1648 "c-exp.y"
4009 &is_a_field_of_this);
4010 (yyval.
ssym).is_a_field_of_this
4011 = is_a_field_of_this.
type != NULL;
4013 #line 4015 "c-exp.c"
4017 #line 4019 "c-exp.c"
4046 if (0 <= yystate && yystate <=
YYLAST && yycheck[yystate] == *yyssp)
4066 #if ! YYERROR_VERBOSE
4069 # define YYSYNTAX_ERROR yysyntax_error (&yymsg_alloc, &yymsg, \
4072 char const *yymsgp =
YY_(
"syntax error");
4073 int yysyntax_error_status;
4074 yysyntax_error_status = YYSYNTAX_ERROR;
4075 if (yysyntax_error_status == 0)
4077 else if (yysyntax_error_status == 1)
4079 if (yymsg != yymsgbuf)
4085 yymsg_alloc =
sizeof yymsgbuf;
4086 yysyntax_error_status = 2;
4090 yysyntax_error_status = YYSYNTAX_ERROR;
4095 if (yysyntax_error_status == 2)
4096 goto yyexhaustedlab;
4098 # undef YYSYNTAX_ERROR
4104 if (yyerrstatus == 3)
4109 if (yychar <=
YYEOF)
4112 if (yychar ==
YYEOF)
4174 yystos[yystate], yyvsp);
4206 #if !defined yyoverflow || YYERROR_VERBOSE
4229 while (yyssp != yyss)
4232 yystos[*yyssp], yyvsp);
4240 if (yymsg != yymsgbuf)
4245 #line 1662 "c-exp.y"
4253 char *copy = alloca (token.
length + 1);
4256 memcpy (©[1], token.
ptr, token.
length);
4270 static const char *operator_string =
"operator";
4271 struct stoken st = { NULL, 0 };
4274 st.
length = strlen (operator_string) + strlen (op);
4276 strcpy (buf, operator_string);
4317 error (
_(
"parameter types following 'void'"));
4322 error (
_(
"'void' invalid as parameter type"));
4336 const char *buf,
int len,
int parsed_float,
YYSTYPE *putithere)
4353 int found_suffix = 0;
4356 struct type *signed_type;
4357 struct type *unsigned_type;
4361 memcpy (p, buf, len);
4368 if (len >= 2 && p[len - 2] ==
'd' && p[len - 1] ==
'f')
4380 if (len >= 2 && p[len - 2] ==
'd' && p[len - 1] ==
'd')
4392 if (len >= 2 && p[len - 2] ==
'd' && p[len - 1] ==
'l')
4412 if (p[0] ==
'0' && len > 1)
4455 if (c >=
'A' && c <=
'Z')
4457 if (c !=
'l' && c !=
'u')
4459 if (c >=
'0' && c <=
'9')
4467 if (base > 10 && c >=
'a' && c <=
'f')
4471 n += i = c -
'a' + 10;
4492 if (c !=
'l' && c !=
'u' && (prevn >= n) && n != 0)
4498 if (c !=
'l' && c !=
'u' && n != 0)
4501 error (
_(
"Numeric constant too large."));
4531 unsigned_type =
parse_type (par_state)->builtin_unsigned_int;
4532 signed_type =
parse_type (par_state)->builtin_int;
4534 else if (long_p <= 1
4539 unsigned_type =
parse_type (par_state)->builtin_unsigned_long;
4540 signed_type =
parse_type (par_state)->builtin_long;
4552 unsigned_type =
parse_type (par_state)->builtin_unsigned_long_long;
4553 signed_type =
parse_type (par_state)->builtin_long_long;
4561 if (unsigned_p || (n & high_bit))
4589 const char *tokptr = *ptr;
4602 if (!isxdigit (*tokptr))
4603 error (
_(
"\\x escape without a following hex digit"));
4604 while (isxdigit (*tokptr))
4607 obstack_1grow (output, *tokptr);
4627 i < 3 && isdigit (*tokptr) && *tokptr !=
'8' && *tokptr !=
'9';
4631 obstack_1grow (output, *tokptr);
4645 int i,
len = c ==
'U' ? 8 : 4;
4648 obstack_1grow (output,
'\\');
4649 obstack_1grow (output, *tokptr);
4652 if (!isxdigit (*tokptr))
4653 error (
_(
"\\%c escape without a following hex digit"), c);
4654 for (i = 0; i < len && isxdigit (*tokptr); ++i)
4657 obstack_1grow (output, *tokptr);
4674 obstack_1grow (output,
'\a');
4679 obstack_1grow (output,
'\b');
4684 obstack_1grow (output,
'\f');
4689 obstack_1grow (output,
'\n');
4694 obstack_1grow (output,
'\r');
4699 obstack_1grow (output,
'\t');
4704 obstack_1grow (output,
'\v');
4733 obstack_1grow (output, *tokptr);
4768 obstack_free (&
tempbuf, NULL);
4777 else if (*tokptr ==
'u')
4782 else if (*tokptr ==
'U')
4787 else if (*tokptr ==
'@')
4813 else if (c == quote)
4826 if (*tokptr != quote)
4829 error (
_(
"Unterminated string in expression."));
4831 error (
_(
"Unmatched single quote."));
4887 {
"->",
ARROW, BINOP_END, 0},
4888 {
"&&",
ANDAND, BINOP_END, 0},
4889 {
"||",
OROR, BINOP_END, 0},
4893 {
"<<",
LSH, BINOP_END, 0},
4894 {
">>",
RSH, BINOP_END, 0},
4895 {
"==",
EQUAL, BINOP_END, 0},
4897 {
"<=",
LEQ, BINOP_END, 0},
4898 {
">=",
GEQ, BINOP_END, 0},
4903 static const struct token ident_tokens[] =
4905 {
"unsigned",
UNSIGNED, OP_NULL, 0},
4908 {
"struct",
STRUCT, OP_NULL, 0},
4910 {
"sizeof",
SIZEOF, OP_NULL, 0},
4914 {
"union",
UNION, OP_NULL, 0},
4915 {
"short",
SHORT, OP_NULL, 0},
4917 {
"enum",
ENUM, OP_NULL, 0},
4918 {
"long",
LONG, OP_NULL, 0},
4927 {
"bitand",
'&', OP_NULL,
FLAG_CXX},
4942 {
"__typeof__",
TYPEOF, OP_TYPEOF, 0 },
4943 {
"__typeof",
TYPEOF, OP_TYPEOF, 0 },
4993 macro_original_text =
lexptr;
5000 return macro_original_text != 0;
5011 macro_original_text = 0;
5017 if (macro_original_text)
5028 return (! strncmp (token,
"dynamic_cast", len)
5029 || ! strncmp (token,
"static_cast", len)
5030 || ! strncmp (token,
"reinterpret_cast", len)
5031 || ! strncmp (token,
"const_cast", len));
5055 const char *tokstart;
5059 last_was_structop = 0;
5060 *is_quoted_name = 0;
5069 expression_macro_scope);
5079 for (i = 0; i <
sizeof tokentab3 /
sizeof tokentab3[0]; i++)
5080 if (strncmp (tokstart, tokentab3[i].oper, 3) == 0)
5088 return tokentab3[i].
token;
5092 for (i = 0; i <
sizeof tokentab2 /
sizeof tokentab2[0]; i++)
5093 if (strncmp (tokstart, tokentab2[i].oper, 2) == 0)
5102 last_was_structop = 1;
5103 return tokentab2[i].
token;
5106 switch (c = *tokstart)
5120 else if (saw_name_at_eof)
5122 saw_name_at_eof = 0;
5125 else if (saw_structop)
5166 last_was_structop = 1;
5183 int got_dot = 0, got_e = 0, toktype;
5184 const char *p = tokstart;
5187 if (c ==
'0' && (p[1] ==
'x' || p[1] ==
'X'))
5192 else if (c ==
'0' && (p[1]==
't' || p[1]==
'T' || p[1]==
'd' || p[1]==
'D'))
5203 if (!hex && !got_e && (*p ==
'e' || *p ==
'E'))
5204 got_dot = got_e = 1;
5207 else if (!got_dot && *p ==
'.')
5209 else if (got_e && (p[-1] ==
'e' || p[-1] ==
'E')
5210 && (*p ==
'-' || *p ==
'+'))
5216 else if ((*p < '0' || *p >
'9')
5217 && ((*p < 'a' || *p >
'z')
5218 && (*p < 'A' || *p >
'Z')))
5221 toktype =
parse_number (par_state, tokstart, p - tokstart,
5222 got_dot|got_e, &yylval);
5223 if (toktype ==
ERROR)
5225 char *err_copy = (
char *) alloca (p - tokstart + 1);
5227 memcpy (err_copy, tokstart, p - tokstart);
5228 err_copy[p - tokstart] = 0;
5229 error (
_(
"Invalid number \"%s\"."), err_copy);
5237 const char *p = &tokstart[1];
5238 size_t len = strlen (
"entry");
5242 size_t len = strlen (
"selector");
5244 if (strncmp (p,
"selector", len) == 0
5245 && (p[len] ==
'\0' || isspace (p[len])))
5254 while (isspace (*p))
5256 if (strncmp (p,
"entry", len) == 0 && !isalnum (p[len])
5288 if (tokstart[1] !=
'"' && tokstart[1] !=
'\'')
5302 error (
_(
"Empty character constant."));
5303 else if (host_len > 2 && c ==
'\'')
5306 namelen =
lexptr - tokstart - 1;
5307 *is_quoted_name = 1;
5311 else if (host_len > 1)
5312 error (
_(
"Invalid character constant."));
5318 if (!(c ==
'_' || c ==
'$'
5319 || (c >=
'a' && c <=
'z') || (c >=
'A' && c <=
'Z')))
5321 error (
_(
"Invalid character '%c' in expression."), c);
5325 for (c = tokstart[namelen];
5326 (c ==
'_' || c ==
'$' || (c >=
'0' && c <=
'9')
5327 || (c >=
'a' && c <=
'z') || (c >=
'A' && c <=
'Z') || c ==
'<');)
5343 namelen = p - tokstart;
5347 c = tokstart[++namelen];
5354 && tokstart[0] ==
'i'
5355 && tokstart[1] ==
'f'
5367 && (strncmp (tokstart,
"thread", namelen) == 0
5368 || strncmp (tokstart,
"task", namelen) == 0)
5369 && (tokstart[namelen] ==
' ' || tokstart[namelen] ==
'\t')
5372 const char *p = tokstart + namelen + 1;
5374 while (*p ==
' ' || *p ==
'\t')
5376 if (*p >=
'0' && *p <=
'9')
5389 for (i = 0; i <
sizeof ident_tokens /
sizeof ident_tokens[0]; i++)
5390 if (strcmp (copy, ident_tokens[i].oper) == 0)
5415 return ident_tokens[i].
token;
5418 if (*tokstart ==
'$')
5422 saw_name_at_eof = 1;
5448 static struct obstack name_obstack;
5468 memset (&is_a_field_of_this, 0,
sizeof (is_a_field_of_this));
5472 ? &is_a_field_of_this : NULL);
5486 if (is_a_field_of_this.type != NULL
5487 && is_a_field_of_this.fn_field != NULL
5494 &inner_is_a_field_of_this);
5506 if (is_a_field_of_this.type == NULL || is_quoted_name)
5509 struct symtab *symtab;
5533 yylval.theclass.theclass = Class;
5545 && ((copy[0] >=
'a' && copy[0] <
'a' +
input_radix - 10)
5546 || (copy[0] >=
'A' && copy[0] <
'A' +
input_radix - 10)))
5565 && is_a_field_of_this.type == NULL
5578 const struct block *block,
struct type *context)
5583 if (context == NULL)
5601 if (base_type != NULL)
5620 if (base_type != NULL)
5654 int first_was_coloncolon, last_was_coloncolon;
5655 struct type *context_type = NULL;
5656 int last_to_examine, next_to_examine, checkpoint;
5657 const struct block *search_block;
5674 return current.
token;
5691 if ((last_was_coloncolon && current.
token !=
NAME)
5694 last_was_coloncolon = !last_was_coloncolon;
5701 next_to_examine = 0;
5706 obstack_free (&name_obstack, obstack_base (&name_obstack));
5711 search_block = NULL;
5723 last_was_coloncolon = first_was_coloncolon;
5725 while (next_to_examine <= last_to_examine)
5732 if (next->
token ==
NAME && last_was_coloncolon)
5736 yylval = next->
value;
5741 if (classification !=
TYPENAME && classification !=
NAME)
5745 checkpoint = next_to_examine;
5748 if (context_type != NULL)
5756 yylval.
sval.
ptr = obstack_base (&name_obstack);
5757 yylval.
sval.
length = obstack_object_size (&name_obstack);
5759 current.
token = classification;
5761 last_was_coloncolon = 0;
5763 if (classification ==
NAME)
5769 last_was_coloncolon = 1;
5793 yylval = current.
value;
5794 return current.
token;
5811 expression_macro_scope = NULL;
5814 expression_macro_scope
5818 if (! expression_macro_scope)
5830 last_was_structop = 0;
5831 saw_name_at_eof = 0;
5835 obstack_init (&name_obstack);
5855 fprintf (file,
"typed_val_int<%s, %s>",
5868 fprintf (file,
"tsval<type=%d, %s>", value.
tsval.
type, copy);
5878 fprintf (file,
"tsym<type=%s, name=%s>",
5887 fprintf (file,
"ssym<name=%s, sym=%s, field_of_this=%d>",
5908 error (
_(
"A %s in expression, near `%s'."), (msg ? msg :
"error"),
lexptr);
struct symbol * cp_lookup_nested_symbol(struct type *parent_type, const char *nested_name, const struct block *block, const domain_enum domain)
int decimal_from_string(gdb_byte *decbytes, int len, enum bfd_endian byte_order, const char *string)
unsigned short int yytype_uint16
void write_exp_elt_decfloatcst(struct parser_state *ps, gdb_byte expelt[16])
int end_msglist(struct parser_state *ps)
void write_exp_elt_sym(struct parser_state *ps, struct symbol *expelt)
#define parse_language(ps)
#define VEC_replace(T, V, I, O)
#define SYMBOL_PRINT_NAME(symbol)
struct YYSTYPE::@36 typed_val_decfloat
void push_type_stack(struct type_stack *stack)
struct type * lookup_signed_typename(const struct language_defn *language, struct gdbarch *gdbarch, const char *name)
#define parse_gdbarch(ps)
#define YY_IGNORE_MAYBE_UNINITIALIZED_END
void type_stack_cleanup(void *arg)
CORE_ADDR expression_context_pc
static int classify_inner_name(struct parser_state *par_state, const struct block *block, struct type *context)
static const char * macro_original_text
int gdbarch_int_bit(struct gdbarch *gdbarch)
struct type ** const(pascal_builtin_types[])
#define TYPE_NAME(thistype)
static struct macro_scope * expression_macro_scope
char * ui_file_xstrdup(struct ui_file *file, long *length)
void ui_file_delete(struct ui_file *file)
#define YY_STACK_PRINT(Bottom, Top)
const struct type_print_options type_print_raw_options
struct symtab * lookup_symtab(const char *name)
#define SYMBOL_CLASS(symbol)
void internal_error(const char *file, int line, const char *fmt,...)
struct macro_definition * standard_macro_lookup(const char *name, void *baton)
#define VEC_block_remove(T, V, I, L)
static struct stoken operator_stoken(const char *)
int gdbarch_long_bit(struct gdbarch *gdbarch)
const struct block * innermost_block
int have_partial_symbols(void)
#define VEC_safe_push(T, V, O)
#define BLOCKVECTOR_BLOCK(blocklist, n)
void push_type(enum type_pieces tp)
static void insert_type(struct compile_c_instance *context, struct type *type, gcc_type gcc_type)
int c_parse_escape(const char **ptr, struct obstack *output)
struct macro_scope * sal_macro_scope(struct symtab_and_line sal)
#define YYPRINT(FILE, TYPE, VALUE)
static void yy_symbol_value_print(FILE *yyoutput, int yytype, YYSTYPE const *const yyvaluep)
int parse_c_float(struct gdbarch *gdbarch, const char *p, int len, DOUBLEST *d, struct type **t)
struct macro_scope * default_macro_scope(void)
struct symbol * lookup_struct_typedef(char *name, const struct block *block, int noerr)
#define yytable_value_is_error(Yytable_value)
void push_type_int(int n)
mach_port_t kern_return_t mach_port_t msgports mach_port_t kern_return_t pid_t pid mach_port_t kern_return_t mach_port_t task mach_port_t kern_return_t int flags
static void yydestruct(const char *yymsg, int yytype, YYSTYPE *yyvaluep)
struct typed_stoken tsval
struct type * lookup_typename(const struct language_defn *language, struct gdbarch *gdbarch, const char *name, const struct block *block, int noerr)
void write_exp_elt_block(struct parser_state *ps, const struct block *b)
#define SYMTAB_BLOCKVECTOR(symtab)
static int parse_string_or_char(const char *tokptr, const char **outptr, struct typed_stoken *value, int *host_chars)
void write_exp_elt_longcst(struct parser_state *ps, LONGEST expelt)
#define VEC_iterate(T, V, I, P)
struct type * check_typedef(struct type *type)
int contained_in(const struct block *a, const struct block *b)
struct cleanup * make_cleanup_restore_integer(int *variable)
static int type_aggregate_p(struct type *)
struct type * follow_types(struct type *follow_type)
struct symtab_and_line find_pc_line(CORE_ADDR pc, int notcurrent)
struct stoken_vector svec
static struct obstack tempbuf
static VEC(token_and_value)
struct type * lookup_struct(const char *name, const struct block *block)
struct YYSTYPE::@2 typed_val_float
void write_exp_elt_dblcst(struct parser_state *ps, DOUBLEST expelt)
int symbol_read_needs_frame(struct symbol *sym)
#define YYSTACK_ALLOC_MAXIMUM
#define yypact_value_is_default(Yystate)
void free_current_contents(void *ptr)
enum bfd_endian gdbarch_byte_order(struct gdbarch *gdbarch)
struct type * lookup_enum(const char *name, const struct block *block)
static void yy_reduce_print(yytype_int16 *yyssp, YYSTYPE *yyvsp, int yyrule)
static struct obstack expansion_obstack
struct cleanup * make_cleanup(make_cleanup_ftype *function, void *arg)
void add_msglist(struct stoken *str, int addcolon)
unsigned char yytype_uint8
char * pulongest(ULONGEST u)
#define VEC_index(T, V, I)
const struct block * block_found
char * macro_expand_next(const char **lexptr, macro_lookup_ftype *lookup_func, void *lookup_baton)
void write_dollar_variable(struct parser_state *ps, struct stoken str)
const char * find_template_name_end(const char *p)
void push_typelist(VEC(type_ptr)*list)
void mark_struct_expression(struct parser_state *ps)
struct type_stack * get_type_stack(void)
struct cleanup * make_cleanup_clear_parser_state(struct parser_state **p)
struct type * lookup_union(const char *name, const struct block *block)
DEF_VEC_O(token_and_value)
#define YY_REDUCE_PRINT(Rule)
static int classify_name(struct parser_state *par_state, const struct block *block)
const struct block * bval
struct ui_file * mem_fileopen(void)
void write_exp_msymbol(struct parser_state *ps, struct bound_minimal_symbol bound_msym)
int c_parse(struct parser_state *par_state)
static struct type_stack type_stack
static int parse_number(struct parser_state *par_state, const char *, int, int, YYSTYPE *)
int destructor_name_p(const char *name, struct type *type)
static void finished_macro_expansion(void)
static void write_destructor_name(struct parser_state *par_state, struct stoken)
static int scanning_macro_expansion(void)
PTR xrealloc(PTR ptr, size_t size)
void write_exp_elt_opcode(struct parser_state *ps, enum exp_opcode expelt)
static const char * lexptr
struct YYSTYPE::@34 typed_val_int
void insert_type_address_space(struct parser_state *pstate, char *string)
static void scan_macro_expansion(char *expansion)
#define TYPE_TARGET_TYPE(thistype)
static void yy_stack_print(yytype_int16 *yybottom, yytype_int16 *yytop)
static void c_print_token(FILE *file, int type, YYSTYPE value)
struct type * lookup_template_type(char *name, struct type *type, const struct block *block)
#define SYMBOL_BLOCK_VALUE(symbol)
#define TYPE_CODE(thistype)
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
struct minimal_symbol * minsym
void c_print_type(struct type *, const char *, struct ui_file *, int, int, const struct type_print_options *)
int gdbarch_long_long_bit(struct gdbarch *gdbarch)
const char * host_address_to_string(const void *addr)
struct symbol * lookup_symbol(const char *name, const struct block *block, domain_enum domain, struct field_of_this_result *is_a_field_of_this)
struct bound_minimal_symbol lookup_bound_minimal_symbol(const char *name)
#define obstack_grow_str(OBSTACK, STRING)
struct type * lookup_unsigned_typename(const struct language_defn *language, struct gdbarch *gdbarch, const char *name)
struct type_stack * append_type_stack(struct type_stack *to, struct type_stack *from)
#define CHECK_TYPEDEF(TYPE)
static int is_cast_operator(const char *token, int len)
static void scan_macro_cleanup(void *dummy)
int have_full_symbols(void)
static void yy_symbol_print(FILE *yyoutput, int yytype, YYSTYPE const *const yyvaluep)
const struct block * expression_context_block
unsigned long long ULONGEST
struct typed_stoken * tokens
static int ignore(struct target_ops *ops, struct gdbarch *gdbarch, struct bp_target_info *bp_tgt)
static void check_parameter_typelist(VEC(type_ptr)*)
#define SYMBOL_TYPE(symbol)
void mark_completion_tag(enum type_code tag, const char *ptr, int length)
CORE_ADDR lookup_objc_class(struct gdbarch *gdbarch, char *classname)
#define TYPE_LENGTH(thistype)
#define YYSTACK_RELOCATE(Stack_alloc, Stack)
static int saw_name_at_eof
static int last_was_structop
#define TYPE_FN_FIELD_CONSTRUCTOR(thisfn, n)
struct cleanup * make_cleanup_obstack_free(struct obstack *obstack)
#define TYPE_DECLARED_CLASS(t)
struct bound_minimal_symbol lookup_minimal_symbol(const char *name, const char *sfile, struct objfile *objf)
static int lex_one_token(struct parser_state *par_state, int *is_quoted_name)
static const char * prev_lexptr
void write_exp_string(struct parser_state *ps, struct stoken str)
struct type * cp_find_type_baseclass_by_name(struct type *parent_type, const char *name)
void write_exp_elt_type(struct parser_state *ps, struct type *expelt)
void error(const char *fmt,...)
void write_exp_string_vector(struct parser_state *ps, int type, struct stoken_vector *vec)
void do_cleanups(struct cleanup *old_chain)
#define SYMBOL_IS_ARGUMENT(symbol)
#define TYPE_SAFE_NAME(type)
char * copy_name(struct stoken token)
struct macro_scope * user_macro_scope(void)
#define VEC_ordered_remove(T, V, I)
const ULONGEST const LONGEST len
#define YY_SYMBOL_PRINT(Title, Type, Value, Location)