X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/bfc9b3ffef6e41c90e64b271ed981fabe05676cc..5e6c1d5c94fbccf86a4f6596834c0bead2250d7e:/src/xbt/graphxml.c diff --git a/src/xbt/graphxml.c b/src/xbt/graphxml.c index 4cbf01658f..d2e6a61b78 100644 --- a/src/xbt/graphxml.c +++ b/src/xbt/graphxml.c @@ -1,3 +1,6 @@ +#include "xbt/graphxml.h" + + #line 2 "xbt/graphxml.c" #line 4 "xbt/graphxml.c" @@ -337,7 +340,7 @@ void xbt_graph_parse_free (void * ); /* Begin user sect3 */ -#define xbt_graph_parse_wrap(n) 1 +#define xbt_graph_parse_wrap() 1 #define YY_SKIP_YYWRAP typedef unsigned char YY_CHAR; @@ -368,8 +371,8 @@ static void yy_fatal_error (yyconst char msg[] ); *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp; -#define YY_NUM_RULES 79 -#define YY_END_OF_BUFFER 80 +#define YY_NUM_RULES 89 +#define YY_END_OF_BUFFER 90 /* This struct is not used in this scanner, but its presence is necessary. */ struct yy_trans_info @@ -377,63 +380,68 @@ struct yy_trans_info flex_int32_t yy_verify; flex_int32_t yy_nxt; }; -static yyconst flex_int16_t yy_accept[497] = +static yyconst flex_int16_t yy_accept[546] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 80, 78, 17, 10, 10, 17, 17, 58, 10, 58, - 5, 6, 5, 8, 9, 8, 74, 66, 67, 75, - 72, 75, 73, 77, 66, 67, 77, 78, 21, 10, - 21, 21, 21, 19, 25, 10, 25, 25, 78, 78, - 25, 33, 10, 33, 33, 33, 31, 33, 33, 37, - - 10, 37, 53, 10, 53, 53, 53, 51, 53, 53, - 53, 53, 53, 57, 10, 57, 75, 74, 10, 0, - 2, 2, 0, 4, 7, 69, 68, 0, 0, 0, - 0, 0, 0, 0, 20, 22, 0, 0, 0, 32, - 34, 34, 34, 0, 52, 54, 54, 54, 54, 54, - 54, 0, 0, 0, 0, 0, 0, 0, 3, 0, - 0, 0, 0, 0, 0, 0, 76, 0, 0, 0, - 0, 0, 34, 34, 0, 0, 54, 54, 54, 54, - 54, 0, 0, 0, 71, 0, 16, 1, 0, 0, - 64, 0, 0, 0, 61, 60, 0, 0, 0, 0, - - 24, 0, 0, 0, 34, 34, 0, 0, 36, 0, - 54, 54, 54, 54, 54, 0, 0, 56, 0, 0, - 0, 0, 65, 59, 0, 0, 0, 0, 38, 26, - 34, 0, 0, 0, 54, 54, 0, 0, 54, 54, - 0, 0, 0, 0, 0, 12, 0, 62, 63, 18, - 0, 38, 26, 0, 0, 0, 30, 29, 0, 54, - 0, 0, 0, 42, 41, 54, 54, 0, 0, 0, - 0, 0, 11, 18, 0, 0, 28, 27, 0, 35, - 54, 0, 40, 39, 0, 0, 0, 0, 0, 55, - 0, 0, 0, 0, 0, 23, 54, 0, 44, 43, - - 0, 46, 45, 0, 0, 0, 0, 54, 70, 0, - 0, 0, 54, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 90, 88, 17, 10, 10, 17, 17, 68, 10, 68, + 5, 6, 5, 8, 9, 8, 84, 76, 77, 85, + 82, 85, 83, 87, 76, 77, 87, 88, 25, 10, + 25, 25, 25, 23, 25, 29, 10, 29, 29, 88, + 88, 29, 43, 10, 43, 43, 43, 41, 43, 43, + + 43, 43, 47, 10, 47, 63, 10, 63, 63, 63, + 61, 63, 63, 63, 63, 63, 67, 10, 67, 85, + 84, 10, 0, 2, 2, 0, 4, 7, 79, 78, + 0, 0, 0, 0, 0, 0, 0, 24, 26, 26, + 0, 0, 0, 42, 44, 44, 44, 44, 44, 0, + 62, 64, 64, 64, 64, 64, 64, 64, 0, 0, + 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, + 0, 0, 0, 86, 0, 26, 0, 0, 0, 0, + 44, 44, 44, 44, 0, 0, 64, 64, 64, 64, + 64, 64, 0, 0, 0, 81, 0, 16, 1, 0, + + 0, 74, 0, 0, 0, 71, 70, 0, 0, 26, + 0, 0, 28, 0, 0, 0, 44, 44, 44, 44, + 0, 0, 46, 0, 64, 64, 64, 64, 64, 64, + 0, 0, 66, 0, 0, 0, 0, 75, 69, 0, + 0, 0, 26, 0, 48, 30, 0, 0, 44, 0, + 0, 44, 0, 0, 0, 64, 64, 0, 0, 64, + 64, 0, 0, 0, 0, 0, 12, 0, 72, 73, + 18, 26, 0, 48, 30, 0, 36, 35, 0, 0, + 0, 34, 33, 44, 0, 0, 60, 59, 0, 0, + 64, 0, 52, 51, 64, 64, 0, 0, 0, 0, + + 0, 11, 18, 26, 0, 0, 32, 31, 44, 0, + 45, 0, 50, 49, 0, 0, 0, 0, 0, 0, + 0, 65, 0, 0, 0, 0, 26, 0, 27, 44, + 0, 58, 57, 0, 54, 53, 0, 56, 55, 0, + 0, 0, 0, 26, 44, 80, 0, 0, 0, 26, + 44, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 38, 37, 0, 40, 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 12, 0, 12, 0, - 0, 48, 0, 47, 0, 0, 0, 0, 0, 0, - 0, 50, 49, 0, 0, 0, 0, 0, 0, 0, - 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 12, 0, 12, 0, 0, + 20, 0, 19, 0, 0, 0, 0, 0, 0, 0, + 22, 21, 0, 0, 0, 0, 0, 0, 0, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, - 0, 0, 14, 0, 15, 0 + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, + 0, 14, 0, 15, 0 } ; static yyconst flex_int32_t yy_ec[256] = @@ -447,11 +455,11 @@ static yyconst flex_int32_t yy_ec[256] = 17, 18, 19, 1, 20, 21, 22, 23, 24, 21, 14, 14, 14, 14, 14, 14, 25, 14, 26, 27, 14, 14, 28, 29, 14, 14, 14, 14, 30, 14, - 31, 1, 32, 1, 14, 1, 33, 34, 35, 36, + 31, 1, 32, 1, 33, 1, 34, 35, 36, 37, - 37, 38, 39, 40, 41, 14, 14, 42, 43, 44, - 45, 46, 47, 48, 49, 50, 51, 52, 14, 53, - 14, 14, 1, 1, 1, 1, 1, 1, 1, 1, + 38, 39, 40, 41, 42, 14, 14, 43, 44, 45, + 46, 47, 48, 49, 50, 51, 52, 53, 14, 54, + 55, 14, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, @@ -468,480 +476,518 @@ static yyconst flex_int32_t yy_ec[256] = 1, 1, 1, 1, 1 } ; -static yyconst flex_int32_t yy_meta[54] = +static yyconst flex_int32_t yy_meta[56] = { 0, 1, 2, 2, 2, 1, 1, 1, 1, 1, 3, 3, 1, 4, 5, 1, 1, 1, 6, 1, 7, 7, 7, 7, 7, 5, 5, 5, 5, 5, 5, - 1, 1, 7, 7, 7, 7, 7, 7, 5, 5, + 1, 1, 5, 7, 7, 7, 7, 7, 7, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5 + 5, 5, 5, 5, 5 } ; -static yyconst flex_int16_t yy_base[527] = +static yyconst flex_int16_t yy_base[576] = { 0, 0, 0, 0, 3, 6, 9, 24, 27, 11, 14, 15, 17, 29, 38, 45, 52, 59, 61, 67, 70, - 93, 125, 73, 76, 143, 146, 149, 164, 167, 170, - 173, 188, 191, 194, 197, 212, 215, 218, 234, 0, - 286, 289, 292, 295, 311, 0, 363, 366, 368, 370, - 1424, 1425, 1425, 111, 114, 47, 62, 1425, 117, 159, - 1425, 1425, 1413, 1425, 1425, 1404, 1425, 1417, 1417, 368, - 1425, 1425, 1425, 1425, 1415, 1415, 1385, 372, 1425, 221, - 1398, 0, 183, 1425, 1425, 385, 380, 385, 375, 376, - 393, 1425, 423, 1397, 0, 207, 1425, 1381, 1380, 1425, - - 426, 404, 1425, 429, 1394, 0, 401, 1425, 1362, 1377, - 1376, 1363, 1374, 1425, 432, 432, 1401, 1373, 436, 34, - 1351, 1425, 1393, 1384, 1425, 1425, 1425, 37, 39, 1351, - 1350, 1348, 1380, 1349, 1425, 0, 1357, 1359, 1349, 1425, - 0, 1359, 1349, 1347, 1425, 0, 1367, 1355, 1345, 1336, - 1338, 1348, 1353, 1365, 1364, 1371, 137, 1337, 1425, 145, - 0, 1333, 1333, 1362, 1361, 1330, 1425, 1341, 439, 443, - 1266, 1268, 1257, 1254, 446, 450, 1247, 1248, 1241, 1225, - 1229, 456, 463, 1164, 1425, 1167, 1425, 1425, 17, 1142, - 1425, 1168, 1167, 1132, 1425, 1425, 1130, 1133, 467, 474, - - 1425, 480, 1141, 1140, 1134, 484, 500, 503, 1425, 506, - 1126, 1127, 512, 1133, 1129, 523, 528, 1425, 531, 1142, - 385, 534, 1425, 1425, 1148, 1147, 1117, 541, 552, 558, - 561, 564, 570, 580, 1109, 586, 589, 593, 1108, 1090, - 605, 1112, 378, 1108, 608, 1425, 1106, 1425, 1425, 611, - 616, 625, 628, 633, 637, 645, 1425, 1425, 655, 1084, - 659, 662, 675, 1425, 1425, 683, 686, 689, 1033, 282, - 143, 70, 1425, 692, 695, 702, 1425, 1425, 712, 1425, - 954, 715, 1425, 1425, 723, 729, 739, 742, 750, 1425, - 978, 161, 104, 136, 755, 1425, 951, 758, 1425, 1425, - - 768, 1425, 1425, 953, 776, 163, 444, 892, 1425, 779, - 191, 164, 782, 193, 185, 445, 438, 455, 785, 789, - 457, 479, 504, 188, 476, 801, 473, 501, 510, 41, - 532, 562, 809, 843, 827, 839, 808, 817, 576, 826, - 829, 834, 839, 780, 763, 724, 712, 851, 856, 859, - 863, 880, 888, 906, 938, 626, 587, 556, 520, 603, - 898, 637, 956, 664, 292, 974, 1006, 482, 511, 435, - 446, 365, 692, 530, 731, 285, 415, 471, 409, 901, - 301, 1425, 297, 1425, 557, 684, 651, 224, 104, 75, - 930, 1425, 1425, 553, 654, 620, 5, 711, 710, 751, - - 1425, 969, 783, 998, 1024, 1032, 1037, 586, 635, 1045, - 757, 831, 604, 691, 832, 846, 702, 791, 567, 782, - 881, 913, 807, 855, 788, 850, 860, 918, 917, 948, - 683, 877, 950, 985, 909, 912, 737, 946, 977, 979, - 967, 1011, 1014, 1026, 1027, 1034, 1035, 1038, 1040, 1041, - 1042, 1043, 1047, 1048, 806, 1056, 1050, 1052, 1061, 1066, - 729, 1055, 1077, 1082, 1078, 1079, 1053, 1057, 1080, 1081, - 1058, 1083, 1084, 1086, 1087, 1088, 1091, 1092, 1105, 1103, - 1095, 1100, 1123, 1116, 1140, 1129, 1121, 1146, 1149, 1425, - 1152, 1157, 1425, 1169, 1425, 1425, 1187, 1194, 1201, 1208, - - 1215, 1222, 1229, 1236, 1243, 1250, 1257, 1262, 1267, 1272, - 1279, 1282, 1285, 1288, 1295, 1299, 1305, 1311, 1317, 1324, - 1331, 1338, 1345, 1352, 1359, 1366 + 93, 135, 73, 76, 111, 114, 117, 153, 156, 159, + 176, 179, 182, 185, 200, 203, 206, 209, 225, 0, + 279, 282, 285, 288, 304, 0, 358, 361, 363, 365, + 1541, 1542, 1542, 380, 383, 47, 62, 1542, 386, 171, + 1542, 1542, 1530, 1542, 1542, 1521, 1542, 1534, 1534, 365, + 1542, 1542, 1542, 1542, 1532, 1532, 1502, 375, 1542, 389, + 1515, 0, 195, 1542, 1482, 1542, 398, 391, 399, 393, + 401, 402, 1542, 420, 1513, 0, 411, 1542, 1496, 1495, + + 1494, 1481, 1542, 423, 423, 1542, 429, 1508, 0, 429, + 1542, 1491, 1, 1490, 1477, 1488, 1542, 441, 435, 1516, + 1488, 447, 34, 1465, 1542, 1508, 1499, 1542, 1542, 1542, + 69, 40, 1465, 1464, 1462, 1495, 1463, 1542, 0, 1488, + 1470, 1472, 1462, 1542, 0, 1456, 1471, 1461, 1454, 1458, + 1542, 0, 1451, 1466, 1455, 1455, 1446, 1448, 1458, 1464, + 1476, 1475, 1482, 108, 1447, 1542, 75, 0, 1443, 1443, + 1473, 1472, 1440, 1542, 1451, 1442, 453, 456, 1443, 1445, + 1447, 1442, 1441, 1436, 459, 462, 1443, 1438, 1435, 1436, + 1424, 1432, 465, 482, 1449, 1542, 1452, 1542, 1542, 110, + + 1426, 1542, 1453, 1452, 1416, 1542, 1542, 1414, 1417, 1414, + 485, 488, 1542, 491, 1424, 1355, 494, 1349, 510, 1331, + 513, 518, 1542, 526, 530, 1336, 1325, 535, 1337, 1328, + 538, 546, 1542, 551, 1338, 423, 555, 1542, 1542, 1341, + 1259, 1232, 1233, 558, 563, 568, 575, 578, 586, 591, + 595, 1228, 607, 610, 613, 626, 1228, 629, 632, 1229, + 1215, 645, 1244, 452, 1245, 648, 1542, 1225, 1542, 1542, + 651, 1195, 654, 657, 665, 671, 1542, 1542, 685, 688, + 701, 1542, 1542, 1183, 696, 709, 1542, 1542, 717, 720, + 728, 733, 1542, 1542, 744, 747, 750, 1199, 32, 104, + + 153, 1542, 753, 1174, 756, 763, 1542, 1542, 1069, 773, + 1542, 776, 1542, 1542, 784, 790, 800, 803, 811, 816, + 827, 1542, 1055, 146, 179, 147, 1026, 830, 1542, 1013, + 833, 1542, 1542, 847, 1542, 1542, 855, 1542, 1542, 1001, + 863, 175, 428, 987, 119, 1542, 866, 181, 89, 869, + 872, 875, 435, 360, 455, 457, 458, 891, 894, 910, + 913, 921, 926, 484, 489, 508, 557, 578, 937, 567, + 625, 945, 1542, 1542, 953, 1542, 1542, 582, 176, 606, + 528, 961, 961, 901, 908, 887, 964, 621, 967, 970, + 973, 990, 856, 830, 812, 788, 998, 1001, 1007, 1010, + + 1027, 1035, 1053, 1085, 688, 687, 592, 548, 652, 1045, + 663, 1103, 678, 284, 1121, 1153, 545, 475, 381, 408, + 688, 710, 699, 765, 278, 369, 285, 291, 1048, 293, + 1542, 211, 1542, 608, 715, 744, 162, 110, 76, 1077, + 1542, 1542, 352, 752, 647, 5, 199, 661, 772, 1542, + 1116, 798, 1145, 1171, 1179, 1184, 567, 723, 1192, 771, + 803, 461, 660, 806, 820, 777, 792, 517, 766, 834, + 836, 829, 873, 780, 862, 884, 887, 913, 934, 869, + 943, 968, 971, 965, 979, 690, 790, 980, 999, 872, + 883, 844, 1064, 926, 989, 1123, 1132, 500, 902, 1148, + + 1160, 915, 1056, 1065, 1124, 1173, 1181, 1133, 1189, 603, + 916, 1194, 1195, 1005, 1059, 1060, 1080, 1095, 1127, 1092, + 1128, 1185, 1190, 1191, 1193, 1196, 1197, 1016, 1208, 1200, + 1201, 1214, 1212, 1237, 1217, 1227, 1244, 1247, 1542, 1250, + 1254, 1542, 1257, 1542, 1542, 1275, 1282, 1289, 1296, 1303, + 1310, 1317, 1324, 1331, 1338, 1345, 1350, 1355, 1360, 1367, + 1370, 1373, 1376, 1383, 1387, 1393, 1399, 1405, 1412, 1419, + 1426, 1433, 1440, 1447, 1454 } ; -static yyconst flex_int16_t yy_def[527] = +static yyconst flex_int16_t yy_def[576] = { 0, - 497, 497, 498, 498, 498, 498, 499, 499, 500, 500, - 501, 501, 502, 502, 502, 502, 503, 503, 497, 497, - 504, 504, 505, 505, 505, 505, 497, 497, 505, 505, - 497, 497, 505, 505, 505, 505, 497, 497, 496, 39, - 506, 506, 497, 497, 496, 45, 507, 507, 502, 502, - 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, - 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, - 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, - 496, 508, 496, 496, 496, 496, 496, 496, 496, 496, - 496, 496, 496, 496, 509, 496, 496, 509, 509, 496, - - 496, 496, 496, 496, 496, 510, 496, 496, 510, 510, - 510, 510, 510, 496, 496, 496, 496, 496, 496, 511, - 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, - 496, 496, 496, 496, 496, 508, 512, 496, 496, 496, - 509, 509, 509, 513, 496, 510, 510, 510, 510, 510, - 510, 514, 496, 496, 515, 496, 515, 496, 496, 496, - 516, 496, 496, 496, 496, 496, 496, 496, 517, 517, - 496, 496, 509, 509, 518, 518, 510, 510, 510, 510, - 510, 519, 519, 496, 496, 515, 496, 496, 515, 496, - 496, 516, 496, 496, 496, 496, 496, 496, 496, 517, - - 496, 517, 496, 496, 509, 509, 496, 518, 496, 518, - 510, 510, 510, 510, 510, 496, 519, 496, 519, 496, - 515, 520, 496, 496, 496, 496, 496, 517, 496, 496, - 509, 496, 496, 518, 510, 510, 496, 496, 510, 510, - 519, 496, 515, 520, 520, 496, 520, 496, 496, 496, - 517, 496, 496, 496, 496, 496, 496, 496, 518, 510, - 496, 496, 496, 496, 496, 510, 510, 519, 496, 515, - 520, 520, 496, 496, 517, 496, 496, 496, 496, 496, - 510, 496, 496, 496, 496, 496, 496, 496, 496, 496, - 496, 515, 520, 520, 496, 496, 510, 496, 496, 496, - - 496, 496, 496, 496, 515, 520, 520, 510, 496, 515, - 520, 520, 510, 515, 515, 515, 520, 520, 496, 496, - 515, 515, 515, 520, 520, 496, 496, 496, 515, 515, - 515, 520, 520, 496, 496, 496, 496, 515, 515, 515, - 520, 520, 520, 496, 496, 496, 496, 515, 515, 515, - 520, 520, 520, 521, 522, 496, 496, 496, 496, 515, - 515, 515, 520, 523, 524, 521, 522, 496, 496, 496, - 496, 515, 515, 515, 523, 520, 525, 524, 526, 520, - 496, 496, 496, 496, 515, 515, 515, 525, 496, 526, - 520, 496, 496, 515, 515, 515, 496, 515, 515, 515, - - 496, 515, 515, 515, 515, 515, 515, 515, 515, 515, - 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, - 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, - 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, - 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, - 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, - 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, - 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, - 515, 515, 515, 515, 515, 515, 515, 515, 515, 496, - 515, 515, 496, 515, 496, 0, 496, 496, 496, 496, - - 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, - 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, - 496, 496, 496, 496, 496, 496 + 546, 546, 547, 547, 547, 547, 548, 548, 549, 549, + 550, 550, 551, 551, 551, 551, 552, 552, 546, 546, + 553, 553, 554, 554, 554, 554, 546, 546, 554, 554, + 546, 546, 554, 554, 554, 554, 546, 546, 545, 39, + 555, 555, 546, 546, 545, 45, 556, 556, 551, 551, + 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, + 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, + 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, + 545, 557, 545, 545, 557, 545, 545, 545, 545, 545, + 545, 545, 545, 545, 545, 558, 545, 545, 558, 558, + + 558, 558, 545, 545, 545, 545, 545, 545, 559, 545, + 545, 559, 559, 559, 559, 559, 545, 545, 545, 545, + 545, 545, 560, 545, 545, 545, 545, 545, 545, 545, + 545, 545, 545, 545, 545, 545, 545, 545, 557, 557, + 561, 545, 545, 545, 558, 558, 558, 558, 558, 562, + 545, 559, 559, 559, 559, 559, 559, 559, 563, 545, + 545, 564, 545, 564, 545, 545, 545, 565, 545, 545, + 545, 545, 545, 545, 545, 557, 566, 566, 545, 545, + 558, 558, 558, 558, 567, 567, 559, 559, 559, 559, + 559, 559, 568, 568, 545, 545, 564, 545, 545, 564, + + 545, 545, 565, 545, 545, 545, 545, 545, 545, 557, + 545, 566, 545, 566, 545, 545, 558, 558, 558, 558, + 545, 567, 545, 567, 559, 559, 559, 559, 559, 559, + 545, 568, 545, 568, 545, 564, 569, 545, 545, 545, + 545, 545, 557, 566, 545, 545, 545, 545, 558, 545, + 545, 558, 567, 545, 545, 559, 559, 545, 545, 559, + 559, 568, 545, 564, 569, 569, 545, 569, 545, 545, + 545, 557, 566, 545, 545, 545, 545, 545, 545, 545, + 545, 545, 545, 558, 567, 545, 545, 545, 545, 545, + 559, 545, 545, 545, 559, 559, 568, 545, 564, 569, + + 569, 545, 545, 557, 566, 545, 545, 545, 558, 545, + 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, + 545, 545, 545, 564, 569, 569, 557, 545, 545, 558, + 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, + 564, 569, 569, 557, 558, 545, 564, 569, 569, 557, + 558, 558, 564, 564, 564, 569, 569, 545, 545, 545, + 545, 545, 545, 564, 564, 564, 569, 569, 545, 545, + 545, 545, 545, 545, 545, 545, 545, 564, 564, 564, + 569, 569, 545, 545, 545, 545, 564, 564, 564, 569, + 569, 569, 545, 545, 545, 545, 564, 564, 564, 569, + + 569, 569, 570, 571, 545, 545, 545, 545, 564, 564, + 564, 569, 572, 573, 570, 571, 545, 545, 545, 545, + 564, 564, 564, 572, 569, 574, 573, 575, 569, 545, + 545, 545, 545, 564, 564, 564, 574, 545, 575, 569, + 545, 545, 564, 564, 564, 545, 564, 564, 564, 545, + 564, 564, 564, 564, 564, 564, 564, 564, 564, 564, + 564, 564, 564, 564, 564, 564, 564, 564, 564, 564, + 564, 564, 564, 564, 564, 564, 564, 564, 564, 564, + 564, 564, 564, 564, 564, 564, 564, 564, 564, 564, + 564, 564, 564, 564, 564, 564, 564, 564, 564, 564, + + 564, 564, 564, 564, 564, 564, 564, 564, 564, 564, + 564, 564, 564, 564, 564, 564, 564, 564, 564, 564, + 564, 564, 564, 564, 564, 564, 564, 564, 564, 564, + 564, 564, 564, 564, 564, 564, 564, 564, 545, 564, + 564, 545, 564, 545, 0, 545, 545, 545, 545, 545, + 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, + 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, + 545, 545, 545, 545, 545 } ; -static yyconst flex_int16_t yy_nxt[1479] = +static yyconst flex_int16_t yy_nxt[1598] = { 0, - 496, 54, 55, 54, 54, 55, 54, 54, 55, 54, - 54, 55, 54, 62, 496, 56, 62, 65, 56, 65, - 63, 57, 401, 63, 57, 59, 55, 59, 59, 55, - 59, 68, 69, 66, 187, 66, 70, 71, 221, 60, - 68, 69, 60, 156, 72, 70, 71, 68, 69, 160, - 73, 120, 70, 72, 68, 69, 157, 73, 187, 70, - 72, 75, 76, 75, 76, 121, 120, 72, 55, 55, - 55, 55, 55, 55, 86, 55, 86, 86, 55, 86, - 122, 162, 78, 389, 163, 78, 339, 246, 87, 161, - 77, 87, 77, 79, 80, 55, 80, 79, 79, 79, - - 79, 79, 79, 79, 81, 79, 294, 79, 83, 79, - 84, 79, 119, 119, 119, 119, 119, 119, 119, 119, - 119, 246, 397, 79, 79, 79, 80, 55, 80, 79, - 79, 79, 79, 79, 79, 79, 81, 79, 306, 79, - 83, 79, 84, 79, 86, 55, 86, 86, 55, 86, - 55, 55, 55, 246, 187, 79, 79, 160, 88, 191, - 246, 88, 189, 123, 89, 55, 55, 55, 86, 55, - 86, 86, 55, 86, 55, 55, 55, 122, 187, 89, - 246, 246, 87, 307, 305, 87, 293, 123, 90, 55, - 55, 55, 86, 55, 86, 86, 55, 86, 86, 55, - - 86, 122, 187, 90, 318, 246, 88, 311, 246, 88, - 187, 123, 91, 86, 55, 86, 55, 55, 55, 55, - 55, 55, 119, 119, 119, 122, 317, 91, 321, 389, - 89, 332, 322, 89, 92, 93, 55, 93, 92, 92, - 92, 92, 92, 92, 92, 94, 92, 95, 92, 96, - 92, 97, 92, 95, 95, 95, 95, 95, 95, 95, - 95, 95, 95, 95, 92, 92, 95, 95, 95, 95, - 95, 95, 95, 95, 95, 98, 95, 99, 95, 95, - 95, 95, 95, 95, 95, 95, 95, 101, 55, 101, - 101, 55, 101, 55, 55, 55, 55, 55, 55, 187, - - 376, 102, 246, 247, 102, 393, 392, 90, 292, 379, - 90, 103, 104, 55, 104, 103, 103, 103, 103, 103, - 103, 103, 105, 103, 106, 103, 107, 103, 108, 103, - 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, - 106, 103, 103, 106, 106, 106, 106, 106, 106, 106, - 106, 109, 110, 106, 111, 106, 106, 106, 106, 112, - 113, 106, 106, 106, 115, 55, 115, 115, 55, 115, - 68, 69, 68, 69, 128, 70, 123, 70, 116, 123, - 123, 116, 187, 117, 123, 117, 119, 119, 119, 123, - 122, 137, 385, 122, 122, 187, 137, 123, 122, 118, - - 129, 118, 187, 122, 137, 123, 130, 270, 123, 131, - 134, 122, 138, 243, 132, 144, 138, 389, 139, 122, - 389, 138, 122, 139, 119, 119, 119, 119, 119, 119, - 119, 119, 119, 119, 119, 119, 123, 119, 119, 119, - 199, 199, 199, 152, 199, 199, 199, 207, 207, 207, - 122, 207, 207, 207, 384, 246, 201, 216, 216, 216, - 201, 246, 187, 209, 216, 216, 216, 209, 199, 199, - 199, 383, 246, 218, 187, 199, 199, 199, 324, 376, - 218, 199, 199, 199, 201, 232, 232, 232, 379, 323, - 202, 201, 312, 246, 210, 329, 187, 201, 219, 325, - - 233, 207, 207, 207, 207, 207, 207, 207, 207, 207, - 334, 330, 228, 237, 237, 237, 382, 209, 381, 333, - 209, 187, 335, 209, 216, 216, 216, 187, 238, 216, - 216, 216, 216, 216, 216, 245, 245, 245, 336, 331, - 218, 234, 199, 199, 199, 218, 338, 187, 218, 187, - 337, 246, 247, 252, 252, 252, 371, 387, 201, 253, - 253, 253, 254, 254, 254, 232, 232, 232, 340, 241, - 187, 256, 256, 256, 187, 257, 398, 255, 258, 246, - 233, 207, 207, 207, 187, 394, 251, 261, 261, 261, - 237, 237, 237, 187, 263, 263, 263, 209, 264, 425, - - 341, 265, 262, 187, 370, 238, 216, 216, 216, 245, - 245, 245, 274, 274, 274, 349, 259, 199, 199, 199, - 187, 187, 218, 369, 413, 246, 252, 252, 252, 253, - 253, 253, 372, 201, 254, 254, 254, 187, 276, 276, - 276, 268, 277, 400, 271, 278, 256, 256, 256, 255, - 257, 419, 187, 258, 187, 275, 279, 279, 279, 272, - 261, 261, 261, 282, 282, 282, 374, 283, 187, 376, - 284, 187, 280, 414, 368, 262, 263, 263, 263, 396, - 264, 377, 399, 265, 285, 285, 285, 287, 287, 287, - 289, 289, 289, 274, 274, 274, 295, 295, 295, 286, - - 187, 187, 288, 276, 276, 276, 290, 277, 187, 187, - 278, 395, 296, 279, 279, 279, 282, 282, 282, 187, - 283, 386, 437, 284, 285, 285, 285, 187, 187, 280, - 298, 298, 298, 403, 299, 402, 376, 300, 420, 286, - 287, 287, 287, 301, 301, 301, 187, 302, 377, 423, - 303, 289, 289, 289, 187, 288, 295, 295, 295, 298, - 298, 298, 359, 299, 467, 358, 300, 290, 187, 301, - 301, 301, 296, 302, 187, 404, 303, 310, 310, 310, - 310, 310, 310, 319, 319, 319, 319, 319, 319, 443, - 326, 326, 326, 187, 327, 417, 187, 328, 320, 187, - - 187, 320, 326, 326, 326, 187, 327, 406, 187, 328, - 342, 342, 342, 357, 426, 314, 461, 315, 348, 348, - 348, 356, 316, 187, 187, 343, 246, 350, 350, 350, - 351, 351, 351, 431, 187, 342, 342, 342, 424, 429, - 353, 353, 353, 187, 354, 352, 246, 355, 187, 187, - 343, 246, 348, 348, 348, 347, 246, 361, 361, 361, - 350, 350, 350, 187, 351, 351, 351, 187, 187, 418, - 421, 346, 187, 187, 345, 344, 187, 187, 360, 352, - 246, 363, 363, 363, 422, 364, 362, 430, 365, 353, - 353, 353, 433, 354, 187, 432, 355, 246, 187, 361, - - 361, 361, 391, 391, 391, 246, 244, 244, 244, 244, - 244, 244, 244, 244, 244, 187, 438, 244, 246, 247, - 244, 244, 244, 246, 244, 373, 187, 313, 427, 187, - 187, 391, 391, 391, 187, 187, 244, 244, 244, 244, - 244, 244, 244, 244, 244, 244, 244, 246, 441, 244, - 434, 442, 244, 244, 244, 246, 244, 363, 363, 363, - 428, 364, 435, 187, 365, 187, 271, 187, 244, 244, - 405, 405, 405, 246, 244, 244, 244, 244, 244, 380, - 244, 244, 244, 309, 187, 244, 187, 308, 244, 244, - 244, 246, 244, 436, 187, 439, 187, 304, 444, 407, - - 407, 407, 187, 297, 244, 244, 244, 244, 244, 244, - 244, 244, 244, 244, 380, 187, 445, 244, 446, 447, - 244, 244, 244, 246, 244, 405, 405, 405, 187, 408, - 440, 187, 409, 410, 410, 410, 244, 244, 407, 407, - 407, 187, 411, 187, 187, 412, 410, 410, 410, 187, - 415, 187, 187, 416, 187, 187, 449, 187, 187, 187, - 187, 291, 187, 448, 187, 187, 462, 187, 450, 187, - 187, 465, 187, 187, 187, 187, 466, 453, 187, 451, - 454, 455, 456, 187, 457, 458, 452, 469, 459, 460, - 468, 463, 470, 464, 187, 187, 187, 187, 187, 187, - - 187, 187, 473, 187, 187, 187, 474, 477, 187, 187, - 485, 485, 187, 471, 472, 475, 476, 187, 281, 479, - 187, 480, 187, 273, 488, 246, 483, 484, 488, 491, - 486, 269, 478, 187, 491, 487, 481, 482, 187, 267, - 187, 489, 489, 489, 266, 260, 187, 492, 492, 492, - 489, 489, 489, 494, 494, 494, 250, 490, 492, 492, - 492, 249, 248, 493, 242, 240, 490, 239, 236, 495, - 494, 494, 494, 235, 493, 231, 230, 229, 227, 226, - 225, 224, 223, 222, 187, 220, 495, 52, 52, 52, - 52, 52, 52, 52, 53, 53, 53, 53, 53, 53, - - 53, 58, 58, 58, 58, 58, 58, 58, 61, 61, - 61, 61, 61, 61, 61, 64, 64, 64, 64, 64, - 64, 64, 67, 67, 67, 67, 67, 67, 67, 74, - 74, 74, 74, 74, 74, 74, 82, 82, 82, 82, - 82, 82, 82, 85, 85, 85, 85, 85, 85, 85, - 100, 100, 100, 100, 100, 100, 100, 114, 114, 114, - 114, 114, 114, 114, 136, 136, 136, 215, 136, 141, - 141, 141, 214, 141, 146, 146, 146, 213, 146, 155, - 155, 155, 155, 155, 212, 155, 169, 211, 169, 175, - 206, 175, 182, 205, 182, 186, 186, 186, 186, 186, - - 186, 186, 192, 204, 203, 192, 200, 200, 200, 200, - 200, 200, 208, 208, 208, 208, 208, 208, 217, 217, - 217, 217, 217, 217, 244, 244, 244, 244, 244, 244, - 244, 366, 366, 366, 366, 366, 366, 366, 367, 367, - 367, 367, 367, 367, 367, 375, 375, 375, 375, 375, - 375, 375, 378, 378, 378, 378, 378, 378, 378, 388, - 388, 388, 388, 388, 388, 388, 390, 390, 390, 390, - 390, 390, 390, 198, 197, 196, 195, 194, 193, 190, - 188, 187, 185, 184, 183, 181, 180, 179, 178, 177, - 176, 174, 173, 172, 171, 170, 168, 167, 166, 165, - - 164, 159, 156, 158, 154, 153, 151, 150, 149, 148, - 147, 145, 143, 142, 140, 135, 133, 127, 126, 127, - 126, 125, 124, 496, 51, 496, 496, 496, 496, 496, - 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, - 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, - 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, - 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, - 496, 496, 496, 496, 496, 496, 496, 496 + 545, 54, 55, 54, 54, 55, 54, 54, 55, 54, + 54, 55, 54, 62, 545, 56, 62, 65, 56, 65, + 63, 57, 450, 63, 57, 59, 55, 59, 59, 55, + 59, 68, 69, 66, 154, 66, 70, 71, 155, 60, + 68, 69, 60, 163, 72, 70, 71, 68, 69, 198, + 73, 123, 70, 72, 68, 69, 164, 73, 324, 70, + 72, 75, 76, 75, 76, 124, 123, 72, 55, 55, + 55, 55, 55, 55, 87, 55, 87, 87, 55, 87, + 125, 167, 78, 169, 438, 78, 170, 167, 88, 202, + 77, 88, 77, 79, 80, 55, 80, 79, 79, 79, + + 79, 79, 79, 79, 81, 79, 267, 79, 83, 79, + 84, 79, 87, 55, 87, 87, 55, 87, 55, 55, + 55, 267, 168, 79, 79, 198, 89, 198, 446, 89, + 357, 236, 90, 200, 85, 79, 80, 55, 80, 79, + 79, 79, 79, 79, 79, 79, 81, 79, 325, 79, + 83, 79, 84, 79, 55, 55, 55, 87, 55, 87, + 87, 55, 87, 198, 267, 79, 79, 438, 90, 341, + 267, 88, 351, 352, 88, 126, 85, 55, 55, 55, + 55, 55, 55, 87, 55, 87, 87, 55, 87, 125, + 326, 91, 267, 198, 91, 343, 267, 89, 267, 126, + + 89, 87, 55, 87, 87, 55, 87, 55, 55, 55, + 55, 55, 55, 125, 342, 92, 198, 356, 92, 442, + 348, 90, 388, 451, 90, 93, 94, 55, 94, 93, + 93, 93, 93, 93, 93, 93, 95, 93, 96, 93, + 97, 93, 98, 93, 96, 96, 96, 96, 96, 96, + 96, 96, 96, 96, 96, 93, 93, 96, 96, 96, + 96, 99, 96, 96, 96, 96, 96, 100, 96, 101, + 96, 102, 96, 96, 96, 96, 96, 96, 96, 96, + 104, 55, 104, 104, 55, 104, 55, 55, 55, 55, + 55, 55, 425, 425, 105, 267, 268, 105, 441, 438, + + 91, 428, 428, 91, 106, 107, 55, 107, 106, 106, + 106, 106, 106, 106, 106, 108, 106, 109, 106, 110, + 106, 111, 106, 109, 109, 109, 109, 109, 109, 109, + 109, 109, 109, 109, 106, 106, 109, 109, 109, 109, + 112, 109, 109, 109, 109, 109, 113, 109, 114, 109, + 109, 109, 109, 115, 116, 109, 109, 109, 109, 118, + 55, 118, 118, 55, 118, 68, 69, 68, 69, 198, + 70, 131, 70, 119, 438, 447, 119, 198, 120, 126, + 120, 122, 122, 122, 122, 122, 122, 122, 122, 122, + 122, 122, 122, 125, 121, 126, 121, 126, 132, 122, + + 122, 122, 141, 126, 133, 126, 126, 134, 365, 125, + 141, 125, 135, 141, 137, 126, 433, 125, 432, 125, + 125, 122, 122, 122, 122, 122, 122, 126, 142, 125, + 122, 122, 122, 126, 150, 143, 142, 143, 142, 126, + 198, 125, 122, 122, 122, 267, 159, 125, 122, 122, + 122, 264, 198, 125, 211, 211, 211, 211, 211, 211, + 221, 221, 221, 221, 221, 221, 231, 231, 231, 198, + 213, 364, 198, 213, 267, 267, 223, 349, 198, 223, + 431, 299, 233, 231, 231, 231, 211, 211, 211, 211, + 211, 211, 211, 211, 211, 247, 247, 247, 367, 233, + + 366, 198, 213, 368, 214, 213, 198, 224, 213, 468, + 248, 250, 250, 250, 221, 221, 221, 198, 234, 221, + 221, 221, 379, 378, 244, 198, 251, 221, 221, 221, + 223, 254, 254, 254, 198, 223, 258, 258, 258, 231, + 231, 231, 504, 223, 380, 267, 255, 231, 231, 231, + 474, 259, 231, 231, 231, 233, 266, 266, 266, 211, + 211, 211, 253, 233, 274, 274, 274, 390, 233, 275, + 275, 275, 267, 268, 267, 213, 247, 247, 247, 276, + 276, 276, 430, 277, 198, 420, 278, 279, 279, 279, + 262, 248, 250, 250, 250, 267, 281, 281, 281, 198, + + 282, 381, 280, 283, 273, 383, 462, 251, 221, 221, + 221, 254, 254, 254, 286, 286, 286, 384, 287, 387, + 198, 288, 382, 198, 223, 198, 255, 289, 289, 289, + 258, 258, 258, 292, 292, 292, 443, 293, 198, 516, + 294, 419, 290, 389, 285, 259, 231, 231, 231, 266, + 266, 266, 303, 303, 303, 211, 211, 211, 274, 274, + 274, 398, 233, 385, 198, 267, 275, 275, 275, 198, + 449, 213, 276, 276, 276, 386, 277, 198, 198, 278, + 198, 421, 297, 425, 452, 300, 279, 279, 279, 306, + 306, 306, 423, 307, 305, 426, 308, 310, 310, 310, + + 301, 280, 281, 281, 281, 198, 282, 198, 469, 283, + 286, 286, 286, 311, 287, 434, 198, 288, 289, 289, + 289, 312, 312, 312, 418, 313, 436, 198, 314, 315, + 315, 315, 198, 290, 292, 292, 292, 417, 293, 435, + 198, 294, 444, 492, 316, 317, 317, 317, 319, 319, + 319, 321, 321, 321, 303, 303, 303, 328, 328, 328, + 318, 198, 463, 320, 306, 306, 306, 322, 307, 198, + 425, 308, 445, 329, 310, 310, 310, 312, 312, 312, + 448, 313, 426, 198, 314, 315, 315, 315, 198, 198, + 311, 331, 331, 331, 198, 332, 453, 198, 333, 475, + + 316, 317, 317, 317, 334, 334, 334, 198, 335, 198, + 466, 336, 319, 319, 319, 198, 318, 337, 337, 337, + 198, 338, 455, 198, 339, 472, 480, 320, 321, 321, + 321, 328, 328, 328, 331, 331, 331, 198, 332, 408, + 473, 333, 467, 493, 322, 470, 198, 329, 334, 334, + 334, 198, 335, 198, 407, 336, 337, 337, 337, 471, + 338, 198, 478, 339, 347, 347, 347, 347, 347, 347, + 358, 358, 358, 360, 360, 360, 362, 362, 362, 198, + 198, 406, 476, 198, 477, 359, 198, 498, 361, 198, + 198, 363, 358, 358, 358, 369, 369, 369, 405, 370, + + 198, 198, 371, 353, 198, 354, 479, 359, 481, 486, + 355, 360, 360, 360, 372, 372, 372, 482, 373, 198, + 483, 374, 362, 362, 362, 496, 361, 375, 375, 375, + 198, 376, 198, 198, 377, 396, 497, 363, 369, 369, + 369, 395, 370, 198, 505, 371, 372, 372, 372, 394, + 373, 198, 517, 374, 375, 375, 375, 508, 376, 484, + 198, 377, 391, 391, 391, 397, 397, 397, 399, 399, + 399, 400, 400, 400, 391, 391, 391, 392, 267, 500, + 485, 198, 198, 487, 198, 198, 401, 267, 198, 392, + 267, 402, 402, 402, 393, 403, 198, 198, 404, 397, + + 397, 397, 410, 410, 410, 490, 198, 267, 399, 399, + 399, 400, 400, 400, 488, 198, 198, 489, 198, 491, + 494, 534, 198, 350, 198, 409, 401, 267, 412, 412, + 412, 346, 413, 198, 411, 414, 402, 402, 402, 495, + 403, 520, 501, 404, 267, 345, 410, 410, 410, 440, + 440, 440, 267, 265, 265, 265, 265, 265, 265, 265, + 265, 265, 198, 344, 265, 267, 268, 265, 265, 265, + 267, 265, 422, 198, 340, 510, 198, 198, 440, 440, + 440, 198, 198, 265, 265, 265, 265, 265, 265, 265, + 265, 265, 265, 265, 267, 521, 265, 198, 509, 265, + + 265, 265, 267, 265, 412, 412, 412, 499, 413, 198, + 522, 414, 198, 330, 300, 265, 265, 454, 454, 454, + 267, 265, 265, 265, 265, 265, 429, 265, 265, 265, + 523, 524, 265, 198, 511, 265, 265, 265, 267, 265, + 198, 198, 526, 514, 198, 198, 456, 456, 456, 198, + 198, 265, 265, 265, 265, 265, 265, 265, 265, 265, + 265, 429, 198, 525, 265, 198, 502, 265, 265, 265, + 267, 265, 454, 454, 454, 503, 457, 198, 527, 458, + 459, 459, 459, 265, 265, 456, 456, 456, 198, 460, + 198, 506, 461, 459, 459, 459, 198, 464, 198, 515, + + 465, 198, 198, 507, 518, 519, 198, 198, 198, 198, + 198, 198, 198, 198, 198, 512, 534, 198, 198, 537, + 537, 528, 540, 513, 327, 198, 529, 323, 309, 198, + 304, 198, 532, 533, 198, 540, 535, 536, 538, 538, + 538, 530, 302, 531, 198, 541, 541, 541, 538, 538, + 538, 543, 543, 543, 539, 541, 541, 541, 543, 543, + 543, 542, 267, 298, 539, 296, 295, 544, 291, 284, + 272, 542, 271, 270, 544, 52, 52, 52, 52, 52, + 52, 52, 53, 53, 53, 53, 53, 53, 53, 58, + 58, 58, 58, 58, 58, 58, 61, 61, 61, 61, + + 61, 61, 61, 64, 64, 64, 64, 64, 64, 64, + 67, 67, 67, 67, 67, 67, 67, 74, 74, 74, + 74, 74, 74, 74, 82, 82, 82, 82, 82, 82, + 82, 86, 86, 86, 86, 86, 86, 86, 103, 103, + 103, 103, 103, 103, 103, 117, 117, 117, 117, 117, + 117, 117, 139, 139, 139, 269, 139, 145, 145, 145, + 263, 145, 152, 152, 152, 261, 152, 162, 162, 162, + 162, 162, 260, 162, 177, 257, 177, 185, 256, 185, + 193, 252, 193, 197, 197, 197, 197, 197, 197, 197, + 203, 249, 246, 203, 212, 212, 212, 212, 212, 212, + + 222, 222, 222, 222, 222, 222, 232, 232, 232, 232, + 232, 232, 265, 265, 265, 265, 265, 265, 265, 415, + 415, 415, 415, 415, 415, 415, 416, 416, 416, 416, + 416, 416, 416, 424, 424, 424, 424, 424, 424, 424, + 427, 427, 427, 427, 427, 427, 427, 437, 437, 437, + 437, 437, 437, 437, 439, 439, 439, 439, 439, 439, + 439, 245, 243, 242, 241, 240, 239, 238, 237, 198, + 235, 230, 229, 228, 227, 226, 225, 220, 219, 218, + 217, 216, 215, 210, 209, 208, 207, 206, 205, 204, + 201, 199, 198, 196, 195, 194, 192, 191, 190, 189, + + 188, 187, 186, 184, 183, 182, 181, 180, 179, 178, + 176, 175, 174, 173, 172, 171, 166, 163, 165, 161, + 160, 158, 157, 156, 153, 151, 149, 148, 147, 146, + 144, 140, 138, 136, 130, 129, 130, 129, 128, 127, + 545, 51, 545, 545, 545, 545, 545, 545, 545, 545, + 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, + 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, + 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, + 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, + 545, 545, 545, 545, 545, 545, 545 + } ; -static yyconst flex_int16_t yy_chk[1479] = +static yyconst flex_int16_t yy_chk[1598] = { 0, 0, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 9, 0, 3, 10, 11, 4, 12, - 9, 5, 397, 10, 6, 7, 7, 7, 8, 8, - 8, 13, 13, 11, 189, 12, 13, 13, 189, 7, - 14, 14, 8, 120, 13, 14, 14, 15, 15, 128, - 15, 56, 15, 14, 16, 16, 120, 16, 330, 16, + 9, 5, 446, 10, 6, 7, 7, 7, 8, 8, + 8, 13, 13, 11, 113, 12, 13, 13, 113, 7, + 14, 14, 8, 123, 13, 14, 14, 15, 15, 299, + 15, 56, 15, 14, 16, 16, 123, 16, 299, 16, 15, 17, 17, 18, 18, 56, 57, 16, 19, 19, 19, 20, 20, 20, 23, 23, 23, 24, 24, 24, - 57, 129, 19, 390, 129, 20, 330, 272, 23, 128, + 57, 131, 19, 132, 439, 20, 132, 167, 23, 167, 17, 24, 18, 21, 21, 21, 21, 21, 21, 21, - 21, 21, 21, 21, 21, 21, 272, 21, 21, 21, - 21, 21, 54, 54, 54, 55, 55, 55, 59, 59, - 59, 293, 389, 21, 21, 22, 22, 22, 22, 22, - 22, 22, 22, 22, 22, 22, 22, 22, 293, 22, - 22, 22, 22, 22, 25, 25, 25, 26, 26, 26, - 27, 27, 27, 294, 157, 22, 22, 160, 25, 160, - 271, 26, 157, 60, 27, 28, 28, 28, 29, 29, - 29, 30, 30, 30, 31, 31, 31, 60, 292, 28, - 306, 312, 29, 294, 292, 30, 271, 83, 31, 32, - 32, 32, 33, 33, 33, 34, 34, 34, 35, 35, - - 35, 83, 315, 32, 312, 324, 33, 306, 311, 34, - 314, 96, 35, 36, 36, 36, 37, 37, 37, 38, - 38, 38, 80, 80, 80, 96, 311, 36, 314, 388, - 37, 324, 315, 38, 39, 39, 39, 39, 39, 39, + 21, 21, 21, 21, 21, 21, 349, 21, 21, 21, + 21, 21, 25, 25, 25, 26, 26, 26, 27, 27, + 27, 300, 131, 21, 21, 164, 25, 200, 438, 26, + 349, 200, 27, 164, 21, 22, 22, 22, 22, 22, + 22, 22, 22, 22, 22, 22, 22, 22, 300, 22, + 22, 22, 22, 22, 28, 28, 28, 29, 29, 29, + 30, 30, 30, 324, 326, 22, 22, 437, 28, 324, + 301, 29, 345, 345, 30, 60, 22, 31, 31, 31, + 32, 32, 32, 33, 33, 33, 34, 34, 34, 60, + 301, 31, 342, 379, 32, 326, 325, 33, 348, 83, + + 34, 35, 35, 35, 36, 36, 36, 37, 37, 37, + 38, 38, 38, 83, 325, 35, 447, 348, 36, 432, + 342, 37, 379, 447, 38, 39, 39, 39, 39, 39, + 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 41, 41, 41, - 42, 42, 42, 43, 43, 43, 44, 44, 44, 270, + 41, 41, 41, 42, 42, 42, 43, 43, 43, 44, + 44, 44, 414, 427, 41, 425, 425, 42, 430, 428, - 365, 41, 376, 376, 42, 383, 381, 43, 270, 365, - 44, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 43, 414, 427, 44, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, - 45, 45, 45, 45, 47, 47, 47, 48, 48, 48, - 49, 49, 50, 50, 70, 49, 78, 50, 47, 89, - 90, 48, 372, 49, 87, 50, 86, 86, 86, 88, - 78, 87, 372, 89, 90, 243, 88, 91, 87, 49, - - 70, 50, 221, 88, 91, 107, 70, 243, 102, 70, - 78, 91, 90, 221, 70, 102, 87, 379, 89, 107, - 377, 88, 102, 87, 93, 93, 93, 101, 101, 101, - 104, 104, 104, 115, 115, 115, 116, 119, 119, 119, - 169, 169, 169, 116, 170, 170, 170, 175, 175, 175, - 116, 176, 176, 176, 371, 317, 169, 182, 182, 182, - 170, 307, 316, 175, 183, 183, 183, 176, 199, 199, - 199, 370, 318, 182, 321, 200, 200, 200, 317, 378, - 183, 202, 202, 202, 199, 206, 206, 206, 378, 316, - 170, 200, 307, 325, 176, 321, 322, 202, 183, 318, - - 206, 207, 207, 207, 208, 208, 208, 210, 210, 210, - 327, 322, 202, 213, 213, 213, 369, 207, 368, 325, - 208, 323, 327, 210, 216, 216, 216, 329, 213, 217, - 217, 217, 219, 219, 219, 222, 222, 222, 328, 323, - 216, 210, 228, 228, 228, 217, 329, 374, 219, 331, - 328, 222, 222, 229, 229, 229, 359, 374, 228, 230, - 230, 230, 231, 231, 231, 232, 232, 232, 331, 219, - 394, 233, 233, 233, 385, 233, 394, 231, 233, 332, - 232, 234, 234, 234, 419, 385, 228, 236, 236, 236, - 237, 237, 237, 339, 238, 238, 238, 234, 238, 419, - - 332, 238, 236, 408, 358, 237, 241, 241, 241, 245, - 245, 245, 250, 250, 250, 339, 234, 251, 251, 251, - 360, 413, 241, 357, 408, 245, 252, 252, 252, 253, - 253, 253, 360, 251, 254, 254, 254, 396, 255, 255, - 255, 241, 255, 396, 245, 255, 256, 256, 256, 254, - 256, 413, 409, 256, 362, 251, 259, 259, 259, 245, - 261, 261, 261, 262, 262, 262, 362, 262, 387, 364, - 262, 395, 259, 409, 356, 261, 263, 263, 263, 387, - 263, 364, 395, 263, 266, 266, 266, 267, 267, 267, - 268, 268, 268, 274, 274, 274, 275, 275, 275, 266, - - 431, 386, 267, 276, 276, 276, 268, 276, 414, 373, - 276, 386, 275, 279, 279, 279, 282, 282, 282, 417, - 282, 373, 431, 282, 285, 285, 285, 399, 398, 279, - 286, 286, 286, 399, 286, 398, 375, 286, 414, 285, - 287, 287, 287, 288, 288, 288, 461, 288, 375, 417, - 288, 289, 289, 289, 437, 287, 295, 295, 295, 298, - 298, 298, 347, 298, 461, 346, 298, 289, 400, 301, - 301, 301, 295, 301, 411, 400, 301, 305, 305, 305, - 310, 310, 310, 313, 313, 313, 319, 319, 319, 437, - 320, 320, 320, 305, 320, 411, 310, 320, 313, 420, - - 403, 319, 326, 326, 326, 425, 326, 403, 418, 326, - 333, 333, 333, 345, 420, 310, 455, 310, 338, 338, - 338, 344, 310, 455, 423, 333, 333, 340, 340, 340, - 341, 341, 341, 425, 338, 342, 342, 342, 418, 423, - 343, 343, 343, 340, 343, 341, 341, 343, 412, 415, - 342, 342, 348, 348, 348, 337, 343, 349, 349, 349, - 350, 350, 350, 416, 351, 351, 351, 426, 348, 412, - 415, 336, 424, 349, 335, 334, 350, 427, 348, 351, - 351, 352, 352, 352, 416, 352, 350, 424, 352, 353, - 353, 353, 427, 353, 432, 426, 353, 352, 421, 361, - - 361, 361, 380, 380, 380, 353, 354, 354, 354, 354, - 354, 354, 354, 354, 354, 361, 432, 354, 380, 380, - 354, 354, 354, 354, 354, 361, 435, 308, 421, 436, - 422, 391, 391, 391, 429, 428, 354, 354, 355, 355, - 355, 355, 355, 355, 355, 355, 355, 391, 435, 355, - 428, 436, 355, 355, 355, 355, 355, 363, 363, 363, - 422, 363, 429, 438, 363, 430, 391, 433, 355, 355, - 402, 402, 402, 363, 366, 366, 366, 366, 366, 366, - 366, 366, 366, 304, 441, 366, 402, 297, 366, 366, - 366, 366, 366, 430, 439, 433, 440, 291, 438, 404, - - 404, 404, 434, 281, 366, 366, 367, 367, 367, 367, - 367, 367, 367, 367, 367, 404, 439, 367, 440, 441, - 367, 367, 367, 367, 367, 405, 405, 405, 442, 405, - 434, 443, 405, 406, 406, 406, 367, 367, 407, 407, - 407, 405, 407, 444, 445, 407, 410, 410, 410, 406, - 410, 446, 447, 410, 407, 448, 443, 449, 450, 451, - 452, 269, 410, 442, 453, 454, 456, 457, 444, 458, - 467, 459, 462, 456, 468, 471, 460, 447, 459, 445, - 448, 449, 450, 460, 451, 452, 446, 463, 453, 454, - 462, 457, 464, 458, 463, 465, 466, 469, 470, 464, - - 472, 473, 467, 474, 475, 476, 468, 471, 477, 478, - 479, 480, 481, 465, 466, 469, 470, 482, 260, 473, - 480, 474, 479, 247, 484, 244, 477, 478, 483, 487, - 481, 242, 472, 484, 486, 482, 475, 476, 487, 240, - 483, 485, 485, 485, 239, 235, 486, 488, 488, 488, - 489, 489, 489, 491, 491, 491, 227, 485, 492, 492, - 492, 226, 225, 488, 220, 215, 489, 214, 212, 491, - 494, 494, 494, 211, 492, 205, 204, 203, 198, 197, - 194, 193, 192, 190, 186, 184, 494, 497, 497, 497, - 497, 497, 497, 497, 498, 498, 498, 498, 498, 498, - - 498, 499, 499, 499, 499, 499, 499, 499, 500, 500, - 500, 500, 500, 500, 500, 501, 501, 501, 501, 501, - 501, 501, 502, 502, 502, 502, 502, 502, 502, 503, - 503, 503, 503, 503, 503, 503, 504, 504, 504, 504, - 504, 504, 504, 505, 505, 505, 505, 505, 505, 505, - 506, 506, 506, 506, 506, 506, 506, 507, 507, 507, - 507, 507, 507, 507, 508, 508, 508, 181, 508, 509, - 509, 509, 180, 509, 510, 510, 510, 179, 510, 511, - 511, 511, 511, 511, 178, 511, 512, 177, 512, 513, - 174, 513, 514, 173, 514, 515, 515, 515, 515, 515, - - 515, 515, 516, 172, 171, 516, 517, 517, 517, 517, - 517, 517, 518, 518, 518, 518, 518, 518, 519, 519, - 519, 519, 519, 519, 520, 520, 520, 520, 520, 520, - 520, 521, 521, 521, 521, 521, 521, 521, 522, 522, - 522, 522, 522, 522, 522, 523, 523, 523, 523, 523, - 523, 523, 524, 524, 524, 524, 524, 524, 524, 525, - 525, 525, 525, 525, 525, 525, 526, 526, 526, 526, - 526, 526, 526, 168, 166, 165, 164, 163, 162, 158, - 156, 155, 154, 153, 152, 151, 150, 149, 148, 147, - 144, 143, 142, 139, 138, 137, 134, 133, 132, 131, - - 130, 124, 123, 121, 118, 117, 113, 112, 111, 110, - 109, 105, 99, 98, 94, 81, 77, 76, 75, 69, - 68, 66, 63, 51, 496, 496, 496, 496, 496, 496, - 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, - 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, - 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, - 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, - 496, 496, 496, 496, 496, 496, 496, 496 + 45, 45, 45, 45, 45, 45, 45, 45, 45, 47, + 47, 47, 48, 48, 48, 49, 49, 50, 50, 443, + 49, 70, 50, 47, 426, 443, 48, 354, 49, 78, + 50, 54, 54, 54, 55, 55, 55, 59, 59, 59, + 80, 80, 80, 78, 49, 88, 50, 90, 70, 87, + + 87, 87, 88, 89, 70, 91, 92, 70, 354, 88, + 89, 90, 70, 92, 78, 97, 420, 89, 419, 91, + 92, 94, 94, 94, 104, 104, 104, 105, 88, 97, + 107, 107, 107, 110, 105, 88, 89, 90, 91, 119, + 236, 105, 118, 118, 118, 343, 119, 110, 122, 122, + 122, 236, 353, 119, 177, 177, 177, 178, 178, 178, + 185, 185, 185, 186, 186, 186, 193, 193, 193, 264, + 177, 353, 355, 178, 356, 357, 185, 343, 462, 186, + 418, 264, 193, 194, 194, 194, 211, 211, 211, 212, + 212, 212, 214, 214, 214, 217, 217, 217, 356, 194, + + 355, 364, 211, 357, 178, 212, 365, 186, 214, 462, + 217, 219, 219, 219, 221, 221, 221, 498, 194, 222, + 222, 222, 365, 364, 214, 366, 219, 224, 224, 224, + 221, 225, 225, 225, 468, 222, 228, 228, 228, 231, + 231, 231, 498, 224, 366, 381, 225, 232, 232, 232, + 468, 228, 234, 234, 234, 231, 237, 237, 237, 244, + 244, 244, 224, 232, 245, 245, 245, 381, 234, 246, + 246, 246, 237, 237, 367, 244, 247, 247, 247, 248, + 248, 248, 417, 248, 457, 408, 248, 249, 249, 249, + 234, 247, 250, 250, 250, 368, 251, 251, 251, 378, + + 251, 367, 249, 251, 244, 370, 457, 250, 253, 253, + 253, 254, 254, 254, 255, 255, 255, 370, 255, 378, + 510, 255, 368, 380, 253, 434, 254, 256, 256, 256, + 258, 258, 258, 259, 259, 259, 434, 259, 388, 510, + 259, 407, 256, 380, 253, 258, 262, 262, 262, 266, + 266, 266, 271, 271, 271, 273, 273, 273, 274, 274, + 274, 388, 262, 371, 445, 266, 275, 275, 275, 409, + 445, 273, 276, 276, 276, 371, 276, 463, 448, 276, + 411, 409, 262, 413, 448, 266, 279, 279, 279, 280, + 280, 280, 411, 280, 273, 413, 280, 285, 285, 285, + + 266, 279, 281, 281, 281, 421, 281, 486, 463, 281, + 286, 286, 286, 285, 286, 421, 423, 286, 289, 289, + 289, 290, 290, 290, 406, 290, 423, 422, 290, 291, + 291, 291, 435, 289, 292, 292, 292, 405, 292, 422, + 458, 292, 435, 486, 291, 295, 295, 295, 296, 296, + 296, 297, 297, 297, 303, 303, 303, 305, 305, 305, + 295, 436, 458, 296, 306, 306, 306, 297, 306, 444, + 424, 306, 436, 305, 310, 310, 310, 312, 312, 312, + 444, 312, 424, 469, 312, 315, 315, 315, 460, 449, + 310, 316, 316, 316, 466, 316, 449, 474, 316, 469, + + 315, 317, 317, 317, 318, 318, 318, 487, 318, 467, + 460, 318, 319, 319, 319, 452, 317, 320, 320, 320, + 461, 320, 452, 464, 320, 466, 474, 319, 321, 321, + 321, 328, 328, 328, 331, 331, 331, 465, 331, 396, + 467, 331, 461, 487, 321, 464, 472, 328, 334, 334, + 334, 470, 334, 471, 395, 334, 337, 337, 337, 465, + 337, 492, 472, 337, 341, 341, 341, 347, 347, 347, + 350, 350, 350, 351, 351, 351, 352, 352, 352, 475, + 341, 394, 470, 347, 471, 350, 480, 492, 351, 490, + 473, 352, 358, 358, 358, 359, 359, 359, 393, 359, + + 491, 476, 359, 347, 477, 347, 473, 358, 475, 480, + 347, 360, 360, 360, 361, 361, 361, 476, 361, 499, + 477, 361, 362, 362, 362, 490, 360, 363, 363, 363, + 478, 363, 502, 511, 363, 386, 491, 362, 369, 369, + 369, 385, 369, 494, 499, 369, 372, 372, 372, 384, + 372, 479, 511, 372, 375, 375, 375, 502, 375, 478, + 481, 375, 382, 382, 382, 387, 387, 387, 389, 389, + 389, 390, 390, 390, 391, 391, 391, 382, 382, 494, + 479, 387, 484, 481, 389, 482, 390, 390, 483, 391, + 391, 392, 392, 392, 383, 392, 485, 488, 392, 397, + + 397, 397, 398, 398, 398, 484, 495, 392, 399, 399, + 399, 400, 400, 400, 482, 397, 489, 483, 398, 485, + 488, 528, 514, 344, 399, 397, 400, 400, 401, 401, + 401, 340, 401, 528, 399, 401, 402, 402, 402, 489, + 402, 514, 495, 402, 401, 330, 410, 410, 410, 429, + 429, 429, 402, 403, 403, 403, 403, 403, 403, 403, + 403, 403, 410, 327, 403, 429, 429, 403, 403, 403, + 403, 403, 410, 503, 323, 504, 515, 516, 440, 440, + 440, 493, 504, 403, 403, 404, 404, 404, 404, 404, + 404, 404, 404, 404, 440, 515, 404, 517, 503, 404, + + 404, 404, 404, 404, 412, 412, 412, 493, 412, 520, + 516, 412, 518, 309, 440, 404, 404, 451, 451, 451, + 412, 415, 415, 415, 415, 415, 415, 415, 415, 415, + 517, 518, 415, 451, 505, 415, 415, 415, 415, 415, + 496, 505, 520, 508, 519, 521, 453, 453, 453, 497, + 508, 415, 415, 416, 416, 416, 416, 416, 416, 416, + 416, 416, 453, 519, 416, 500, 496, 416, 416, 416, + 416, 416, 454, 454, 454, 497, 454, 501, 521, 454, + 455, 455, 455, 416, 416, 456, 456, 456, 454, 456, + 506, 500, 456, 459, 459, 459, 455, 459, 507, 509, + + 459, 456, 522, 501, 512, 513, 509, 523, 524, 459, + 525, 512, 513, 526, 527, 506, 529, 530, 531, 532, + 533, 522, 535, 507, 304, 529, 523, 298, 284, 533, + 272, 532, 526, 527, 535, 536, 530, 531, 534, 534, + 534, 524, 268, 525, 536, 537, 537, 537, 538, 538, + 538, 540, 540, 540, 534, 541, 541, 541, 543, 543, + 543, 537, 265, 263, 538, 261, 260, 540, 257, 252, + 243, 541, 242, 241, 543, 546, 546, 546, 546, 546, + 546, 546, 547, 547, 547, 547, 547, 547, 547, 548, + 548, 548, 548, 548, 548, 548, 549, 549, 549, 549, + + 549, 549, 549, 550, 550, 550, 550, 550, 550, 550, + 551, 551, 551, 551, 551, 551, 551, 552, 552, 552, + 552, 552, 552, 552, 553, 553, 553, 553, 553, 553, + 553, 554, 554, 554, 554, 554, 554, 554, 555, 555, + 555, 555, 555, 555, 555, 556, 556, 556, 556, 556, + 556, 556, 557, 557, 557, 240, 557, 558, 558, 558, + 235, 558, 559, 559, 559, 230, 559, 560, 560, 560, + 560, 560, 229, 560, 561, 227, 561, 562, 226, 562, + 563, 220, 563, 564, 564, 564, 564, 564, 564, 564, + 565, 218, 216, 565, 566, 566, 566, 566, 566, 566, + + 567, 567, 567, 567, 567, 567, 568, 568, 568, 568, + 568, 568, 569, 569, 569, 569, 569, 569, 569, 570, + 570, 570, 570, 570, 570, 570, 571, 571, 571, 571, + 571, 571, 571, 572, 572, 572, 572, 572, 572, 572, + 573, 573, 573, 573, 573, 573, 573, 574, 574, 574, + 574, 574, 574, 574, 575, 575, 575, 575, 575, 575, + 575, 215, 210, 209, 208, 205, 204, 203, 201, 197, + 195, 192, 191, 190, 189, 188, 187, 184, 183, 182, + 181, 180, 179, 176, 175, 173, 172, 171, 170, 169, + 165, 163, 162, 161, 160, 159, 158, 157, 156, 155, + + 154, 153, 150, 149, 148, 147, 146, 143, 142, 141, + 140, 137, 136, 135, 134, 133, 127, 126, 124, 121, + 120, 116, 115, 114, 112, 108, 102, 101, 100, 99, + 95, 85, 81, 77, 76, 75, 69, 68, 66, 63, + 51, 545, 545, 545, 545, 545, 545, 545, 545, 545, + 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, + 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, + 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, + 545, 545, 545, 545, 545, 545, 545, 545, 545, 545, + 545, 545, 545, 545, 545, 545, 545 + } ; /* Table of booleans, true if rule could match eol. */ -static yyconst flex_int32_t yy_rule_can_match_eol[80] = +static yyconst flex_int32_t yy_rule_can_match_eol[90] = { 0, -0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, - 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, - }; +0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, + 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, + 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, }; static yy_state_type yy_last_accepting_state; static char *yy_last_accepting_cpos; @@ -958,12 +1004,13 @@ int xbt_graph_parse__flex_debug = 0; #define YY_RESTORE_YY_MORE_OFFSET char *xbt_graph_parse_text; #line 1 "xbt/graphxml.l" -/* Validating XML processor for graphxml.dtd. - * Generated 2006/03/20 16:15:21. +/* Validating XML processor for xbt/graphxml.dtd. + * Generated 2006/07/18 21:02:16. * * This program was generated with the FleXML XML processor generator. - * FleXML is Copyright © 1999-2005 Kristoffer Rose. All rights reserved. - * (Id: flexml.pl,v 1.45 2006/03/03 19:25:46 wdowling Exp). + * FleXML is Copyright (C) 1999-2005 Kristoffer Rose. All rights reserved. + * FleXML is Copyright (C) 2003-2006 Martin Quinson. All rights reserved. + * (Id: flexml.pl,v 1.53 2006/07/18 12:12:06 mquinson Exp). * * There are two, intertwined parts to this program, part A and part B. * @@ -971,8 +1018,8 @@ char *xbt_graph_parse_text; * ------ * * Some parts, here collectively called "Part A", are found in the - * FleXML package. They are Copyright © 1999-2005 Kristoffer Rose. - * All rights reserved. + * FleXML package. They are Copyright (C) 1999-2005 Kristoffer Rose + * and Copyright (C) 2003-2006 Martin Quinson. All rights reserved. * * You can redistribute, use, perform, display and/or modify "Part A" * provided the following two conditions hold: @@ -1003,16 +1050,25 @@ char *xbt_graph_parse_text; * by the author of or contributors to FleXML. * */ -#line 48 "xbt/graphxml.l" +#line 49 "xbt/graphxml.l" /* Version strings. */ -const char rcs_grahxml_flexml_skeleton[] = - "$" "Id: skel,v 1.26 2005/02/23 22:22:20 wdowling Exp $"; -const char rcs_grahxml_flexml[] = - "$" "Id: flexml.pl,v 1.45 2006/03/03 19:25:46 wdowling Exp $"; +const char rcs_graphxml_flexml_skeleton[] = + "$" "Id: skel,v 1.31 2006/07/18 18:21:13 mquinson Exp $"; +const char rcs_graphxml_flexml[] = + "$" "Id: flexml.pl,v 1.53 2006/07/18 12:12:06 mquinson Exp $"; /* ANSI headers. */ -#include + +#if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) || defined(__TOS_WIN__) +# ifndef __STRICT_ANSI__ +# include +# include +# endif +#else +# include +#endif + #include #include #include @@ -1025,14 +1081,19 @@ const char rcs_grahxml_flexml[] = /* XML processor api. */ /* FleXML-provided data. */ -const char* pcdata; -AT_edge_target A_edge_target; -AT_node_name A_node_name; -AT_node_label A_node_label; -AT_edge_label A_edge_label; -AT_edge_source A_edge_source; -AT_edge_isDirected A_edge_isDirected; -AT_edge_name A_edge_name; +const char* graphxml_pcdata; +AT_graphxml_node_name A_graphxml_node_name; +AT_graphxml_edge_source A_graphxml_edge_source; +AT_graphxml_node_position_y A_graphxml_node_position_y; +AT_graphxml_node_position_x A_graphxml_node_position_x; +AT_graphxml_edge_data A_graphxml_edge_data; +AT_graphxml_edge_target A_graphxml_edge_target; +AT_graphxml_graph_isDirected A_graphxml_graph_isDirected; +AT_graphxml_node_label A_graphxml_node_label; +AT_graphxml_node_data A_graphxml_node_data; +AT_graphxml_edge_label A_graphxml_edge_label; +AT_graphxml_edge_length A_graphxml_edge_length; +AT_graphxml_edge_name A_graphxml_edge_name; /* XML state. */ #ifdef FLEX_DEBUG @@ -1054,17 +1115,17 @@ AT_edge_name A_edge_name; #define FAIL return fail static int fail(const char*, ...); -const char * grahxml_parse_err_msg(void); +const char * graphxml_parse_err_msg(void); /* Cleanup */ static void cleanup(void); #define CLEANUP cleanup() /* Text buffer stack handling. */ -char bufferstack[FLEXML_BUFFERSTACKSIZE]; +static char bufferstack[FLEXML_BUFFERSTACKSIZE]; static char* limit = bufferstack + FLEXML_BUFFERSTACKSIZE; typedef struct BufferLast_s { - struct BufferLast_s *old; char* saved; char new1[1]; + struct BufferLast_s *old; const char* saved; char new1[1]; } BufferLast; #ifdef FLEXML_HasMixed static BufferLast* last = (BufferLast*)0; @@ -1088,7 +1149,7 @@ static void bufferliteral(char c, const char** pp, char* text) } #ifdef FLEXML_HasMixed -static void pushbuffer(char* p) +static void pushbuffer(const char* p) { BufferLast* l = (BufferLast*)next; assert(next < limit); @@ -1098,7 +1159,7 @@ static void pushbuffer(char* p) last = l; } -static char* popbuffer(void) +static const char* popbuffer(void) { BufferLast* l = last; assert(last != (BufferLast*)0); @@ -1128,7 +1189,7 @@ static char* popbuffer(void) * INPI inside an XML PI * VALUE1 inside a '...'-delimited literal * VALUE2 inside a "..."-delimited literal - * CDATA inside a section. + * CDATA inside a section. * ROOT_ expect root element * AL_ inside the attribute list for * IN_ inside a with element contents (ready for end tag) @@ -1139,10 +1200,10 @@ static char* popbuffer(void) -#line 210 "xbt/graphxml.l" +#line 216 "xbt/graphxml.l" /* State names. */ -const char* *grahxml_statenames=NULL; -#line 1146 "xbt/graphxml.c" +const char* *graphxml_statenames=NULL; +#line 1195 "xbt/graphxml.c" #define INITIAL 0 #define PROLOG 1 @@ -1153,21 +1214,21 @@ const char* *grahxml_statenames=NULL; #define VALUE1 6 #define VALUE2 7 #define CDATA 8 -#define ROOT_graph 9 -#define AL_graph 10 -#define S_graph 11 -#define S_graph_1 12 -#define S_graph_2 13 -#define S_graph_3 14 -#define S_graph_4 15 -#define S_graph_5 16 -#define E_graph 17 -#define ROOT_node 18 -#define AL_node 19 -#define E_node 20 -#define ROOT_edge 21 -#define AL_edge 22 -#define E_edge 23 +#define ROOT_graphxml_graph 9 +#define AL_graphxml_graph 10 +#define S_graphxml_graph 11 +#define S_graphxml_graph_1 12 +#define S_graphxml_graph_2 13 +#define S_graphxml_graph_3 14 +#define S_graphxml_graph_4 15 +#define S_graphxml_graph_5 16 +#define E_graphxml_graph 17 +#define ROOT_graphxml_node 18 +#define AL_graphxml_node 19 +#define E_graphxml_node 20 +#define ROOT_graphxml_edge 21 +#define AL_graphxml_edge 22 +#define E_graphxml_edge 23 #define IMPOSSIBLE 24 #ifndef YY_NO_UNISTD_H @@ -1175,7 +1236,14 @@ const char* *grahxml_statenames=NULL; * down here because we want the user's section 1 to have been scanned first. * The user has a chance to override it with an option. */ -#include +#if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) || defined(__TOS_WIN__) +# ifndef __STRICT_ANSI__ +# include +# include +# endif +#else +# include +#endif #endif #ifndef YY_EXTRA_TYPE @@ -1323,42 +1391,42 @@ YY_DECL register char *yy_cp, *yy_bp; register int yy_act; -#line 214 "xbt/graphxml.l" +#line 220 "xbt/graphxml.l" /* Bypass Flex's default INITIAL state and begin by parsing the XML prolog. */ SET(PROLOG); /* FleXML_init */ next = bufferstack; - if(!grahxml_statenames) {grahxml_statenames= (const char **)calloc(IMPOSSIBLE,sizeof(char*)); - grahxml_statenames[PROLOG] = NULL; - grahxml_statenames[DOCTYPE] = NULL; - grahxml_statenames[EPILOG] = NULL; - grahxml_statenames[INCOMMENT] = NULL; - grahxml_statenames[INPI] = NULL; - grahxml_statenames[VALUE1] = NULL; - grahxml_statenames[VALUE2] = NULL; - grahxml_statenames[CDATA] = NULL; - grahxml_statenames[ROOT_graph] = NULL; - grahxml_statenames[AL_graph] = NULL; - grahxml_statenames[S_graph] = "graph"; - grahxml_statenames[S_graph_1] = "graph"; - grahxml_statenames[S_graph_2] = "graph"; - grahxml_statenames[S_graph_3] = "graph"; - grahxml_statenames[S_graph_4] = "graph"; - grahxml_statenames[S_graph_5] = "graph"; - grahxml_statenames[E_graph] = "graph"; - grahxml_statenames[ROOT_node] = NULL; - grahxml_statenames[AL_node] = NULL; - grahxml_statenames[E_node] = "node"; - grahxml_statenames[ROOT_edge] = NULL; - grahxml_statenames[AL_edge] = NULL; - grahxml_statenames[E_edge] = "edge"; + if(!graphxml_statenames) {graphxml_statenames= (const char **)calloc(IMPOSSIBLE,sizeof(char*)); + graphxml_statenames[PROLOG] = NULL; + graphxml_statenames[DOCTYPE] = NULL; + graphxml_statenames[EPILOG] = NULL; + graphxml_statenames[INCOMMENT] = NULL; + graphxml_statenames[INPI] = NULL; + graphxml_statenames[VALUE1] = NULL; + graphxml_statenames[VALUE2] = NULL; + graphxml_statenames[CDATA] = NULL; + graphxml_statenames[ROOT_graphxml_graph] = NULL; + graphxml_statenames[AL_graphxml_graph] = NULL; + graphxml_statenames[S_graphxml_graph] = "graph"; + graphxml_statenames[S_graphxml_graph_1] = "graph"; + graphxml_statenames[S_graphxml_graph_2] = "graph"; + graphxml_statenames[S_graphxml_graph_3] = "graph"; + graphxml_statenames[S_graphxml_graph_4] = "graph"; + graphxml_statenames[S_graphxml_graph_5] = "graph"; + graphxml_statenames[E_graphxml_graph] = "graph"; + graphxml_statenames[ROOT_graphxml_node] = NULL; + graphxml_statenames[AL_graphxml_node] = NULL; + graphxml_statenames[E_graphxml_node] = "node"; + graphxml_statenames[ROOT_graphxml_edge] = NULL; + graphxml_statenames[AL_graphxml_edge] = NULL; + graphxml_statenames[E_graphxml_edge] = "edge"; } /* COMMENTS and PIs: handled uniformly for efficiency. */ -#line 1362 "xbt/graphxml.c" +#line 1411 "xbt/graphxml.c" if ( (yy_init) ) { @@ -1411,13 +1479,13 @@ yy_match: while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 497 ) + if ( yy_current_state >= 546 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; ++yy_cp; } - while ( yy_base[yy_current_state] != 1425 ); + while ( yy_base[yy_current_state] != 1542 ); yy_find_action: yy_act = yy_accept[yy_current_state]; @@ -1453,52 +1521,52 @@ do_action: /* This label is used only to access EOF actions. */ case 1: YY_RULE_SETUP -#line 249 "xbt/graphxml.l" +#line 255 "xbt/graphxml.l" ENTER(INCOMMENT); YY_BREAK case 2: YY_RULE_SETUP -#line 250 "xbt/graphxml.l" +#line 256 "xbt/graphxml.l" ENTER(INPI); YY_BREAK case 3: YY_RULE_SETUP -#line 253 "xbt/graphxml.l" +#line 259 "xbt/graphxml.l" LEAVE; YY_BREAK case 4: -#line 255 "xbt/graphxml.l" +#line 261 "xbt/graphxml.l" case 5: -#line 256 "xbt/graphxml.l" +#line 262 "xbt/graphxml.l" case 6: /* rule 6 can match eol */ YY_RULE_SETUP -#line 256 "xbt/graphxml.l" +#line 262 "xbt/graphxml.l" SKIP; YY_BREAK case YY_STATE_EOF(INCOMMENT): -#line 257 "xbt/graphxml.l" +#line 263 "xbt/graphxml.l" FAIL("EOF in comment."); YY_BREAK case 7: YY_RULE_SETUP -#line 260 "xbt/graphxml.l" +#line 266 "xbt/graphxml.l" LEAVE; YY_BREAK case 8: -#line 262 "xbt/graphxml.l" +#line 268 "xbt/graphxml.l" case 9: /* rule 9 can match eol */ YY_RULE_SETUP -#line 262 "xbt/graphxml.l" +#line 268 "xbt/graphxml.l" SKIP; YY_BREAK case YY_STATE_EOF(INPI): -#line 263 "xbt/graphxml.l" +#line 269 "xbt/graphxml.l" FAIL("EOF in PI (processing instruction)."); YY_BREAK @@ -1506,7 +1574,7 @@ FAIL("EOF in PI (processing instruction)."); case 10: /* rule 10 can match eol */ YY_RULE_SETUP -#line 268 "xbt/graphxml.l" +#line 274 "xbt/graphxml.l" SKIP; YY_BREAK /* PROLOG: determine root element and process it. */ @@ -1514,13 +1582,13 @@ SKIP; case 11: /* rule 11 can match eol */ YY_RULE_SETUP -#line 273 "xbt/graphxml.l" +#line 279 "xbt/graphxml.l" SET(DOCTYPE); YY_BREAK case 12: /* rule 12 can match eol */ YY_RULE_SETUP -#line 274 "xbt/graphxml.l" +#line 280 "xbt/graphxml.l" FAIL("Bad declaration %s.",xbt_graph_parse_text); YY_BREAK @@ -1528,500 +1596,571 @@ FAIL("Bad declaration %s.",xbt_graph_parse_text); case 13: /* rule 13 can match eol */ YY_RULE_SETUP -#line 278 "xbt/graphxml.l" -SET(ROOT_edge); +#line 284 "xbt/graphxml.l" +SET(ROOT_graphxml_edge); YY_BREAK case 14: /* rule 14 can match eol */ YY_RULE_SETUP -#line 279 "xbt/graphxml.l" -SET(ROOT_node); +#line 285 "xbt/graphxml.l" +SET(ROOT_graphxml_node); YY_BREAK case 15: /* rule 15 can match eol */ YY_RULE_SETUP -#line 280 "xbt/graphxml.l" -SET(ROOT_graph); +#line 286 "xbt/graphxml.l" +SET(ROOT_graphxml_graph); YY_BREAK case 16: /* rule 16 can match eol */ YY_RULE_SETUP -#line 281 "xbt/graphxml.l" +#line 287 "xbt/graphxml.l" FAIL("Bad declaration %s.",xbt_graph_parse_text); YY_BREAK case 17: YY_RULE_SETUP -#line 282 "xbt/graphxml.l" +#line 288 "xbt/graphxml.l" FAIL("Unexpected character `%c' in prolog.", xbt_graph_parse_text[0]); YY_BREAK case YY_STATE_EOF(PROLOG): case YY_STATE_EOF(DOCTYPE): -#line 283 "xbt/graphxml.l" +#line 289 "xbt/graphxml.l" FAIL("EOF in prolog."); YY_BREAK /* RULES DERIVED FROM DTD. */ /* */ +/* isDirected (true|false) "true" + * > */ case 18: /* rule 18 can match eol */ YY_RULE_SETUP -#line 290 "xbt/graphxml.l" +#line 299 "xbt/graphxml.l" { - ENTER(AL_graph); + A_graphxml_graph_isDirected = A_graphxml_graph_isDirected_true; + ENTER(AL_graphxml_graph); } YY_BREAK case 19: +/* rule 19 can match eol */ +#line 306 "xbt/graphxml.l" +case 20: +/* rule 20 can match eol */ +YY_RULE_SETUP +#line 306 "xbt/graphxml.l" +A_graphxml_graph_isDirected = A_graphxml_graph_isDirected_true; + YY_BREAK +case 21: +/* rule 21 can match eol */ +#line 308 "xbt/graphxml.l" +case 22: +/* rule 22 can match eol */ +YY_RULE_SETUP +#line 308 "xbt/graphxml.l" +A_graphxml_graph_isDirected = A_graphxml_graph_isDirected_false; + YY_BREAK +case 23: YY_RULE_SETUP -#line 295 "xbt/graphxml.l" +#line 310 "xbt/graphxml.l" { - LEAVE; STag_graph();pcdata = NULL; ENTER(S_graph); + LEAVE; STag_graphxml_graph();graphxml_pcdata = NULL; ENTER(S_graphxml_graph); } YY_BREAK -case 20: +case 24: YY_RULE_SETUP -#line 298 "xbt/graphxml.l" +#line 313 "xbt/graphxml.l" { - LEAVE; STag_graph(); pcdata = NULL; ETag_graph(); + LEAVE; STag_graphxml_graph(); graphxml_pcdata = NULL; ETag_graphxml_graph(); switch (YY_START) { - case ROOT_graph: SET(EPILOG); break; + case ROOT_graphxml_graph: SET(EPILOG); break; } } YY_BREAK -case 21: +case 25: YY_RULE_SETUP -#line 304 "xbt/graphxml.l" +#line 319 "xbt/graphxml.l" FAIL("Unexpected character `%c' in attribute list of graph element.", xbt_graph_parse_text[0]); YY_BREAK -case 22: +case 26: YY_RULE_SETUP -#line 305 "xbt/graphxml.l" +#line 320 "xbt/graphxml.l" FAIL("Bad attribute `%s' in `graph' element start tag.",xbt_graph_parse_text); YY_BREAK -case YY_STATE_EOF(AL_graph): -#line 306 "xbt/graphxml.l" +case YY_STATE_EOF(AL_graphxml_graph): +#line 321 "xbt/graphxml.l" FAIL("EOF in attribute list of `graph' element."); YY_BREAK -case 23: -/* rule 23 can match eol */ +case 27: +/* rule 27 can match eol */ YY_RULE_SETUP -#line 310 "xbt/graphxml.l" +#line 325 "xbt/graphxml.l" { LEAVE; - ETag_graph(); + ETag_graphxml_graph(); switch (YY_START) { - case ROOT_graph: SET(EPILOG); break; + case ROOT_graphxml_graph: SET(EPILOG); break; } } YY_BREAK -case 24: -/* rule 24 can match eol */ +case 28: +/* rule 28 can match eol */ YY_RULE_SETUP -#line 317 "xbt/graphxml.l" +#line 332 "xbt/graphxml.l" FAIL("Unexpected end-tag `%s': `' expected.",xbt_graph_parse_text); YY_BREAK -case 25: +case 29: YY_RULE_SETUP -#line 318 "xbt/graphxml.l" +#line 333 "xbt/graphxml.l" FAIL("Unexpected character `%c': `' expected.",xbt_graph_parse_text[0]); YY_BREAK -case YY_STATE_EOF(S_graph_1): -case YY_STATE_EOF(E_graph): -case YY_STATE_EOF(S_graph_3): -case YY_STATE_EOF(S_graph_5): -case YY_STATE_EOF(S_graph): -#line 319 "xbt/graphxml.l" +case YY_STATE_EOF(S_graphxml_graph_1): +case YY_STATE_EOF(E_graphxml_graph): +case YY_STATE_EOF(S_graphxml_graph_3): +case YY_STATE_EOF(S_graphxml_graph_5): +case YY_STATE_EOF(S_graphxml_graph): +#line 334 "xbt/graphxml.l" FAIL("Premature EOF: `' expected."); YY_BREAK /* label CDATA "" * name CDATA #REQUIRED + * data CDATA "" + * position_x CDATA "-1.0" + * position_y CDATA "-1.0" * > */ -case 26: -/* rule 26 can match eol */ +case 30: +/* rule 30 can match eol */ YY_RULE_SETUP -#line 326 "xbt/graphxml.l" +#line 344 "xbt/graphxml.l" { - A_node_label = NULL; - A_node_name = NULL; - ENTER(AL_node); + A_graphxml_node_label = NULL; + A_graphxml_node_name = NULL; + A_graphxml_node_data = NULL; + A_graphxml_node_position_x = "-1.0"; + A_graphxml_node_position_y = "-1.0"; + ENTER(AL_graphxml_node); } YY_BREAK -case 27: -/* rule 27 can match eol */ +case 31: +/* rule 31 can match eol */ YY_RULE_SETUP -#line 333 "xbt/graphxml.l" -ENTER(VALUE1); BUFFERSET(A_node_label); +#line 354 "xbt/graphxml.l" +ENTER(VALUE1); BUFFERSET(A_graphxml_node_label); YY_BREAK -case 28: -/* rule 28 can match eol */ +case 32: +/* rule 32 can match eol */ YY_RULE_SETUP -#line 334 "xbt/graphxml.l" -ENTER(VALUE2); BUFFERSET(A_node_label); +#line 355 "xbt/graphxml.l" +ENTER(VALUE2); BUFFERSET(A_graphxml_node_label); YY_BREAK -case 29: -/* rule 29 can match eol */ +case 33: +/* rule 33 can match eol */ YY_RULE_SETUP -#line 336 "xbt/graphxml.l" -ENTER(VALUE1); BUFFERSET(A_node_name); +#line 357 "xbt/graphxml.l" +ENTER(VALUE1); BUFFERSET(A_graphxml_node_name); YY_BREAK -case 30: -/* rule 30 can match eol */ +case 34: +/* rule 34 can match eol */ YY_RULE_SETUP -#line 337 "xbt/graphxml.l" -ENTER(VALUE2); BUFFERSET(A_node_name); +#line 358 "xbt/graphxml.l" +ENTER(VALUE2); BUFFERSET(A_graphxml_node_name); YY_BREAK -case 31: +case 35: +/* rule 35 can match eol */ +YY_RULE_SETUP +#line 360 "xbt/graphxml.l" +ENTER(VALUE1); BUFFERSET(A_graphxml_node_data); + YY_BREAK +case 36: +/* rule 36 can match eol */ +YY_RULE_SETUP +#line 361 "xbt/graphxml.l" +ENTER(VALUE2); BUFFERSET(A_graphxml_node_data); + YY_BREAK +case 37: +/* rule 37 can match eol */ YY_RULE_SETUP -#line 339 "xbt/graphxml.l" +#line 363 "xbt/graphxml.l" +ENTER(VALUE1); BUFFERSET(A_graphxml_node_position_x); + YY_BREAK +case 38: +/* rule 38 can match eol */ +YY_RULE_SETUP +#line 364 "xbt/graphxml.l" +ENTER(VALUE2); BUFFERSET(A_graphxml_node_position_x); + YY_BREAK +case 39: +/* rule 39 can match eol */ +YY_RULE_SETUP +#line 366 "xbt/graphxml.l" +ENTER(VALUE1); BUFFERSET(A_graphxml_node_position_y); + YY_BREAK +case 40: +/* rule 40 can match eol */ +YY_RULE_SETUP +#line 367 "xbt/graphxml.l" +ENTER(VALUE2); BUFFERSET(A_graphxml_node_position_y); + YY_BREAK +case 41: +YY_RULE_SETUP +#line 369 "xbt/graphxml.l" { - if (!A_node_name) FAIL("Required attribute `name' not set for `node' element."); - LEAVE; STag_node();pcdata = NULL; ENTER(E_node); + if (!A_graphxml_node_name) FAIL("Required attribute `name' not set for `node' element."); + LEAVE; STag_graphxml_node();graphxml_pcdata = NULL; ENTER(E_graphxml_node); } YY_BREAK -case 32: +case 42: YY_RULE_SETUP -#line 343 "xbt/graphxml.l" +#line 373 "xbt/graphxml.l" { - if (!A_node_name) FAIL("Required attribute `name' not set for `node' element."); - LEAVE; STag_node(); pcdata = NULL; ETag_node(); + if (!A_graphxml_node_name) FAIL("Required attribute `name' not set for `node' element."); + LEAVE; STag_graphxml_node(); graphxml_pcdata = NULL; ETag_graphxml_node(); switch (YY_START) { - case S_graph_2: case S_graph_3: case S_graph: SET(S_graph_3); break; - case ROOT_node: SET(EPILOG); break; + case S_graphxml_graph_2: case S_graphxml_graph_3: case S_graphxml_graph: SET(S_graphxml_graph_3); break; + case ROOT_graphxml_node: SET(EPILOG); break; } } YY_BREAK -case 33: +case 43: YY_RULE_SETUP -#line 351 "xbt/graphxml.l" +#line 381 "xbt/graphxml.l" FAIL("Unexpected character `%c' in attribute list of node element.", xbt_graph_parse_text[0]); YY_BREAK -case 34: +case 44: YY_RULE_SETUP -#line 352 "xbt/graphxml.l" +#line 382 "xbt/graphxml.l" FAIL("Bad attribute `%s' in `node' element start tag.",xbt_graph_parse_text); YY_BREAK -case YY_STATE_EOF(AL_node): -#line 353 "xbt/graphxml.l" +case YY_STATE_EOF(AL_graphxml_node): +#line 383 "xbt/graphxml.l" FAIL("EOF in attribute list of `node' element."); YY_BREAK -case 35: -/* rule 35 can match eol */ +case 45: +/* rule 45 can match eol */ YY_RULE_SETUP -#line 357 "xbt/graphxml.l" +#line 387 "xbt/graphxml.l" { LEAVE; - ETag_node(); + ETag_graphxml_node(); switch (YY_START) { - case S_graph_2: case S_graph_3: case S_graph: SET(S_graph_3); break; - case ROOT_node: SET(EPILOG); break; + case S_graphxml_graph_2: case S_graphxml_graph_3: case S_graphxml_graph: SET(S_graphxml_graph_3); break; + case ROOT_graphxml_node: SET(EPILOG); break; } } YY_BREAK -case 36: -/* rule 36 can match eol */ +case 46: +/* rule 46 can match eol */ YY_RULE_SETUP -#line 365 "xbt/graphxml.l" +#line 395 "xbt/graphxml.l" FAIL("Unexpected end-tag `%s': `' expected.",xbt_graph_parse_text); YY_BREAK -case 37: +case 47: YY_RULE_SETUP -#line 366 "xbt/graphxml.l" +#line 396 "xbt/graphxml.l" FAIL("Unexpected character `%c': `' expected.",xbt_graph_parse_text[0]); YY_BREAK -case YY_STATE_EOF(E_node): -#line 367 "xbt/graphxml.l" +case YY_STATE_EOF(E_graphxml_node): +#line 397 "xbt/graphxml.l" FAIL("Premature EOF: `' expected."); YY_BREAK /* label CDATA "" - * name CDATA #IMPLIED - * source CDATA #REQUIRED - * target CDATA #REQUIRED - * isDirected (true|false) "true" + * name CDATA #IMPLIED + * source CDATA #REQUIRED + * target CDATA #REQUIRED + * length CDATA "-1.0" + * data CDATA "" * > */ -case 38: -/* rule 38 can match eol */ +case 48: +/* rule 48 can match eol */ YY_RULE_SETUP -#line 377 "xbt/graphxml.l" +#line 408 "xbt/graphxml.l" { - A_edge_label = NULL; - A_edge_name = NULL; - A_edge_source = NULL; - A_edge_target = NULL; - A_edge_isDirected = A_edge_isDirected_true; - ENTER(AL_edge); + A_graphxml_edge_label = NULL; + A_graphxml_edge_name = NULL; + A_graphxml_edge_source = NULL; + A_graphxml_edge_target = NULL; + A_graphxml_edge_length = "-1.0"; + A_graphxml_edge_data = NULL; + ENTER(AL_graphxml_edge); } YY_BREAK -case 39: -/* rule 39 can match eol */ +case 49: +/* rule 49 can match eol */ YY_RULE_SETUP -#line 387 "xbt/graphxml.l" -ENTER(VALUE1); BUFFERSET(A_edge_label); +#line 419 "xbt/graphxml.l" +ENTER(VALUE1); BUFFERSET(A_graphxml_edge_label); YY_BREAK -case 40: -/* rule 40 can match eol */ +case 50: +/* rule 50 can match eol */ YY_RULE_SETUP -#line 388 "xbt/graphxml.l" -ENTER(VALUE2); BUFFERSET(A_edge_label); +#line 420 "xbt/graphxml.l" +ENTER(VALUE2); BUFFERSET(A_graphxml_edge_label); YY_BREAK -case 41: -/* rule 41 can match eol */ +case 51: +/* rule 51 can match eol */ YY_RULE_SETUP -#line 390 "xbt/graphxml.l" -ENTER(VALUE1); BUFFERSET(A_edge_name); +#line 422 "xbt/graphxml.l" +ENTER(VALUE1); BUFFERSET(A_graphxml_edge_name); YY_BREAK -case 42: -/* rule 42 can match eol */ +case 52: +/* rule 52 can match eol */ YY_RULE_SETUP -#line 391 "xbt/graphxml.l" -ENTER(VALUE2); BUFFERSET(A_edge_name); +#line 423 "xbt/graphxml.l" +ENTER(VALUE2); BUFFERSET(A_graphxml_edge_name); YY_BREAK -case 43: -/* rule 43 can match eol */ +case 53: +/* rule 53 can match eol */ YY_RULE_SETUP -#line 393 "xbt/graphxml.l" -ENTER(VALUE1); BUFFERSET(A_edge_source); +#line 425 "xbt/graphxml.l" +ENTER(VALUE1); BUFFERSET(A_graphxml_edge_source); YY_BREAK -case 44: -/* rule 44 can match eol */ +case 54: +/* rule 54 can match eol */ YY_RULE_SETUP -#line 394 "xbt/graphxml.l" -ENTER(VALUE2); BUFFERSET(A_edge_source); +#line 426 "xbt/graphxml.l" +ENTER(VALUE2); BUFFERSET(A_graphxml_edge_source); YY_BREAK -case 45: -/* rule 45 can match eol */ +case 55: +/* rule 55 can match eol */ YY_RULE_SETUP -#line 396 "xbt/graphxml.l" -ENTER(VALUE1); BUFFERSET(A_edge_target); +#line 428 "xbt/graphxml.l" +ENTER(VALUE1); BUFFERSET(A_graphxml_edge_target); YY_BREAK -case 46: -/* rule 46 can match eol */ +case 56: +/* rule 56 can match eol */ YY_RULE_SETUP -#line 397 "xbt/graphxml.l" -ENTER(VALUE2); BUFFERSET(A_edge_target); +#line 429 "xbt/graphxml.l" +ENTER(VALUE2); BUFFERSET(A_graphxml_edge_target); YY_BREAK -case 47: -/* rule 47 can match eol */ -#line 400 "xbt/graphxml.l" -case 48: -/* rule 48 can match eol */ +case 57: +/* rule 57 can match eol */ YY_RULE_SETUP -#line 400 "xbt/graphxml.l" -A_edge_isDirected = A_edge_isDirected_true; +#line 431 "xbt/graphxml.l" +ENTER(VALUE1); BUFFERSET(A_graphxml_edge_length); YY_BREAK -case 49: -/* rule 49 can match eol */ -#line 402 "xbt/graphxml.l" -case 50: -/* rule 50 can match eol */ +case 58: +/* rule 58 can match eol */ YY_RULE_SETUP -#line 402 "xbt/graphxml.l" -A_edge_isDirected = A_edge_isDirected_false; +#line 432 "xbt/graphxml.l" +ENTER(VALUE2); BUFFERSET(A_graphxml_edge_length); YY_BREAK -case 51: +case 59: +/* rule 59 can match eol */ YY_RULE_SETUP -#line 404 "xbt/graphxml.l" +#line 434 "xbt/graphxml.l" +ENTER(VALUE1); BUFFERSET(A_graphxml_edge_data); + YY_BREAK +case 60: +/* rule 60 can match eol */ +YY_RULE_SETUP +#line 435 "xbt/graphxml.l" +ENTER(VALUE2); BUFFERSET(A_graphxml_edge_data); + YY_BREAK +case 61: +YY_RULE_SETUP +#line 437 "xbt/graphxml.l" { - if (!A_edge_source) FAIL("Required attribute `source' not set for `edge' element."); - if (!A_edge_target) FAIL("Required attribute `target' not set for `edge' element."); - LEAVE; STag_edge();pcdata = NULL; ENTER(E_edge); + if (!A_graphxml_edge_source) FAIL("Required attribute `source' not set for `edge' element."); + if (!A_graphxml_edge_target) FAIL("Required attribute `target' not set for `edge' element."); + LEAVE; STag_graphxml_edge();graphxml_pcdata = NULL; ENTER(E_graphxml_edge); } YY_BREAK -case 52: +case 62: YY_RULE_SETUP -#line 409 "xbt/graphxml.l" +#line 442 "xbt/graphxml.l" { - if (!A_edge_source) FAIL("Required attribute `source' not set for `edge' element."); - if (!A_edge_target) FAIL("Required attribute `target' not set for `edge' element."); - LEAVE; STag_edge(); pcdata = NULL; ETag_edge(); + if (!A_graphxml_edge_source) FAIL("Required attribute `source' not set for `edge' element."); + if (!A_graphxml_edge_target) FAIL("Required attribute `target' not set for `edge' element."); + LEAVE; STag_graphxml_edge(); graphxml_pcdata = NULL; ETag_graphxml_edge(); switch (YY_START) { - case S_graph_1: case S_graph_3: case S_graph_5: case S_graph_4: case S_graph: SET(S_graph_5); break; - case ROOT_edge: SET(EPILOG); break; + case S_graphxml_graph_1: case S_graphxml_graph_3: case S_graphxml_graph_5: case S_graphxml_graph_4: case S_graphxml_graph: SET(S_graphxml_graph_5); break; + case ROOT_graphxml_edge: SET(EPILOG); break; } } YY_BREAK -case 53: +case 63: YY_RULE_SETUP -#line 418 "xbt/graphxml.l" +#line 451 "xbt/graphxml.l" FAIL("Unexpected character `%c' in attribute list of edge element.", xbt_graph_parse_text[0]); YY_BREAK -case 54: +case 64: YY_RULE_SETUP -#line 419 "xbt/graphxml.l" +#line 452 "xbt/graphxml.l" FAIL("Bad attribute `%s' in `edge' element start tag.",xbt_graph_parse_text); YY_BREAK -case YY_STATE_EOF(AL_edge): -#line 420 "xbt/graphxml.l" +case YY_STATE_EOF(AL_graphxml_edge): +#line 453 "xbt/graphxml.l" FAIL("EOF in attribute list of `edge' element."); YY_BREAK -case 55: -/* rule 55 can match eol */ +case 65: +/* rule 65 can match eol */ YY_RULE_SETUP -#line 424 "xbt/graphxml.l" +#line 457 "xbt/graphxml.l" { LEAVE; - ETag_edge(); + ETag_graphxml_edge(); switch (YY_START) { - case S_graph_1: case S_graph_3: case S_graph_5: case S_graph_4: case S_graph: SET(S_graph_5); break; - case ROOT_edge: SET(EPILOG); break; + case S_graphxml_graph_1: case S_graphxml_graph_3: case S_graphxml_graph_5: case S_graphxml_graph_4: case S_graphxml_graph: SET(S_graphxml_graph_5); break; + case ROOT_graphxml_edge: SET(EPILOG); break; } } YY_BREAK -case 56: -/* rule 56 can match eol */ +case 66: +/* rule 66 can match eol */ YY_RULE_SETUP -#line 432 "xbt/graphxml.l" +#line 465 "xbt/graphxml.l" FAIL("Unexpected end-tag `%s': `' expected.",xbt_graph_parse_text); YY_BREAK -case 57: +case 67: YY_RULE_SETUP -#line 433 "xbt/graphxml.l" +#line 466 "xbt/graphxml.l" FAIL("Unexpected character `%c': `' expected.",xbt_graph_parse_text[0]); YY_BREAK -case YY_STATE_EOF(E_edge): -#line 434 "xbt/graphxml.l" +case YY_STATE_EOF(E_graphxml_edge): +#line 467 "xbt/graphxml.l" FAIL("Premature EOF: `' expected."); YY_BREAK /* EPILOG: after the root element. */ -case 58: +case 68: YY_RULE_SETUP -#line 440 "xbt/graphxml.l" +#line 473 "xbt/graphxml.l" {SET(PROLOG); yyless(0); CLEANUP; return -1;} YY_BREAK case YY_STATE_EOF(EPILOG): -#line 441 "xbt/graphxml.l" +#line 474 "xbt/graphxml.l" SUCCEED; YY_BREAK /* CHARACTER DATA. */ /* Non-defined standard entities... */ -case 59: +case 69: YY_RULE_SETUP -#line 448 "xbt/graphxml.l" +#line 481 "xbt/graphxml.l" BUFFERPUTC('&'); YY_BREAK -case 60: +case 70: YY_RULE_SETUP -#line 449 "xbt/graphxml.l" +#line 482 "xbt/graphxml.l" BUFFERPUTC('<'); YY_BREAK -case 61: +case 71: YY_RULE_SETUP -#line 450 "xbt/graphxml.l" +#line 483 "xbt/graphxml.l" BUFFERPUTC('>'); YY_BREAK -case 62: +case 72: YY_RULE_SETUP -#line 451 "xbt/graphxml.l" +#line 484 "xbt/graphxml.l" BUFFERPUTC('\''); YY_BREAK -case 63: +case 73: YY_RULE_SETUP -#line 452 "xbt/graphxml.l" +#line 485 "xbt/graphxml.l" BUFFERPUTC('"'); YY_BREAK /* Character entities. */ -case 64: +case 74: YY_RULE_SETUP -#line 455 "xbt/graphxml.l" +#line 488 "xbt/graphxml.l" BUFFERPUTC((unsigned char)atoi(xbt_graph_parse_text+2)); YY_BREAK -case 65: +case 75: YY_RULE_SETUP -#line 456 "xbt/graphxml.l" +#line 489 "xbt/graphxml.l" BUFFERPUTC((unsigned char)strtol(xbt_graph_parse_text+3,NULL,16)); YY_BREAK -case 66: -/* rule 66 can match eol */ -#line 461 "xbt/graphxml.l" -case 67: -/* rule 67 can match eol */ -#line 462 "xbt/graphxml.l" -case 68: -/* rule 68 can match eol */ -#line 463 "xbt/graphxml.l" -case 69: -/* rule 69 can match eol */ +case 76: +/* rule 76 can match eol */ +#line 494 "xbt/graphxml.l" +case 77: +/* rule 77 can match eol */ +#line 495 "xbt/graphxml.l" +case 78: +/* rule 78 can match eol */ +#line 496 "xbt/graphxml.l" +case 79: +/* rule 79 can match eol */ YY_RULE_SETUP -#line 463 "xbt/graphxml.l" +#line 496 "xbt/graphxml.l" BUFFERPUTC('\n'); YY_BREAK -case 70: +case 80: YY_RULE_SETUP -#line 467 "xbt/graphxml.l" +#line 500 "xbt/graphxml.l" ENTER(CDATA); YY_BREAK -case 71: +case 81: YY_RULE_SETUP -#line 468 "xbt/graphxml.l" +#line 501 "xbt/graphxml.l" FAIL("Unexpected `]""]>' in character data."); YY_BREAK -case 72: +case 82: YY_RULE_SETUP -#line 472 "xbt/graphxml.l" +#line 505 "xbt/graphxml.l" BUFFERDONE; LEAVE; YY_BREAK case YY_STATE_EOF(VALUE1): -#line 473 "xbt/graphxml.l" +#line 506 "xbt/graphxml.l" FAIL("EOF in literal (\"'\" expected)."); YY_BREAK -case 73: +case 83: YY_RULE_SETUP -#line 477 "xbt/graphxml.l" +#line 510 "xbt/graphxml.l" BUFFERDONE; LEAVE; YY_BREAK case YY_STATE_EOF(VALUE2): -#line 478 "xbt/graphxml.l" +#line 511 "xbt/graphxml.l" FAIL("EOF in literal (`\"' expected)."); YY_BREAK -case 74: -/* rule 74 can match eol */ +case 84: +/* rule 84 can match eol */ YY_RULE_SETUP -#line 482 "xbt/graphxml.l" +#line 515 "xbt/graphxml.l" BUFFERPUTC(xbt_graph_parse_text[0]); YY_BREAK -case 75: +case 85: YY_RULE_SETUP -#line 483 "xbt/graphxml.l" +#line 516 "xbt/graphxml.l" FAIL("Spurious `%c' in character data.",xbt_graph_parse_text[0]); YY_BREAK -case 76: +case 86: YY_RULE_SETUP -#line 487 "xbt/graphxml.l" +#line 520 "xbt/graphxml.l" LEAVE; YY_BREAK /* "]""]" BUFFERPUTC(xbt_graph_parse_text[0]); BUFFERPUTC(xbt_graph_parse_text[1]); */ -case 77: +case 87: YY_RULE_SETUP -#line 489 "xbt/graphxml.l" +#line 522 "xbt/graphxml.l" BUFFERPUTC(xbt_graph_parse_text[0]); YY_BREAK case YY_STATE_EOF(CDATA): -#line 490 "xbt/graphxml.l" +#line 523 "xbt/graphxml.l" FAIL("EOF in CDATA section."); YY_BREAK @@ -2029,25 +2168,25 @@ FAIL("EOF in CDATA section."); /* Ideally, this should be replaced by code in flexml.pl that generates just the states not covered by other rules. */ -case 78: -/* rule 78 can match eol */ +case 88: +/* rule 88 can match eol */ YY_RULE_SETUP -#line 497 "xbt/graphxml.l" +#line 530 "xbt/graphxml.l" FAIL("Syntax error on character `%c'.", xbt_graph_parse_text[0]); YY_BREAK -case 79: +case 89: YY_RULE_SETUP -#line 500 "xbt/graphxml.l" +#line 533 "xbt/graphxml.l" ECHO; YY_BREAK -#line 2045 "xbt/graphxml.c" +#line 2165 "xbt/graphxml.c" case YY_STATE_EOF(INITIAL): -case YY_STATE_EOF(ROOT_graph): -case YY_STATE_EOF(S_graph_2): -case YY_STATE_EOF(S_graph_4): -case YY_STATE_EOF(ROOT_node): -case YY_STATE_EOF(ROOT_edge): +case YY_STATE_EOF(ROOT_graphxml_graph): +case YY_STATE_EOF(S_graphxml_graph_2): +case YY_STATE_EOF(S_graphxml_graph_4): +case YY_STATE_EOF(ROOT_graphxml_node): +case YY_STATE_EOF(ROOT_graphxml_edge): case YY_STATE_EOF(IMPOSSIBLE): yyterminate(); @@ -2233,7 +2372,7 @@ static int yy_get_next_buffer (void) else { - size_t num_to_read = + int num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; while ( num_to_read <= 0 ) @@ -2331,7 +2470,7 @@ static int yy_get_next_buffer (void) while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 497 ) + if ( yy_current_state >= 546 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; @@ -2359,11 +2498,11 @@ static int yy_get_next_buffer (void) while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 497 ) + if ( yy_current_state >= 546 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - yy_is_jam = (yy_current_state == 496); + yy_is_jam = (yy_current_state == 545); return yy_is_jam ? 0 : yy_current_state; } @@ -3018,12 +3157,12 @@ void xbt_graph_parse_free (void * ptr ) #undef YY_DECL_IS_OURS #undef YY_DECL #endif -#line 500 "xbt/graphxml.l" +#line 533 "xbt/graphxml.l" /* Element context stack lookup. */ -int grahxml_element_context(int i) +int graphxml_element_context(int i) { return (0