From 55109d04d813fe974318b757b61c15cd8ae335a7 Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 30 Jun 2004 03:51:58 +0000 Subject: [PATCH] prebuild-bison --- direct/src/dcparser/dcParser.cxx.prebuilt | 579 +++++++++++----------- 1 file changed, 296 insertions(+), 283 deletions(-) diff --git a/direct/src/dcparser/dcParser.cxx.prebuilt b/direct/src/dcparser/dcParser.cxx.prebuilt index 854f26fb31..9b9512b317 100644 --- a/direct/src/dcparser/dcParser.cxx.prebuilt +++ b/direct/src/dcparser/dcParser.cxx.prebuilt @@ -122,7 +122,7 @@ dc_cleanup_parser() { -#define YYFINAL 221 +#define YYFINAL 223 #define YYFLAG -32768 #define YYNTBASE 61 @@ -171,19 +171,19 @@ static const short yyprhs[] = 0, 0, 3, 6, 8, 11, 14, 17, 20, 23, 24, 32, 34, 36, 38, 40, 44, 46, 50, 53, 54, 60, 62, 64, 66, 70, 73, 75, 78, 80, - 84, 86, 89, 92, 94, 96, 99, 101, 102, 109, - 111, 113, 115, 119, 121, 122, 127, 128, 132, 134, - 136, 138, 140, 145, 149, 156, 163, 165, 167, 169, - 171, 173, 177, 180, 184, 190, 195, 197, 199, 203, - 207, 213, 215, 220, 222, 226, 231, 233, 235, 237, - 239, 241, 243, 245, 247, 249, 251, 253, 255, 257, - 259, 261, 262, 267, 268, 273, 274, 279, 283, 287, - 291, 295, 297, 300, 302, 304, 306, 310, 312, 314, - 316, 318, 320, 322, 324, 326, 328, 330, 332, 334, - 336, 338, 340, 342, 344, 346, 348, 350, 352, 355, - 358, 361, 364, 367, 370, 373, 376, 379, 380, 385, - 387, 389, 393, 395, 397, 398, 408, 410, 413, 416, - 419, 420, 425, 428, 430 + 84, 86, 89, 92, 94, 96, 100, 103, 104, 111, + 113, 115, 117, 121, 123, 124, 129, 130, 134, 136, + 138, 140, 142, 147, 151, 158, 165, 167, 169, 171, + 173, 175, 179, 182, 186, 192, 197, 199, 201, 205, + 209, 215, 217, 222, 224, 228, 233, 235, 237, 239, + 241, 243, 245, 247, 249, 251, 253, 255, 257, 259, + 261, 263, 264, 269, 270, 275, 276, 281, 285, 289, + 293, 297, 299, 302, 304, 306, 308, 312, 314, 316, + 318, 320, 322, 324, 326, 328, 330, 332, 334, 336, + 338, 340, 342, 344, 346, 348, 350, 352, 354, 357, + 360, 363, 366, 369, 372, 375, 378, 381, 382, 387, + 389, 391, 395, 397, 399, 400, 410, 412, 415, 418, + 421, 422, 427, 430, 432 }; static const short yyrhs[] = { @@ -196,41 +196,41 @@ static const short yyrhs[] = 72, 0, 52, 0, 67, 0, 72, 53, 67, 0, 13, 87, 0, 119, 0, 54, 75, 0, 66, 0, 75, 53, 66, 0, 119, 0, 76, 47, 0, 76, - 77, 0, 78, 0, 108, 0, 86, 47, 0, 84, - 0, 0, 8, 55, 79, 80, 56, 107, 0, 119, - 0, 81, 0, 82, 0, 81, 53, 82, 0, 87, - 0, 0, 87, 57, 83, 99, 0, 0, 91, 85, - 92, 0, 91, 0, 84, 0, 86, 0, 106, 0, - 106, 55, 89, 56, 0, 106, 50, 94, 0, 106, - 50, 94, 55, 89, 56, 0, 106, 55, 89, 56, - 50, 94, 0, 8, 0, 63, 0, 113, 0, 119, - 0, 98, 0, 98, 58, 98, 0, 98, 97, 0, - 89, 53, 98, 0, 89, 53, 98, 58, 98, 0, - 89, 53, 98, 97, 0, 119, 0, 93, 0, 93, - 58, 93, 0, 90, 53, 93, 0, 90, 53, 93, - 58, 93, 0, 88, 0, 91, 59, 90, 60, 0, - 8, 0, 92, 50, 94, 0, 92, 59, 90, 60, - 0, 6, 0, 94, 0, 3, 0, 4, 0, 3, - 0, 96, 0, 95, 0, 5, 0, 6, 0, 97, - 0, 95, 0, 96, 0, 5, 0, 6, 0, 7, - 0, 0, 48, 100, 103, 49, 0, 0, 59, 101, - 103, 60, 0, 0, 55, 102, 103, 56, 0, 95, - 52, 94, 0, 96, 52, 94, 0, 5, 52, 94, - 0, 7, 52, 94, 0, 104, 0, 105, 104, 0, - 119, 0, 53, 0, 99, 0, 105, 53, 99, 0, - 16, 0, 17, 0, 18, 0, 19, 0, 20, 0, - 21, 0, 22, 0, 23, 0, 24, 0, 25, 0, - 26, 0, 27, 0, 28, 0, 29, 0, 30, 0, - 31, 0, 32, 0, 33, 0, 34, 0, 35, 0, - 119, 0, 107, 36, 0, 107, 37, 0, 107, 38, - 0, 107, 39, 0, 107, 40, 0, 107, 41, 0, - 107, 42, 0, 107, 43, 0, 107, 44, 0, 0, - 8, 54, 109, 111, 0, 8, 0, 110, 0, 111, - 53, 110, 0, 119, 0, 8, 0, 0, 14, 112, - 55, 87, 56, 48, 114, 115, 49, 0, 119, 0, - 115, 47, 0, 115, 116, 0, 115, 118, 0, 0, - 15, 117, 99, 54, 0, 86, 47, 0, 84, 0, - 0 + 77, 0, 78, 0, 108, 0, 86, 107, 47, 0, + 84, 107, 0, 0, 8, 55, 79, 80, 56, 107, + 0, 119, 0, 81, 0, 82, 0, 81, 53, 82, + 0, 87, 0, 0, 87, 57, 83, 99, 0, 0, + 91, 85, 92, 0, 91, 0, 84, 0, 86, 0, + 106, 0, 106, 55, 89, 56, 0, 106, 50, 94, + 0, 106, 50, 94, 55, 89, 56, 0, 106, 55, + 89, 56, 50, 94, 0, 8, 0, 63, 0, 113, + 0, 119, 0, 98, 0, 98, 58, 98, 0, 98, + 97, 0, 89, 53, 98, 0, 89, 53, 98, 58, + 98, 0, 89, 53, 98, 97, 0, 119, 0, 93, + 0, 93, 58, 93, 0, 90, 53, 93, 0, 90, + 53, 93, 58, 93, 0, 88, 0, 91, 59, 90, + 60, 0, 8, 0, 92, 50, 94, 0, 92, 59, + 90, 60, 0, 6, 0, 94, 0, 3, 0, 4, + 0, 3, 0, 96, 0, 95, 0, 5, 0, 6, + 0, 97, 0, 95, 0, 96, 0, 5, 0, 6, + 0, 7, 0, 0, 48, 100, 103, 49, 0, 0, + 59, 101, 103, 60, 0, 0, 55, 102, 103, 56, + 0, 95, 52, 94, 0, 96, 52, 94, 0, 5, + 52, 94, 0, 7, 52, 94, 0, 104, 0, 105, + 104, 0, 119, 0, 53, 0, 99, 0, 105, 53, + 99, 0, 16, 0, 17, 0, 18, 0, 19, 0, + 20, 0, 21, 0, 22, 0, 23, 0, 24, 0, + 25, 0, 26, 0, 27, 0, 28, 0, 29, 0, + 30, 0, 31, 0, 32, 0, 33, 0, 34, 0, + 35, 0, 119, 0, 107, 36, 0, 107, 37, 0, + 107, 38, 0, 107, 39, 0, 107, 40, 0, 107, + 41, 0, 107, 42, 0, 107, 43, 0, 107, 44, + 0, 0, 8, 54, 109, 111, 0, 8, 0, 110, + 0, 111, 53, 110, 0, 119, 0, 8, 0, 0, + 14, 112, 55, 87, 56, 48, 114, 115, 49, 0, + 119, 0, 115, 47, 0, 115, 116, 0, 115, 118, + 0, 0, 15, 117, 99, 54, 0, 86, 47, 0, + 84, 0, 0 }; #endif @@ -239,22 +239,22 @@ static const short yyrhs[] = /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ static const short yyrline[] = { - 0, 146, 148, 151, 153, 154, 165, 171, 172, 175, - 175, 188, 193, 199, 212, 214, 220, 222, 228, 233, - 233, 240, 242, 248, 253, 259, 275, 277, 280, 287, - 295, 297, 298, 306, 308, 309, 313, 319, 319, 330, - 332, 335, 337, 340, 346, 346, 371, 371, 382, 386, - 388, 391, 396, 404, 415, 429, 443, 469, 473, 479, - 484, 491, 498, 507, 513, 519, 529, 534, 541, 548, - 554, 562, 564, 570, 576, 590, 596, 606, 609, 620, - 624, 628, 633, 637, 640, 650, 654, 659, 663, 667, - 671, 675, 675, 683, 683, 691, 691, 699, 705, 711, - 717, 725, 727, 730, 732, 735, 737, 740, 745, 749, - 753, 757, 761, 765, 769, 773, 777, 781, 785, 789, - 793, 797, 801, 805, 809, 813, 817, 823, 825, 829, - 833, 837, 841, 845, 849, 853, 857, 863, 863, 874, - 890, 897, 910, 915, 918, 918, 932, 934, 935, 936, - 946, 946, 963, 968, 974 + 0, 147, 149, 152, 154, 155, 166, 172, 173, 176, + 176, 189, 194, 200, 213, 215, 221, 223, 229, 234, + 234, 241, 243, 249, 254, 260, 276, 278, 281, 288, + 296, 298, 299, 307, 309, 310, 315, 322, 322, 336, + 338, 341, 343, 346, 352, 352, 377, 377, 388, 392, + 394, 397, 402, 410, 421, 435, 449, 475, 479, 485, + 490, 497, 504, 513, 519, 525, 535, 540, 547, 554, + 560, 568, 570, 576, 582, 596, 602, 612, 615, 626, + 630, 634, 639, 643, 646, 656, 660, 665, 669, 673, + 677, 681, 681, 689, 689, 697, 697, 705, 711, 717, + 723, 731, 733, 736, 738, 741, 743, 746, 751, 755, + 759, 763, 767, 771, 775, 779, 783, 787, 791, 795, + 799, 803, 807, 811, 815, 819, 823, 829, 834, 838, + 842, 846, 850, 854, 858, 862, 866, 872, 872, 883, + 899, 906, 919, 924, 927, 927, 941, 943, 944, 945, + 955, 955, 972, 977, 983 }; #endif @@ -285,7 +285,7 @@ static const char *const yytname[] = "type_definition", "parameter_definition", "char_or_uint", "small_unsigned_integer", "signed_integer", "unsigned_integer", "number", "char_or_number", "parameter_value", "@6", "@7", "@8", - "array", "maybe_comma", "array_def", "type_token", "atomic_flags", + "array", "maybe_comma", "array_def", "type_token", "server_flags", "molecular_field", "@9", "atomic_name", "molecular_atom_list", "optional_name", "switch", "@10", "switch_fields", "switch_case", "@11", "switch_field", "empty", 0 @@ -319,7 +319,7 @@ static const short yyr2[] = 0, 2, 2, 1, 2, 2, 2, 2, 2, 0, 7, 1, 1, 1, 1, 3, 1, 3, 2, 0, 5, 1, 1, 1, 3, 2, 1, 2, 1, 3, - 1, 2, 2, 1, 1, 2, 1, 0, 6, 1, + 1, 2, 2, 1, 1, 3, 2, 0, 6, 1, 1, 1, 3, 1, 0, 4, 0, 3, 1, 1, 1, 1, 4, 3, 6, 6, 1, 1, 1, 1, 1, 3, 2, 3, 5, 4, 1, 1, 3, 3, @@ -355,126 +355,128 @@ static const short yydefact[] = 0, 154, 154, 0, 52, 0, 62, 0, 13, 28, 27, 154, 0, 69, 68, 74, 0, 0, 63, 0, 61, 144, 0, 0, 30, 24, 0, 75, 54, 0, - 65, 55, 154, 29, 56, 31, 10, 32, 33, 36, - 0, 34, 70, 64, 0, 146, 137, 37, 35, 150, - 147, 145, 153, 0, 148, 149, 0, 154, 0, 152, - 139, 140, 138, 0, 40, 41, 43, 39, 0, 0, - 154, 0, 44, 151, 141, 38, 127, 42, 0, 128, - 129, 130, 131, 132, 133, 134, 135, 136, 45, 0, - 0, 0 + 65, 55, 154, 29, 56, 31, 10, 32, 33, 154, + 154, 34, 70, 64, 0, 146, 137, 37, 36, 127, + 0, 150, 147, 145, 153, 0, 148, 149, 0, 154, + 128, 129, 130, 131, 132, 133, 134, 135, 136, 35, + 0, 152, 139, 140, 138, 0, 40, 41, 43, 39, + 0, 0, 154, 0, 44, 151, 141, 38, 42, 0, + 45, 0, 0, 0 }; static const short yydefgoto[] = { - 219, 3, 60, 93, 24, 139, 36, 37, 25, 100, - 125, 126, 26, 120, 140, 153, 167, 168, 187, 193, - 194, 195, 208, 61, 89, 62, 196, 64, 112, 103, + 221, 3, 60, 93, 24, 139, 36, 37, 25, 100, + 125, 126, 26, 120, 140, 153, 167, 168, 189, 205, + 206, 207, 219, 61, 89, 62, 208, 64, 112, 103, 65, 108, 104, 105, 13, 14, 115, 116, 76, 30, - 32, 31, 77, 78, 79, 66, 205, 171, 186, 191, - 192, 69, 67, 162, 174, 184, 188, 185, 80 + 32, 31, 77, 78, 79, 66, 178, 171, 188, 203, + 204, 69, 67, 162, 174, 186, 200, 187, 80 }; static const short yypact[] = { - 57,-32768, 36, 87,-32768,-32768,-32768, 17,-32768, 19, - -32768,-32768,-32768, 25, 34,-32768,-32768,-32768, 41, 41, - 228, 80,-32768,-32768, 80,-32768,-32768,-32768, 101, 101, - 9, 9, 9, 101, 101,-32768, 40, -5, 72,-32768, + 57,-32768, 36, 87,-32768,-32768,-32768, -15,-32768, -7, + -32768,-32768,-32768, 17, 19,-32768,-32768,-32768, 75, 75, + 240, 82,-32768,-32768, 82,-32768,-32768,-32768, 74, 74, + 9, 9, 9, 74, 74,-32768, 54, 8, 72,-32768, -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, - -32768,-32768,-32768,-32768,-32768, -3, 20,-32768,-32768, 71, - -32768,-32768,-32768,-32768,-32768,-32768,-32768, 76,-32768, 74, - -32768, 73, 68,-32768,-32768, 122,-32768, 41, 30, 123, - 101, 112, 228, 81,-32768, 36,-32768,-32768,-32768,-32768, - 24, 40,-32768, -23, 78,-32768,-32768,-32768, -30, 82, - -32768,-32768, 26,-32768,-32768,-32768, 14,-32768, 83, 130, - 92,-32768,-32768,-32768, 40,-32768, 88, 30,-32768, 30, - 101, 30, 112, 112, 93, 112,-32768, 96,-32768,-32768, - 94,-32768, 41, 91,-32768,-32768, -15, 27, 23, 101, - -32768,-32768, 130, 194,-32768, 40, 30,-32768,-32768, 112, - -32768,-32768,-32768,-32768, 65,-32768,-32768,-32768,-32768,-32768, - 98,-32768,-32768,-32768, 150,-32768,-32768,-32768,-32768,-32768, - -32768,-32768,-32768, 99,-32768,-32768, 140, 228, 36,-32768, - -32768,-32768, 97, 95, 100,-32768, 104,-32768, 102, 140, - -32768, 228,-32768,-32768,-32768, 70,-32768,-32768, 36,-32768, - -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 152, - 154,-32768 + -32768,-32768,-32768,-32768,-32768, -3, 25,-32768,-32768, 73, + -32768,-32768,-32768,-32768,-32768,-32768,-32768, 80,-32768, 77, + -32768, 83, 71,-32768,-32768, 130,-32768, 75, 30, 132, + 74, 115, 240, 110,-32768, 36,-32768,-32768,-32768,-32768, + 24, 54,-32768, -30, 107,-32768,-32768,-32768, -21, 111, + -32768,-32768, 32,-32768,-32768,-32768, 14,-32768, 112, 159, + 121,-32768,-32768,-32768, 54,-32768, 119, 30,-32768, 30, + 74, 30, 115, 115, 123, 115,-32768, 138,-32768,-32768, + 122,-32768, 75, 129,-32768,-32768, 26, 69, 23, 74, + -32768,-32768, 159, 127,-32768, 54, 30,-32768,-32768, 115, + -32768,-32768,-32768,-32768, 61,-32768,-32768,-32768,-32768,-32768, + -32768,-32768,-32768,-32768, 206,-32768,-32768,-32768, 141,-32768, + 70,-32768,-32768,-32768,-32768, 142,-32768,-32768, 180, 240, + -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, + 36,-32768,-32768,-32768, 139, 135, 140,-32768, 137,-32768, + 143, 180,-32768, 240,-32768,-32768,-32768, 141,-32768, 36, + -32768, 195, 196,-32768 }; static const short yypgoto[] = { - -32768,-32768, 159,-32768,-32768, 3, -76, 138,-32768,-32768, + -32768,-32768, 197,-32768,-32768, 47, -76, 182,-32768,-32768, -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, - -32768, -14,-32768, -130,-32768, -119, -19,-32768, 58, 60, - -32768,-32768, -69, -25, -85, -81, -95, -74, -2,-32768, - -32768,-32768, 90, 110,-32768,-32768,-32768,-32768,-32768, -7, - -32768, 169, 191,-32768,-32768,-32768,-32768,-32768, 1 + -32768, -11,-32768, -119,-32768, -92, -19,-32768, 76, 78, + -32768,-32768, -69, -25, -85, -81, -95, -89, -2,-32768, + -32768,-32768, 95, 124,-32768,-32768, -163,-32768,-32768, -6, + -32768, 183, 201,-32768,-32768,-32768,-32768,-32768, 1 }; -#define YYLAST 263 +#define YYLAST 275 static const short yytable[] = { - 15, 63, 4, 73, 74, -46, 113, 86, 83, 84, + 15, 63, 4, 73, 74, -46, 113, 180, 83, 84, 114, 101, 5, 6, 7, 8, 9, 5, 6, 110, - 130, 136, 70, 169, 124, 70, 5, 6, 110, 131, - 127, 113, 35, 72, 170, 114, 102, 128, 127, 5, - 6, 7, 8, 9, 182, 157, 87, 113, 113, 35, - 113, 114, 114, 160, 114, 183, 88, 10, 143, 148, - 144, 150, 75, 113, 11, 109, 155, 114, 12, 28, - 90, 29, 135, 118, 113, 91, 123, 33, 114, 133, - 133, 159, 134, 158, 10, 173, 34, 172, 68, 106, - 85, 11, 117, 122, 121, 12, 16, 17, 18, 19, - 20, 21, 1, 2, 72, 145, 209, 210, 211, 212, - 213, 214, 215, 216, 217, 5, 6, 110, 111, 176, - 177, 81, 82, 87, 161, 94, 92, 95, 98, 97, - 99, 107, 106, 117, 22, 119, 129, 132, 138, 137, - 141, 142, 154, 149, 151, 178, 189, 152, 190, 156, - 199, 200, 220, 201, 221, 163, 203, 38, 39, 16, - 17, 202, 23, 175, 21, 179, 40, 41, 42, 43, + 86, 136, 70, 127, 124, 70, 5, 6, 110, 130, + 128, 113, 35, 72, 169, 114, 102, 28, 131, 5, + 6, 7, 8, 9, 148, 29, 150, 113, 113, 217, + 113, 114, 114, 160, 114, 184, 88, 10, 143, 87, + 144, 170, 75, 113, 11, 109, 155, 114, 12, 33, + 173, 34, 135, 118, 113, 90, 123, 72, 114, 127, + 91, 159, 185, 35, 10, 133, 157, 172, 134, 106, + 68, 11, 117, 122, 121, 12, 16, 17, 18, 19, + 20, 21, 1, 2, 85, 145, 190, 191, 192, 193, + 194, 195, 196, 197, 198, 176, 177, 199, 5, 6, + 110, 111, 133, 87, 161, 158, 81, 82, 92, 94, + 95, 98, 106, 117, 22, 164, 16, 17, 99, 97, + 107, 21, 154, 40, 41, 42, 43, 44, 45, 46, + 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, + 57, 58, 59, 175, 119, 129, 132, 138, 137, 141, + 179, 179, 142, 149, 165, 152, 166, 190, 191, 192, + 193, 194, 195, 196, 197, 198, 151, 156, 202, 201, + 209, 212, 211, 213, 214, 222, 223, 215, 210, 163, + 23, 38, 218, 96, 27, 216, 0, 71, 147, 146, + 0, 0, 0, 179, 39, 16, 17, 220, 0, 0, + 21, 181, 40, 41, 42, 43, 44, 45, 46, 47, + 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, + 58, 59, 0, 0, 0, 0, 0, 0, 39, 16, + 17, 0, 0, 182, 21, 183, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, - 54, 55, 56, 57, 58, 59, 198, 207, 197, 96, - 147, 146, 204, 71, 27, 0, 0, 180, 0, 181, - 0, 206, 164, 16, 17, 0, 218, 0, 21, 0, - 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, - 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, - 0, 0, 0, 0, 0, 0, 39, 16, 17, 0, - 0, 165, 21, 166, 40, 41, 42, 43, 44, 45, - 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, - 56, 57, 58, 59 + 54, 55, 56, 57, 58, 59 }; static const short yycheck[] = { - 2, 20, 1, 28, 29, 8, 91, 12, 33, 34, + 2, 20, 1, 28, 29, 8, 91, 170, 33, 34, 91, 87, 3, 4, 5, 6, 7, 3, 4, 5, - 50, 116, 21, 153, 100, 24, 3, 4, 5, 59, - 53, 116, 8, 3, 153, 116, 6, 60, 53, 3, - 4, 5, 6, 7, 174, 60, 51, 132, 133, 8, - 135, 132, 133, 148, 135, 174, 59, 48, 127, 133, - 129, 135, 53, 148, 55, 90, 142, 148, 59, 52, - 50, 52, 58, 92, 159, 55, 52, 52, 159, 53, - 53, 58, 56, 56, 48, 159, 52, 156, 8, 88, - 50, 55, 91, 95, 93, 59, 9, 10, 11, 12, - 13, 14, 45, 46, 3, 130, 36, 37, 38, 39, - 40, 41, 42, 43, 44, 3, 4, 5, 6, 54, - 55, 31, 32, 51, 149, 49, 55, 53, 60, 56, - 8, 8, 131, 132, 47, 54, 58, 55, 8, 56, - 48, 53, 141, 50, 48, 47, 47, 53, 8, 58, - 53, 56, 0, 53, 0, 152, 54, 19, 8, 9, - 10, 57, 3, 162, 14, 15, 16, 17, 18, 19, + 12, 116, 21, 53, 100, 24, 3, 4, 5, 50, + 60, 116, 8, 3, 153, 116, 6, 52, 59, 3, + 4, 5, 6, 7, 133, 52, 135, 132, 133, 212, + 135, 132, 133, 148, 135, 174, 59, 48, 127, 51, + 129, 153, 53, 148, 55, 90, 142, 148, 59, 52, + 159, 52, 58, 92, 159, 50, 52, 3, 159, 53, + 55, 58, 174, 8, 48, 53, 60, 156, 56, 88, + 8, 55, 91, 95, 93, 59, 9, 10, 11, 12, + 13, 14, 45, 46, 50, 130, 36, 37, 38, 39, + 40, 41, 42, 43, 44, 54, 55, 47, 3, 4, + 5, 6, 53, 51, 149, 56, 31, 32, 55, 49, + 53, 60, 131, 132, 47, 8, 9, 10, 8, 56, + 8, 14, 141, 16, 17, 18, 19, 20, 21, 22, + 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, + 33, 34, 35, 162, 54, 58, 55, 8, 56, 48, + 169, 170, 53, 50, 47, 53, 49, 36, 37, 38, + 39, 40, 41, 42, 43, 44, 48, 58, 8, 47, + 189, 56, 53, 53, 57, 0, 0, 54, 200, 152, + 3, 19, 213, 79, 3, 211, -1, 24, 132, 131, + -1, -1, -1, 212, 8, 9, 10, 219, -1, -1, + 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, + 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, + 34, 35, -1, -1, -1, -1, -1, -1, 8, 9, + 10, -1, -1, 47, 14, 49, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, - 30, 31, 32, 33, 34, 35, 188, 201, 187, 79, - 132, 131, 199, 24, 3, -1, -1, 47, -1, 49, - -1, 200, 8, 9, 10, -1, 208, -1, 14, -1, - 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, - 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, - -1, -1, -1, -1, -1, -1, 8, 9, 10, -1, - -1, 47, 14, 49, 16, 17, 18, 19, 20, 21, - 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, - 32, 33, 34, 35 + 30, 31, 32, 33, 34, 35 }; /* -*-C-*- Note some compilers choke on comments on `#line' lines. */ #line 3 "/usr/share/bison/bison.simple" @@ -1184,7 +1186,7 @@ yyreduce: switch (yyn) { case 5: -#line 155 "dcParser.yxx" +#line 156 "dcParser.yxx" { if (!dc_file->add_class(yyvsp[0].u.dclass)) { DCClass *old_class = dc_file->get_class_by_name(yyvsp[0].u.dclass->get_name()); @@ -1197,7 +1199,7 @@ case 5: } break; case 6: -#line 166 "dcParser.yxx" +#line 167 "dcParser.yxx" { if (!dc_file->add_switch(yyvsp[0].u.dswitch)) { yyerror("Duplicate class name: " + yyvsp[0].u.dswitch->get_name()); @@ -1205,33 +1207,33 @@ case 6: } break; case 9: -#line 177 "dcParser.yxx" +#line 178 "dcParser.yxx" { yyval.u.dclass = current_class; current_class = new DCClass(yyvsp[0].str, yyvsp[-1].u.flag, false); } break; case 10: -#line 182 "dcParser.yxx" +#line 183 "dcParser.yxx" { yyval.u.dclass = current_class; current_class = yyvsp[-4].u.dclass; } break; case 11: -#line 190 "dcParser.yxx" +#line 191 "dcParser.yxx" { yyval.u.flag = true; } break; case 12: -#line 194 "dcParser.yxx" +#line 195 "dcParser.yxx" { yyval.u.flag = false; } break; case 13: -#line 201 "dcParser.yxx" +#line 202 "dcParser.yxx" { DCClass *dclass = dc_file->get_class_by_name(yyvsp[0].str); if (dclass == (DCClass *)NULL) { @@ -1243,49 +1245,49 @@ case 13: } break; case 15: -#line 215 "dcParser.yxx" +#line 216 "dcParser.yxx" { yyval.str = yyvsp[-2].str + string("/") + yyvsp[0].str; } break; case 17: -#line 223 "dcParser.yxx" +#line 224 "dcParser.yxx" { yyval.str = yyvsp[-2].str + string(".") + yyvsp[0].str; } break; case 18: -#line 230 "dcParser.yxx" +#line 231 "dcParser.yxx" { dc_file->add_import_module(yyvsp[0].str); } break; case 19: -#line 234 "dcParser.yxx" +#line 235 "dcParser.yxx" { dc_file->add_import_module(yyvsp[-1].str); } break; case 22: -#line 243 "dcParser.yxx" +#line 244 "dcParser.yxx" { dc_file->add_import_symbol("*"); } break; case 23: -#line 250 "dcParser.yxx" +#line 251 "dcParser.yxx" { dc_file->add_import_symbol(yyvsp[0].str); } break; case 24: -#line 254 "dcParser.yxx" +#line 255 "dcParser.yxx" { dc_file->add_import_symbol(yyvsp[0].str); } break; case 25: -#line 261 "dcParser.yxx" +#line 262 "dcParser.yxx" { DCTypedef *dtypedef = new DCTypedef(yyvsp[0].u.parameter); @@ -1300,7 +1302,7 @@ case 25: } break; case 28: -#line 282 "dcParser.yxx" +#line 283 "dcParser.yxx" { if (yyvsp[0].u.dclass != (DCClass *)NULL) { current_class->add_parent(yyvsp[0].u.dclass); @@ -1308,7 +1310,7 @@ case 28: } break; case 29: -#line 288 "dcParser.yxx" +#line 289 "dcParser.yxx" { if (yyvsp[0].u.dclass != (DCClass *)NULL) { current_class->add_parent(yyvsp[0].u.dclass); @@ -1316,7 +1318,7 @@ case 29: } break; case 32: -#line 299 "dcParser.yxx" +#line 300 "dcParser.yxx" { if (!current_class->add_field(yyvsp[0].u.field)) { yyerror("Duplicate field name: " + yyvsp[0].u.field->get_name()); @@ -1324,38 +1326,43 @@ case 32: } break; case 35: -#line 310 "dcParser.yxx" +#line 311 "dcParser.yxx" { - yyval.u.field = yyvsp[-1].u.parameter; + yyval.u.field = yyvsp[-2].u.parameter; + yyval.u.field->set_flags(yyvsp[-1].u.s_int); } break; case 36: -#line 314 "dcParser.yxx" +#line 316 "dcParser.yxx" { - yyval.u.field = yyvsp[0].u.parameter; + yyval.u.field = yyvsp[-1].u.parameter; + yyval.u.field->set_flags(yyvsp[0].u.s_int); } break; case 37: -#line 321 "dcParser.yxx" +#line 324 "dcParser.yxx" { + yyval.u.field = current_atomic; current_atomic = new DCAtomicField(yyvsp[-1].str); } break; case 38: -#line 325 "dcParser.yxx" +#line 329 "dcParser.yxx" { yyval.u.field = current_atomic; + current_atomic = yyvsp[-3].u.atomic; + yyval.u.field->set_flags(yyvsp[0].u.s_int); } break; case 43: -#line 342 "dcParser.yxx" +#line 348 "dcParser.yxx" { atomic_element = DCAtomicField::ElementType(yyvsp[0].u.parameter); current_atomic->add_element(atomic_element); } break; case 44: -#line 347 "dcParser.yxx" +#line 353 "dcParser.yxx" { current_packer = &default_packer; current_packer->clear_data(); @@ -1363,7 +1370,7 @@ case 44: } break; case 45: -#line 353 "dcParser.yxx" +#line 359 "dcParser.yxx" { bool is_valid = yyvsp[-3].u.parameter->is_valid(); atomic_element = DCAtomicField::ElementType(yyvsp[-3].u.parameter); @@ -1382,25 +1389,25 @@ case 45: } break; case 46: -#line 373 "dcParser.yxx" +#line 379 "dcParser.yxx" { current_parameter = yyvsp[0].u.parameter; } break; case 47: -#line 377 "dcParser.yxx" +#line 383 "dcParser.yxx" { yyval.u.parameter = yyvsp[0].u.parameter; } break; case 51: -#line 393 "dcParser.yxx" +#line 399 "dcParser.yxx" { yyval.u.parameter = new DCSimpleParameter(yyvsp[0].u.subatomic); } break; case 52: -#line 397 "dcParser.yxx" +#line 403 "dcParser.yxx" { DCSimpleParameter *simple_param = new DCSimpleParameter(yyvsp[-3].u.subatomic); if (!simple_param->set_range(double_range)) { @@ -1410,7 +1417,7 @@ case 52: } break; case 53: -#line 405 "dcParser.yxx" +#line 411 "dcParser.yxx" { DCSimpleParameter *simple_param = new DCSimpleParameter(yyvsp[-2].u.subatomic); if (yyvsp[0].u.s_uint == 0) { @@ -1423,7 +1430,7 @@ case 53: } break; case 54: -#line 416 "dcParser.yxx" +#line 422 "dcParser.yxx" { DCSimpleParameter *simple_param = new DCSimpleParameter(yyvsp[-5].u.subatomic); if (yyvsp[-3].u.s_uint == 0) { @@ -1439,7 +1446,7 @@ case 54: } break; case 55: -#line 430 "dcParser.yxx" +#line 436 "dcParser.yxx" { DCSimpleParameter *simple_param = new DCSimpleParameter(yyvsp[-5].u.subatomic); if (yyvsp[0].u.s_uint == 0) { @@ -1455,7 +1462,7 @@ case 55: } break; case 56: -#line 444 "dcParser.yxx" +#line 450 "dcParser.yxx" { DCTypedef *dtypedef = dc_file->get_typedef_by_name(yyvsp[0].str); if (dtypedef == (DCTypedef *)NULL) { @@ -1483,25 +1490,25 @@ case 56: } break; case 57: -#line 470 "dcParser.yxx" +#line 476 "dcParser.yxx" { yyval.u.parameter = new DCClassParameter(yyvsp[0].u.dclass); } break; case 58: -#line 474 "dcParser.yxx" +#line 480 "dcParser.yxx" { yyval.u.parameter = new DCSwitchParameter(yyvsp[0].u.dswitch); } break; case 59: -#line 481 "dcParser.yxx" +#line 487 "dcParser.yxx" { double_range.clear(); } break; case 60: -#line 485 "dcParser.yxx" +#line 491 "dcParser.yxx" { double_range.clear(); if (!double_range.add_range(yyvsp[0].u.real, yyvsp[0].u.real)) { @@ -1510,7 +1517,7 @@ case 60: } break; case 61: -#line 492 "dcParser.yxx" +#line 498 "dcParser.yxx" { double_range.clear(); if (!double_range.add_range(yyvsp[-2].u.real, yyvsp[0].u.real)) { @@ -1519,7 +1526,7 @@ case 61: } break; case 62: -#line 499 "dcParser.yxx" +#line 505 "dcParser.yxx" { double_range.clear(); if (yyvsp[0].u.real >= 0) { @@ -1530,7 +1537,7 @@ case 62: } break; case 63: -#line 508 "dcParser.yxx" +#line 514 "dcParser.yxx" { if (!double_range.add_range(yyvsp[0].u.real, yyvsp[0].u.real)) { yyerror("Overlapping range"); @@ -1538,7 +1545,7 @@ case 63: } break; case 64: -#line 514 "dcParser.yxx" +#line 520 "dcParser.yxx" { if (!double_range.add_range(yyvsp[-2].u.real, yyvsp[0].u.real)) { yyerror("Overlapping range"); @@ -1546,7 +1553,7 @@ case 64: } break; case 65: -#line 520 "dcParser.yxx" +#line 526 "dcParser.yxx" { if (yyvsp[0].u.real >= 0) { yyerror("Syntax error"); @@ -1556,13 +1563,13 @@ case 65: } break; case 66: -#line 531 "dcParser.yxx" +#line 537 "dcParser.yxx" { uint_range.clear(); } break; case 67: -#line 535 "dcParser.yxx" +#line 541 "dcParser.yxx" { uint_range.clear(); if (!uint_range.add_range(yyvsp[0].u.s_uint, yyvsp[0].u.s_uint)) { @@ -1571,7 +1578,7 @@ case 67: } break; case 68: -#line 542 "dcParser.yxx" +#line 548 "dcParser.yxx" { uint_range.clear(); if (!uint_range.add_range(yyvsp[-2].u.s_uint, yyvsp[0].u.s_uint)) { @@ -1580,7 +1587,7 @@ case 68: } break; case 69: -#line 549 "dcParser.yxx" +#line 555 "dcParser.yxx" { if (!uint_range.add_range(yyvsp[0].u.s_uint, yyvsp[0].u.s_uint)) { yyerror("Overlapping range"); @@ -1588,7 +1595,7 @@ case 69: } break; case 70: -#line 555 "dcParser.yxx" +#line 561 "dcParser.yxx" { if (!uint_range.add_range(yyvsp[-2].u.s_uint, yyvsp[0].u.s_uint)) { yyerror("Overlapping range"); @@ -1596,20 +1603,20 @@ case 70: } break; case 72: -#line 565 "dcParser.yxx" +#line 571 "dcParser.yxx" { yyval.u.parameter = new DCArrayParameter(yyvsp[-3].u.parameter, uint_range); } break; case 73: -#line 572 "dcParser.yxx" +#line 578 "dcParser.yxx" { current_parameter->set_name(yyvsp[0].str); yyval.u.parameter = current_parameter; } break; case 74: -#line 577 "dcParser.yxx" +#line 583 "dcParser.yxx" { if (yyvsp[0].u.s_uint == 0) { yyerror("Invalid divisor."); @@ -1625,13 +1632,13 @@ case 74: } break; case 75: -#line 591 "dcParser.yxx" +#line 597 "dcParser.yxx" { yyval.u.parameter = new DCArrayParameter(yyvsp[-3].u.parameter, uint_range); } break; case 76: -#line 598 "dcParser.yxx" +#line 604 "dcParser.yxx" { if (yyvsp[0].str.length() != 1) { yyerror("Single character required."); @@ -1642,7 +1649,7 @@ case 76: } break; case 78: -#line 611 "dcParser.yxx" +#line 617 "dcParser.yxx" { yyval.u.s_uint = (unsigned int)yyvsp[0].u.uint64; if (yyval.u.s_uint != yyvsp[0].u.uint64) { @@ -1652,19 +1659,19 @@ case 78: } break; case 81: -#line 630 "dcParser.yxx" +#line 636 "dcParser.yxx" { yyval.u.real = (double)yyvsp[0].u.uint64; } break; case 82: -#line 634 "dcParser.yxx" +#line 640 "dcParser.yxx" { yyval.u.real = (double)yyvsp[0].u.int64; } break; case 84: -#line 642 "dcParser.yxx" +#line 648 "dcParser.yxx" { if (yyvsp[0].str.length() != 1) { yyerror("Single character required."); @@ -1675,73 +1682,73 @@ case 84: } break; case 86: -#line 656 "dcParser.yxx" +#line 662 "dcParser.yxx" { current_packer->pack_int64(yyvsp[0].u.int64); } break; case 87: -#line 660 "dcParser.yxx" +#line 666 "dcParser.yxx" { current_packer->pack_uint64(yyvsp[0].u.uint64); } break; case 88: -#line 664 "dcParser.yxx" +#line 670 "dcParser.yxx" { current_packer->pack_double(yyvsp[0].u.real); } break; case 89: -#line 668 "dcParser.yxx" +#line 674 "dcParser.yxx" { current_packer->pack_string(yyvsp[0].str); } break; case 90: -#line 672 "dcParser.yxx" +#line 678 "dcParser.yxx" { current_packer->pack_literal_value(yyvsp[0].str); } break; case 91: -#line 676 "dcParser.yxx" +#line 682 "dcParser.yxx" { current_packer->push(); } break; case 92: -#line 680 "dcParser.yxx" +#line 686 "dcParser.yxx" { current_packer->pop(); } break; case 93: -#line 684 "dcParser.yxx" +#line 690 "dcParser.yxx" { current_packer->push(); } break; case 94: -#line 688 "dcParser.yxx" +#line 694 "dcParser.yxx" { current_packer->pop(); } break; case 95: -#line 692 "dcParser.yxx" +#line 698 "dcParser.yxx" { current_packer->push(); } break; case 96: -#line 696 "dcParser.yxx" +#line 702 "dcParser.yxx" { current_packer->pop(); } break; case 97: -#line 700 "dcParser.yxx" +#line 706 "dcParser.yxx" { for (unsigned int i = 0; i < yyvsp[0].u.s_uint; i++) { current_packer->pack_int64(yyvsp[-2].u.int64); @@ -1749,7 +1756,7 @@ case 97: } break; case 98: -#line 706 "dcParser.yxx" +#line 712 "dcParser.yxx" { for (unsigned int i = 0; i < yyvsp[0].u.s_uint; i++) { current_packer->pack_uint64(yyvsp[-2].u.uint64); @@ -1757,7 +1764,7 @@ case 98: } break; case 99: -#line 712 "dcParser.yxx" +#line 718 "dcParser.yxx" { for (unsigned int i = 0; i < yyvsp[0].u.s_uint; i++) { current_packer->pack_double(yyvsp[-2].u.real); @@ -1765,7 +1772,7 @@ case 99: } break; case 100: -#line 718 "dcParser.yxx" +#line 724 "dcParser.yxx" { for (unsigned int i = 0; i < yyvsp[0].u.s_uint; i++) { current_packer->pack_literal_value(yyvsp[-2].str); @@ -1773,193 +1780,199 @@ case 100: } break; case 107: -#line 742 "dcParser.yxx" +#line 748 "dcParser.yxx" { yyval.u.subatomic = ST_int8; } break; case 108: -#line 746 "dcParser.yxx" +#line 752 "dcParser.yxx" { yyval.u.subatomic = ST_int16; } break; case 109: -#line 750 "dcParser.yxx" +#line 756 "dcParser.yxx" { yyval.u.subatomic = ST_int32; } break; case 110: -#line 754 "dcParser.yxx" +#line 760 "dcParser.yxx" { yyval.u.subatomic = ST_int64; } break; case 111: -#line 758 "dcParser.yxx" +#line 764 "dcParser.yxx" { yyval.u.subatomic = ST_uint8; } break; case 112: -#line 762 "dcParser.yxx" +#line 768 "dcParser.yxx" { yyval.u.subatomic = ST_uint16; } break; case 113: -#line 766 "dcParser.yxx" +#line 772 "dcParser.yxx" { yyval.u.subatomic = ST_uint32; } break; case 114: -#line 770 "dcParser.yxx" +#line 776 "dcParser.yxx" { yyval.u.subatomic = ST_uint64; } break; case 115: -#line 774 "dcParser.yxx" +#line 780 "dcParser.yxx" { yyval.u.subatomic = ST_float64; } break; case 116: -#line 778 "dcParser.yxx" +#line 784 "dcParser.yxx" { yyval.u.subatomic = ST_string; } break; case 117: -#line 782 "dcParser.yxx" +#line 788 "dcParser.yxx" { yyval.u.subatomic = ST_blob; } break; case 118: -#line 786 "dcParser.yxx" +#line 792 "dcParser.yxx" { yyval.u.subatomic = ST_blob32; } break; case 119: -#line 790 "dcParser.yxx" +#line 796 "dcParser.yxx" { yyval.u.subatomic = ST_int8array; } break; case 120: -#line 794 "dcParser.yxx" +#line 800 "dcParser.yxx" { yyval.u.subatomic = ST_int16array; } break; case 121: -#line 798 "dcParser.yxx" +#line 804 "dcParser.yxx" { yyval.u.subatomic = ST_int32array; } break; case 122: -#line 802 "dcParser.yxx" +#line 808 "dcParser.yxx" { yyval.u.subatomic = ST_uint8array; } break; case 123: -#line 806 "dcParser.yxx" +#line 812 "dcParser.yxx" { yyval.u.subatomic = ST_uint16array; } break; case 124: -#line 810 "dcParser.yxx" +#line 816 "dcParser.yxx" { yyval.u.subatomic = ST_uint32array; } break; case 125: -#line 814 "dcParser.yxx" +#line 820 "dcParser.yxx" { yyval.u.subatomic = ST_uint32uint8array; } break; case 126: -#line 818 "dcParser.yxx" +#line 824 "dcParser.yxx" { yyval.u.subatomic = ST_char; } break; -case 128: -#line 826 "dcParser.yxx" +case 127: +#line 831 "dcParser.yxx" { - current_atomic->add_flag(DCAtomicField::F_required); + yyval.u.s_int = 0; +} + break; +case 128: +#line 835 "dcParser.yxx" +{ + yyval.u.s_int = yyvsp[-1].u.s_int | DCAtomicField::F_required; } break; case 129: -#line 830 "dcParser.yxx" +#line 839 "dcParser.yxx" { - current_atomic->add_flag(DCAtomicField::F_broadcast); + yyval.u.s_int = yyvsp[-1].u.s_int | DCAtomicField::F_broadcast; } break; case 130: -#line 834 "dcParser.yxx" +#line 843 "dcParser.yxx" { - current_atomic->add_flag(DCAtomicField::F_p2p); + yyval.u.s_int = yyvsp[-1].u.s_int | DCAtomicField::F_p2p; } break; case 131: -#line 838 "dcParser.yxx" +#line 847 "dcParser.yxx" { - current_atomic->add_flag(DCAtomicField::F_ram); + yyval.u.s_int = yyvsp[-1].u.s_int | DCAtomicField::F_ram; } break; case 132: -#line 842 "dcParser.yxx" +#line 851 "dcParser.yxx" { - current_atomic->add_flag(DCAtomicField::F_db); + yyval.u.s_int = yyvsp[-1].u.s_int | DCAtomicField::F_db; } break; case 133: -#line 846 "dcParser.yxx" +#line 855 "dcParser.yxx" { - current_atomic->add_flag(DCAtomicField::F_clsend); + yyval.u.s_int = yyvsp[-1].u.s_int | DCAtomicField::F_clsend; } break; case 134: -#line 850 "dcParser.yxx" +#line 859 "dcParser.yxx" { - current_atomic->add_flag(DCAtomicField::F_clrecv); + yyval.u.s_int = yyvsp[-1].u.s_int | DCAtomicField::F_clrecv; } break; case 135: -#line 854 "dcParser.yxx" +#line 863 "dcParser.yxx" { - current_atomic->add_flag(DCAtomicField::F_ownsend); + yyval.u.s_int = yyvsp[-1].u.s_int | DCAtomicField::F_ownsend; } break; case 136: -#line 858 "dcParser.yxx" +#line 867 "dcParser.yxx" { - current_atomic->add_flag(DCAtomicField::F_airecv); + yyval.u.s_int = yyvsp[-1].u.s_int | DCAtomicField::F_airecv; } break; case 137: -#line 865 "dcParser.yxx" +#line 874 "dcParser.yxx" { current_molecular = new DCMolecularField(yyvsp[-1].str); } break; case 138: -#line 869 "dcParser.yxx" +#line 878 "dcParser.yxx" { yyval.u.field = current_molecular; } break; case 139: -#line 876 "dcParser.yxx" +#line 885 "dcParser.yxx" { DCField *field = current_class->get_field_by_name(yyvsp[0].str); yyval.u.atomic = (DCAtomicField *)NULL; @@ -1974,7 +1987,7 @@ case 139: } break; case 140: -#line 892 "dcParser.yxx" +#line 901 "dcParser.yxx" { if (yyvsp[0].u.atomic != (DCAtomicField *)NULL) { current_molecular->add_atomic(yyvsp[0].u.atomic); @@ -1982,11 +1995,11 @@ case 140: } break; case 141: -#line 898 "dcParser.yxx" +#line 907 "dcParser.yxx" { if (yyvsp[0].u.atomic != (DCAtomicField *)NULL) { current_molecular->add_atomic(yyvsp[0].u.atomic); - if (!current_molecular->get_atomic(0)->compare_flags(*yyvsp[0].u.atomic)) { + if (!current_molecular->compare_flags(*yyvsp[0].u.atomic)) { yyerror("Mismatched flags in molecule between " + current_molecular->get_atomic(0)->get_name() + " and " + yyvsp[0].u.atomic->get_name()); @@ -1995,27 +2008,27 @@ case 141: } break; case 142: -#line 912 "dcParser.yxx" +#line 921 "dcParser.yxx" { yyval.str = ""; } break; case 144: -#line 920 "dcParser.yxx" +#line 929 "dcParser.yxx" { yyval.u.dswitch = current_switch; current_switch = new DCSwitch(yyvsp[-4].str, yyvsp[-2].u.parameter); } break; case 145: -#line 925 "dcParser.yxx" +#line 934 "dcParser.yxx" { yyval.u.dswitch = current_switch; current_switch = (DCSwitch *)yyvsp[-2].u.parameter; } break; case 149: -#line 937 "dcParser.yxx" +#line 946 "dcParser.yxx" { if (current_switch->get_num_cases() == 0) { yyerror("case declaration required before first element"); @@ -2025,7 +2038,7 @@ case 149: } break; case 150: -#line 948 "dcParser.yxx" +#line 957 "dcParser.yxx" { current_packer = &default_packer; current_packer->clear_data(); @@ -2033,7 +2046,7 @@ case 150: } break; case 151: -#line 954 "dcParser.yxx" +#line 963 "dcParser.yxx" { if (!current_packer->end_pack()) { yyerror("Invalid value for switch parameter"); @@ -2043,13 +2056,13 @@ case 151: } break; case 152: -#line 965 "dcParser.yxx" +#line 974 "dcParser.yxx" { yyval.u.field = yyvsp[-1].u.parameter; } break; case 153: -#line 969 "dcParser.yxx" +#line 978 "dcParser.yxx" { yyval.u.field = yyvsp[0].u.parameter; } @@ -2287,4 +2300,4 @@ yyreturn: #endif return yyresult; } -#line 977 "dcParser.yxx" +#line 986 "dcParser.yxx"