47 #define YYBISON_VERSION "3.0.4" 50 #define YYSKELETON_NAME "yacc.c" 79 #define parse_type(ps) builtin_type (parse_gdbarch (ps)) 80 #define parse_m2_type(ps) builtin_m2_type (parse_gdbarch (ps)) 84 #define GDB_YY_REMAP_PREFIX m2_ 94 static int yylex (
void);
106 # ifndef YY_NULLPTRPTR 107 # if defined __cplusplus && 201103L <= __cplusplus 108 # define YY_NULLPTRPTR nullptr 110 # define YY_NULLPTRPTR 0 115 #ifdef YYERROR_VERBOSE 116 # undef YYERROR_VERBOSE 117 # define YYERROR_VERBOSE 1 119 # define YYERROR_VERBOSE 0 196 #define BLOCKNAME 268 207 #define FLOAT_FUNC 279 217 #define COLONCOLON 289 218 #define INTERNAL_VAR 290 219 #define ABOVE_COMMA 291 226 #define LOGICAL_AND 298 235 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 260 # define YYSTYPE_IS_TRIVIAL 1 261 # define YYSTYPE_IS_DECLARED 1 304 # ifdef __SIZE_TYPE__ 305 # define YYSIZE_T __SIZE_TYPE__ 306 # elif defined size_t 307 # define YYSIZE_T size_t 308 # elif ! defined YYSIZE_T 310 # define YYSIZE_T size_t 312 # define YYSIZE_T unsigned int 316 #define YYSIZE_MAXIMUM ((YYSIZE_T) -1) 319 # if defined YYENABLE_NLS && YYENABLE_NLS 321 # include <libintl.h> 322 # define YY_(Msgid) dgettext ("bison-runtime", Msgid) 326 # define YY_(Msgid) Msgid 331 # if (defined __GNUC__ \ 332 && (2 < __GNUC__ || (__GNUC__ == 2 && 96 <= __GNUC_MINOR__))) \ 333 || defined __SUNPRO_C && 0x5110 <= __SUNPRO_C 334 # define YY_ATTRIBUTE(Spec) __attribute__(Spec) 336 # define YY_ATTRIBUTE(Spec) 340 #ifndef YY_ATTRIBUTE_PURE 341 # define YY_ATTRIBUTE_PURE YY_ATTRIBUTE ((__pure__)) 344 #ifndef YY_ATTRIBUTE_UNUSED 345 # define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__)) 348 #if !defined _Noreturn \ 349 && (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112) 350 # if defined _MSC_VER && 1200 <= _MSC_VER 351 # define _Noreturn __declspec (noreturn) 353 # define _Noreturn YY_ATTRIBUTE ((__noreturn__)) 358 #if ! defined lint || defined __GNUC__ 359 # define YYUSE(E) ((void) (E)) 364 #if defined __GNUC__ && 407 <= __GNUC__ * 100 + __GNUC_MINOR__ 366 # define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \ 367 _Pragma ("GCC diagnostic push") \ 368 _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"")\ 369 _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"") 370 # define YY_IGNORE_MAYBE_UNINITIALIZED_END \ 371 _Pragma ("GCC diagnostic pop") 373 # define YY_INITIAL_VALUE(Value) Value 375 #ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN 376 # define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN 377 # define YY_IGNORE_MAYBE_UNINITIALIZED_END 379 #ifndef YY_INITIAL_VALUE 380 # define YY_INITIAL_VALUE(Value) 384 #if ! defined yyoverflow || YYERROR_VERBOSE 388 # ifdef YYSTACK_USE_ALLOCA 389 # if YYSTACK_USE_ALLOCA 391 # define YYSTACK_ALLOC __builtin_alloca 392 # elif defined __BUILTIN_VA_ARG_INCR 395 # define YYSTACK_ALLOC __alloca 396 # elif defined _MSC_VER 397 # define alloca _alloca 399 # define YYSTACK_ALLOC alloca 400 # if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS 403 # ifndef EXIT_SUCCESS 404 # define EXIT_SUCCESS 0 411 # ifdef YYSTACK_ALLOC 413 # define YYSTACK_FREE(Ptr) do { ; } while (0) 414 # ifndef YYSTACK_ALLOC_MAXIMUM 419 # define YYSTACK_ALLOC_MAXIMUM 4032 422 # define YYSTACK_ALLOC YYMALLOC 423 # define YYSTACK_FREE YYFREE 424 # ifndef YYSTACK_ALLOC_MAXIMUM 425 # define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM 427 # if (defined __cplusplus && ! defined EXIT_SUCCESS \ 428 && ! ((defined YYMALLOC || defined xmalloc) \ 429 && (defined YYFREE || defined xfree))) 431 # ifndef EXIT_SUCCESS 432 # define EXIT_SUCCESS 0 436 # define YYMALLOC xmalloc 437 # if ! defined xmalloc && ! defined EXIT_SUCCESS 442 # define YYFREE xfree 443 # if ! defined xfree && ! defined EXIT_SUCCESS 451 #if (! defined yyoverflow \ 452 && (! defined __cplusplus \ 453 || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) 463 # define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) 467 # define YYSTACK_BYTES(N) \ 468 ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \ 469 + YYSTACK_GAP_MAXIMUM) 471 # define YYCOPY_NEEDED 1 478 # define YYSTACK_RELOCATE(Stack_alloc, Stack) \ 481 YYSIZE_T yynewbytes; \ 482 YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ 483 Stack = &yyptr->Stack_alloc; \ 484 yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ 485 yyptr += yynewbytes / sizeof (*yyptr); \ 491 #if defined YYCOPY_NEEDED && YYCOPY_NEEDED 495 # if defined __GNUC__ && 1 < __GNUC__ 496 # define YYCOPY(Dst, Src, Count) \ 497 __builtin_memcpy (Dst, Src, (Count) * sizeof (*(Src))) 499 # define YYCOPY(Dst, Src, Count) \ 503 for (yyi = 0; yyi < (Count); yyi++) \ 504 (Dst)[yyi] = (Src)[yyi]; \ 523 #define YYNSTATES 187 528 #define YYMAXUTOK 304 530 #define YYTRANSLATE(YYX) \ 531 ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) 537 0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
538 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
539 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
540 2, 2, 2, 2, 2, 45, 2, 2, 49, 2,
541 61, 65, 53, 51, 36, 52, 2, 54, 2, 2,
542 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
543 39, 43, 40, 2, 50, 2, 2, 2, 2, 2,
544 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
545 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
546 2, 60, 2, 68, 58, 2, 2, 2, 2, 2,
547 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
548 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
549 2, 2, 2, 66, 2, 67, 63, 2, 2, 2,
550 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
551 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
552 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
553 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
554 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
555 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
556 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
557 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
558 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
559 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
560 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
561 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
562 2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
563 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
564 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
565 25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
566 35, 37, 38, 41, 42, 44, 46, 47, 48, 55,
574 0, 151, 151, 152, 155, 164, 169, 168, 175, 179,
575 183, 184, 187, 191, 195, 199, 203, 209, 215, 219,
576 225, 229, 233, 237, 241, 246, 250, 257, 261, 268,
577 274, 277, 281, 285, 289, 291, 301, 297, 309, 316,
578 313, 324, 327, 331, 336, 341, 346, 352, 358, 366,
579 370, 374, 378, 382, 386, 390, 394, 398, 400, 404,
580 408, 412, 416, 420, 424, 428, 435, 441, 447, 455,
581 466, 476, 485, 488, 497, 504, 508, 518, 530, 538,
586 #if YYDEBUG || YYERROR_VERBOSE || 0 591 "$end",
"error",
"$undefined",
"INT",
"HEX",
"ERROR",
"UINT",
"M2_TRUE",
592 "M2_FALSE",
"CHAR",
"FLOAT",
"STRING",
"NAME",
"BLOCKNAME",
"IDENT",
593 "VARNAME",
"TYPENAME",
"SIZE",
"CAP",
"ORD",
"HIGH",
"ABS",
"MIN_FUNC",
594 "MAX_FUNC",
"FLOAT_FUNC",
"VAL",
"CHR",
"ODD",
"TRUNC",
"TSIZE",
"INC",
595 "DEC",
"INCL",
"EXCL",
"COLONCOLON",
"INTERNAL_VAR",
"','",
596 "ABOVE_COMMA",
"ASSIGN",
"'<'",
"'>'",
"LEQ",
"GEQ",
"'='",
"NOTEQUAL",
597 "'#'",
"IN",
"OROR",
"LOGICAL_AND",
"'&'",
"'@'",
"'+'",
"'-'",
"'*'",
598 "'/'",
"DIV",
"MOD",
"UNARY",
"'^'",
"DOT",
"'['",
"'('",
"NOT",
"'~'",
599 "QID",
"')'",
"'{'",
"'}'",
"']'",
"$accept",
"start",
"type_exp",
"exp",
600 "$@1",
"not_exp",
"set",
"$@2",
"$@3",
"arglist",
"non_empty_arglist",
610 0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
611 265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
612 275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
613 285, 286, 287, 288, 289, 290, 44, 291, 292, 60,
614 62, 293, 294, 61, 295, 35, 296, 297, 298, 38,
615 64, 43, 45, 42, 47, 299, 300, 301, 94, 302,
616 91, 40, 303, 126, 304, 41, 123, 125, 93
620 #define YYPACT_NINF -90 622 #define yypact_value_is_default(Yystate) \ 623 (!!((Yystate) == (-90))) 625 #define YYTABLE_NINF -76 627 #define yytable_value_is_error(Yytable_value) \ 628 (!!((Yytable_value) == (-76))) 634 163, -90, -90, -90, -90, -90, -90, -90, -90, -90,
635 -90, 224, -35, -28, -22, -18, 2, 8, 17, 28,
636 30, 31, 32, 34, 35, 36, 38, 39, -90, 163,
637 -90, 163, -90, -90, 163, 27, -90, 807, 163, -90,
638 -6, -4, -90, -21, 163, 7, -21, 163, 163, 163,
639 163, 85, 85, 163, 85, 163, 163, 163, 163, 163,
640 163, 163, 163, 7, 163, 309, 807, -32, -42, -90,
641 163, 163, 163, 163, 163, 163, 163, 163, -15, 163,
642 163, 163, 163, 163, 163, 163, 163, 163, -90, 90,
643 163, -90, 7, -5, 163, 163, -24, 337, 365, 393,
644 421, -19, 42, 449, 67, 477, 505, 533, 561, 253,
645 281, 757, 783, 7, -90, 163, -90, 163, 831, -38,
646 -38, -38, -38, -38, -38, -38, 163, -90, 43, 149,
647 210, 842, 851, 851, 7, 7, 7, 7, -90, 83,
648 163, 163, -90, -90, 589, -31, -90, -90, -90, -90,
649 -90, -90, -90, -90, 163, -90, -90, -90, -90, 163,
650 -90, 163, -90, 163, 163, 807, 7, -90, 807, -34,
651 -33, -90, -90, 617, 645, 673, 701, 729, 163, -90,
652 -90, -90, -90, -90, -90, -90, 807
660 0, 68, 69, 66, 67, 70, 71, 74, 81, 76,
661 82, 0, 0, 0, 0, 0, 0, 0, 0, 0,
662 0, 0, 0, 0, 0, 0, 0, 0, 79, 0,
663 6, 0, 10, 11, 41, 0, 3, 2, 0, 30,
664 0, 78, 72, 4, 0, 24, 0, 0, 0, 0,
665 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
666 0, 0, 0, 8, 0, 0, 42, 0, 0, 1,
667 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
668 0, 0, 0, 0, 0, 0, 0, 0, 5, 0,
669 0, 39, 9, 0, 0, 41, 0, 0, 0, 0,
670 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
671 0, 0, 0, 7, 48, 0, 34, 0, 65, 61,
672 62, 59, 60, 56, 57, 58, 41, 31, 0, 64,
673 63, 49, 54, 55, 50, 51, 52, 53, 29, 0,
674 0, 41, 80, 77, 0, 0, 73, 12, 13, 15,
675 14, 16, 17, 18, 0, 20, 21, 22, 23, 0,
676 25, 0, 27, 0, 0, 43, 46, 38, 44, 0,
677 0, 47, 35, 0, 0, 0, 0, 0, 0, 37,
678 40, 19, 26, 28, 32, 33, 45
684 -90, -90, -90, 0, -90, -90, 26, -90, -90, -89,
685 -90, -90, -90, -90, 54
691 -1, 35, 36, 66, 64, 38, 39, 140, 141, 67,
700 37, 10, 178, 115, 115, 115, 145, 142, 143, 79,
701 80, 45, 81, 82, 83, 84, 85, 86, 87, 94,
702 88, 89, 90, 91, 95, 117, 47, 69, 93, 63,
703 -75, 65, 180, 48, 179, 116, 172, 94, 92, 49,
704 94, 146, 95, 50, 65, 95, 151, 97, 98, 99,
705 100, 126, 170, 103, 43, 105, 106, 107, 108, 109,
706 110, 111, 112, 51, 113, 88, 89, 90, 91, 52,
707 118, 119, 120, 121, 122, 123, 124, 125, 53, 129,
708 130, 131, 132, 133, 134, 135, 136, 137, 68, 54,
709 139, 55, 56, 57, 144, 58, 59, 60, 96, 61,
710 62, 10, 138, 154, 127, 101, 102, 152, 104, 95,
711 0, 0, 0, 0, 0, 165, 0, 166, 0, 0,
712 0, 70, 71, 72, 73, 74, 75, 76, 77, 78,
713 79, 80, 128, 81, 82, 83, 84, 85, 86, 87,
714 168, 88, 89, 90, 91, 0, 0, 0, 0, 0,
715 0, 167, 0, 0, 173, 0, 0, 0, 0, 174,
716 0, 175, 0, 176, 177, 0, 1, 0, 0, 2,
717 3, 4, 5, 6, 7, 8, 9, 0, 186, 10,
718 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
719 21, 22, 23, 24, 25, 26, 27, 80, 28, 81,
720 82, 83, 84, 85, 86, 87, 0, 88, 89, 90,
721 91, 0, 0, 0, 29, 30, 0, 0, 0, 0,
722 0, 0, 0, 0, 31, 32, 33, 1, 0, 34,
723 2, 3, 4, 5, 6, 7, 8, 9, 0, 0,
724 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
725 20, 21, 22, 23, 24, 25, 26, 27, 0, 28,
726 81, 82, 83, 84, 85, 86, 87, 0, 88, 89,
727 90, 91, 0, 0, 0, 29, 30, 0, 0, 0,
728 0, 0, 0, 0, 0, 44, 32, 33, 0, 159,
729 34, 70, 71, 72, 73, 74, 75, 76, 77, 78,
730 79, 80, 0, 81, 82, 83, 84, 85, 86, 87,
731 0, 88, 89, 90, 91, 0, 0, 161, 160, 70,
732 71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
733 0, 81, 82, 83, 84, 85, 86, 87, 0, 88,
734 89, 90, 91, 0, 0, 0, 162, 70, 71, 72,
735 73, 74, 75, 76, 77, 78, 79, 80, 0, 81,
736 82, 83, 84, 85, 86, 87, 0, 88, 89, 90,
737 91, 0, 0, 0, 114, 70, 71, 72, 73, 74,
738 75, 76, 77, 78, 79, 80, 0, 81, 82, 83,
739 84, 85, 86, 87, 0, 88, 89, 90, 91, 0,
740 0, 0, 147, 70, 71, 72, 73, 74, 75, 76,
741 77, 78, 79, 80, 0, 81, 82, 83, 84, 85,
742 86, 87, 0, 88, 89, 90, 91, 0, 0, 0,
743 148, 70, 71, 72, 73, 74, 75, 76, 77, 78,
744 79, 80, 0, 81, 82, 83, 84, 85, 86, 87,
745 0, 88, 89, 90, 91, 0, 0, 0, 149, 70,
746 71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
747 0, 81, 82, 83, 84, 85, 86, 87, 0, 88,
748 89, 90, 91, 0, 0, 0, 150, 70, 71, 72,
749 73, 74, 75, 76, 77, 78, 79, 80, 0, 81,
750 82, 83, 84, 85, 86, 87, 0, 88, 89, 90,
751 91, 0, 0, 0, 153, 70, 71, 72, 73, 74,
752 75, 76, 77, 78, 79, 80, 0, 81, 82, 83,
753 84, 85, 86, 87, 0, 88, 89, 90, 91, 0,
754 0, 0, 155, 70, 71, 72, 73, 74, 75, 76,
755 77, 78, 79, 80, 0, 81, 82, 83, 84, 85,
756 86, 87, 0, 88, 89, 90, 91, 0, 0, 0,
757 156, 70, 71, 72, 73, 74, 75, 76, 77, 78,
758 79, 80, 0, 81, 82, 83, 84, 85, 86, 87,
759 0, 88, 89, 90, 91, 0, 0, 0, 157, 70,
760 71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
761 0, 81, 82, 83, 84, 85, 86, 87, 0, 88,
762 89, 90, 91, 0, 0, 0, 158, 70, 71, 72,
763 73, 74, 75, 76, 77, 78, 79, 80, 0, 81,
764 82, 83, 84, 85, 86, 87, 0, 88, 89, 90,
765 91, 0, 0, 0, 171, 70, 71, 72, 73, 74,
766 75, 76, 77, 78, 79, 80, 0, 81, 82, 83,
767 84, 85, 86, 87, 0, 88, 89, 90, 91, 0,
768 0, 0, 181, 70, 71, 72, 73, 74, 75, 76,
769 77, 78, 79, 80, 0, 81, 82, 83, 84, 85,
770 86, 87, 0, 88, 89, 90, 91, 0, 0, 0,
771 182, 70, 71, 72, 73, 74, 75, 76, 77, 78,
772 79, 80, 0, 81, 82, 83, 84, 85, 86, 87,
773 0, 88, 89, 90, 91, 0, 0, 0, 183, 70,
774 71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
775 0, 81, 82, 83, 84, 85, 86, 87, 0, 88,
776 89, 90, 91, 0, 0, 0, 184, 70, 71, 72,
777 73, 74, 75, 76, 77, 78, 79, 80, 0, 81,
778 82, 83, 84, 85, 86, 87, 0, 88, 89, 90,
779 91, 0, 0, 163, 185, 70, 71, 72, 73, 74,
780 75, 76, 77, 78, 79, 80, 0, 81, 82, 83,
781 84, 85, 86, 87, 0, 88, 89, 90, 91, 164,
782 0, 70, 71, 72, 73, 74, 75, 76, 77, 78,
783 79, 80, 0, 81, 82, 83, 84, 85, 86, 87,
784 0, 88, 89, 90, 91, 70, 71, 72, 73, 74,
785 75, 76, 77, 78, 79, 80, 0, 81, 82, 83,
786 84, 85, 86, 87, 0, 88, 89, 90, 91, -76,
787 71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
788 0, 81, 82, 83, 84, 85, 86, 87, 0, 88,
789 89, 90, 91, 82, 83, 84, 85, 86, 87, 0,
790 88, 89, 90, 91, 84, 85, 86, 87, 0, 88,
796 0, 16, 36, 36, 36, 36, 95, 12, 13, 47,
797 48, 11, 50, 51, 52, 53, 54, 55, 56, 61,
798 58, 59, 60, 61, 66, 67, 61, 0, 34, 29,
799 34, 31, 65, 61, 68, 67, 67, 61, 38, 61,
800 61, 65, 66, 61, 44, 66, 65, 47, 48, 49,
801 50, 66, 141, 53, 0, 55, 56, 57, 58, 59,
802 60, 61, 62, 61, 64, 58, 59, 60, 61, 61,
803 70, 71, 72, 73, 74, 75, 76, 77, 61, 79,
804 80, 81, 82, 83, 84, 85, 86, 87, 34, 61,
805 90, 61, 61, 61, 94, 61, 61, 61, 44, 61,
806 61, 16, 12, 36, 78, 51, 52, 65, 54, 66,
807 -1, -1, -1, -1, -1, 115, -1, 117, -1, -1,
808 -1, 38, 39, 40, 41, 42, 43, 44, 45, 46,
809 47, 48, 78, 50, 51, 52, 53, 54, 55, 56,
810 140, 58, 59, 60, 61, -1, -1, -1, -1, -1,
811 -1, 68, -1, -1, 154, -1, -1, -1, -1, 159,
812 -1, 161, -1, 163, 164, -1, 3, -1, -1, 6,
813 7, 8, 9, 10, 11, 12, 13, -1, 178, 16,
814 17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
815 27, 28, 29, 30, 31, 32, 33, 48, 35, 50,
816 51, 52, 53, 54, 55, 56, -1, 58, 59, 60,
817 61, -1, -1, -1, 51, 52, -1, -1, -1, -1,
818 -1, -1, -1, -1, 61, 62, 63, 3, -1, 66,
819 6, 7, 8, 9, 10, 11, 12, 13, -1, -1,
820 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
821 26, 27, 28, 29, 30, 31, 32, 33, -1, 35,
822 50, 51, 52, 53, 54, 55, 56, -1, 58, 59,
823 60, 61, -1, -1, -1, 51, 52, -1, -1, -1,
824 -1, -1, -1, -1, -1, 61, 62, 63, -1, 36,
825 66, 38, 39, 40, 41, 42, 43, 44, 45, 46,
826 47, 48, -1, 50, 51, 52, 53, 54, 55, 56,
827 -1, 58, 59, 60, 61, -1, -1, 36, 65, 38,
828 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
829 -1, 50, 51, 52, 53, 54, 55, 56, -1, 58,
830 59, 60, 61, -1, -1, -1, 65, 38, 39, 40,
831 41, 42, 43, 44, 45, 46, 47, 48, -1, 50,
832 51, 52, 53, 54, 55, 56, -1, 58, 59, 60,
833 61, -1, -1, -1, 65, 38, 39, 40, 41, 42,
834 43, 44, 45, 46, 47, 48, -1, 50, 51, 52,
835 53, 54, 55, 56, -1, 58, 59, 60, 61, -1,
836 -1, -1, 65, 38, 39, 40, 41, 42, 43, 44,
837 45, 46, 47, 48, -1, 50, 51, 52, 53, 54,
838 55, 56, -1, 58, 59, 60, 61, -1, -1, -1,
839 65, 38, 39, 40, 41, 42, 43, 44, 45, 46,
840 47, 48, -1, 50, 51, 52, 53, 54, 55, 56,
841 -1, 58, 59, 60, 61, -1, -1, -1, 65, 38,
842 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
843 -1, 50, 51, 52, 53, 54, 55, 56, -1, 58,
844 59, 60, 61, -1, -1, -1, 65, 38, 39, 40,
845 41, 42, 43, 44, 45, 46, 47, 48, -1, 50,
846 51, 52, 53, 54, 55, 56, -1, 58, 59, 60,
847 61, -1, -1, -1, 65, 38, 39, 40, 41, 42,
848 43, 44, 45, 46, 47, 48, -1, 50, 51, 52,
849 53, 54, 55, 56, -1, 58, 59, 60, 61, -1,
850 -1, -1, 65, 38, 39, 40, 41, 42, 43, 44,
851 45, 46, 47, 48, -1, 50, 51, 52, 53, 54,
852 55, 56, -1, 58, 59, 60, 61, -1, -1, -1,
853 65, 38, 39, 40, 41, 42, 43, 44, 45, 46,
854 47, 48, -1, 50, 51, 52, 53, 54, 55, 56,
855 -1, 58, 59, 60, 61, -1, -1, -1, 65, 38,
856 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
857 -1, 50, 51, 52, 53, 54, 55, 56, -1, 58,
858 59, 60, 61, -1, -1, -1, 65, 38, 39, 40,
859 41, 42, 43, 44, 45, 46, 47, 48, -1, 50,
860 51, 52, 53, 54, 55, 56, -1, 58, 59, 60,
861 61, -1, -1, -1, 65, 38, 39, 40, 41, 42,
862 43, 44, 45, 46, 47, 48, -1, 50, 51, 52,
863 53, 54, 55, 56, -1, 58, 59, 60, 61, -1,
864 -1, -1, 65, 38, 39, 40, 41, 42, 43, 44,
865 45, 46, 47, 48, -1, 50, 51, 52, 53, 54,
866 55, 56, -1, 58, 59, 60, 61, -1, -1, -1,
867 65, 38, 39, 40, 41, 42, 43, 44, 45, 46,
868 47, 48, -1, 50, 51, 52, 53, 54, 55, 56,
869 -1, 58, 59, 60, 61, -1, -1, -1, 65, 38,
870 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
871 -1, 50, 51, 52, 53, 54, 55, 56, -1, 58,
872 59, 60, 61, -1, -1, -1, 65, 38, 39, 40,
873 41, 42, 43, 44, 45, 46, 47, 48, -1, 50,
874 51, 52, 53, 54, 55, 56, -1, 58, 59, 60,
875 61, -1, -1, 36, 65, 38, 39, 40, 41, 42,
876 43, 44, 45, 46, 47, 48, -1, 50, 51, 52,
877 53, 54, 55, 56, -1, 58, 59, 60, 61, 36,
878 -1, 38, 39, 40, 41, 42, 43, 44, 45, 46,
879 47, 48, -1, 50, 51, 52, 53, 54, 55, 56,
880 -1, 58, 59, 60, 61, 38, 39, 40, 41, 42,
881 43, 44, 45, 46, 47, 48, -1, 50, 51, 52,
882 53, 54, 55, 56, -1, 58, 59, 60, 61, 38,
883 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
884 -1, 50, 51, 52, 53, 54, 55, 56, -1, 58,
885 59, 60, 61, 51, 52, 53, 54, 55, 56, -1,
886 58, 59, 60, 61, 53, 54, 55, 56, -1, 58,
894 0, 3, 6, 7, 8, 9, 10, 11, 12, 13,
895 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
896 26, 27, 28, 29, 30, 31, 32, 33, 35, 51,
897 52, 61, 62, 63, 66, 70, 71, 72, 74, 75,
898 80, 81, 82, 83, 61, 72, 83, 61, 61, 61,
899 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
900 61, 61, 61, 72, 73, 72, 72, 78, 83, 0,
901 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
902 48, 50, 51, 52, 53, 54, 55, 56, 58, 59,
903 60, 61, 72, 34, 61, 66, 83, 72, 72, 72,
904 72, 83, 83, 72, 83, 72, 72, 72, 72, 72,
905 72, 72, 72, 72, 65, 36, 67, 67, 72, 72,
906 72, 72, 72, 72, 72, 72, 66, 75, 83, 72,
907 72, 72, 72, 72, 72, 72, 72, 72, 12, 72,
908 76, 77, 12, 13, 72, 78, 65, 65, 65, 65,
909 65, 65, 65, 65, 36, 65, 65, 65, 65, 36,
910 65, 36, 65, 36, 36, 72, 72, 68, 72, 79,
911 78, 65, 67, 72, 72, 72, 72, 72, 36, 68,
912 65, 65, 65, 65, 65, 65, 72
918 0, 69, 70, 70, 71, 72, 73, 72, 72, 72,
919 74, 74, 72, 72, 72, 72, 72, 72, 72, 72,
920 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
921 72, 72, 72, 72, 75, 75, 76, 72, 72, 77,
922 72, 78, 78, 78, 79, 79, 72, 72, 72, 72,
923 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
924 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
925 72, 72, 72, 72, 72, 80, 81, 81, 82, 82,
932 0, 2, 1, 1, 1, 2, 0, 3, 2, 2,
933 1, 1, 4, 4, 4, 4, 4, 4, 4, 6,
934 4, 4, 4, 4, 2, 4, 6, 4, 6, 3,
935 1, 3, 6, 6, 3, 4, 0, 5, 4, 0,
936 5, 0, 1, 3, 1, 3, 4, 4, 3, 3,
937 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
938 3, 3, 3, 3, 3, 3, 1, 1, 1, 1,
939 1, 1, 1, 4, 1, 1, 1, 3, 1, 1,
944 #define yyerrok (yyerrstatus = 0) 945 #define yyclearin (yychar = YYEMPTY) 949 #define YYACCEPT goto yyacceptlab 950 #define YYABORT goto yyabortlab 951 #define YYERROR goto yyerrorlab 954 #define YYRECOVERING() (!!yyerrstatus) 956 #define YYBACKUP(Token, Value) \ 958 if (yychar == YYEMPTY) \ 962 YYPOPSTACK (yylen); \ 968 yyerror (YY_("syntax error: cannot back up")); \ 975 #define YYERRCODE 256 984 # define YYFPRINTF fprintf 987 # define YYDPRINTF(Args) \ 994 #ifndef YY_LOCATION_PRINT 995 # define YY_LOCATION_PRINT(File, Loc) ((void) 0) 999 # define YY_SYMBOL_PRINT(Title, Type, Value, Location) \ 1003 YYFPRINTF (stderr, "%s ", Title); \ 1004 yy_symbol_print (stderr, \ 1006 YYFPRINTF (stderr, "\n"); \ 1018 FILE *yyo = yyoutput;
1053 for (; yybottom <= yytop; yybottom++)
1055 int yybot = *yybottom;
1061 # define YY_STACK_PRINT(Bottom, Top) \ 1064 yy_stack_print ((Bottom), (Top)); \ 1078 YYFPRINTF (stderr,
"Reducing stack by rule %d (line %lu):\n",
1081 for (yyi = 0; yyi < yynrhs; yyi++)
1086 &(
yyvsp[(yyi + 1) - (yynrhs)])
1092 # define YY_REDUCE_PRINT(Rule) \ 1095 yy_reduce_print (yyssp, yyvsp, Rule); \ 1102 # define YYDPRINTF(Args) 1103 # define YY_SYMBOL_PRINT(Title, Type, Value, Location) 1104 # define YY_STACK_PRINT(Bottom, Top) 1105 # define YY_REDUCE_PRINT(Rule) 1111 # define YYINITDEPTH 200 1122 # define YYMAXDEPTH 10000 1129 # if defined __GLIBC__ && defined _STRING_H 1130 # define yystrlen strlen 1134 yystrlen (
const char *yystr)
1145 # if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE 1146 # define yystpcpy stpcpy 1151 yystpcpy (
char *yydest,
const char *yysrc)
1154 const char *
yys = yysrc;
1156 while ((*yyd++ = *
yys++) !=
'\0')
1173 yytnamerr (
char *yyres,
const char *yystr)
1178 char const *yyp = yystr;
1185 goto do_not_strip_quotes;
1189 goto do_not_strip_quotes;
1202 do_not_strip_quotes: ;
1206 return yystrlen (yystr);
1208 return yystpcpy (yyres, yystr) - yyres;
1221 yysyntax_error (
YYSIZE_T *yymsg_alloc,
char **yymsg,
1226 enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
1230 char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
1261 yyarg[yycount++] =
yytname[yytoken];
1267 int yyxbegin = yyn < 0 ? -yyn : 0;
1269 int yychecklim =
YYLAST - yyn + 1;
1273 for (yyx = yyxbegin; yyx < yyxend; ++yyx)
1277 if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
1283 yyarg[yycount++] =
yytname[yyx];
1286 if (! (yysize <= yysize1
1297 # define YYCASE_(N, S) \ 1301 YYCASE_(0,
YY_(
"syntax error"));
1302 YYCASE_(1,
YY_(
"syntax error, unexpected %s"));
1303 YYCASE_(2,
YY_(
"syntax error, unexpected %s, expecting %s"));
1304 YYCASE_(3,
YY_(
"syntax error, unexpected %s, expecting %s or %s"));
1305 YYCASE_(4,
YY_(
"syntax error, unexpected %s, expecting %s or %s or %s"));
1306 YYCASE_(5,
YY_(
"syntax error, unexpected %s, expecting %s or %s or %s or %s"));
1311 YYSIZE_T yysize1 = yysize + yystrlen (yyformat);
1317 if (*yymsg_alloc < yysize)
1319 *yymsg_alloc = 2 * yysize;
1320 if (! (yysize <= *yymsg_alloc
1332 while ((*yyp = *yyformat) !=
'\0')
1333 if (*yyp ==
'%' && yyformat[1] ==
's' && yyi < yycount)
1335 yyp += yytnamerr (yyp, yyarg[yyi++]);
1418 char *yymsg = yymsgbuf;
1419 YYSIZE_T yymsg_alloc =
sizeof yymsgbuf;
1422 #define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) 1432 YYDPRINTF ((stderr,
"Starting parse\n"));
1468 yyoverflow (
YY_(
"memory exhausted"),
1469 &yyss1, yysize *
sizeof (*
yyssp),
1470 &yyvs1, yysize *
sizeof (*
yyvsp),
1477 # ifndef YYSTACK_RELOCATE 1478 goto yyexhaustedlab;
1482 goto yyexhaustedlab;
1492 goto yyexhaustedlab;
1495 # undef YYSTACK_RELOCATE 1505 YYDPRINTF ((stderr,
"Stack size increased to %lu\n",
1537 YYDPRINTF ((stderr,
"Reading a token: "));
1544 YYDPRINTF ((stderr,
"Now at end of input.\n"));
1617 #line 156 "m2-exp.y" 1622 #line 1624 "m2-exp.c" 1626 #line 165 "m2-exp.y" 1628 #line 1630 "m2-exp.c" 1632 #line 169 "m2-exp.y" 1634 #line 1636 "m2-exp.c" 1638 #line 171 "m2-exp.y" 1641 #line 1643 "m2-exp.c" 1645 #line 176 "m2-exp.y" 1647 #line 1649 "m2-exp.c" 1651 #line 180 "m2-exp.y" 1653 #line 1655 "m2-exp.c" 1657 #line 188 "m2-exp.y" 1659 #line 1661 "m2-exp.c" 1663 #line 192 "m2-exp.y" 1665 #line 1667 "m2-exp.c" 1669 #line 196 "m2-exp.y" 1671 #line 1673 "m2-exp.c" 1675 #line 200 "m2-exp.y" 1677 #line 1679 "m2-exp.c" 1681 #line 204 "m2-exp.y" 1685 #line 1687 "m2-exp.c" 1689 #line 210 "m2-exp.y" 1693 #line 1695 "m2-exp.c" 1697 #line 216 "m2-exp.y" 1699 #line 1701 "m2-exp.c" 1703 #line 220 "m2-exp.y" 1707 #line 1709 "m2-exp.c" 1711 #line 226 "m2-exp.y" 1713 #line 1715 "m2-exp.c" 1717 #line 230 "m2-exp.y" 1719 #line 1721 "m2-exp.c" 1723 #line 234 "m2-exp.y" 1725 #line 1727 "m2-exp.c" 1729 #line 238 "m2-exp.y" 1731 #line 1733 "m2-exp.c" 1735 #line 242 "m2-exp.y" 1737 #line 1739 "m2-exp.c" 1741 #line 247 "m2-exp.y" 1743 #line 1745 "m2-exp.c" 1747 #line 251 "m2-exp.y" 1751 BINOP_ASSIGN_MODIFY); }
1752 #line 1754 "m2-exp.c" 1756 #line 258 "m2-exp.y" 1758 #line 1760 "m2-exp.c" 1762 #line 262 "m2-exp.y" 1766 BINOP_ASSIGN_MODIFY); }
1767 #line 1769 "m2-exp.c" 1771 #line 269 "m2-exp.y" 1775 #line 1777 "m2-exp.c" 1779 #line 278 "m2-exp.y" 1780 {
error (
_(
"Sets are not implemented."));}
1781 #line 1783 "m2-exp.c" 1785 #line 282 "m2-exp.y" 1786 {
error (
_(
"Sets are not implemented."));}
1787 #line 1789 "m2-exp.c" 1791 #line 286 "m2-exp.y" 1792 {
error (
_(
"Sets are not implemented."));}
1793 #line 1795 "m2-exp.c" 1797 #line 290 "m2-exp.y" 1798 {
error (
_(
"Sets are not implemented."));}
1799 #line 1801 "m2-exp.c" 1803 #line 292 "m2-exp.y" 1804 {
error (
_(
"Sets are not implemented."));}
1805 #line 1807 "m2-exp.c" 1809 #line 301 "m2-exp.y" 1811 #line 1813 "m2-exp.c" 1815 #line 303 "m2-exp.y" 1820 #line 1822 "m2-exp.c" 1824 #line 310 "m2-exp.y" 1826 #line 1828 "m2-exp.c" 1830 #line 316 "m2-exp.y" 1832 #line 1834 "m2-exp.c" 1836 #line 318 "m2-exp.y" 1841 #line 1843 "m2-exp.c" 1845 #line 328 "m2-exp.y" 1847 #line 1849 "m2-exp.c" 1851 #line 332 "m2-exp.y" 1853 #line 1855 "m2-exp.c" 1857 #line 337 "m2-exp.y" 1859 #line 1861 "m2-exp.c" 1863 #line 342 "m2-exp.y" 1865 #line 1867 "m2-exp.c" 1869 #line 347 "m2-exp.y" 1873 #line 1875 "m2-exp.c" 1877 #line 353 "m2-exp.y" 1881 #line 1883 "m2-exp.c" 1885 #line 359 "m2-exp.y" 1887 #line 1889 "m2-exp.c" 1891 #line 367 "m2-exp.y" 1893 #line 1895 "m2-exp.c" 1897 #line 371 "m2-exp.y" 1899 #line 1901 "m2-exp.c" 1903 #line 375 "m2-exp.y" 1905 #line 1907 "m2-exp.c" 1909 #line 379 "m2-exp.y" 1911 #line 1913 "m2-exp.c" 1915 #line 383 "m2-exp.y" 1917 #line 1919 "m2-exp.c" 1921 #line 387 "m2-exp.y" 1923 #line 1925 "m2-exp.c" 1927 #line 391 "m2-exp.y" 1929 #line 1931 "m2-exp.c" 1933 #line 395 "m2-exp.y" 1935 #line 1937 "m2-exp.c" 1939 #line 399 "m2-exp.y" 1941 #line 1943 "m2-exp.c" 1945 #line 401 "m2-exp.y" 1947 #line 1949 "m2-exp.c" 1951 #line 405 "m2-exp.y" 1953 #line 1955 "m2-exp.c" 1957 #line 409 "m2-exp.y" 1959 #line 1961 "m2-exp.c" 1963 #line 413 "m2-exp.y" 1965 #line 1967 "m2-exp.c" 1969 #line 417 "m2-exp.y" 1971 #line 1973 "m2-exp.c" 1975 #line 421 "m2-exp.y" 1977 #line 1979 "m2-exp.c" 1981 #line 425 "m2-exp.y" 1983 #line 1985 "m2-exp.c" 1987 #line 429 "m2-exp.y" 1989 #line 1991 "m2-exp.c" 1993 #line 436 "m2-exp.y" 1997 #line 1999 "m2-exp.c" 2001 #line 442 "m2-exp.y" 2005 #line 2007 "m2-exp.c" 2009 #line 448 "m2-exp.y" 2015 #line 2017 "m2-exp.c" 2019 #line 456 "m2-exp.y" 2028 #line 2030 "m2-exp.c" 2032 #line 467 "m2-exp.y" 2039 #line 2041 "m2-exp.c" 2043 #line 477 "m2-exp.y" 2050 #line 2052 "m2-exp.c" 2054 #line 489 "m2-exp.y" 2061 #line 2063 "m2-exp.c" 2065 #line 498 "m2-exp.y" 2069 #line 2071 "m2-exp.c" 2073 #line 505 "m2-exp.y" 2075 #line 2077 "m2-exp.c" 2079 #line 509 "m2-exp.y" 2085 #line 2087 "m2-exp.c" 2089 #line 519 "m2-exp.y" 2094 error (
_(
"No function \"%s\" in specified context."),
2098 #line 2100 "m2-exp.c" 2102 #line 531 "m2-exp.y" 2107 #line 2109 "m2-exp.c" 2111 #line 543 "m2-exp.y" 2117 error (
_(
"No symbol \"%s\" in specified context."),
2131 #line 2133 "m2-exp.c" 2135 #line 566 "m2-exp.y" 2142 &is_a_field_of_this);
2166 if (msymbol.
minsym != NULL)
2169 error (
_(
"No symbol table is loaded. Use the \"symbol-file\" command."));
2171 error (
_(
"No symbol \"%s\" in current context."),
2175 #line 2177 "m2-exp.c" 2179 #line 609 "m2-exp.y" 2184 #line 2186 "m2-exp.c" 2188 #line 2190 "m2-exp.c" 2237 #if ! YYERROR_VERBOSE 2240 # define YYSYNTAX_ERROR yysyntax_error (&yymsg_alloc, &yymsg, \ 2243 char const *yymsgp =
YY_(
"syntax error");
2244 int yysyntax_error_status;
2245 yysyntax_error_status = YYSYNTAX_ERROR;
2246 if (yysyntax_error_status == 0)
2248 else if (yysyntax_error_status == 1)
2250 if (yymsg != yymsgbuf)
2256 yymsg_alloc =
sizeof yymsgbuf;
2257 yysyntax_error_status = 2;
2261 yysyntax_error_status = YYSYNTAX_ERROR;
2266 if (yysyntax_error_status == 2)
2267 goto yyexhaustedlab;
2269 # undef YYSYNTAX_ERROR 2275 if (yyerrstatus == 3)
2377 #if !defined yyoverflow || YYERROR_VERBOSE 2411 if (yymsg != yymsgbuf)
2416 #line 616 "m2-exp.y" 2441 else if(p[len-1] ==
'C' || p[len-1] ==
'B')
2444 ischar = p[len-1] ==
'C';
2449 for (c = 0; c < len; c++)
2451 if (p[c] ==
'.' && base == 10)
2462 if (p[c] ==
'.' && base != 10)
2463 error (
_(
"Floating point numbers must be base 10."));
2464 if (base == 10 && (p[c] <
'0' || p[c] >
'9'))
2465 error (
_(
"Invalid digit \'%c\' in number."),p[c]);
2472 if( base == 8 && (c ==
'8' || c ==
'9'))
2473 error (
_(
"Invalid digit \'%c\' in octal number."),c);
2474 if (c >=
'0' && c <=
'9')
2478 if (base == 16 && c >=
'A' && c <=
'F')
2486 if(!unsigned_p &&
number_sign == 1 && (prevn >= n))
2492 if((unsigned_p && (
unsigned)prevn >= (
unsigned)n) ||
2493 ((!unsigned_p &&
number_sign==-1) && -prevn <= -n))
2500 if(*p ==
'B' || *p ==
'C' || *p ==
'H')
2513 else if((unsigned_p && (n<0))) {
2514 range_error (
_(
"Overflow on numeric constant -- number too large."));
2532 { {
'<',
'='},
LEQ },
2533 { {
'>',
'='},
GEQ },
2584 const char *tokstart;
2602 switch (c = *tokstart)
2664 for (namelen = 1; (c = tokstart[namelen]) != quote && c !=
'\0'; namelen++)
2667 c = tokstart[++namelen];
2668 if (c >=
'0' && c <=
'9')
2670 c = tokstart[++namelen];
2671 if (c >=
'0' && c <=
'9')
2672 c = tokstart[++namelen];
2676 error (
_(
"Unterminated string or character constant."));
2693 if ((c >=
'0' && c <=
'9'))
2696 int got_dot = 0, got_e = 0;
2697 const char *p = tokstart;
2702 if (!got_e && (*p ==
'e' || *p ==
'E'))
2703 got_dot = got_e = 1;
2704 else if (!got_dot && *p ==
'.')
2706 else if (got_e && (p[-1] ==
'e' || p[-1] ==
'E')
2707 && (*p ==
'-' || *p ==
'+'))
2711 else if ((*p < '0' || *p >
'9') &&
2712 (*p < 'A' || *p >
'F') &&
2717 if (toktype ==
ERROR)
2719 char *err_copy = (
char *) alloca (p - tokstart + 1);
2721 memcpy (err_copy, tokstart, p - tokstart);
2722 err_copy[p - tokstart] = 0;
2723 error (
_(
"Invalid number \"%s\"."), err_copy);
2729 if (!(c ==
'_' || c ==
'$' 2730 || (c >=
'a' && c <=
'z') || (c >=
'A' && c <=
'Z')))
2732 error (
_(
"Invalid character '%c' in expression."), c);
2736 for (c = tokstart[namelen];
2737 (c ==
'_' || c ==
'$' || (c >=
'0' && c <=
'9')
2738 || (c >=
'a' && c <=
'z') || (c >=
'A' && c <=
'Z'));
2739 c = tokstart[++namelen])
2744 if (namelen == 2 && tokstart[0] ==
'i' && tokstart[1] ==
'f')
2752 for(i = 0 ; i < (int) (
sizeof(
keytab) /
sizeof(
keytab[0])) ; i++)
2754 && strncmp (tokstart,
keytab[i].
keyw, namelen) == 0)
2760 if (*tokstart ==
'$')
2810 error (
_(
"internal: Undefined class in m2lex()"));
2814 error (
_(
"internal: Unforseen case in m2lex()"));
2817 error (
_(
"unhandled token in m2lex()"));
2824 if (strncmp (tokstart,
"TRUE", 4) == 0)
2829 else if (strncmp (tokstart,
"FALSE", 5) == 0)
2858 error (
_(
"A %s in expression, near `%s'."), (msg ? msg :
"error"),
lexptr);
int m2_parse(struct parser_state *par_state)
struct internalvar * ivar
#define YYSTACK_RELOCATE(Stack_alloc, Stack)
#define YYSTACK_ALLOC_MAXIMUM
void write_exp_elt_sym(struct parser_state *ps, struct symbol *expelt)
#define parse_language(ps)
#define parse_gdbarch(ps)
bool parse_float(const char *p, int len, const struct type *type, gdb_byte *data)
struct symtab * lookup_symtab(const char *name)
#define SYMBOL_CLASS(symbol)
const struct block * innermost_block
int have_partial_symbols(void)
static const yytype_uint8 yystos[]
struct block_symbol lookup_symbol(const char *name, const struct block *block, domain_enum domain, struct field_of_this_result *is_a_field_of_this)
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
#define YYPRINT(FILE, TYPE, VALUE)
static void yy_symbol_print(FILE *yyoutput, int yytype, YYSTYPE const *const yyvaluep)
scoped_restore_tmpl< T > make_scoped_restore(T *var)
static void yydestruct(const char *yymsg, int yytype, YYSTYPE *yyvaluep)
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)
void write_exp_elt_longcst(struct parser_state *ps, LONGEST expelt)
static void yy_stack_print(yytype_int16 *yybottom, yytype_int16 *yytop)
static void yy_symbol_value_print(FILE *yyoutput, int yytype, YYSTYPE const *const yyvaluep)
int contained_in(const struct block *a, const struct block *b)
#define yytable_value_is_error(Yytable_value)
void range_error(const char *string,...)
static void yy_reduce_print(yytype_int16 *yyssp, YYSTYPE *yyvsp, int yyrule)
const struct block * block
#define parse_m2_type(ps)
unsigned char yytype_uint8
int symbol_read_needs_frame(struct symbol *sym)
static int parse_number(int)
#define YY_REDUCE_PRINT(Rule)
#define yypact_value_is_default(Yystate)
void yyerror(const char *)
static const yytype_uint16 yytoknum[]
void write_dollar_variable(struct parser_state *ps, struct stoken str)
static const yytype_int8 yypgoto[]
unsigned short int yytype_uint16
static const char *const yytname[]
static struct parser_state * pstate
const struct block * bval
static struct @83 tokentab2[]
static const yytype_int16 yypact[]
unsigned short int yytype_uint16
static const yytype_uint8 yyr2[]
void write_exp_msymbol(struct parser_state *ps, struct bound_minimal_symbol bound_msym)
void write_exp_elt_opcode(struct parser_state *ps, enum exp_opcode expelt)
static const char * lexptr
unsigned char yytype_uint8
static const yytype_int16 yydefgoto[]
#define SYMBOL_BLOCK_VALUE(symbol)
struct minimal_symbol * minsym
static const yytype_int16 yycheck[]
struct bound_minimal_symbol lookup_bound_minimal_symbol(const char *name)
#define YY_IGNORE_MAYBE_UNINITIALIZED_END
int have_full_symbols(void)
const struct block * expression_context_block
#define YY_SYMBOL_PRINT(Title, Type, Value, Location)
unsigned long long ULONGEST
#define YY_STACK_PRINT(Bottom, Top)
static const yytype_uint16 yyrline[]
static const yytype_uint8 yyr1[]
static struct keyword keytab[]
#define TYPE_LENGTH(thistype)
static const char * prev_lexptr
void write_exp_elt_floatcst(struct parser_state *ps, const gdb_byte expelt[16])
void write_exp_string(struct parser_state *ps, struct stoken str)
static const yytype_int16 yytable[]
void write_exp_elt_type(struct parser_state *ps, struct type *expelt)
void error(const char *fmt,...)
static const yytype_uint8 yytranslate[]
char * copy_name(struct stoken token)
static const yytype_uint8 yydefact[]