-#line 2 "xbt/graphxml.c"
-#line 4 "xbt/graphxml.c"
+#line 3 "src/xbt/graphxml.c"
#define YY_INT_ALIGNED short int
/* A lexical scanner generated by flex */
+#define yy_create_buffer xbt_graph_parse__create_buffer
+#define yy_delete_buffer xbt_graph_parse__delete_buffer
+#define yy_flex_debug xbt_graph_parse__flex_debug
+#define yy_init_buffer xbt_graph_parse__init_buffer
+#define yy_flush_buffer xbt_graph_parse__flush_buffer
+#define yy_load_buffer_state xbt_graph_parse__load_buffer_state
+#define yy_switch_to_buffer xbt_graph_parse__switch_to_buffer
+#define yyin xbt_graph_parse_in
+#define yyleng xbt_graph_parse_leng
+#define yylex xbt_graph_parse_lex
+#define yylineno xbt_graph_parse_lineno
+#define yyout xbt_graph_parse_out
+#define yyrestart xbt_graph_parse_restart
+#define yytext xbt_graph_parse_text
+#define yywrap xbt_graph_parse_wrap
+#define yyalloc xbt_graph_parse_alloc
+#define yyrealloc xbt_graph_parse_realloc
+#define yyfree xbt_graph_parse_free
+
#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2
#define YY_FLEX_MINOR_VERSION 5
-#define YY_FLEX_SUBMINOR_VERSION 33
+#define YY_FLEX_SUBMINOR_VERSION 39
#if YY_FLEX_SUBMINOR_VERSION > 0
#define FLEX_BETA
#endif
/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
-#if __STDC_VERSION__ >= 199901L
+#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
* if you want the limit (max/min) macros for int types.
typedef unsigned char flex_uint8_t;
typedef unsigned short int flex_uint16_t;
typedef unsigned int flex_uint32_t;
-#endif /* ! C99 */
/* Limits of integral types. */
#ifndef INT8_MIN
#define UINT32_MAX (4294967295U)
#endif
+#endif /* ! C99 */
+
#endif /* ! FLEXINT_H */
#ifdef __cplusplus
#else /* ! __cplusplus */
-#if __STDC__
+/* C99 requires __STDC__ to be defined as 1. */
+#if defined (__STDC__)
#define YY_USE_CONST
-#endif /* __STDC__ */
+#endif /* defined (__STDC__) */
#endif /* ! __cplusplus */
#ifdef YY_USE_CONST
/* Size of default input buffer. */
#ifndef YY_BUF_SIZE
+#ifdef __ia64__
+/* On IA-64, the buffer size is 16k, not 8k.
+ * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
+ * Ditto for the __ia64__ case accordingly.
+ */
+#define YY_BUF_SIZE 32768
+#else
#define YY_BUF_SIZE 16384
+#endif /* __ia64__ */
#endif
/* The state buf must be large enough to hold one state per character in the main buffer.
typedef struct yy_buffer_state *YY_BUFFER_STATE;
#endif
-extern int xbt_graph_parse_leng;
+#ifndef YY_TYPEDEF_YY_SIZE_T
+#define YY_TYPEDEF_YY_SIZE_T
+typedef size_t yy_size_t;
+#endif
+
+extern yy_size_t xbt_graph_parse_leng;
extern FILE *xbt_graph_parse_in, *xbt_graph_parse_out;
* existing scanners that call yyless() from OUTSIDE xbt_graph_parse_lex.
* One obvious solution it to make yy_act a global. I tried that, and saw
* a 5% performance hit in a non-xbt_graph_parse_lineno scanner, because yy_act is
- * normally declared as a register variable-- so it is not worth it.
+ * normally declared as a variable-- so it is not worth it.
*/
#define YY_LESS_LINENO(n) \
do { \
- int yyl;\
+ unsigned int yyl;\
for ( yyl = n; yyl < xbt_graph_parse_leng; ++yyl )\
if ( xbt_graph_parse_text[yyl] == '\n' )\
--xbt_graph_parse_lineno;\
}while(0)
+ #define YY_LINENO_REWIND_TO(dst) \
+ do {\
+ const char *p;\
+ for ( p = yy_cp-1; p >= (dst); --p)\
+ if ( *p == '\n' )\
+ --xbt_graph_parse_lineno;\
+ }while(0)
/* Return all but the first "n" matched characters back to the input stream. */
#define yyless(n) \
#define unput(c) yyunput( c, (yytext_ptr) )
-/* The following is because we cannot portably get our hands on size_t
- * (without autoconf's help, which isn't available because we want
- * flex-generated scanners to compile on their own).
- */
-
-#ifndef YY_TYPEDEF_YY_SIZE_T
-#define YY_TYPEDEF_YY_SIZE_T
-typedef unsigned int yy_size_t;
-#endif
-
#ifndef YY_STRUCT_YY_BUFFER_STATE
#define YY_STRUCT_YY_BUFFER_STATE
struct yy_buffer_state
/* Number of characters read into yy_ch_buf, not including EOB
* characters.
*/
- int yy_n_chars;
+ yy_size_t yy_n_chars;
/* Whether we "own" the buffer - i.e., we know we created it,
* and can realloc() it to grow it, and should free() it to
/* yy_hold_char holds the character lost when xbt_graph_parse_text is formed. */
static char yy_hold_char;
-static int yy_n_chars; /* number of characters read into yy_ch_buf */
-int xbt_graph_parse_leng;
+static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */
+yy_size_t xbt_graph_parse_leng;
/* Points to current character in buffer. */
static char *yy_c_buf_p = (char *) 0;
YY_BUFFER_STATE xbt_graph_parse__scan_buffer (char *base,yy_size_t size );
YY_BUFFER_STATE xbt_graph_parse__scan_string (yyconst char *yy_str );
-YY_BUFFER_STATE xbt_graph_parse__scan_bytes (yyconst char *bytes,int len );
+YY_BUFFER_STATE xbt_graph_parse__scan_bytes (yyconst char *bytes,yy_size_t len );
void *xbt_graph_parse_alloc (yy_size_t );
void *xbt_graph_parse_realloc (void *,yy_size_t );
*yy_cp = '\0'; \
(yy_c_buf_p) = yy_cp;
-#define YY_NUM_RULES 79
-#define YY_END_OF_BUFFER 80
+#define YY_NUM_RULES 92
+#define YY_END_OF_BUFFER 93
/* This struct is not used in this scanner,
but its presence is necessary. */
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[564] =
{ 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,
+ 93, 91, 17, 10, 10, 17, 17, 71, 10, 71,
+ 5, 6, 5, 8, 9, 8, 87, 79, 80, 88,
+ 85, 88, 86, 90, 79, 80, 90, 91, 34, 10,
+ 34, 34, 34, 32, 34, 34, 34, 34, 34, 38,
+ 10, 38, 91, 47, 10, 47, 47, 47, 45, 47,
+
+ 51, 10, 51, 51, 91, 91, 51, 91, 66, 10,
+ 66, 66, 66, 64, 66, 66, 66, 66, 70, 10,
+ 70, 88, 87, 10, 0, 2, 2, 0, 4, 7,
+ 82, 81, 0, 0, 0, 0, 0, 0, 0, 33,
+ 35, 35, 35, 35, 35, 35, 35, 0, 0, 46,
+ 48, 48, 0, 0, 0, 0, 0, 65, 67, 67,
+ 67, 67, 67, 0, 0, 0, 0, 0, 0, 0,
+ 3, 0, 0, 0, 0, 0, 0, 0, 89, 0,
+ 35, 35, 35, 35, 35, 35, 0, 0, 0, 48,
+ 0, 0, 0, 0, 0, 0, 67, 67, 67, 67,
+
+ 0, 0, 0, 84, 0, 16, 1, 0, 0, 77,
+ 0, 0, 0, 74, 73, 0, 0, 35, 35, 35,
+ 35, 35, 35, 0, 0, 37, 0, 0, 48, 0,
+ 0, 50, 0, 0, 0, 0, 0, 67, 67, 67,
+ 67, 0, 0, 69, 0, 0, 0, 0, 78, 72,
+ 0, 0, 19, 0, 0, 35, 35, 0, 0, 35,
+ 35, 0, 0, 48, 0, 0, 53, 52, 18, 0,
+ 0, 67, 0, 0, 67, 0, 0, 0, 0, 0,
+ 12, 0, 75, 76, 19, 0, 21, 20, 0, 0,
+ 35, 0, 27, 26, 35, 35, 0, 40, 48, 0,
+
+ 39, 53, 52, 18, 0, 55, 54, 0, 0, 0,
+ 59, 58, 67, 0, 0, 0, 0, 0, 11, 0,
+ 23, 22, 0, 0, 0, 0, 0, 0, 0, 36,
+ 40, 48, 0, 39, 0, 57, 56, 67, 0, 68,
+ 0, 0, 0, 0, 0, 25, 24, 0, 29, 28,
+ 0, 31, 30, 48, 0, 49, 67, 0, 0, 0,
+ 0, 48, 67, 83, 0, 0, 0, 48, 67, 67,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 61, 60, 0, 63, 62, 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, 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, 12, 0, 12, 0, 0, 42, 0,
+ 41, 0, 0, 0, 0, 0, 0, 0, 44, 43,
+ 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, 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, 13, 0, 0, 15,
+ 0, 14, 0
} ;
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,
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[594] =
{ 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, 0, 73, 76, 147, 150, 166, 208, 184, 187,
+ 190, 226, 229, 232, 249, 252, 255, 258, 273, 276,
+ 279, 282, 297, 300, 316, 0, 370, 373, 375, 377,
+ 1585, 1586, 1586, 153, 156, 47, 62, 1586, 303, 244,
+ 1586, 1586, 1574, 1586, 1586, 1565, 1586, 1578, 1578, 377,
+ 1586, 1586, 1586, 1586, 1576, 1576, 1546, 377, 1586, 306,
+ 1559, 0, 268, 1586, 1542, 1, 1541, 1528, 1539, 1586,
+ 395, 382, 383, 1586, 401, 1554, 0, 292, 1586, 1521,
+
+ 1586, 410, 414, 417, 405, 411, 423, 387, 1586, 435,
+ 1552, 0, 422, 1586, 1535, 1534, 1533, 1520, 1586, 444,
+ 448, 1560, 1532, 462, 34, 1509, 1586, 1552, 1543, 1586,
+ 1586, 1586, 148, 38, 1509, 1508, 1506, 1539, 1519, 1586,
+ 0, 1504, 1519, 1508, 1508, 1499, 1501, 1511, 1499, 1586,
+ 0, 1524, 1506, 1496, 1498, 1497, 1505, 1586, 0, 1490,
+ 1505, 1495, 1488, 1492, 1505, 1517, 1516, 1523, 178, 1488,
+ 1586, 75, 0, 1484, 1484, 1514, 1513, 1481, 1586, 1486,
+ 1491, 1486, 1483, 1484, 1472, 1480, 467, 470, 1485, 1476,
+ 473, 476, 1483, 1479, 1478, 1474, 1479, 1474, 1473, 1468,
+
+ 479, 496, 1487, 1586, 1490, 1586, 1586, 177, 1464, 1586,
+ 1491, 1490, 1454, 1586, 1586, 1452, 1464, 499, 1458, 1449,
+ 502, 1463, 1392, 506, 509, 1586, 518, 1382, 1370, 526,
+ 529, 1586, 535, 1369, 1375, 1372, 1365, 546, 1355, 553,
+ 1342, 557, 562, 1586, 569, 1288, 466, 574, 1586, 1586,
+ 1295, 1293, 579, 582, 592, 586, 1266, 605, 608, 1268,
+ 1253, 616, 1262, 1263, 621, 1259, 624, 627, 633, 638,
+ 641, 649, 654, 658, 1237, 670, 1245, 505, 1244, 673,
+ 1586, 1239, 1586, 1586, 676, 680, 1586, 1586, 690, 693,
+ 701, 710, 1586, 1586, 718, 721, 725, 728, 1136, 737,
+
+ 742, 745, 748, 754, 757, 1586, 1586, 765, 768, 777,
+ 1586, 1586, 1097, 785, 1111, 32, 162, 226, 1586, 788,
+ 1586, 1586, 796, 802, 812, 815, 823, 828, 839, 1586,
+ 842, 1053, 845, 848, 852, 1586, 1586, 1030, 862, 1586,
+ 1004, 219, 252, 220, 865, 1586, 1586, 873, 1586, 1586,
+ 881, 1586, 1586, 943, 889, 1586, 938, 929, 892, 248,
+ 390, 912, 110, 1586, 895, 204, 249, 898, 901, 917,
+ 275, 372, 440, 254, 469, 920, 923, 939, 942, 950,
+ 955, 478, 400, 508, 472, 522, 966, 495, 523, 974,
+ 1586, 1586, 982, 1586, 1586, 595, 550, 631, 598, 990,
+
+ 878, 824, 838, 761, 993, 561, 996, 999, 1002, 1019,
+ 750, 723, 694, 684, 1027, 1030, 1036, 1039, 1056, 1064,
+ 1082, 1114, 684, 695, 554, 516, 680, 1074, 724, 1132,
+ 747, 534, 1150, 1182, 455, 486, 451, 435, 523, 746,
+ 587, 767, 228, 389, 582, 305, 1077, 199, 1586, 192,
+ 1586, 603, 672, 630, 156, 68, 75, 1106, 1586, 1586,
+ 663, 688, 691, 5, 645, 777, 784, 1586, 1145, 810,
+ 1174, 1200, 1208, 1213, 744, 820, 1221, 841, 868, 382,
+ 804, 871, 888, 821, 860, 667, 778, 898, 913, 789,
+ 802, 815, 870, 896, 921, 918, 932, 948, 969, 997,
+
+ 1000, 972, 994, 920, 955, 1008, 1009, 1018, 1051, 1093,
+ 1152, 1053, 1085, 1161, 1177, 272, 1189, 1190, 1202, 1210,
+ 1211, 1035, 1153, 1215, 1217, 1162, 1225, 628, 945, 1226,
+ 1227, 1075, 1088, 1109, 1110, 1156, 1222, 1124, 1223, 1224,
+ 1229, 1230, 1231, 1232, 1233, 1045, 1043, 1234, 1238, 1249,
+ 1254, 1274, 1262, 1255, 1281, 1284, 1586, 1287, 1291, 1586,
+ 1294, 1586, 1586, 1312, 1319, 1326, 1333, 1340, 1347, 1354,
+ 1361, 1368, 1375, 1382, 1387, 1392, 1397, 1404, 1407, 1410,
+ 1413, 1420, 1424, 1430, 1436, 1442, 1449, 1456, 1463, 1470,
+ 1477, 1484, 1491
+
} ;
-static yyconst flex_int16_t yy_def[527] =
+static yyconst flex_int16_t yy_def[594] =
{ 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
+ 564, 564, 565, 565, 565, 565, 566, 566, 567, 567,
+ 568, 568, 569, 569, 569, 569, 570, 570, 564, 564,
+ 563, 21, 571, 571, 564, 564, 572, 572, 573, 573,
+ 573, 573, 564, 564, 573, 573, 564, 564, 573, 573,
+ 573, 573, 564, 564, 563, 45, 574, 574, 569, 569,
+ 563, 563, 563, 563, 563, 563, 563, 563, 563, 563,
+ 563, 563, 563, 563, 563, 563, 563, 563, 563, 563,
+ 563, 563, 563, 563, 563, 563, 563, 563, 563, 563,
+ 563, 575, 563, 563, 575, 575, 575, 575, 575, 563,
+ 563, 563, 563, 563, 563, 563, 576, 563, 563, 576,
+
+ 563, 563, 563, 563, 563, 563, 563, 563, 563, 563,
+ 563, 577, 563, 563, 577, 577, 577, 577, 563, 563,
+ 563, 563, 563, 563, 578, 563, 563, 563, 563, 563,
+ 563, 563, 563, 563, 563, 563, 563, 563, 563, 563,
+ 575, 575, 575, 575, 575, 575, 575, 579, 563, 563,
+ 576, 576, 580, 563, 563, 563, 563, 563, 577, 577,
+ 577, 577, 577, 581, 563, 563, 582, 563, 582, 563,
+ 563, 563, 583, 563, 563, 563, 563, 563, 563, 563,
+ 575, 575, 575, 575, 575, 575, 584, 584, 563, 576,
+ 585, 585, 563, 563, 563, 563, 577, 577, 577, 577,
+
+ 586, 586, 563, 563, 582, 563, 563, 582, 563, 563,
+ 583, 563, 563, 563, 563, 563, 563, 575, 575, 575,
+ 575, 575, 575, 563, 584, 563, 584, 563, 576, 563,
+ 585, 563, 585, 563, 563, 563, 563, 577, 577, 577,
+ 577, 563, 586, 563, 586, 563, 582, 587, 563, 563,
+ 563, 563, 563, 563, 563, 575, 575, 563, 563, 575,
+ 575, 584, 563, 576, 585, 563, 563, 563, 563, 563,
+ 563, 577, 563, 563, 577, 586, 563, 582, 587, 587,
+ 563, 587, 563, 563, 563, 563, 563, 563, 563, 563,
+ 575, 563, 563, 563, 575, 575, 584, 563, 576, 585,
+
+ 563, 563, 563, 563, 563, 563, 563, 563, 563, 563,
+ 563, 563, 577, 586, 563, 582, 587, 587, 563, 563,
+ 563, 563, 563, 563, 563, 563, 563, 563, 563, 563,
+ 563, 576, 585, 563, 563, 563, 563, 577, 563, 563,
+ 563, 582, 587, 587, 563, 563, 563, 563, 563, 563,
+ 563, 563, 563, 576, 563, 563, 577, 563, 582, 587,
+ 587, 576, 577, 563, 582, 587, 587, 576, 577, 577,
+ 582, 582, 582, 587, 587, 563, 563, 563, 563, 563,
+ 563, 582, 582, 582, 587, 587, 563, 563, 563, 563,
+ 563, 563, 563, 563, 563, 582, 582, 582, 587, 587,
+
+ 563, 563, 563, 563, 582, 582, 582, 587, 587, 587,
+ 563, 563, 563, 563, 582, 582, 582, 587, 587, 587,
+ 588, 589, 563, 563, 563, 563, 582, 582, 582, 587,
+ 590, 591, 588, 589, 563, 563, 563, 563, 582, 582,
+ 582, 590, 587, 592, 591, 593, 587, 563, 563, 563,
+ 563, 582, 582, 582, 592, 563, 593, 587, 563, 563,
+ 582, 582, 582, 563, 582, 582, 582, 563, 582, 582,
+ 582, 582, 582, 582, 582, 582, 582, 582, 582, 582,
+ 582, 582, 582, 582, 582, 582, 582, 582, 582, 582,
+ 582, 582, 582, 582, 582, 582, 582, 582, 582, 582,
+
+ 582, 582, 582, 582, 582, 582, 582, 582, 582, 582,
+ 582, 582, 582, 582, 582, 582, 582, 582, 582, 582,
+ 582, 582, 582, 582, 582, 582, 582, 582, 582, 582,
+ 582, 582, 582, 582, 582, 582, 582, 582, 582, 582,
+ 582, 582, 582, 582, 582, 582, 582, 582, 582, 582,
+ 582, 582, 582, 582, 582, 582, 563, 582, 582, 563,
+ 582, 563, 0, 563, 563, 563, 563, 563, 563, 563,
+ 563, 563, 563, 563, 563, 563, 563, 563, 563, 563,
+ 563, 563, 563, 563, 563, 563, 563, 563, 563, 563,
+ 563, 563, 563
+
} ;
-static yyconst flex_int16_t yy_nxt[1479] =
+static yyconst flex_int16_t yy_nxt[1642] =
{ 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
+ 563, 54, 55, 54, 54, 55, 54, 54, 55, 54,
+ 54, 55, 54, 62, 563, 56, 62, 65, 56, 65,
+ 63, 57, 468, 63, 57, 59, 55, 59, 59, 55,
+ 59, 68, 69, 66, 143, 66, 70, 71, 144, 60,
+ 68, 69, 60, 168, 72, 70, 71, 68, 69, 206,
+ 73, 125, 70, 72, 68, 69, 169, 73, 342, 70,
+ 72, 75, 76, 75, 76, 126, 125, 72, 55, 55,
+ 55, 55, 55, 55, 91, 55, 91, 91, 55, 91,
+ 127, 174, 78, 456, 175, 78, 464, 172, 92, 210,
+ 77, 92, 77, 79, 80, 55, 80, 79, 79, 79,
+
+ 79, 79, 79, 79, 81, 79, 82, 79, 83, 79,
+ 84, 79, 82, 82, 82, 82, 82, 82, 82, 82,
+ 82, 82, 82, 79, 79, 82, 82, 82, 82, 85,
+ 82, 82, 82, 82, 82, 86, 82, 87, 82, 82,
+ 82, 82, 88, 89, 82, 82, 82, 82, 55, 55,
+ 55, 55, 55, 55, 124, 124, 124, 124, 124, 124,
+ 172, 456, 93, 369, 370, 93, 94, 95, 55, 95,
+ 94, 94, 94, 94, 94, 94, 94, 96, 94, 281,
+ 94, 98, 94, 99, 94, 102, 55, 102, 102, 55,
+ 102, 102, 55, 102, 206, 206, 94, 94, 247, 103,
+
+ 460, 173, 103, 208, 459, 104, 343, 100, 94, 95,
+ 55, 95, 94, 94, 94, 94, 94, 94, 94, 96,
+ 94, 281, 94, 98, 94, 99, 94, 102, 55, 102,
+ 55, 55, 55, 55, 55, 55, 206, 281, 94, 94,
+ 374, 104, 359, 281, 105, 281, 282, 105, 128, 100,
+ 102, 55, 102, 102, 55, 102, 55, 55, 55, 55,
+ 55, 55, 127, 344, 103, 281, 281, 103, 361, 281,
+ 106, 281, 128, 106, 102, 55, 102, 102, 55, 102,
+ 102, 55, 102, 102, 55, 102, 127, 360, 104, 206,
+ 375, 104, 206, 366, 107, 385, 128, 107, 55, 55,
+
+ 55, 55, 55, 55, 124, 124, 124, 124, 124, 124,
+ 127, 382, 108, 456, 522, 108, 109, 110, 55, 110,
+ 109, 109, 109, 109, 109, 109, 109, 111, 109, 112,
+ 109, 113, 109, 114, 109, 112, 112, 112, 112, 112,
+ 112, 112, 112, 112, 112, 112, 109, 109, 112, 112,
+ 112, 112, 115, 112, 112, 112, 112, 112, 116, 112,
+ 117, 112, 118, 112, 112, 112, 112, 112, 112, 112,
+ 112, 120, 55, 120, 120, 55, 120, 68, 69, 68,
+ 69, 128, 70, 133, 70, 121, 128, 128, 121, 206,
+ 122, 128, 122, 148, 456, 127, 124, 124, 124, 206,
+
+ 127, 127, 124, 124, 124, 127, 123, 281, 123, 128,
+ 134, 124, 124, 124, 139, 128, 135, 206, 128, 136,
+ 383, 128, 149, 127, 137, 153, 128, 128, 153, 127,
+ 486, 155, 127, 397, 153, 127, 124, 124, 124, 367,
+ 127, 127, 157, 451, 154, 124, 124, 124, 139, 155,
+ 154, 139, 128, 154, 139, 156, 154, 206, 155, 164,
+ 157, 156, 154, 124, 124, 124, 127, 156, 224, 224,
+ 224, 224, 224, 224, 230, 230, 230, 230, 230, 230,
+ 242, 242, 242, 206, 226, 384, 281, 226, 450, 281,
+ 232, 449, 448, 232, 278, 206, 244, 242, 242, 242,
+
+ 254, 254, 254, 258, 258, 258, 227, 224, 224, 224,
+ 224, 224, 224, 244, 386, 255, 399, 396, 259, 224,
+ 224, 224, 206, 226, 233, 206, 226, 230, 230, 230,
+ 230, 230, 230, 401, 316, 226, 230, 230, 230, 281,
+ 206, 245, 443, 232, 398, 402, 232, 270, 270, 270,
+ 452, 446, 232, 438, 273, 273, 273, 262, 242, 242,
+ 242, 403, 271, 242, 242, 242, 400, 206, 265, 274,
+ 242, 242, 242, 404, 244, 280, 280, 280, 206, 244,
+ 285, 285, 285, 254, 254, 254, 244, 289, 289, 289,
+ 443, 281, 282, 286, 286, 286, 406, 287, 255, 446,
+
+ 288, 416, 290, 437, 206, 276, 258, 258, 258, 292,
+ 292, 292, 206, 293, 454, 281, 294, 224, 224, 224,
+ 206, 259, 230, 230, 230, 302, 302, 302, 303, 303,
+ 303, 461, 405, 226, 304, 304, 304, 408, 232, 270,
+ 270, 270, 305, 305, 305, 206, 306, 206, 206, 307,
+ 308, 308, 308, 297, 271, 273, 273, 273, 463, 310,
+ 310, 310, 206, 311, 534, 309, 312, 300, 407, 469,
+ 274, 242, 242, 242, 280, 280, 280, 285, 285, 285,
+ 206, 286, 286, 286, 206, 287, 465, 244, 288, 206,
+ 281, 289, 289, 289, 320, 320, 320, 206, 321, 462,
+
+ 492, 322, 323, 323, 323, 206, 290, 314, 206, 439,
+ 317, 292, 292, 292, 467, 293, 466, 324, 294, 325,
+ 325, 325, 327, 327, 327, 318, 329, 329, 329, 331,
+ 331, 331, 436, 435, 326, 426, 425, 328, 230, 230,
+ 230, 206, 330, 334, 334, 334, 302, 302, 302, 303,
+ 303, 303, 443, 441, 232, 304, 304, 304, 305, 305,
+ 305, 206, 306, 206, 444, 307, 308, 308, 308, 335,
+ 335, 335, 443, 336, 424, 453, 337, 333, 310, 310,
+ 310, 309, 311, 480, 444, 312, 339, 339, 339, 320,
+ 320, 320, 423, 321, 206, 206, 322, 323, 323, 323,
+
+ 470, 206, 340, 345, 345, 345, 206, 346, 471, 414,
+ 347, 493, 324, 325, 325, 325, 348, 348, 348, 206,
+ 349, 206, 496, 350, 327, 327, 327, 206, 326, 351,
+ 351, 351, 206, 352, 473, 497, 353, 206, 206, 328,
+ 329, 329, 329, 331, 331, 331, 355, 355, 355, 334,
+ 334, 334, 487, 335, 335, 335, 330, 336, 206, 481,
+ 337, 498, 356, 339, 339, 339, 345, 345, 345, 490,
+ 346, 413, 412, 347, 348, 348, 348, 206, 349, 340,
+ 484, 350, 351, 351, 351, 206, 352, 206, 206, 353,
+ 355, 355, 355, 365, 365, 365, 365, 365, 365, 376,
+
+ 376, 376, 378, 378, 378, 206, 356, 485, 491, 206,
+ 488, 411, 206, 206, 377, 206, 499, 379, 380, 380,
+ 380, 376, 376, 376, 387, 387, 387, 489, 388, 500,
+ 206, 389, 371, 381, 372, 206, 377, 206, 206, 373,
+ 378, 378, 378, 390, 390, 390, 494, 391, 368, 206,
+ 392, 380, 380, 380, 501, 379, 393, 393, 393, 364,
+ 394, 495, 206, 395, 502, 206, 381, 387, 387, 387,
+ 363, 388, 206, 510, 389, 390, 390, 390, 503, 391,
+ 362, 535, 392, 393, 393, 393, 206, 394, 504, 206,
+ 395, 409, 409, 409, 415, 415, 415, 417, 417, 417,
+
+ 418, 418, 418, 409, 409, 409, 410, 281, 511, 505,
+ 206, 206, 508, 206, 206, 419, 281, 206, 410, 281,
+ 420, 420, 420, 358, 421, 206, 206, 422, 415, 415,
+ 415, 428, 428, 428, 509, 206, 281, 417, 417, 417,
+ 418, 418, 418, 506, 206, 528, 507, 206, 512, 513,
+ 552, 552, 206, 206, 427, 419, 281, 430, 430, 430,
+ 206, 431, 206, 429, 432, 420, 420, 420, 206, 421,
+ 206, 514, 422, 281, 357, 428, 428, 428, 458, 458,
+ 458, 281, 279, 279, 279, 279, 279, 279, 279, 279,
+ 279, 206, 206, 279, 281, 282, 279, 279, 279, 281,
+
+ 279, 440, 206, 354, 515, 206, 518, 458, 458, 458,
+ 206, 538, 279, 279, 279, 279, 279, 279, 279, 279,
+ 279, 279, 279, 281, 539, 279, 206, 206, 279, 279,
+ 279, 281, 279, 430, 430, 430, 516, 431, 519, 341,
+ 432, 206, 338, 317, 279, 279, 472, 472, 472, 281,
+ 279, 279, 279, 279, 279, 447, 279, 279, 279, 540,
+ 541, 279, 206, 529, 279, 279, 279, 281, 279, 206,
+ 206, 332, 532, 206, 544, 474, 474, 474, 206, 206,
+ 279, 279, 279, 279, 279, 279, 279, 279, 279, 279,
+ 447, 206, 542, 279, 206, 517, 279, 279, 279, 281,
+
+ 279, 472, 472, 472, 520, 475, 206, 206, 476, 477,
+ 477, 477, 279, 279, 474, 474, 474, 206, 478, 206,
+ 521, 479, 477, 477, 477, 206, 482, 206, 206, 483,
+ 206, 523, 206, 524, 206, 533, 536, 537, 206, 206,
+ 206, 206, 206, 206, 206, 525, 206, 206, 206, 206,
+ 206, 206, 526, 527, 555, 206, 319, 530, 543, 531,
+ 546, 281, 555, 558, 315, 547, 206, 558, 550, 551,
+ 553, 206, 206, 545, 554, 556, 556, 556, 313, 206,
+ 548, 549, 559, 559, 559, 556, 556, 556, 561, 561,
+ 561, 557, 559, 559, 559, 561, 561, 561, 560, 301,
+
+ 299, 557, 298, 296, 562, 295, 291, 284, 560, 283,
+ 277, 562, 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, 90, 90, 90, 90, 90, 90, 90, 97, 97,
+ 97, 97, 97, 97, 97, 101, 101, 101, 101, 101,
+ 101, 101, 119, 119, 119, 119, 119, 119, 119, 141,
+ 141, 141, 275, 141, 151, 151, 151, 272, 151, 159,
+
+ 159, 159, 269, 159, 167, 167, 167, 167, 167, 268,
+ 167, 187, 267, 187, 191, 266, 191, 201, 264, 201,
+ 205, 205, 205, 205, 205, 205, 205, 211, 263, 261,
+ 211, 225, 225, 225, 225, 225, 225, 231, 231, 231,
+ 231, 231, 231, 243, 243, 243, 243, 243, 243, 279,
+ 279, 279, 279, 279, 279, 279, 433, 433, 433, 433,
+ 433, 433, 433, 434, 434, 434, 434, 434, 434, 434,
+ 442, 442, 442, 442, 442, 442, 442, 445, 445, 445,
+ 445, 445, 445, 445, 455, 455, 455, 455, 455, 455,
+ 455, 457, 457, 457, 457, 457, 457, 457, 260, 257,
+
+ 256, 253, 252, 251, 250, 249, 248, 206, 246, 241,
+ 240, 239, 238, 237, 236, 235, 234, 229, 228, 223,
+ 222, 221, 220, 219, 218, 217, 216, 215, 214, 213,
+ 212, 209, 207, 206, 204, 203, 202, 200, 199, 198,
+ 197, 196, 195, 194, 193, 192, 190, 189, 188, 186,
+ 185, 184, 183, 182, 181, 180, 179, 178, 177, 176,
+ 171, 168, 170, 166, 165, 163, 162, 161, 160, 158,
+ 152, 150, 147, 146, 145, 142, 140, 138, 132, 131,
+ 132, 131, 130, 129, 563, 51, 563, 563, 563, 563,
+ 563, 563, 563, 563, 563, 563, 563, 563, 563, 563,
+
+ 563, 563, 563, 563, 563, 563, 563, 563, 563, 563,
+ 563, 563, 563, 563, 563, 563, 563, 563, 563, 563,
+ 563, 563, 563, 563, 563, 563, 563, 563, 563, 563,
+ 563, 563, 563, 563, 563, 563, 563, 563, 563, 563,
+ 563
} ;
-static yyconst flex_int16_t yy_chk[1479] =
+static yyconst flex_int16_t yy_chk[1642] =
{ 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, 464, 10, 6, 7, 7, 7, 8, 8,
+ 8, 13, 13, 11, 86, 12, 13, 13, 86, 7,
+ 14, 14, 8, 125, 13, 14, 14, 15, 15, 316,
+ 15, 56, 15, 14, 16, 16, 125, 16, 316, 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, 134, 19, 457, 134, 20, 456, 172, 23, 172,
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,
- 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,
-
- 365, 41, 376, 376, 42, 383, 381, 43, 270, 365,
- 44, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 21, 21, 21, 21, 21, 21, 21, 21, 21, 21,
+ 21, 21, 21, 21, 21, 21, 21, 21, 21, 21,
+ 21, 21, 21, 21, 21, 21, 21, 21, 21, 21,
+ 21, 21, 21, 21, 21, 21, 21, 21, 21, 21,
+ 21, 21, 21, 21, 21, 21, 21, 21, 25, 25,
+ 25, 26, 26, 26, 54, 54, 54, 55, 55, 55,
+ 133, 455, 25, 363, 363, 26, 27, 27, 27, 27,
+ 27, 27, 27, 27, 27, 27, 27, 27, 27, 317,
+ 27, 27, 27, 27, 27, 29, 29, 29, 30, 30,
+ 30, 31, 31, 31, 208, 169, 27, 27, 208, 29,
+
+ 450, 133, 30, 169, 448, 31, 317, 27, 28, 28,
+ 28, 28, 28, 28, 28, 28, 28, 28, 28, 28,
+ 28, 366, 28, 28, 28, 28, 28, 32, 32, 32,
+ 33, 33, 33, 34, 34, 34, 342, 344, 28, 28,
+ 366, 32, 342, 318, 33, 443, 443, 34, 60, 28,
+ 35, 35, 35, 36, 36, 36, 37, 37, 37, 38,
+ 38, 38, 60, 318, 35, 360, 367, 36, 344, 343,
+ 37, 374, 83, 38, 39, 39, 39, 40, 40, 40,
+ 41, 41, 41, 42, 42, 42, 83, 343, 39, 516,
+ 367, 40, 371, 360, 41, 374, 98, 42, 43, 43,
+
+ 43, 44, 44, 44, 59, 59, 59, 80, 80, 80,
+ 98, 371, 43, 446, 516, 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, 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, 47, 47, 47, 48, 48, 48, 49, 49, 50,
+ 50, 78, 49, 70, 50, 47, 92, 93, 48, 372,
+ 49, 108, 50, 92, 444, 78, 91, 91, 91, 480,
+
+ 92, 93, 95, 95, 95, 108, 49, 361, 50, 105,
+ 70, 102, 102, 102, 78, 106, 70, 383, 103, 70,
+ 372, 104, 93, 105, 70, 103, 113, 107, 104, 106,
+ 480, 108, 103, 383, 107, 104, 110, 110, 110, 361,
+ 113, 107, 105, 438, 105, 120, 120, 120, 106, 105,
+ 106, 103, 121, 103, 104, 106, 104, 373, 103, 121,
+ 107, 104, 107, 124, 124, 124, 121, 107, 187, 187,
+ 187, 188, 188, 188, 191, 191, 191, 192, 192, 192,
+ 201, 201, 201, 247, 187, 373, 375, 188, 437, 385,
+ 191, 436, 435, 192, 247, 382, 201, 202, 202, 202,
+
+ 218, 218, 218, 221, 221, 221, 188, 224, 224, 224,
+ 225, 225, 225, 202, 375, 218, 385, 382, 221, 227,
+ 227, 227, 278, 224, 192, 384, 225, 230, 230, 230,
+ 231, 231, 231, 388, 278, 227, 233, 233, 233, 386,
+ 439, 202, 432, 230, 384, 388, 231, 238, 238, 238,
+ 439, 432, 233, 426, 240, 240, 240, 227, 242, 242,
+ 242, 389, 238, 243, 243, 243, 386, 397, 233, 240,
+ 245, 245, 245, 389, 242, 248, 248, 248, 406, 243,
+ 253, 253, 253, 254, 254, 254, 245, 256, 256, 256,
+ 445, 248, 248, 255, 255, 255, 397, 255, 254, 445,
+
+ 255, 406, 256, 425, 441, 245, 258, 258, 258, 259,
+ 259, 259, 396, 259, 441, 399, 259, 262, 262, 262,
+ 452, 258, 265, 265, 265, 267, 267, 267, 268, 268,
+ 268, 452, 396, 262, 269, 269, 269, 399, 265, 270,
+ 270, 270, 271, 271, 271, 528, 271, 454, 398, 271,
+ 272, 272, 272, 262, 270, 273, 273, 273, 454, 274,
+ 274, 274, 465, 274, 528, 272, 274, 265, 398, 465,
+ 273, 276, 276, 276, 280, 280, 280, 285, 285, 285,
+ 461, 286, 286, 286, 486, 286, 461, 276, 286, 453,
+ 280, 289, 289, 289, 290, 290, 290, 427, 290, 453,
+
+ 486, 290, 291, 291, 291, 462, 289, 276, 463, 427,
+ 280, 292, 292, 292, 463, 292, 462, 291, 292, 295,
+ 295, 295, 296, 296, 296, 280, 297, 297, 297, 298,
+ 298, 298, 424, 423, 295, 414, 413, 296, 300, 300,
+ 300, 429, 297, 301, 301, 301, 302, 302, 302, 303,
+ 303, 303, 431, 429, 300, 304, 304, 304, 305, 305,
+ 305, 475, 305, 440, 431, 305, 308, 308, 308, 309,
+ 309, 309, 442, 309, 412, 440, 309, 300, 310, 310,
+ 310, 308, 310, 475, 442, 310, 314, 314, 314, 320,
+ 320, 320, 411, 320, 466, 487, 320, 323, 323, 323,
+
+ 466, 467, 314, 324, 324, 324, 490, 324, 467, 404,
+ 324, 487, 323, 325, 325, 325, 326, 326, 326, 491,
+ 326, 481, 490, 326, 327, 327, 327, 470, 325, 328,
+ 328, 328, 492, 328, 470, 491, 328, 476, 484, 327,
+ 329, 329, 329, 331, 331, 331, 333, 333, 333, 334,
+ 334, 334, 481, 335, 335, 335, 329, 335, 478, 476,
+ 335, 492, 333, 339, 339, 339, 345, 345, 345, 484,
+ 345, 403, 402, 345, 348, 348, 348, 485, 348, 339,
+ 478, 348, 351, 351, 351, 479, 351, 493, 482, 351,
+ 355, 355, 355, 359, 359, 359, 365, 365, 365, 368,
+
+ 368, 368, 369, 369, 369, 483, 355, 479, 485, 359,
+ 482, 401, 365, 494, 368, 488, 493, 369, 370, 370,
+ 370, 376, 376, 376, 377, 377, 377, 483, 377, 494,
+ 489, 377, 365, 370, 365, 496, 376, 504, 495, 365,
+ 378, 378, 378, 379, 379, 379, 488, 379, 362, 497,
+ 379, 380, 380, 380, 495, 378, 381, 381, 381, 358,
+ 381, 489, 529, 381, 496, 498, 380, 387, 387, 387,
+ 357, 387, 505, 504, 387, 390, 390, 390, 497, 390,
+ 354, 529, 390, 393, 393, 393, 499, 393, 498, 502,
+ 393, 400, 400, 400, 405, 405, 405, 407, 407, 407,
+
+ 408, 408, 408, 409, 409, 409, 400, 400, 505, 499,
+ 405, 503, 502, 407, 500, 408, 408, 501, 409, 409,
+ 410, 410, 410, 341, 410, 506, 507, 410, 415, 415,
+ 415, 416, 416, 416, 503, 508, 410, 417, 417, 417,
+ 418, 418, 418, 500, 415, 522, 501, 416, 506, 507,
+ 546, 547, 522, 417, 415, 418, 418, 419, 419, 419,
+ 547, 419, 546, 417, 419, 420, 420, 420, 509, 420,
+ 512, 508, 420, 419, 338, 428, 428, 428, 447, 447,
+ 447, 420, 421, 421, 421, 421, 421, 421, 421, 421,
+ 421, 428, 532, 421, 447, 447, 421, 421, 421, 421,
+
+ 421, 428, 513, 332, 509, 533, 512, 458, 458, 458,
+ 510, 532, 421, 421, 422, 422, 422, 422, 422, 422,
+ 422, 422, 422, 458, 533, 422, 534, 535, 422, 422,
+ 422, 422, 422, 430, 430, 430, 510, 430, 513, 315,
+ 430, 538, 313, 458, 422, 422, 469, 469, 469, 430,
+ 433, 433, 433, 433, 433, 433, 433, 433, 433, 534,
+ 535, 433, 469, 523, 433, 433, 433, 433, 433, 511,
+ 523, 299, 526, 536, 538, 471, 471, 471, 514, 526,
+ 433, 433, 434, 434, 434, 434, 434, 434, 434, 434,
+ 434, 471, 536, 434, 515, 511, 434, 434, 434, 434,
+
+ 434, 472, 472, 472, 514, 472, 517, 518, 472, 473,
+ 473, 473, 434, 434, 474, 474, 474, 472, 474, 519,
+ 515, 474, 477, 477, 477, 473, 477, 520, 521, 477,
+ 474, 517, 524, 518, 525, 527, 530, 531, 477, 537,
+ 539, 540, 527, 530, 531, 519, 541, 542, 543, 544,
+ 545, 548, 520, 521, 550, 549, 282, 524, 537, 525,
+ 540, 279, 551, 554, 277, 541, 550, 553, 544, 545,
+ 548, 551, 554, 539, 549, 552, 552, 552, 275, 553,
+ 542, 543, 555, 555, 555, 556, 556, 556, 558, 558,
+ 558, 552, 559, 559, 559, 561, 561, 561, 555, 266,
+
+ 264, 556, 263, 261, 558, 260, 257, 252, 559, 251,
+ 246, 561, 564, 564, 564, 564, 564, 564, 564, 565,
+ 565, 565, 565, 565, 565, 565, 566, 566, 566, 566,
+ 566, 566, 566, 567, 567, 567, 567, 567, 567, 567,
+ 568, 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, 241, 575, 576, 576, 576, 239, 576, 577,
+
+ 577, 577, 237, 577, 578, 578, 578, 578, 578, 236,
+ 578, 579, 235, 579, 580, 234, 580, 581, 229, 581,
+ 582, 582, 582, 582, 582, 582, 582, 583, 228, 223,
+ 583, 584, 584, 584, 584, 584, 584, 585, 585, 585,
+ 585, 585, 585, 586, 586, 586, 586, 586, 586, 587,
+ 587, 587, 587, 587, 587, 587, 588, 588, 588, 588,
+ 588, 588, 588, 589, 589, 589, 589, 589, 589, 589,
+ 590, 590, 590, 590, 590, 590, 590, 591, 591, 591,
+ 591, 591, 591, 591, 592, 592, 592, 592, 592, 592,
+ 592, 593, 593, 593, 593, 593, 593, 593, 222, 220,
+
+ 219, 217, 216, 213, 212, 211, 209, 205, 203, 200,
+ 199, 198, 197, 196, 195, 194, 193, 190, 189, 186,
+ 185, 184, 183, 182, 181, 180, 178, 177, 176, 175,
+ 174, 170, 168, 167, 166, 165, 164, 163, 162, 161,
+ 160, 157, 156, 155, 154, 153, 152, 149, 148, 147,
+ 146, 145, 144, 143, 142, 139, 138, 137, 136, 135,
+ 129, 128, 126, 123, 122, 118, 117, 116, 115, 111,
+ 100, 96, 89, 88, 87, 85, 81, 77, 76, 75,
+ 69, 68, 66, 63, 51, 563, 563, 563, 563, 563,
+ 563, 563, 563, 563, 563, 563, 563, 563, 563, 563,
+
+ 563, 563, 563, 563, 563, 563, 563, 563, 563, 563,
+ 563, 563, 563, 563, 563, 563, 563, 563, 563, 563,
+ 563, 563, 563, 563, 563, 563, 563, 563, 563, 563,
+ 563, 563, 563, 563, 563, 563, 563, 563, 563, 563,
+ 563
} ;
/* 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[93] =
{ 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 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, 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;
#define YY_MORE_ADJ 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/21 12:59:33.
+/* Validating XML processor for src/xbt/graphxml.dtd.
*
* 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.46 2006/03/21 08:24:12 legranda Exp).
+ * FleXML is Copyright (C) 1999-2005 Kristoffer Rose. All rights reserved.
+ * FleXML is Copyright (C) 2003-2013 Martin Quinson. All rights reserved.
+ * (1.9.6).
*
* There are two, intertwined parts to this program, part A and part B.
*
* ------
*
* 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-2013 Martin Quinson. All rights reserved.
*
* You can redistribute, use, perform, display and/or modify "Part A"
* provided the following two conditions hold:
* by the author of or contributors to FleXML.
*
*/
-#line 48 "xbt/graphxml.l"
/* Version strings. */
-const char rcs_graphxml_flexml_skeleton[] =
- "$" "Id: skel,v 1.27 2006/03/21 08:24:12 legranda Exp $";
-const char rcs_graphxml_flexml[] =
- "$" "Id: flexml.pl,v 1.46 2006/03/21 08:24:12 legranda Exp $";
+const char graphxml_flexml_version[] = "1.9.6";
/* ANSI headers. */
-#include <unistd.h>
+#include <stdlib.h> /* for realloc() -- needed here when using flex 2.5.4 */
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <stdarg.h>
#include <ctype.h>
+
+#if defined(_XBT_WIN32) || defined(__WIN32__) || defined(WIN32) || defined(__TOS_WIN__)
+# ifndef __STRICT_ANSI__
+# include <io.h>
+# include <process.h>
+# endif
+#else
+# include <unistd.h>
+#endif
+
+#ifndef FLEXML_INDEXSTACKSIZE
+#define FLEXML_INDEXSTACKSIZE 1000
+#endif
/* Generated definitions. */
#define FLEXML_yylineno
+#ifndef FLEXML_BUFFERSTACKSIZE
#define FLEXML_BUFFERSTACKSIZE 1000000
+#endif
+#define FLEXML_NEED_BUFFERLIT
/* XML processor api. */
/* FleXML-provided data. */
-const char* pcdata;
-AT_graphxml_edge_target A_graphxml_edge_target;
-AT_graphxml_node_name A_graphxml_node_name;
-AT_graphxml_node_label A_graphxml_node_label;
-AT_graphxml_edge_label A_graphxml_edge_label;
-AT_graphxml_edge_source A_graphxml_edge_source;
-AT_graphxml_edge_isDirected A_graphxml_edge_isDirected;
-AT_graphxml_edge_name A_graphxml_edge_name;
+int graphxml_pcdata_ix;
+extern char *graphxml_bufferstack;
+#define graphxml_pcdata (graphxml_bufferstack + graphxml_pcdata_ix)
+AT_graphxml_edge_data AX_graphxml_edge_data;
+#define A_graphxml_edge_data (graphxml_bufferstack + AX_graphxml_edge_data)
+short int graphxml_edge_data_isset;
+AT_graphxml_edge_label AX_graphxml_edge_label;
+#define A_graphxml_edge_label (graphxml_bufferstack + AX_graphxml_edge_label)
+short int graphxml_edge_label_isset;
+AT_graphxml_edge_length AX_graphxml_edge_length;
+#define A_graphxml_edge_length (graphxml_bufferstack + AX_graphxml_edge_length)
+short int graphxml_edge_length_isset;
+AT_graphxml_edge_name AX_graphxml_edge_name;
+#define A_graphxml_edge_name (graphxml_bufferstack + AX_graphxml_edge_name)
+short int graphxml_edge_name_isset;
+AT_graphxml_edge_source AX_graphxml_edge_source;
+#define A_graphxml_edge_source (graphxml_bufferstack + AX_graphxml_edge_source)
+short int graphxml_edge_source_isset;
+AT_graphxml_edge_target AX_graphxml_edge_target;
+#define A_graphxml_edge_target (graphxml_bufferstack + AX_graphxml_edge_target)
+short int graphxml_edge_target_isset;
+AT_graphxml_graph_isDirected AX_graphxml_graph_isDirected;
+#define A_graphxml_graph_isDirected AX_graphxml_graph_isDirected
+short int graphxml_graph_isDirected_isset;
+AT_graphxml_node_data AX_graphxml_node_data;
+#define A_graphxml_node_data (graphxml_bufferstack + AX_graphxml_node_data)
+short int graphxml_node_data_isset;
+AT_graphxml_node_label AX_graphxml_node_label;
+#define A_graphxml_node_label (graphxml_bufferstack + AX_graphxml_node_label)
+short int graphxml_node_label_isset;
+AT_graphxml_node_name AX_graphxml_node_name;
+#define A_graphxml_node_name (graphxml_bufferstack + AX_graphxml_node_name)
+short int graphxml_node_name_isset;
+AT_graphxml_node_position___x AX_graphxml_node_position___x;
+#define A_graphxml_node_position___x (graphxml_bufferstack + AX_graphxml_node_position___x)
+short int graphxml_node_position___x_isset;
+AT_graphxml_node_position___y AX_graphxml_node_position___y;
+#define A_graphxml_node_position___y (graphxml_bufferstack + AX_graphxml_node_position___y)
+short int graphxml_node_position___y_isset;
/* XML state. */
#ifdef FLEX_DEBUG
#define FAIL return fail
static int fail(const char*, ...);
-const char * graphxml_parse_err_msg(void);
+
+enum {flexml_max_err_msg_size = 512};
+static char flexml_err_msg[flexml_max_err_msg_size];
+const char * graphxml_parse_err_msg()
+{
+ return flexml_err_msg;
+}
+static void reset_graphxml_parse_err_msg()
+{
+ flexml_err_msg[0] = '\0';
+}
/* Cleanup */
static void cleanup(void);
#define CLEANUP cleanup()
/* Text buffer stack handling. */
-char bufferstack[FLEXML_BUFFERSTACKSIZE];
-static char* limit = bufferstack + FLEXML_BUFFERSTACKSIZE;
-typedef struct BufferLast_s {
- struct BufferLast_s *old; char* saved; char new1[1];
-} BufferLast;
-#ifdef FLEXML_HasMixed
-static BufferLast* last = (BufferLast*)0;
-#endif
-static char* next = bufferstack;
+char *graphxml_bufferstack = NULL;
+static int blimit = FLEXML_BUFFERSTACKSIZE;
+static int bnext = 1;
+
+static int *indexstack = NULL;
+static int ilimit = FLEXML_INDEXSTACKSIZE;
+static int inext = 1;
-#define BUFFERSET(P) (P = next)
-#define BUFFERPUTC(C) (assert(next<limit), *(next++) = (C))
+#define BUFFERSET(P) (P = bnext)
+#define BUFFERPUTC(C) (ck_blimit(), graphxml_bufferstack[bnext++] = (C))
#define BUFFERDONE (BUFFERPUTC('\0'))
-#define BUFFERLITERAL(C,P) bufferliteral(C,&(P),xbt_graph_parse_text)
-static void bufferliteral(char c, const char** pp, char* text)
+#define BUFFERLITERAL(C, P) graphxml_bufferliteral(C, &(P), xbt_graph_parse_text)
+
+/* after this is called, there are at least 2 slots left in the stack */
+static int ck_blimit()
{
- char *s = strchr(text,c), *e = strrchr(text,c);
- assert(s <= e); BUFFERSET(*pp);
- while (++s<e) {
- if (isspace(*s)) { BUFFERPUTC(' '); while (isspace(*s)) ++s; }
- else BUFFERPUTC(*s);
- }
- BUFFERDONE;
+ if (bnext >= blimit) {
+ blimit += FLEXML_BUFFERSTACKSIZE + 2;
+ {
+ char *temp = (char *) realloc(graphxml_bufferstack, blimit);
+ assert(temp);
+ graphxml_bufferstack = temp;
+ }
+ }
+ return 0;
}
-#ifdef FLEXML_HasMixed
-static void pushbuffer(char* p)
+/* after this is called, there are at least 2 slots left in the stack */
+static int ck_ilimit()
{
- BufferLast* l = (BufferLast*)next;
- assert(next < limit);
- l->old = last;
- l->saved = p;
- next = l->new1;
- last = l;
+ if (inext >= ilimit) {
+ ilimit += FLEXML_INDEXSTACKSIZE + 2;
+ {
+ int *temp = (int *) realloc(indexstack, ilimit);
+ assert(temp);
+ indexstack = temp;
+ }
+ }
+ return 0;
}
-static char* popbuffer(void)
+#ifdef FLEXML_NEED_BUFFERLIT
+static void graphxml_bufferliteral(char c, int* pp, const char* text)
{
- BufferLast* l = last;
- assert(last != (BufferLast*)0);
- last = l->old;
- next = (char*)l;
- return l->saved;
+ BUFFERSET(*pp);
+ if (c) {
+ const char *s = strchr(text, c), *e = strrchr(text, c);
+ assert(s && e && s <= e);
+ ++s;
+ while (s < e) {
+ if (isspace(*s)) {
+ BUFFERPUTC(' ');
+ do ++s; while (s < e && isspace(*s));
+ } else
+ BUFFERPUTC(*s++);
+ }
+ } else {
+ const char *s = text;
+ while (*s)
+ BUFFERPUTC(*s++);
+ }
+ BUFFERDONE;
}
#endif
+static void pushbuffer(int p)
+{
+ ck_ilimit();
+ indexstack[inext++] = p;
+ indexstack[inext++] = bnext;
+}
+
+static int popbuffer(void)
+{
+ assert(inext >= 2);
+ bnext = indexstack[--inext];
+ return indexstack[--inext];
+}
+
/* General internal entities are `unput' back onto the input stream... */
#define ENTITYTEXT(T) \
{ char *s = (T), *e = s+strlen(s);\
while (--e >= s) { unput(*e); }}
+
/* Flex standard options. */
#define YY_NO_INPUT 1
/* Flex user-requested options. */
* IMPOSSIBLE dummy to permit disabling rules; must be last
*/
-
-
-
-
-#line 210 "xbt/graphxml.l"
/* State names. */
const char* *graphxml_statenames=NULL;
-#line 1158 "xbt/graphxml.c"
#define INITIAL 0
#define PROLOG 1
#define VALUE1 6
#define VALUE2 7
#define CDATA 8
-#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 ROOT_graphxml_edge 9
+#define AL_graphxml_edge 10
+#define E_graphxml_edge 11
+#define ROOT_graphxml_graph 12
+#define AL_graphxml_graph 13
+#define S_graphxml_graph 14
+#define S_graphxml_graph_1 15
+#define S_graphxml_graph_2 16
+#define S_graphxml_graph_3 17
+#define S_graphxml_graph_4 18
+#define S_graphxml_graph_5 19
+#define E_graphxml_graph 20
+#define ROOT_graphxml_node 21
+#define AL_graphxml_node 22
+#define E_graphxml_node 23
#define IMPOSSIBLE 24
#ifndef YY_NO_UNISTD_H
* 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 <unistd.h>
+#if defined(_XBT_WIN32) || defined(__WIN32__) || defined(WIN32) || defined(__TOS_WIN__)
+# ifndef __STRICT_ANSI__
+# include <io.h>
+# include <process.h>
+# endif
+#else
+# include <unistd.h>
+#endif
#endif
#ifndef YY_EXTRA_TYPE
static int yy_init_globals (void );
+/* Accessor methods to globals.
+ These are made visible to non-reentrant scanners for convenience. */
+
+int xbt_graph_parse_lex_destroy (void );
+
+int xbt_graph_parse_get_debug (void );
+
+void xbt_graph_parse_set_debug (int debug_flag );
+
+YY_EXTRA_TYPE xbt_graph_parse_get_extra (void );
+
+void xbt_graph_parse_set_extra (YY_EXTRA_TYPE user_defined );
+
+FILE *xbt_graph_parse_get_in (void );
+
+void xbt_graph_parse_set_in (FILE * in_str );
+
+FILE *xbt_graph_parse_get_out (void );
+
+void xbt_graph_parse_set_out (FILE * out_str );
+
+yy_size_t xbt_graph_parse_get_leng (void );
+
+char *xbt_graph_parse_get_text (void );
+
+int xbt_graph_parse_get_lineno (void );
+
+void xbt_graph_parse_set_lineno (int line_number );
+
/* Macros after this point can all be overridden by user definitions in
* section 1.
*/
/* Amount of stuff to slurp up with each read. */
#ifndef YY_READ_BUF_SIZE
+#ifdef __ia64__
+/* On IA-64, the buffer size is 16k, not 8k */
+#define YY_READ_BUF_SIZE 16384
+#else
#define YY_READ_BUF_SIZE 8192
+#endif /* __ia64__ */
#endif
/* Copy whatever the last rule matched to the standard output. */
/* This used to be an fputs(), but since the string might contain NUL's,
* we now use fwrite().
*/
-#define ECHO (void) fwrite( xbt_graph_parse_text, xbt_graph_parse_leng, 1, xbt_graph_parse_out )
+#define ECHO do { if (fwrite( xbt_graph_parse_text, xbt_graph_parse_leng, 1, xbt_graph_parse_out )) {} } while (0)
#endif
/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
*/
YY_DECL
{
- register yy_state_type yy_current_state;
- register char *yy_cp, *yy_bp;
- register int yy_act;
+ yy_state_type yy_current_state;
+ char *yy_cp, *yy_bp;
+ int yy_act;
-#line 214 "xbt/graphxml.l"
+ if ( !(yy_init) )
+ {
+ (yy_init) = 1;
+
+#ifdef YY_USER_INIT
+ YY_USER_INIT;
+#endif
+
+ if ( ! (yy_start) )
+ (yy_start) = 1; /* first start state */
+
+ if ( ! xbt_graph_parse_in )
+ xbt_graph_parse_in = stdin;
+
+ if ( ! xbt_graph_parse_out )
+ xbt_graph_parse_out = stdout;
+ if ( ! YY_CURRENT_BUFFER ) {
+ xbt_graph_parse_ensure_buffer_stack ();
+ YY_CURRENT_BUFFER_LVALUE =
+ xbt_graph_parse__create_buffer(xbt_graph_parse_in,YY_BUF_SIZE );
+ }
+
+ xbt_graph_parse__load_buffer_state( );
+ }
+
+ {
/* Bypass Flex's default INITIAL state and begin by parsing the XML prolog. */
SET(PROLOG);
+ reset_graphxml_parse_err_msg();
+ graphxml_bufferstack = (char *) malloc(FLEXML_BUFFERSTACKSIZE);
+ assert(graphxml_bufferstack);
+ #ifdef FLEX_DEBUG
+ {
+ int i;
+ for (i = 0; i < blimit; i++) {
+ graphxml_bufferstack[i] = '\377';
+ }
+ }
+ #endif
+ graphxml_bufferstack[0] = '\0';
+ indexstack = (int *) malloc(FLEXML_INDEXSTACKSIZE * sizeof(int));
+ assert(indexstack);
+ indexstack[0] = 0;
+
/* FleXML_init */
- next = bufferstack;
+ bnext = inext = 1;
+ graphxml_bufferliteral('\0', &bnext, "-1.0");
+ graphxml_bufferliteral('\0', &bnext, "-1.0");
+ graphxml_bufferliteral('\0', &bnext, "-1.0");
if(!graphxml_statenames) {graphxml_statenames= (const char **)calloc(IMPOSSIBLE,sizeof(char*));
graphxml_statenames[PROLOG] = NULL;
graphxml_statenames[DOCTYPE] = NULL;
graphxml_statenames[VALUE1] = NULL;
graphxml_statenames[VALUE2] = NULL;
graphxml_statenames[CDATA] = NULL;
+ graphxml_statenames[ROOT_graphxml_edge] = NULL;
+ graphxml_statenames[AL_graphxml_edge] = NULL;
+ graphxml_statenames[E_graphxml_edge] = "edge";
graphxml_statenames[ROOT_graphxml_graph] = NULL;
graphxml_statenames[AL_graphxml_graph] = NULL;
graphxml_statenames[S_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 1376 "xbt/graphxml.c"
-
- if ( !(yy_init) )
- {
- (yy_init) = 1;
-
-#ifdef YY_USER_INIT
- YY_USER_INIT;
-#endif
-
- if ( ! (yy_start) )
- (yy_start) = 1; /* first start state */
-
- if ( ! xbt_graph_parse_in )
- xbt_graph_parse_in = stdin;
-
- if ( ! xbt_graph_parse_out )
- xbt_graph_parse_out = stdout;
-
- if ( ! YY_CURRENT_BUFFER ) {
- xbt_graph_parse_ensure_buffer_stack ();
- YY_CURRENT_BUFFER_LVALUE =
- xbt_graph_parse__create_buffer(xbt_graph_parse_in,YY_BUF_SIZE );
- }
-
- xbt_graph_parse__load_buffer_state( );
- }
-
while ( 1 ) /* loops until end-of-file is reached */
{
yy_cp = (yy_c_buf_p);
yy_match:
do
{
- register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
+ YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
if ( yy_accept[yy_current_state] )
{
(yy_last_accepting_state) = yy_current_state;
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 >= 564 )
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] != 1586 );
yy_find_action:
yy_act = yy_accept[yy_current_state];
if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] )
{
- int yyl;
+ yy_size_t yyl;
for ( yyl = 0; yyl < xbt_graph_parse_leng; ++yyl )
if ( xbt_graph_parse_text[yyl] == '\n' )
case 1:
YY_RULE_SETUP
-#line 249 "xbt/graphxml.l"
ENTER(INCOMMENT);
YY_BREAK
case 2:
YY_RULE_SETUP
-#line 250 "xbt/graphxml.l"
ENTER(INPI);
YY_BREAK
-
case 3:
YY_RULE_SETUP
-#line 253 "xbt/graphxml.l"
LEAVE;
YY_BREAK
case 4:
-#line 255 "xbt/graphxml.l"
case 5:
-#line 256 "xbt/graphxml.l"
case 6:
/* rule 6 can match eol */
YY_RULE_SETUP
-#line 256 "xbt/graphxml.l"
SKIP;
YY_BREAK
case YY_STATE_EOF(INCOMMENT):
-#line 257 "xbt/graphxml.l"
FAIL("EOF in comment.");
YY_BREAK
-
case 7:
YY_RULE_SETUP
-#line 260 "xbt/graphxml.l"
LEAVE;
YY_BREAK
case 8:
-#line 262 "xbt/graphxml.l"
case 9:
/* rule 9 can match eol */
YY_RULE_SETUP
-#line 262 "xbt/graphxml.l"
SKIP;
YY_BREAK
case YY_STATE_EOF(INPI):
-#line 263 "xbt/graphxml.l"
FAIL("EOF in PI (processing instruction).");
YY_BREAK
case 10:
/* rule 10 can match eol */
YY_RULE_SETUP
-#line 268 "xbt/graphxml.l"
SKIP;
YY_BREAK
/* PROLOG: determine root element and process it. */
case 11:
/* rule 11 can match eol */
YY_RULE_SETUP
-#line 273 "xbt/graphxml.l"
SET(DOCTYPE);
YY_BREAK
case 12:
/* rule 12 can match eol */
YY_RULE_SETUP
-#line 274 "xbt/graphxml.l"
FAIL("Bad declaration %s.",xbt_graph_parse_text);
YY_BREAK
-
case 13:
/* rule 13 can match eol */
YY_RULE_SETUP
-#line 278 "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_graphxml_node);
+SET(ROOT_graphxml_graph);
YY_BREAK
case 15:
/* rule 15 can match eol */
YY_RULE_SETUP
-#line 280 "xbt/graphxml.l"
-SET(ROOT_graphxml_graph);
+SET(ROOT_graphxml_node);
YY_BREAK
case 16:
/* rule 16 can match eol */
YY_RULE_SETUP
-#line 281 "xbt/graphxml.l"
FAIL("Bad declaration %s.",xbt_graph_parse_text);
YY_BREAK
case 17:
YY_RULE_SETUP
-#line 282 "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"
FAIL("EOF in prolog.");
YY_BREAK
/* RULES DERIVED FROM DTD. */
-/* <!-- Small DTD for xbt graphs. --> */
+/* label CDATA ""
+ * name CDATA #IMPLIED
+ * source CDATA #REQUIRED
+ * target CDATA #REQUIRED
+ * length CDATA "-1.0"
+ * data CDATA ""
+ * > */
case 18:
/* rule 18 can match eol */
YY_RULE_SETUP
-#line 290 "xbt/graphxml.l"
-{
- ENTER(AL_graphxml_graph);
- }
+FAIL("Starting tag <edge> is not allowed here.");
YY_BREAK
-
case 19:
+/* rule 19 can match eol */
YY_RULE_SETUP
-#line 295 "xbt/graphxml.l"
{
- LEAVE; STag_graphxml_graph();pcdata = NULL; ENTER(S_graphxml_graph);
- }
+ AX_graphxml_edge_data = 0;
+ graphxml_edge_data_isset = 0;
+ AX_graphxml_edge_label = 0;
+ graphxml_edge_label_isset = 0;
+ AX_graphxml_edge_length = 11;
+ graphxml_edge_length_isset = 0;
+ AX_graphxml_edge_name = 0;
+ graphxml_edge_name_isset = 0;
+ AX_graphxml_edge_source = 0;
+ graphxml_edge_source_isset = 0;
+ AX_graphxml_edge_target = 0;
+ graphxml_edge_target_isset = 0;
+ ENTER(AL_graphxml_edge); pushbuffer(0);
+ }
YY_BREAK
+
case 20:
+/* rule 20 can match eol */
YY_RULE_SETUP
-#line 298 "xbt/graphxml.l"
-{
- LEAVE; STag_graphxml_graph(); pcdata = NULL; ETag_graphxml_graph();
- switch (YY_START) {
- case ROOT_graphxml_graph: SET(EPILOG); break;
- }
- }
+if (graphxml_edge_data_isset != 0) {FAIL("Multiple definition of attribute data in <graphxml_edge>");} graphxml_edge_data_isset = 1; ENTER(VALUE1); BUFFERSET(AX_graphxml_edge_data);
YY_BREAK
case 21:
+/* rule 21 can match eol */
YY_RULE_SETUP
-#line 304 "xbt/graphxml.l"
-FAIL("Unexpected character `%c' in attribute list of graph element.", xbt_graph_parse_text[0]);
+if (graphxml_edge_data_isset != 0) {FAIL("Multiple definition of attribute data in <graphxml_edge>");} graphxml_edge_data_isset = 1; ENTER(VALUE2); BUFFERSET(AX_graphxml_edge_data);
YY_BREAK
case 22:
+/* rule 22 can match eol */
YY_RULE_SETUP
-#line 305 "xbt/graphxml.l"
-FAIL("Bad attribute `%s' in `graph' element start tag.",xbt_graph_parse_text);
- YY_BREAK
-case YY_STATE_EOF(AL_graphxml_graph):
-#line 306 "xbt/graphxml.l"
-FAIL("EOF in attribute list of `graph' element.");
+if (graphxml_edge_label_isset != 0) {FAIL("Multiple definition of attribute label in <graphxml_edge>");} graphxml_edge_label_isset = 1; ENTER(VALUE1); BUFFERSET(AX_graphxml_edge_label);
YY_BREAK
-
-
case 23:
/* rule 23 can match eol */
YY_RULE_SETUP
-#line 310 "xbt/graphxml.l"
-{
- LEAVE;
- ETag_graphxml_graph();
- switch (YY_START) {
- case ROOT_graphxml_graph: SET(EPILOG); break;
- }
- }
+if (graphxml_edge_label_isset != 0) {FAIL("Multiple definition of attribute label in <graphxml_edge>");} graphxml_edge_label_isset = 1; ENTER(VALUE2); BUFFERSET(AX_graphxml_edge_label);
YY_BREAK
case 24:
/* rule 24 can match eol */
YY_RULE_SETUP
-#line 317 "xbt/graphxml.l"
-FAIL("Unexpected end-tag `%s': `</graph>' expected.",xbt_graph_parse_text);
+if (graphxml_edge_length_isset != 0) {FAIL("Multiple definition of attribute length in <graphxml_edge>");} graphxml_edge_length_isset = 1; ENTER(VALUE1); BUFFERSET(AX_graphxml_edge_length);
YY_BREAK
case 25:
+/* rule 25 can match eol */
YY_RULE_SETUP
-#line 318 "xbt/graphxml.l"
-FAIL("Unexpected character `%c': `</graph>' expected.",xbt_graph_parse_text[0]);
+if (graphxml_edge_length_isset != 0) {FAIL("Multiple definition of attribute length in <graphxml_edge>");} graphxml_edge_length_isset = 1; ENTER(VALUE2); BUFFERSET(AX_graphxml_edge_length);
YY_BREAK
-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 319 "xbt/graphxml.l"
-FAIL("Premature EOF: `</graph>' expected.");
- YY_BREAK
-
-/* label CDATA ""
- * name CDATA #REQUIRED
- * > */
case 26:
/* rule 26 can match eol */
YY_RULE_SETUP
-#line 326 "xbt/graphxml.l"
-{
- A_graphxml_node_label = NULL;
- A_graphxml_node_name = NULL;
- ENTER(AL_graphxml_node);
- }
+if (graphxml_edge_name_isset != 0) {FAIL("Multiple definition of attribute name in <graphxml_edge>");} graphxml_edge_name_isset = 1; ENTER(VALUE1); BUFFERSET(AX_graphxml_edge_name);
YY_BREAK
-
case 27:
/* rule 27 can match eol */
YY_RULE_SETUP
-#line 333 "xbt/graphxml.l"
-ENTER(VALUE1); BUFFERSET(A_graphxml_node_label);
+if (graphxml_edge_name_isset != 0) {FAIL("Multiple definition of attribute name in <graphxml_edge>");} graphxml_edge_name_isset = 1; ENTER(VALUE2); BUFFERSET(AX_graphxml_edge_name);
YY_BREAK
case 28:
/* rule 28 can match eol */
YY_RULE_SETUP
-#line 334 "xbt/graphxml.l"
-ENTER(VALUE2); BUFFERSET(A_graphxml_node_label);
+if (graphxml_edge_source_isset != 0) {FAIL("Multiple definition of attribute source in <graphxml_edge>");} graphxml_edge_source_isset = 1; ENTER(VALUE1); BUFFERSET(AX_graphxml_edge_source);
YY_BREAK
case 29:
/* rule 29 can match eol */
YY_RULE_SETUP
-#line 336 "xbt/graphxml.l"
-ENTER(VALUE1); BUFFERSET(A_graphxml_node_name);
+if (graphxml_edge_source_isset != 0) {FAIL("Multiple definition of attribute source in <graphxml_edge>");} graphxml_edge_source_isset = 1; ENTER(VALUE2); BUFFERSET(AX_graphxml_edge_source);
YY_BREAK
case 30:
/* rule 30 can match eol */
YY_RULE_SETUP
-#line 337 "xbt/graphxml.l"
-ENTER(VALUE2); BUFFERSET(A_graphxml_node_name);
+if (graphxml_edge_target_isset != 0) {FAIL("Multiple definition of attribute target in <graphxml_edge>");} graphxml_edge_target_isset = 1; ENTER(VALUE1); BUFFERSET(AX_graphxml_edge_target);
YY_BREAK
case 31:
+/* rule 31 can match eol */
+YY_RULE_SETUP
+if (graphxml_edge_target_isset != 0) {FAIL("Multiple definition of attribute target in <graphxml_edge>");} graphxml_edge_target_isset = 1; ENTER(VALUE2); BUFFERSET(AX_graphxml_edge_target);
+ YY_BREAK
+case 32:
YY_RULE_SETUP
-#line 339 "xbt/graphxml.l"
{
- if (!A_graphxml_node_name) FAIL("Required attribute `name' not set for `node' element.");
- LEAVE; STag_graphxml_node();pcdata = NULL; ENTER(E_graphxml_node);
+ if (!AX_graphxml_edge_source) FAIL("Required attribute `source' not set for `edge' element.");
+ if (!AX_graphxml_edge_target) FAIL("Required attribute `target' not set for `edge' element.");
+ LEAVE; STag_graphxml_edge();graphxml_pcdata_ix = 0; ENTER(E_graphxml_edge);
}
YY_BREAK
-case 32:
+case 33:
YY_RULE_SETUP
-#line 343 "xbt/graphxml.l"
{
- if (!A_graphxml_node_name) FAIL("Required attribute `name' not set for `node' element.");
- LEAVE; STag_graphxml_node(); pcdata = NULL; ETag_graphxml_node();
+ if (!AX_graphxml_edge_source) FAIL("Required attribute `source' not set for `edge' element.");
+ if (!AX_graphxml_edge_target) FAIL("Required attribute `target' not set for `edge' element.");
+ LEAVE; STag_graphxml_edge(); graphxml_pcdata_ix = 0; ETag_graphxml_edge(); popbuffer(); /* attribute */
switch (YY_START) {
- 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;
+ case ROOT_graphxml_edge: SET(EPILOG); break;
+ case S_graphxml_graph: case S_graphxml_graph_1: case S_graphxml_graph_3: case S_graphxml_graph_4: case S_graphxml_graph_5: SET(S_graphxml_graph_5); break;
}
}
YY_BREAK
-case 33:
+case 34:
YY_RULE_SETUP
-#line 351 "xbt/graphxml.l"
-FAIL("Unexpected character `%c' in attribute list of node element.", xbt_graph_parse_text[0]);
+FAIL("Unexpected character `%c' in attribute list of edge element.", xbt_graph_parse_text[0]);
YY_BREAK
-case 34:
+case 35:
YY_RULE_SETUP
-#line 352 "xbt/graphxml.l"
-FAIL("Bad attribute `%s' in `node' element start tag.",xbt_graph_parse_text);
+FAIL("Bad attribute `%s' in `edge' element start tag.",xbt_graph_parse_text);
YY_BREAK
-case YY_STATE_EOF(AL_graphxml_node):
-#line 353 "xbt/graphxml.l"
-FAIL("EOF in attribute list of `node' element.");
+case YY_STATE_EOF(AL_graphxml_edge):
+FAIL("EOF in attribute list of `edge' element.");
YY_BREAK
-
-case 35:
-/* rule 35 can match eol */
+case 36:
+/* rule 36 can match eol */
YY_RULE_SETUP
-#line 357 "xbt/graphxml.l"
{
LEAVE;
- ETag_graphxml_node();
+ ETag_graphxml_edge();
+ popbuffer(); /* attribute */
switch (YY_START) {
- 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;
+ case ROOT_graphxml_edge: SET(EPILOG); break;
+ case S_graphxml_graph: case S_graphxml_graph_1: case S_graphxml_graph_3: case S_graphxml_graph_4: case S_graphxml_graph_5: SET(S_graphxml_graph_5); break;
}
}
YY_BREAK
-case 36:
-/* rule 36 can match eol */
-YY_RULE_SETUP
-#line 365 "xbt/graphxml.l"
-FAIL("Unexpected end-tag `%s': `</node>' expected.",xbt_graph_parse_text);
- YY_BREAK
case 37:
+/* rule 37 can match eol */
YY_RULE_SETUP
-#line 366 "xbt/graphxml.l"
-FAIL("Unexpected character `%c': `</node>' expected.",xbt_graph_parse_text[0]);
- YY_BREAK
-case YY_STATE_EOF(E_graphxml_node):
-#line 367 "xbt/graphxml.l"
-FAIL("Premature EOF: `</node>' expected.");
+FAIL("Unexpected end-tag `%s': `</edge>' expected.",xbt_graph_parse_text);
YY_BREAK
-
-/* label CDATA ""
- * name CDATA #IMPLIED
- * source CDATA #REQUIRED
- * target CDATA #REQUIRED
- * isDirected (true|false) "true"
- * > */
case 38:
-/* rule 38 can match eol */
YY_RULE_SETUP
-#line 377 "xbt/graphxml.l"
-{
- A_graphxml_edge_label = NULL;
- A_graphxml_edge_name = NULL;
- A_graphxml_edge_source = NULL;
- A_graphxml_edge_target = NULL;
- A_graphxml_edge_isDirected = A_graphxml_edge_isDirected_true;
- ENTER(AL_graphxml_edge);
- }
+FAIL("Unexpected character `%c': `</edge>' expected.",xbt_graph_parse_text[0]);
+ YY_BREAK
+case YY_STATE_EOF(E_graphxml_edge):
+FAIL("Premature EOF: `</edge>' expected.");
YY_BREAK
+/* <!-- Small DTD for xbt graphs. --> */
+/* isDirected (true|false) "true"
+ * > */
case 39:
/* rule 39 can match eol */
YY_RULE_SETUP
-#line 387 "xbt/graphxml.l"
-ENTER(VALUE1); BUFFERSET(A_graphxml_edge_label);
+FAIL("Starting tag <graph> is not allowed here.");
YY_BREAK
case 40:
/* rule 40 can match eol */
YY_RULE_SETUP
-#line 388 "xbt/graphxml.l"
-ENTER(VALUE2); BUFFERSET(A_graphxml_edge_label);
+{
+ AX_graphxml_graph_isDirected = A_graphxml_graph_isDirected_true;
+ graphxml_graph_isDirected_isset = 0;
+ ENTER(AL_graphxml_graph); pushbuffer(0);
+ }
YY_BREAK
+
case 41:
/* rule 41 can match eol */
-YY_RULE_SETUP
-#line 390 "xbt/graphxml.l"
-ENTER(VALUE1); BUFFERSET(A_graphxml_edge_name);
- YY_BREAK
case 42:
/* rule 42 can match eol */
YY_RULE_SETUP
-#line 391 "xbt/graphxml.l"
-ENTER(VALUE2); BUFFERSET(A_graphxml_edge_name);
+A_graphxml_graph_isDirected = A_graphxml_graph_isDirected_true;
YY_BREAK
case 43:
/* rule 43 can match eol */
-YY_RULE_SETUP
-#line 393 "xbt/graphxml.l"
-ENTER(VALUE1); BUFFERSET(A_graphxml_edge_source);
- YY_BREAK
case 44:
/* rule 44 can match eol */
YY_RULE_SETUP
-#line 394 "xbt/graphxml.l"
-ENTER(VALUE2); BUFFERSET(A_graphxml_edge_source);
+A_graphxml_graph_isDirected = A_graphxml_graph_isDirected_false;
YY_BREAK
case 45:
-/* rule 45 can match eol */
YY_RULE_SETUP
-#line 396 "xbt/graphxml.l"
-ENTER(VALUE1); BUFFERSET(A_graphxml_edge_target);
+{
+ LEAVE; STag_graphxml_graph();graphxml_pcdata_ix = 0; ENTER(S_graphxml_graph);
+ }
YY_BREAK
case 46:
-/* rule 46 can match eol */
YY_RULE_SETUP
-#line 397 "xbt/graphxml.l"
-ENTER(VALUE2); BUFFERSET(A_graphxml_edge_target);
+{
+ LEAVE; STag_graphxml_graph(); graphxml_pcdata_ix = 0; ETag_graphxml_graph(); popbuffer(); /* attribute */
+ switch (YY_START) {
+ case ROOT_graphxml_graph: SET(EPILOG); break;
+ }
+ }
YY_BREAK
case 47:
-/* rule 47 can match eol */
-#line 400 "xbt/graphxml.l"
+YY_RULE_SETUP
+FAIL("Unexpected character `%c' in attribute list of graph element.", xbt_graph_parse_text[0]);
+ YY_BREAK
case 48:
-/* rule 48 can match eol */
YY_RULE_SETUP
-#line 400 "xbt/graphxml.l"
-A_graphxml_edge_isDirected = A_graphxml_edge_isDirected_true;
+FAIL("Bad attribute `%s' in `graph' element start tag.",xbt_graph_parse_text);
+ YY_BREAK
+case YY_STATE_EOF(AL_graphxml_graph):
+FAIL("EOF in attribute list of `graph' element.");
YY_BREAK
+
case 49:
/* rule 49 can match eol */
-#line 402 "xbt/graphxml.l"
+YY_RULE_SETUP
+{
+ LEAVE;
+ ETag_graphxml_graph();
+ popbuffer(); /* attribute */
+ switch (YY_START) {
+ case ROOT_graphxml_graph: SET(EPILOG); break;
+ }
+ }
+ YY_BREAK
case 50:
/* rule 50 can match eol */
YY_RULE_SETUP
-#line 402 "xbt/graphxml.l"
-A_graphxml_edge_isDirected = A_graphxml_edge_isDirected_false;
+FAIL("Unexpected end-tag `%s': `</graph>' expected.",xbt_graph_parse_text);
YY_BREAK
case 51:
YY_RULE_SETUP
-#line 404 "xbt/graphxml.l"
+FAIL("Unexpected character `%c': `</graph>' expected.",xbt_graph_parse_text[0]);
+ YY_BREAK
+case YY_STATE_EOF(E_graphxml_graph):
+case YY_STATE_EOF(S_graphxml_graph):
+case YY_STATE_EOF(S_graphxml_graph_1):
+case YY_STATE_EOF(S_graphxml_graph_3):
+case YY_STATE_EOF(S_graphxml_graph_5):
+FAIL("Premature EOF: `</graph>' expected.");
+ YY_BREAK
+
+/* label CDATA ""
+ * name CDATA #REQUIRED
+ * data CDATA ""
+ * position_x CDATA "-1.0"
+ * position_y CDATA "-1.0"
+ * > */
+case 52:
+/* rule 52 can match eol */
+YY_RULE_SETUP
+FAIL("Starting tag <node> is not allowed here.");
+ YY_BREAK
+case 53:
+/* rule 53 can match eol */
+YY_RULE_SETUP
+{
+ AX_graphxml_node_data = 0;
+ graphxml_node_data_isset = 0;
+ AX_graphxml_node_label = 0;
+ graphxml_node_label_isset = 0;
+ AX_graphxml_node_name = 0;
+ graphxml_node_name_isset = 0;
+ AX_graphxml_node_position___x = 1;
+ graphxml_node_position___x_isset = 0;
+ AX_graphxml_node_position___y = 6;
+ graphxml_node_position___y_isset = 0;
+ ENTER(AL_graphxml_node); pushbuffer(0);
+ }
+ YY_BREAK
+
+case 54:
+/* rule 54 can match eol */
+YY_RULE_SETUP
+if (graphxml_node_data_isset != 0) {FAIL("Multiple definition of attribute data in <graphxml_node>");} graphxml_node_data_isset = 1; ENTER(VALUE1); BUFFERSET(AX_graphxml_node_data);
+ YY_BREAK
+case 55:
+/* rule 55 can match eol */
+YY_RULE_SETUP
+if (graphxml_node_data_isset != 0) {FAIL("Multiple definition of attribute data in <graphxml_node>");} graphxml_node_data_isset = 1; ENTER(VALUE2); BUFFERSET(AX_graphxml_node_data);
+ YY_BREAK
+case 56:
+/* rule 56 can match eol */
+YY_RULE_SETUP
+if (graphxml_node_label_isset != 0) {FAIL("Multiple definition of attribute label in <graphxml_node>");} graphxml_node_label_isset = 1; ENTER(VALUE1); BUFFERSET(AX_graphxml_node_label);
+ YY_BREAK
+case 57:
+/* rule 57 can match eol */
+YY_RULE_SETUP
+if (graphxml_node_label_isset != 0) {FAIL("Multiple definition of attribute label in <graphxml_node>");} graphxml_node_label_isset = 1; ENTER(VALUE2); BUFFERSET(AX_graphxml_node_label);
+ YY_BREAK
+case 58:
+/* rule 58 can match eol */
+YY_RULE_SETUP
+if (graphxml_node_name_isset != 0) {FAIL("Multiple definition of attribute name in <graphxml_node>");} graphxml_node_name_isset = 1; ENTER(VALUE1); BUFFERSET(AX_graphxml_node_name);
+ YY_BREAK
+case 59:
+/* rule 59 can match eol */
+YY_RULE_SETUP
+if (graphxml_node_name_isset != 0) {FAIL("Multiple definition of attribute name in <graphxml_node>");} graphxml_node_name_isset = 1; ENTER(VALUE2); BUFFERSET(AX_graphxml_node_name);
+ YY_BREAK
+case 60:
+/* rule 60 can match eol */
+YY_RULE_SETUP
+if (graphxml_node_position___x_isset != 0) {FAIL("Multiple definition of attribute position_x in <graphxml_node>");} graphxml_node_position___x_isset = 1; ENTER(VALUE1); BUFFERSET(AX_graphxml_node_position___x);
+ YY_BREAK
+case 61:
+/* rule 61 can match eol */
+YY_RULE_SETUP
+if (graphxml_node_position___x_isset != 0) {FAIL("Multiple definition of attribute position_x in <graphxml_node>");} graphxml_node_position___x_isset = 1; ENTER(VALUE2); BUFFERSET(AX_graphxml_node_position___x);
+ YY_BREAK
+case 62:
+/* rule 62 can match eol */
+YY_RULE_SETUP
+if (graphxml_node_position___y_isset != 0) {FAIL("Multiple definition of attribute position_y in <graphxml_node>");} graphxml_node_position___y_isset = 1; ENTER(VALUE1); BUFFERSET(AX_graphxml_node_position___y);
+ YY_BREAK
+case 63:
+/* rule 63 can match eol */
+YY_RULE_SETUP
+if (graphxml_node_position___y_isset != 0) {FAIL("Multiple definition of attribute position_y in <graphxml_node>");} graphxml_node_position___y_isset = 1; ENTER(VALUE2); BUFFERSET(AX_graphxml_node_position___y);
+ YY_BREAK
+case 64:
+YY_RULE_SETUP
{
- 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();pcdata = NULL; ENTER(E_graphxml_edge);
+ if (!AX_graphxml_node_name) FAIL("Required attribute `name' not set for `node' element.");
+ LEAVE; STag_graphxml_node();graphxml_pcdata_ix = 0; ENTER(E_graphxml_node);
}
YY_BREAK
-case 52:
+case 65:
YY_RULE_SETUP
-#line 409 "xbt/graphxml.l"
{
- 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(); pcdata = NULL; ETag_graphxml_edge();
+ if (!AX_graphxml_node_name) FAIL("Required attribute `name' not set for `node' element.");
+ LEAVE; STag_graphxml_node(); graphxml_pcdata_ix = 0; ETag_graphxml_node(); popbuffer(); /* attribute */
switch (YY_START) {
- 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;
+ case ROOT_graphxml_node: SET(EPILOG); break;
+ case S_graphxml_graph: case S_graphxml_graph_2: case S_graphxml_graph_3: SET(S_graphxml_graph_3); break;
}
}
YY_BREAK
-case 53:
+case 66:
YY_RULE_SETUP
-#line 418 "xbt/graphxml.l"
-FAIL("Unexpected character `%c' in attribute list of edge element.", xbt_graph_parse_text[0]);
+FAIL("Unexpected character `%c' in attribute list of node element.", xbt_graph_parse_text[0]);
YY_BREAK
-case 54:
+case 67:
YY_RULE_SETUP
-#line 419 "xbt/graphxml.l"
-FAIL("Bad attribute `%s' in `edge' element start tag.",xbt_graph_parse_text);
+FAIL("Bad attribute `%s' in `node' element start tag.",xbt_graph_parse_text);
YY_BREAK
-case YY_STATE_EOF(AL_graphxml_edge):
-#line 420 "xbt/graphxml.l"
-FAIL("EOF in attribute list of `edge' element.");
+case YY_STATE_EOF(AL_graphxml_node):
+FAIL("EOF in attribute list of `node' element.");
YY_BREAK
-
-case 55:
-/* rule 55 can match eol */
+case 68:
+/* rule 68 can match eol */
YY_RULE_SETUP
-#line 424 "xbt/graphxml.l"
{
LEAVE;
- ETag_graphxml_edge();
+ ETag_graphxml_node();
+ popbuffer(); /* attribute */
switch (YY_START) {
- 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;
+ case ROOT_graphxml_node: SET(EPILOG); break;
+ case S_graphxml_graph: case S_graphxml_graph_2: case S_graphxml_graph_3: SET(S_graphxml_graph_3); break;
}
}
YY_BREAK
-case 56:
-/* rule 56 can match eol */
+case 69:
+/* rule 69 can match eol */
YY_RULE_SETUP
-#line 432 "xbt/graphxml.l"
-FAIL("Unexpected end-tag `%s': `</edge>' expected.",xbt_graph_parse_text);
+FAIL("Unexpected end-tag `%s': `</node>' expected.",xbt_graph_parse_text);
YY_BREAK
-case 57:
+case 70:
YY_RULE_SETUP
-#line 433 "xbt/graphxml.l"
-FAIL("Unexpected character `%c': `</edge>' expected.",xbt_graph_parse_text[0]);
+FAIL("Unexpected character `%c': `</node>' expected.",xbt_graph_parse_text[0]);
YY_BREAK
-case YY_STATE_EOF(E_graphxml_edge):
-#line 434 "xbt/graphxml.l"
-FAIL("Premature EOF: `</edge>' expected.");
+case YY_STATE_EOF(E_graphxml_node):
+FAIL("Premature EOF: `</node>' expected.");
YY_BREAK
/* EPILOG: after the root element. */
-case 58:
+case 71:
YY_RULE_SETUP
-#line 440 "xbt/graphxml.l"
{SET(PROLOG); yyless(0); CLEANUP; return -1;}
YY_BREAK
case YY_STATE_EOF(EPILOG):
-#line 441 "xbt/graphxml.l"
SUCCEED;
YY_BREAK
/* CHARACTER DATA. */
/* Non-defined standard entities... */
-case 59:
+case 72:
YY_RULE_SETUP
-#line 448 "xbt/graphxml.l"
BUFFERPUTC('&');
YY_BREAK
-case 60:
+case 73:
YY_RULE_SETUP
-#line 449 "xbt/graphxml.l"
BUFFERPUTC('<');
YY_BREAK
-case 61:
+case 74:
YY_RULE_SETUP
-#line 450 "xbt/graphxml.l"
BUFFERPUTC('>');
YY_BREAK
-case 62:
+case 75:
YY_RULE_SETUP
-#line 451 "xbt/graphxml.l"
BUFFERPUTC('\'');
YY_BREAK
-case 63:
+case 76:
YY_RULE_SETUP
-#line 452 "xbt/graphxml.l"
BUFFERPUTC('"');
YY_BREAK
/* Character entities. */
-case 64:
+case 77:
YY_RULE_SETUP
-#line 455 "xbt/graphxml.l"
BUFFERPUTC((unsigned char)atoi(xbt_graph_parse_text+2));
YY_BREAK
-case 65:
+case 78:
YY_RULE_SETUP
-#line 456 "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 79:
+/* rule 79 can match eol */
+case 80:
+/* rule 80 can match eol */
+case 81:
+/* rule 81 can match eol */
+case 82:
+/* rule 82 can match eol */
YY_RULE_SETUP
-#line 463 "xbt/graphxml.l"
BUFFERPUTC('\n');
YY_BREAK
-
-case 70:
+case 83:
YY_RULE_SETUP
-#line 467 "xbt/graphxml.l"
ENTER(CDATA);
YY_BREAK
-case 71:
+case 84:
YY_RULE_SETUP
-#line 468 "xbt/graphxml.l"
FAIL("Unexpected `]""]>' in character data.");
YY_BREAK
-
-case 72:
+case 85:
YY_RULE_SETUP
-#line 472 "xbt/graphxml.l"
BUFFERDONE; LEAVE;
YY_BREAK
case YY_STATE_EOF(VALUE1):
-#line 473 "xbt/graphxml.l"
FAIL("EOF in literal (\"'\" expected).");
YY_BREAK
-
-case 73:
+case 86:
YY_RULE_SETUP
-#line 477 "xbt/graphxml.l"
BUFFERDONE; LEAVE;
YY_BREAK
case YY_STATE_EOF(VALUE2):
-#line 478 "xbt/graphxml.l"
FAIL("EOF in literal (`\"' expected).");
YY_BREAK
-
-case 74:
-/* rule 74 can match eol */
+case 87:
+/* rule 87 can match eol */
YY_RULE_SETUP
-#line 482 "xbt/graphxml.l"
BUFFERPUTC(xbt_graph_parse_text[0]);
YY_BREAK
-case 75:
+case 88:
YY_RULE_SETUP
-#line 483 "xbt/graphxml.l"
FAIL("Spurious `%c' in character data.",xbt_graph_parse_text[0]);
YY_BREAK
-
-case 76:
+case 89:
YY_RULE_SETUP
-#line 487 "xbt/graphxml.l"
LEAVE;
YY_BREAK
/* "]""]" BUFFERPUTC(xbt_graph_parse_text[0]); BUFFERPUTC(xbt_graph_parse_text[1]); */
-case 77:
+case 90:
YY_RULE_SETUP
-#line 489 "xbt/graphxml.l"
BUFFERPUTC(xbt_graph_parse_text[0]);
YY_BREAK
case YY_STATE_EOF(CDATA):
-#line 490 "xbt/graphxml.l"
FAIL("EOF in CDATA section.");
YY_BREAK
/* 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 91:
+/* rule 91 can match eol */
YY_RULE_SETUP
-#line 497 "xbt/graphxml.l"
FAIL("Syntax error on character `%c'.", xbt_graph_parse_text[0]);
YY_BREAK
-case 79:
+case 92:
YY_RULE_SETUP
-#line 500 "xbt/graphxml.l"
ECHO;
YY_BREAK
-#line 2059 "xbt/graphxml.c"
case YY_STATE_EOF(INITIAL):
+case YY_STATE_EOF(ROOT_graphxml_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();
"fatal flex scanner internal error--no action found" );
} /* end of action switch */
} /* end of scanning one token */
+ } /* end of user's declarations */
} /* end of xbt_graph_parse_lex */
/* yy_get_next_buffer - try to read in a new buffer
*/
static int yy_get_next_buffer (void)
{
- register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
- register char *source = (yytext_ptr);
- register int number_to_move, i;
+ char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
+ char *source = (yytext_ptr);
+ int number_to_move, i;
int ret_val;
if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
else
{
- int num_to_read =
+ yy_size_t num_to_read =
YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
while ( num_to_read <= 0 )
{ /* Not enough room in the buffer - grow it. */
/* just a shorter name for the current buffer */
- YY_BUFFER_STATE b = YY_CURRENT_BUFFER;
+ YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE;
int yy_c_buf_p_offset =
(int) ((yy_c_buf_p) - b->yy_ch_buf);
if ( b->yy_is_our_buffer )
{
- int new_size = b->yy_buf_size * 2;
+ yy_size_t new_size = b->yy_buf_size * 2;
if ( new_size <= 0 )
b->yy_buf_size += b->yy_buf_size / 8;
else
ret_val = EOB_ACT_CONTINUE_SCAN;
+ if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
+ /* Extend the array by 50%, plus the number we really need. */
+ yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
+ YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) xbt_graph_parse_realloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
+ if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
+ YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
+ }
+
(yy_n_chars) += number_to_move;
YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
static yy_state_type yy_get_previous_state (void)
{
- register yy_state_type yy_current_state;
- register char *yy_cp;
+ yy_state_type yy_current_state;
+ char *yy_cp;
yy_current_state = (yy_start);
for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
{
- register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
+ YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
if ( yy_accept[yy_current_state] )
{
(yy_last_accepting_state) = yy_current_state;
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 >= 564 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
*/
static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
{
- register int yy_is_jam;
- register char *yy_cp = (yy_c_buf_p);
+ int yy_is_jam;
+ char *yy_cp = (yy_c_buf_p);
- register YY_CHAR yy_c = 1;
+ YY_CHAR yy_c = 1;
if ( yy_accept[yy_current_state] )
{
(yy_last_accepting_state) = yy_current_state;
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 >= 564 )
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 == 563);
- return yy_is_jam ? 0 : yy_current_state;
+ return yy_is_jam ? 0 : yy_current_state;
}
#ifndef YY_NO_INPUT
else
{ /* need more input */
- int offset = (yy_c_buf_p) - (yytext_ptr);
+ yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
++(yy_c_buf_p);
switch ( yy_get_next_buffer( ) )
xbt_graph_parse_free((void *) b );
}
-#ifndef __cplusplus
-extern int isatty (int );
-#endif /* __cplusplus */
-
/* Initializes or reinitializes a buffer.
* This function is sometimes called more than once on the same buffer,
* such as during a xbt_graph_parse_restart() or at EOF.
*/
static void xbt_graph_parse_ensure_buffer_stack (void)
{
- int num_to_alloc;
+ yy_size_t num_to_alloc;
if (!(yy_buffer_stack)) {
(yy_buffer_stack) = (struct yy_buffer_state**)xbt_graph_parse_alloc
(num_to_alloc * sizeof(struct yy_buffer_state*)
);
-
+ if ( ! (yy_buffer_stack) )
+ YY_FATAL_ERROR( "out of dynamic memory in xbt_graph_parse_ensure_buffer_stack()" );
+
memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
(yy_buffer_stack_max) = num_to_alloc;
((yy_buffer_stack),
num_to_alloc * sizeof(struct yy_buffer_state*)
);
+ if ( ! (yy_buffer_stack) )
+ YY_FATAL_ERROR( "out of dynamic memory in xbt_graph_parse_ensure_buffer_stack()" );
/* zero only the new slots.*/
memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
/** Setup the input buffer state to scan the given bytes. The next call to xbt_graph_parse_lex() will
* scan from a @e copy of @a bytes.
- * @param bytes the byte buffer to scan
- * @param len the number of bytes in the buffer pointed to by @a bytes.
+ * @param yybytes the byte buffer to scan
+ * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
*
* @return the newly allocated buffer state object.
*/
-YY_BUFFER_STATE xbt_graph_parse__scan_bytes (yyconst char * yybytes, int _yybytes_len )
+YY_BUFFER_STATE xbt_graph_parse__scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len )
{
YY_BUFFER_STATE b;
char *buf;
yy_size_t n;
- int i;
+ yy_size_t i;
/* Get memory for full buffer, including space for trailing EOB's. */
n = _yybytes_len + 2;
(yy_start_stack) = (int *) xbt_graph_parse_realloc((void *) (yy_start_stack),new_size );
if ( ! (yy_start_stack) )
- YY_FATAL_ERROR(
- "out of memory expanding start-condition stack" );
+ YY_FATAL_ERROR( "out of memory expanding start-condition stack" );
}
(yy_start_stack)[(yy_start_stack_ptr)++] = YY_START;
/** Get the length of the current token.
*
*/
-int xbt_graph_parse_get_leng (void)
+yy_size_t xbt_graph_parse_get_leng (void)
{
return xbt_graph_parse_leng;
}
#ifndef yytext_ptr
static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
{
- register int i;
+ int i;
for ( i = 0; i < n; ++i )
s1[i] = s2[i];
}
#ifdef YY_NEED_STRLEN
static int yy_flex_strlen (yyconst char * s )
{
- register int n;
+ int n;
for ( n = 0; s[n]; ++n )
;
#define YYTABLES_NAME "yytables"
-#line 500 "xbt/graphxml.l"
-
-
-
/* Element context stack lookup. */
int graphxml_element_context(int i)
{
{
int i = 0; va_list ap; va_start(ap, fmt);
vfprintf(stderr, fmt, ap);
- for (i=1; i<yy_start_stack_ptr; i++)
- fprintf(stderr, "%s/", graphxml_statenames[yy_start_stack[i] ]);
- fprintf(stderr,"%s\n", graphxml_statenames[YY_START]);
+ if (graphxml_statenames) {
+ for (i=1; i<yy_start_stack_ptr; i++) {
+ fprintf(stderr, "%s/", graphxml_statenames[yy_start_stack[i] ]);
+ }
+ fprintf(stderr,"%s\n", graphxml_statenames[YY_START]);
+ }
va_end(ap);
}
+void print_graphxml_bufferstack()
+{
+ int i;
+ fputs("Buffer: ", stderr);
+ for (i = 0; i < blimit; i++) {
+ if ( graphxml_bufferstack[i] == '\377' ) break;
+ putc(graphxml_bufferstack[i], stderr);
+ }
+ putc('\n', stderr);
+}
+
static void debug_enter(int state, const char* statename) {
yy_push_state(state);
- if (xbt_graph_parse__flex_debug) print_yy_stack("--ENTER(%s) : ",statename);
+ if (xbt_graph_parse__flex_debug) {
+ print_yy_stack("--ENTER(%s) : ",statename);
+ print_graphxml_bufferstack();
+ }
}
static void debug_leave(void) {
- if (xbt_graph_parse__flex_debug) print_yy_stack("--LEAVE : ");
+ if (xbt_graph_parse__flex_debug) {
+ print_yy_stack("--LEAVE : ");
+ print_graphxml_bufferstack();
+ }
yy_pop_state();
}
}
#endif
-enum {flexml_max_err_msg_size = 512};
-
-static char flexml_err_msg[flexml_max_err_msg_size];
-const char * graphxml_parse_err_msg()
-{
- return flexml_err_msg;
-}
-
-static void reset_graphxml_parse_err_msg()
-{
- flexml_err_msg[0] = '\0';
-}
-
-
static void cleanup(void)
{
if (graphxml_statenames) {
free(graphxml_statenames);
graphxml_statenames = NULL;
}
-}
+ free(graphxml_bufferstack);
+ graphxml_bufferstack = NULL;
+ free(indexstack);
+ indexstack = NULL;
+}
static int fail(const char* fmt, ...)
{