From 22ba4591733497be9741e3ff520c5dcd69caab0d Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Mon, 8 Feb 2016 20:17:53 +0100 Subject: [PATCH] Regenerate all flexml parsers with 1.9.6-4 Now, the tags are sorted alphabetically in the source code, so that the future diff remain small and readable (hopefully). --- include/xbt/graphxml.h | 62 +- src/simdag/dax_dtd.c | 3914 ++++++++++--------- src/simdag/dax_dtd.h | 186 +- src/simdag/sd_daxloader.cpp | 2 + src/surf/simgrid_dtd.c | 7182 +++++++++++++++++------------------ src/xbt/graphxml.c | 3286 ++++++++-------- 6 files changed, 7313 insertions(+), 7319 deletions(-) diff --git a/include/xbt/graphxml.h b/include/xbt/graphxml.h index 1f1382a7f7..7ca6d5a652 100644 --- a/include/xbt/graphxml.h +++ b/include/xbt/graphxml.h @@ -48,35 +48,35 @@ #define _FLEXML_graphxml_H /* XML application entry points. */ +XBT_PUBLIC(void) STag_graphxml_edge(void); +XBT_PUBLIC(void) ETag_graphxml_edge(void); XBT_PUBLIC(void) STag_graphxml_graph(void); XBT_PUBLIC(void) ETag_graphxml_graph(void); XBT_PUBLIC(void) STag_graphxml_node(void); XBT_PUBLIC(void) ETag_graphxml_node(void); -XBT_PUBLIC(void) STag_graphxml_edge(void); -XBT_PUBLIC(void) ETag_graphxml_edge(void); /* XML application data. */ +typedef int AT_graphxml_edge_data; +#define AU_graphxml_edge_data NULL +typedef int AT_graphxml_edge_label; +#define AU_graphxml_edge_label NULL +typedef int AT_graphxml_edge_length; +#define AU_graphxml_edge_length NULL typedef int AT_graphxml_edge_name; #define AU_graphxml_edge_name NULL -typedef int AT_graphxml_node_name; -#define AU_graphxml_node_name NULL +typedef int AT_graphxml_edge_source; +#define AU_graphxml_edge_source NULL typedef int AT_graphxml_edge_target; #define AU_graphxml_edge_target NULL -typedef int AT_graphxml_edge_data; -#define AU_graphxml_edge_data NULL +typedef enum { AU_graphxml_graph_isDirected, A_graphxml_graph_isDirected_true,A_graphxml_graph_isDirected_false } AT_graphxml_graph_isDirected; typedef int AT_graphxml_node_data; #define AU_graphxml_node_data NULL -typedef int AT_graphxml_edge_source; -#define AU_graphxml_edge_source NULL -typedef enum { AU_graphxml_graph_isDirected, A_graphxml_graph_isDirected_true,A_graphxml_graph_isDirected_false } AT_graphxml_graph_isDirected; typedef int AT_graphxml_node_label; #define AU_graphxml_node_label NULL +typedef int AT_graphxml_node_name; +#define AU_graphxml_node_name NULL typedef int AT_graphxml_node_position___x; #define AU_graphxml_node_position___x NULL -typedef int AT_graphxml_edge_label; -#define AU_graphxml_edge_label NULL -typedef int AT_graphxml_edge_length; -#define AU_graphxml_edge_length NULL typedef int AT_graphxml_node_position___y; #define AU_graphxml_node_position___y NULL @@ -84,39 +84,39 @@ typedef int AT_graphxml_node_position___y; XBT_PUBLIC_DATA(int) graphxml_pcdata_ix; XBT_PUBLIC_DATA(char *) graphxml_bufferstack; #define graphxml_pcdata (graphxml_bufferstack + graphxml_pcdata_ix) -XBT_PUBLIC_DATA(AT_graphxml_edge_name) AX_graphxml_edge_name; -#define A_graphxml_edge_name (graphxml_bufferstack + AX_graphxml_edge_name) -XBT_PUBLIC_DATA(short int) graphxml_edge_name_isset; -XBT_PUBLIC_DATA(AT_graphxml_node_name) AX_graphxml_node_name; -#define A_graphxml_node_name (graphxml_bufferstack + AX_graphxml_node_name) -XBT_PUBLIC_DATA(short int) graphxml_node_name_isset; -XBT_PUBLIC_DATA(AT_graphxml_edge_target) AX_graphxml_edge_target; -#define A_graphxml_edge_target (graphxml_bufferstack + AX_graphxml_edge_target) -XBT_PUBLIC_DATA(short int) graphxml_edge_target_isset; XBT_PUBLIC_DATA(AT_graphxml_edge_data) AX_graphxml_edge_data; #define A_graphxml_edge_data (graphxml_bufferstack + AX_graphxml_edge_data) XBT_PUBLIC_DATA(short int) graphxml_edge_data_isset; -XBT_PUBLIC_DATA(AT_graphxml_node_data) AX_graphxml_node_data; -#define A_graphxml_node_data (graphxml_bufferstack + AX_graphxml_node_data) -XBT_PUBLIC_DATA(short int) graphxml_node_data_isset; +XBT_PUBLIC_DATA(AT_graphxml_edge_label) AX_graphxml_edge_label; +#define A_graphxml_edge_label (graphxml_bufferstack + AX_graphxml_edge_label) +XBT_PUBLIC_DATA(short int) graphxml_edge_label_isset; +XBT_PUBLIC_DATA(AT_graphxml_edge_length) AX_graphxml_edge_length; +#define A_graphxml_edge_length (graphxml_bufferstack + AX_graphxml_edge_length) +XBT_PUBLIC_DATA(short int) graphxml_edge_length_isset; +XBT_PUBLIC_DATA(AT_graphxml_edge_name) AX_graphxml_edge_name; +#define A_graphxml_edge_name (graphxml_bufferstack + AX_graphxml_edge_name) +XBT_PUBLIC_DATA(short int) graphxml_edge_name_isset; XBT_PUBLIC_DATA(AT_graphxml_edge_source) AX_graphxml_edge_source; #define A_graphxml_edge_source (graphxml_bufferstack + AX_graphxml_edge_source) XBT_PUBLIC_DATA(short int) graphxml_edge_source_isset; +XBT_PUBLIC_DATA(AT_graphxml_edge_target) AX_graphxml_edge_target; +#define A_graphxml_edge_target (graphxml_bufferstack + AX_graphxml_edge_target) +XBT_PUBLIC_DATA(short int) graphxml_edge_target_isset; XBT_PUBLIC_DATA(AT_graphxml_graph_isDirected) AX_graphxml_graph_isDirected; #define A_graphxml_graph_isDirected AX_graphxml_graph_isDirected XBT_PUBLIC_DATA(short int) graphxml_graph_isDirected_isset; +XBT_PUBLIC_DATA(AT_graphxml_node_data) AX_graphxml_node_data; +#define A_graphxml_node_data (graphxml_bufferstack + AX_graphxml_node_data) +XBT_PUBLIC_DATA(short int) graphxml_node_data_isset; XBT_PUBLIC_DATA(AT_graphxml_node_label) AX_graphxml_node_label; #define A_graphxml_node_label (graphxml_bufferstack + AX_graphxml_node_label) XBT_PUBLIC_DATA(short int) graphxml_node_label_isset; +XBT_PUBLIC_DATA(AT_graphxml_node_name) AX_graphxml_node_name; +#define A_graphxml_node_name (graphxml_bufferstack + AX_graphxml_node_name) +XBT_PUBLIC_DATA(short int) graphxml_node_name_isset; XBT_PUBLIC_DATA(AT_graphxml_node_position___x) AX_graphxml_node_position___x; #define A_graphxml_node_position___x (graphxml_bufferstack + AX_graphxml_node_position___x) XBT_PUBLIC_DATA(short int) graphxml_node_position___x_isset; -XBT_PUBLIC_DATA(AT_graphxml_edge_label) AX_graphxml_edge_label; -#define A_graphxml_edge_label (graphxml_bufferstack + AX_graphxml_edge_label) -XBT_PUBLIC_DATA(short int) graphxml_edge_label_isset; -XBT_PUBLIC_DATA(AT_graphxml_edge_length) AX_graphxml_edge_length; -#define A_graphxml_edge_length (graphxml_bufferstack + AX_graphxml_edge_length) -XBT_PUBLIC_DATA(short int) graphxml_edge_length_isset; XBT_PUBLIC_DATA(AT_graphxml_node_position___y) AX_graphxml_node_position___y; #define A_graphxml_node_position___y (graphxml_bufferstack + AX_graphxml_node_position___y) XBT_PUBLIC_DATA(short int) graphxml_node_position___y_isset; diff --git a/src/simdag/dax_dtd.c b/src/simdag/dax_dtd.c index 03ad3d0710..a9f46f3d1d 100644 --- a/src/simdag/dax_dtd.c +++ b/src/simdag/dax_dtd.c @@ -52,7 +52,7 @@ #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. + * if you want the limit (max/min) macros for int types. */ #ifndef __STDC_LIMIT_MACROS #define __STDC_LIMIT_MACROS 1 @@ -69,7 +69,7 @@ typedef uint32_t flex_uint32_t; typedef signed char flex_int8_t; typedef short int flex_int16_t; typedef int flex_int32_t; -typedef unsigned char flex_uint8_t; +typedef unsigned char flex_uint8_t; typedef unsigned short int flex_uint16_t; typedef unsigned int flex_uint32_t; @@ -111,15 +111,15 @@ typedef unsigned int flex_uint32_t; /* The "const" storage-class-modifier is valid. */ #define YY_USE_CONST -#else /* ! __cplusplus */ +#else /* ! __cplusplus */ /* C99 requires __STDC__ to be defined as 1. */ #if defined (__STDC__) #define YY_USE_CONST -#endif /* defined (__STDC__) */ -#endif /* ! __cplusplus */ +#endif /* defined (__STDC__) */ +#endif /* ! __cplusplus */ #ifdef YY_USE_CONST #define yyconst const @@ -195,7 +195,7 @@ extern FILE *dax_in, *dax_out; /* Note: We specifically omit the test for yy_rule_can_match_eol because it requires * access to the local variable yy_act. Since yyless() is a macro, it would break - * existing scanners that call yyless() from OUTSIDE dax_lex. + * existing scanners that call yyless() from OUTSIDE dax_lex. * One obvious solution it to make yy_act a global. I tried that, and saw * a 5% performance hit in a non-dax_lineno scanner, because yy_act is * normally declared as a register variable-- so it is not worth it. @@ -214,86 +214,86 @@ extern FILE *dax_in, *dax_out; if ( *p == '\n' )\ --dax_lineno;\ }while(0) - + /* Return all but the first "n" matched characters back to the input stream. */ #define yyless(n) \ - do \ - { \ - /* Undo effects of setting up dax_text. */ \ + do \ + { \ + /* Undo effects of setting up dax_text. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ - *yy_cp = (yy_hold_char); \ - YY_RESTORE_YY_MORE_OFFSET \ - (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ - YY_DO_BEFORE_ACTION; /* set up dax_text again */ \ - } \ - while ( 0 ) + *yy_cp = (yy_hold_char); \ + YY_RESTORE_YY_MORE_OFFSET \ + (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ + YY_DO_BEFORE_ACTION; /* set up dax_text again */ \ + } \ + while ( 0 ) #define unput(c) yyunput( c, (yytext_ptr) ) #ifndef YY_STRUCT_YY_BUFFER_STATE #define YY_STRUCT_YY_BUFFER_STATE struct yy_buffer_state - { - FILE *yy_input_file; - - char *yy_ch_buf; /* input buffer */ - char *yy_buf_pos; /* current position in input buffer */ - - /* Size of input buffer in bytes, not including room for EOB - * characters. - */ - yy_size_t yy_buf_size; - - /* Number of characters read into yy_ch_buf, not including EOB - * characters. - */ - 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 - * delete it. - */ - int yy_is_our_buffer; - - /* Whether this is an "interactive" input source; if so, and - * if we're using stdio for input, then we want to use getc() - * instead of fread(), to make sure we stop fetching input after - * each newline. - */ - int yy_is_interactive; - - /* Whether we're considered to be at the beginning of a line. - * If so, '^' rules will be active on the next match, otherwise - * not. - */ - int yy_at_bol; + { + FILE *yy_input_file; + + char *yy_ch_buf; /* input buffer */ + char *yy_buf_pos; /* current position in input buffer */ + + /* Size of input buffer in bytes, not including room for EOB + * characters. + */ + yy_size_t yy_buf_size; + + /* Number of characters read into yy_ch_buf, not including EOB + * characters. + */ + 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 + * delete it. + */ + int yy_is_our_buffer; + + /* Whether this is an "interactive" input source; if so, and + * if we're using stdio for input, then we want to use getc() + * instead of fread(), to make sure we stop fetching input after + * each newline. + */ + int yy_is_interactive; + + /* Whether we're considered to be at the beginning of a line. + * If so, '^' rules will be active on the next match, otherwise + * not. + */ + int yy_at_bol; int yy_bs_lineno; /**< The line count. */ int yy_bs_column; /**< The column count. */ + + /* Whether to try to fill the input buffer when we reach the + * end of it. + */ + int yy_fill_buffer; - /* Whether to try to fill the input buffer when we reach the - * end of it. - */ - int yy_fill_buffer; - - int yy_buffer_status; + int yy_buffer_status; #define YY_BUFFER_NEW 0 #define YY_BUFFER_NORMAL 1 - /* When an EOF's been seen but there's still some text to process - * then we mark the buffer as YY_EOF_PENDING, to indicate that we - * shouldn't try reading from the input source any more. We might - * still have a bunch of tokens to match, though, because of - * possible backing-up. - * - * When we actually see the EOF, we change the status to "new" - * (via dax_restart()), so that the user can continue scanning by - * just pointing dax_in at a new input file. - */ + /* When an EOF's been seen but there's still some text to process + * then we mark the buffer as YY_EOF_PENDING, to indicate that we + * shouldn't try reading from the input source any more. We might + * still have a bunch of tokens to match, though, because of + * possible backing-up. + * + * When we actually see the EOF, we change the status to "new" + * (via dax_restart()), so that the user can continue scanning by + * just pointing dax_in at a new input file. + */ #define YY_BUFFER_EOF_PENDING 2 - }; + }; #endif /* !YY_STRUCT_YY_BUFFER_STATE */ /* Stack of input buffers. */ @@ -318,13 +318,13 @@ static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ /* yy_hold_char holds the character lost when dax_text is formed. */ static char yy_hold_char; -static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */ +static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */ yy_size_t dax_leng; /* Points to current character in buffer. */ static char *yy_c_buf_p = (char *) 0; -static int yy_init = 0; /* whether we need to initialize */ -static int yy_start = 0; /* start state number */ +static int yy_init = 0; /* whether we need to initialize */ +static int yy_start = 0; /* start state number */ /* Flag which is used to allow dax_wrap()'s to do buffer switches * instead of setting up a fresh dax_in. A bit of a hack ... @@ -356,24 +356,24 @@ void dax_free (void * ); #define yy_new_buffer dax__create_buffer #define yy_set_interactive(is_interactive) \ - { \ - if ( ! YY_CURRENT_BUFFER ){ \ + { \ + if ( ! YY_CURRENT_BUFFER ){ \ dax_ensure_buffer_stack (); \ - YY_CURRENT_BUFFER_LVALUE = \ + YY_CURRENT_BUFFER_LVALUE = \ dax__create_buffer(dax_in,YY_BUF_SIZE ); \ - } \ - YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ - } + } \ + YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ + } #define yy_set_bol(at_bol) \ - { \ - if ( ! YY_CURRENT_BUFFER ){\ + { \ + if ( ! YY_CURRENT_BUFFER ){\ dax_ensure_buffer_stack (); \ - YY_CURRENT_BUFFER_LVALUE = \ + YY_CURRENT_BUFFER_LVALUE = \ dax__create_buffer(dax_in,YY_BUF_SIZE ); \ - } \ - YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ - } + } \ + YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ + } #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) @@ -404,21 +404,21 @@ static void yy_fatal_error (yyconst char msg[] ); * corresponding action - sets up dax_text. */ #define YY_DO_BEFORE_ACTION \ - (yytext_ptr) = yy_bp; \ - dax_leng = (size_t) (yy_cp - yy_bp); \ - (yy_hold_char) = *yy_cp; \ - *yy_cp = '\0'; \ - (yy_c_buf_p) = yy_cp; + (yytext_ptr) = yy_bp; \ + dax_leng = (size_t) (yy_cp - yy_bp); \ + (yy_hold_char) = *yy_cp; \ + *yy_cp = '\0'; \ + (yy_c_buf_p) = yy_cp; #define YY_NUM_RULES 140 #define YY_END_OF_BUFFER 141 /* 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; - }; + { + flex_int32_t yy_verify; + flex_int32_t yy_nxt; + }; static yyconst flex_int16_t yy_accept[775] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -433,77 +433,77 @@ static yyconst flex_int16_t yy_accept[775] = 127, 128, 138, 139, 40, 10, 40, 40, 40, 38, 40, 40, 40, 40, 40, 40, 40, 44, 10, 44, - 44, 139, 139, 44, 61, 10, 61, 61, 61, 59, - 61, 61, 61, 61, 61, 65, 10, 65, 139, 65, - 92, 10, 92, 92, 92, 90, 92, 92, 92, 92, - 92, 92, 96, 10, 96, 103, 10, 103, 103, 103, - 101, 103, 107, 10, 107, 139, 107, 114, 10, 114, - 114, 114, 112, 114, 118, 10, 118, 136, 135, 10, + 44, 139, 139, 44, 51, 10, 51, 51, 51, 49, + 51, 55, 10, 55, 139, 55, 72, 10, 72, 72, + 72, 70, 72, 72, 72, 72, 72, 76, 10, 76, + 139, 76, 83, 10, 83, 83, 83, 81, 83, 87, + 10, 87, 114, 10, 114, 114, 114, 112, 114, 114, + 114, 114, 114, 114, 118, 10, 118, 136, 135, 10, 0, 2, 2, 0, 4, 7, 130, 129, 0, 0, 0, 0, 0, 0, 0, 39, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 0, 0, 0, 0, - 0, 0, 0, 0, 60, 62, 62, 62, 62, 62, - 62, 0, 0, 91, 93, 93, 93, 93, 93, 93, - 93, 93, 0, 102, 104, 104, 0, 0, 113, 115, + 0, 0, 0, 0, 50, 52, 52, 0, 0, 71, + 73, 73, 73, 73, 73, 73, 0, 0, 82, 84, + 84, 0, 113, 115, 115, 115, 115, 115, 115, 115, 115, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 137, 0, 41, 41, 41, 41, 41, 41, 41, 41, 41, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 62, 62, - 62, 62, 0, 0, 0, 93, 93, 93, 93, 93, - 93, 93, 0, 0, 104, 0, 0, 0, 115, 0, + 0, 0, 0, 0, 0, 0, 52, 0, 0, 0, + 0, 0, 73, 73, 73, 73, 0, 0, 0, 84, + 0, 0, 115, 115, 115, 115, 115, 115, 115, 0, 0, 0, 132, 0, 14, 1, 0, 0, 125, 0, 0, 0, 122, 121, 0, 0, 41, 41, 41, 41, 41, 41, 41, 41, 41, 0, 0, 43, 0, 0, - 0, 46, 0, 0, 45, 0, 0, 48, 47, 62, - 62, 62, 62, 0, 0, 64, 0, 0, 93, 93, - 93, 93, 93, 93, 93, 0, 0, 95, 0, 0, - 0, 0, 0, 106, 0, 0, 0, 0, 0, 0, + 0, 57, 0, 0, 56, 0, 0, 0, 0, 0, + 54, 0, 0, 0, 59, 58, 73, 73, 73, 73, + 0, 0, 75, 0, 0, 0, 0, 0, 0, 86, + 0, 115, 115, 115, 115, 115, 115, 115, 0, 0, 117, 0, 0, 0, 0, 126, 120, 0, 0, 17, 41, 41, 41, 41, 41, 0, 0, 41, 41, 41, - 0, 16, 0, 46, 0, 66, 45, 0, 62, 0, - 0, 62, 62, 62, 0, 67, 0, 0, 0, 0, + 0, 16, 0, 57, 0, 88, 56, 0, 0, 48, + 47, 0, 0, 73, 0, 0, 73, 73, 73, 0, - 93, 93, 0, 0, 93, 0, 0, 0, 0, 100, - 99, 0, 0, 0, 111, 110, 0, 0, 0, 0, + 89, 0, 80, 79, 0, 0, 0, 0, 0, 115, + 115, 0, 0, 115, 0, 0, 0, 0, 0, 0, 0, 12, 0, 123, 124, 17, 41, 0, 0, 41, - 0, 0, 41, 0, 31, 30, 41, 0, 41, 0, - 41, 0, 16, 98, 0, 66, 97, 0, 0, 0, - 52, 51, 62, 62, 62, 0, 63, 67, 0, 69, - 68, 0, 0, 0, 93, 93, 0, 89, 88, 93, - 0, 87, 86, 0, 0, 0, 0, 0, 0, 0, - 0, 11, 41, 0, 27, 26, 41, 0, 29, 28, - 41, 41, 41, 0, 19, 18, 41, 0, 42, 98, - - 108, 97, 0, 58, 57, 62, 62, 62, 0, 0, - 0, 0, 93, 93, 93, 0, 94, 0, 109, 0, + 0, 0, 41, 0, 29, 28, 41, 0, 41, 0, + 41, 0, 16, 46, 0, 88, 45, 0, 0, 0, + 0, 0, 63, 62, 73, 73, 73, 0, 74, 89, + 0, 0, 91, 90, 0, 0, 0, 115, 115, 0, + 105, 104, 115, 0, 111, 110, 0, 0, 0, 0, + 0, 11, 41, 0, 21, 20, 41, 0, 25, 24, + 41, 41, 41, 0, 33, 32, 41, 0, 42, 46, + + 77, 45, 0, 78, 0, 61, 60, 73, 73, 73, + 0, 0, 0, 0, 0, 115, 115, 115, 0, 116, 0, 0, 0, 0, 41, 41, 41, 0, 0, 41, - 41, 108, 62, 0, 0, 0, 0, 0, 0, 0, - 0, 93, 93, 93, 0, 105, 109, 0, 0, 0, - 0, 0, 41, 41, 0, 0, 0, 25, 24, 41, - 41, 62, 0, 56, 55, 0, 54, 53, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 116, - 131, 0, 0, 0, 41, 0, 0, 0, 33, 32, + 41, 77, 0, 53, 78, 73, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 115, 115, 115, 0, 0, + 0, 0, 41, 41, 0, 0, 0, 31, 30, 41, + 41, 73, 0, 67, 66, 0, 69, 68, 0, 85, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 131, 0, 0, 0, 41, 0, 0, 0, 27, 26, 0, 0, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 35, 34, 0, 21, 20, 41, - 0, 50, 49, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 23, 22, 0, 35, 34, 41, + 0, 65, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 37, 36, 41, 71, 0, 70, 0, + 0, 0, 0, 19, 18, 41, 93, 0, 92, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 41, 73, 72, 0, 0, + 0, 0, 0, 0, 0, 41, 95, 94, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 41, 0, 85, 0, 84, 0, 77, - 0, 76, 0, 81, 0, 80, 0, 0, 0, 0, - 0, 0, 41, 83, 82, 75, 74, 79, 78, 0, + 0, 0, 0, 41, 0, 99, 0, 98, 0, 103, + 0, 102, 0, 109, 0, 108, 0, 0, 0, 0, + 0, 0, 41, 97, 96, 101, 100, 107, 106, 0, 0, 0, 12, 0, 12, 0, 41, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 11, 0, - 23, 22, 0, 0, 0, 0, 0, 0, 0, 0, + 37, 36, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0 } ; @@ -555,93 +555,93 @@ static yyconst flex_int16_t yy_base[814] = 0, 0, 0, 3, 6, 9, 24, 27, 11, 14, 15, 17, 29, 38, 45, 52, 59, 61, 67, 70, 95, 0, 73, 76, 153, 156, 159, 162, 177, 180, - 183, 186, 201, 204, 207, 210, 226, 0, 284, 287, - 290, 293, 308, 311, 314, 317, 333, 0, 391, 394, - 410, 462, 429, 432, 435, 438, 481, 484, 487, 490, - 514, 566, 533, 536, 585, 587, 1886, 2164, 2164, 397, - 400, 47, 62, 2164, 453, 172, 2164, 2164, 1875, 2164, - 2164, 1865, 2164, 1866, 1863, 551, 2164, 2164, 2164, 2164, - 1861, 1861, 1829, 441, 2164, 505, 1844, 0, 196, 2164, - - 8, 1818, 1812, 1810, 1823, 1813, 35, 2164, 508, 593, - 601, 589, 622, 630, 2164, 539, 1833, 0, 303, 2164, - 1811, 1809, 1793, 1772, 1786, 2164, 542, 649, 657, 676, - 2164, 551, 1798, 0, 442, 2164, 1772, 1770, 1750, 1760, - 1751, 32, 2164, 557, 545, 2164, 607, 1775, 0, 494, - 2164, 1752, 2164, 612, 684, 703, 711, 2164, 667, 1764, - 0, 546, 2164, 1722, 2164, 733, 641, 1752, 1721, 739, - 594, 1690, 2164, 1735, 1723, 2164, 2164, 2164, 2, 44, - 1685, 1684, 1675, 1711, 1689, 2164, 0, 1678, 1663, 1670, - 1677, 1676, 1664, 1658, 1650, 1652, 1658, 1650, 1645, 1636, - - 1645, 1626, 1628, 1630, 2164, 0, 747, 1615, 1618, 1615, - 1610, 1616, 1599, 2164, 0, 1605, 1601, 1590, 1602, 1582, - 1601, 1585, 1578, 2164, 0, 1588, 1590, 1590, 2164, 0, - 1584, 1572, 1584, 1594, 1593, 1599, 431, 1554, 2164, 72, - 0, 1549, 1549, 1581, 1576, 1541, 2164, 1553, 1540, 1535, - 1533, 1528, 1544, 1525, 1503, 1507, 1539, 765, 768, 1517, - 1507, 1509, 1488, 1500, 1501, 1486, 771, 775, 1489, 1487, - 1467, 1467, 787, 790, 1479, 1477, 1470, 1470, 1459, 1462, - 1445, 1429, 793, 796, 799, 815, 818, 1415, 821, 824, - 827, 1443, 2164, 1446, 2164, 2164, 17, 1400, 2164, 1428, - - 1426, 1384, 2164, 2164, 1381, 1389, 1391, 1373, 1394, 1358, - 1364, 844, 1368, 1357, 1344, 848, 851, 2164, 854, 1355, - 1344, 861, 1350, 1318, 871, 1324, 874, 2164, 2164, 1322, - 882, 1317, 1316, 888, 891, 2164, 894, 1301, 898, 901, - 1304, 1295, 917, 1290, 920, 923, 929, 2164, 936, 940, - 946, 956, 959, 2164, 962, 1301, 965, 981, 968, 989, - 2164, 992, 1309, 616, 995, 2164, 2164, 1316, 1314, 998, - 1302, 1013, 1274, 1016, 1266, 1019, 1022, 1269, 1035, 1279, - 1038, 1043, 1274, 1051, 1253, 1055, 1058, 1262, 1061, 1064, - 1067, 1248, 1246, 1243, 1080, 1083, 1086, 1090, 1098, 1102, - - 1242, 1231, 1110, 1114, 1244, 1122, 1126, 1134, 1138, 2164, - 2164, 1146, 1234, 1151, 2164, 2164, 1159, 1257, 632, 1258, - 1163, 2164, 1256, 2164, 2164, 1166, 1224, 1169, 1176, 1216, - 1172, 1191, 1212, 1201, 2164, 2164, 1211, 1209, 1196, 1212, - 1209, 1220, 1225, 1228, 1196, 1231, 1237, 1240, 1243, 1252, - 2164, 2164, 1213, 1198, 1188, 1260, 2164, 1263, 1266, 2164, - 2164, 1277, 124, 125, 1190, 1181, 1285, 2164, 2164, 1178, - 1293, 2164, 2164, 1301, 1304, 1155, 1307, 1177, 578, 152, - 5, 2164, 1151, 1311, 2164, 2164, 1153, 1324, 2164, 2164, - 1145, 1332, 1143, 1335, 2164, 2164, 1152, 1343, 2164, 1348, - - 1354, 1360, 1363, 2164, 2164, 1153, 1371, 1374, 1140, 1129, - 1135, 1104, 1112, 1104, 1099, 1377, 2164, 1380, 1383, 1390, - 1126, 174, 158, 280, 1097, 1089, 1397, 1400, 1403, 1091, - 1086, 1416, 1092, 1419, 1422, 1430, 1436, 1072, 1067, 1069, - 1056, 1446, 1449, 1452, 1455, 2164, 1458, 1468, 1076, 1472, - 176, 510, 1053, 1475, 1478, 1485, 1494, 2164, 2164, 1502, - 1062, 1505, 1508, 2164, 2164, 1521, 2164, 2164, 1040, 1041, - 1025, 1027, 1529, 1532, 1540, 1545, 1556, 1559, 1481, 2164, - 2164, 1567, 287, 179, 1572, 1575, 1578, 1591, 2164, 2164, - 1601, 1604, 1049, 1612, 1617, 1020, 1017, 997, 995, 1628, - - 633, 643, 1636, 651, 660, 1644, 670, 675, 412, 283, - 538, 1652, 1655, 1664, 2164, 2164, 1672, 2164, 2164, 999, - 1680, 2164, 2164, 1037, 981, 1025, 978, 994, 975, 977, - 959, 974, 956, 971, 952, 968, 937, 953, 929, 605, - 281, 434, 1688, 2164, 2164, 942, 2164, 972, 2164, 967, - 927, 901, 907, 896, 900, 890, 890, 874, 882, 859, - 867, 856, 611, 614, 1696, 875, 2164, 2164, 855, 820, - 760, 773, 757, 770, 732, 713, 674, 686, 664, 670, - 1699, 1702, 1705, 1722, 652, 659, 673, 619, 616, 541, - 556, 495, 496, 463, 495, 419, 444, 1730, 1733, 1740, - - 1750, 1768, 1802, 381, 403, 2164, 399, 2164, 400, 2164, - 396, 2164, 325, 2164, 319, 2164, 700, 1820, 657, 613, - 1838, 1872, 274, 2164, 2164, 2164, 2164, 2164, 2164, 660, - 727, 200, 301, 745, 295, 1760, 254, 726, 218, 202, - 207, 1794, 1865, 480, 153, 1890, 1786, 738, 2164, 1828, - 2164, 2164, 1763, 1893, 664, 742, 741, 769, 814, 822, - 823, 826, 744, 797, 789, 863, 849, 850, 864, 898, - 1906, 1910, 2164, 2164, 1928, 1935, 1942, 1949, 1956, 1963, - 1970, 1977, 1984, 1991, 1998, 2005, 2012, 2019, 2024, 2029, - 2034, 2039, 2044, 2051, 2054, 2057, 2060, 2063, 2066, 2073, - - 2077, 2083, 2089, 2095, 2101, 2107, 2114, 2121, 2128, 2135, - 2142, 2149, 2156 + 183, 186, 201, 204, 207, 210, 226, 278, 245, 248, + 251, 254, 297, 300, 303, 306, 330, 0, 388, 391, + 394, 397, 412, 415, 418, 421, 437, 489, 456, 459, + 541, 0, 462, 465, 598, 600, 2053, 2135, 2135, 269, + 272, 47, 62, 2135, 321, 172, 2135, 2135, 2033, 2135, + 2135, 2022, 2135, 2033, 2031, 475, 2135, 2135, 2135, 2135, + 2027, 2025, 1987, 468, 2135, 324, 1998, 0, 196, 2135, + + 8, 1968, 1958, 1952, 1863, 1858, 35, 2135, 481, 600, + 608, 604, 612, 641, 2135, 509, 1878, 0, 258, 2135, + 1855, 2135, 515, 660, 663, 682, 2135, 525, 1875, 0, + 310, 2135, 1854, 1852, 1855, 1834, 1849, 2135, 528, 704, + 701, 723, 2135, 531, 1869, 0, 407, 2135, 1847, 2135, + 534, 606, 2135, 626, 1857, 0, 469, 2135, 1831, 1829, + 1821, 1830, 1814, 32, 2135, 667, 621, 1851, 1820, 671, + 628, 1784, 2135, 1827, 1818, 2135, 2135, 2135, 2, 44, + 1781, 1780, 1778, 1814, 1793, 2135, 0, 1787, 1774, 1777, + 1784, 1784, 1772, 1747, 1752, 1753, 1752, 1748, 1742, 1722, + + 1735, 1712, 1715, 1720, 2135, 0, 1713, 1695, 1693, 2135, + 0, 686, 1670, 1671, 1668, 1660, 1666, 1656, 2135, 0, + 1661, 1650, 2135, 0, 1652, 1644, 1635, 1646, 1627, 1648, + 1632, 1626, 1634, 1648, 1646, 1649, 458, 1611, 2135, 72, + 0, 1606, 1602, 1635, 1633, 1594, 2135, 1607, 1590, 1586, + 1594, 1592, 1601, 1583, 1567, 1567, 1600, 759, 762, 1577, + 1564, 1570, 1547, 1559, 1560, 1544, 727, 766, 772, 1534, + 779, 783, 1545, 1536, 1520, 1519, 791, 795, 1528, 799, + 802, 808, 1527, 1517, 1517, 1513, 1506, 1496, 1503, 815, + 819, 1519, 2135, 1521, 2135, 2135, 17, 1488, 2135, 1514, + + 1513, 1473, 2135, 2135, 1464, 1475, 1477, 1459, 1490, 1453, + 1450, 825, 1455, 1443, 1438, 828, 832, 2135, 836, 1449, + 1442, 845, 1447, 1432, 849, 1437, 853, 856, 864, 871, + 2135, 874, 1433, 877, 2135, 2135, 1425, 891, 1426, 1421, + 894, 897, 2135, 900, 1410, 903, 907, 919, 922, 2135, + 925, 928, 931, 1411, 1406, 947, 1404, 950, 953, 956, + 2135, 966, 1422, 646, 976, 2135, 2135, 1429, 1427, 959, + 1419, 979, 1386, 983, 1379, 986, 995, 1374, 1004, 1381, + 1007, 989, 1379, 1010, 1367, 1013, 1020, 1369, 1024, 2135, + 2135, 1032, 1357, 1035, 1038, 1054, 1352, 1353, 1347, 1041, + + 1062, 1065, 2135, 2135, 1073, 1077, 1080, 1093, 1096, 1333, + 1325, 1104, 1111, 1334, 1120, 1123, 1131, 1352, 507, 1353, + 1136, 2135, 1347, 2135, 2135, 1139, 1315, 1142, 1149, 1291, + 1159, 1162, 1297, 1176, 2135, 2135, 1295, 1170, 1285, 1187, + 1298, 1195, 1198, 1201, 1275, 1204, 1207, 1212, 1274, 1215, + 1218, 1231, 2135, 2135, 1282, 1273, 1263, 1239, 2135, 1242, + 1245, 1249, 2135, 2135, 1258, 124, 125, 1274, 1262, 1266, + 2135, 2135, 1259, 1274, 2135, 2135, 1282, 1261, 491, 152, + 5, 2135, 1235, 1285, 2135, 2135, 1234, 1293, 2135, 2135, + 1227, 1301, 1226, 1304, 2135, 2135, 1235, 1312, 2135, 1317, + + 1320, 1323, 1329, 1332, 1335, 2135, 2135, 1236, 1346, 1349, + 1352, 1223, 1211, 1217, 1204, 1210, 1202, 1187, 1355, 2135, + 1218, 174, 158, 384, 1188, 1177, 1358, 1365, 1374, 1186, + 1181, 1382, 1385, 2135, 1388, 1187, 1391, 1395, 1407, 1410, + 1418, 1175, 1169, 1162, 1141, 1423, 1426, 1429, 1161, 1435, + 176, 461, 1134, 1445, 1448, 1452, 1464, 2135, 2135, 1472, + 1151, 1475, 1478, 2135, 2135, 1491, 2135, 2135, 1499, 2135, + 1128, 1131, 1122, 1120, 1502, 1505, 1518, 1521, 1529, 1534, + 2135, 1545, 228, 179, 1548, 1551, 1555, 1567, 2135, 2135, + 1575, 1579, 1143, 1587, 1591, 1113, 1105, 1103, 1101, 1599, + + 567, 570, 1607, 582, 626, 1615, 668, 671, 280, 222, + 643, 1623, 1626, 1635, 2135, 2135, 1643, 2135, 2135, 1101, + 1651, 2135, 2135, 1142, 1093, 1127, 1077, 1095, 1076, 1084, + 1066, 1081, 1059, 1074, 1052, 1068, 1049, 1058, 1040, 715, + 244, 385, 1659, 2135, 2135, 1053, 2135, 1082, 2135, 1078, + 1026, 1015, 1016, 1006, 1008, 992, 1000, 974, 973, 921, + 929, 918, 388, 391, 1667, 937, 2135, 2135, 912, 907, + 889, 902, 861, 851, 835, 848, 832, 830, 792, 776, + 1670, 1673, 1676, 1693, 753, 714, 746, 695, 712, 666, + 678, 644, 648, 603, 609, 501, 471, 1701, 1704, 1711, + + 1721, 1739, 1773, 408, 429, 2135, 421, 2135, 421, 2135, + 402, 2135, 402, 2135, 396, 2135, 725, 1791, 675, 506, + 1809, 1843, 272, 2135, 2135, 2135, 2135, 2135, 2135, 684, + 706, 200, 311, 731, 260, 1731, 220, 668, 218, 202, + 207, 1765, 1836, 296, 153, 1861, 1757, 728, 2135, 1799, + 2135, 2135, 1734, 1864, 439, 709, 753, 773, 806, 807, + 761, 873, 823, 901, 948, 1031, 1013, 1035, 1014, 929, + 1877, 1881, 2135, 2135, 1899, 1906, 1913, 1920, 1927, 1934, + 1941, 1948, 1955, 1962, 1969, 1976, 1983, 1990, 1995, 2000, + 2005, 2010, 2015, 2022, 2025, 2028, 2031, 2034, 2037, 2044, + + 2048, 2054, 2060, 2066, 2072, 2078, 2085, 2092, 2099, 2106, + 2113, 2120, 2127 } ; static yyconst flex_int16_t yy_def[814] = @@ -649,65 +649,65 @@ static yyconst flex_int16_t yy_def[814] = 775, 775, 776, 776, 776, 776, 777, 777, 778, 778, 779, 779, 780, 780, 780, 780, 781, 781, 775, 775, 774, 21, 782, 782, 782, 782, 775, 775, 782, 782, - 775, 775, 782, 782, 782, 782, 774, 37, 783, 783, - 775, 775, 783, 783, 783, 783, 774, 47, 784, 784, - 785, 785, 786, 786, 775, 775, 786, 786, 786, 786, - 787, 787, 788, 788, 780, 780, 774, 774, 774, 774, + 775, 775, 782, 782, 782, 782, 783, 783, 784, 784, + 775, 775, 784, 784, 784, 784, 774, 47, 785, 785, + 775, 775, 785, 785, 785, 785, 786, 786, 787, 787, + 774, 61, 788, 788, 780, 780, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 789, 774, 774, 789, 789, 789, 789, 789, 789, 789, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 790, 774, 774, - 790, 790, 790, 790, 790, 774, 774, 774, 774, 774, - 774, 774, 774, 791, 774, 774, 791, 791, 791, 791, - 791, 791, 774, 774, 774, 774, 774, 774, 792, 774, - 774, 792, 774, 774, 774, 774, 774, 774, 774, 774, - 793, 774, 774, 793, 774, 774, 774, 774, 774, 774, + 790, 774, 774, 774, 774, 774, 774, 774, 774, 791, + 774, 774, 791, 791, 791, 791, 791, 774, 774, 774, + 774, 774, 774, 774, 774, 792, 774, 774, 792, 774, + 774, 774, 774, 774, 774, 793, 774, 774, 793, 793, + 793, 793, 793, 793, 774, 774, 774, 774, 774, 774, 794, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, 795, 774, 774, 774, - 774, 774, 774, 774, 774, 790, 790, 790, 790, 790, - 790, 796, 774, 774, 791, 791, 791, 791, 791, 791, - 791, 791, 797, 774, 792, 792, 798, 774, 774, 793, + 774, 774, 774, 774, 774, 790, 790, 796, 774, 774, + 791, 791, 791, 791, 791, 791, 797, 774, 774, 792, + 792, 798, 774, 793, 793, 793, 793, 793, 793, 793, 793, 799, 774, 774, 800, 774, 800, 774, 774, 774, 801, 774, 774, 774, 774, 774, 774, 774, 789, 789, 789, 789, 789, 789, 789, 789, 789, 802, 802, 774, - 774, 774, 774, 774, 774, 774, 774, 774, 790, 790, - 790, 790, 803, 803, 774, 791, 791, 791, 791, 791, - 791, 791, 804, 804, 792, 805, 805, 774, 793, 806, + 774, 774, 774, 774, 774, 774, 790, 803, 803, 774, + 774, 774, 791, 791, 791, 791, 804, 804, 774, 792, + 805, 805, 793, 793, 793, 793, 793, 793, 793, 806, 806, 774, 774, 800, 774, 774, 800, 774, 774, 801, 774, 774, 774, 774, 774, 774, 789, 789, 789, 789, 789, 789, 789, 789, 789, 774, 802, 774, 802, 774, - 774, 774, 774, 774, 774, 774, 774, 774, 774, 790, - 790, 790, 790, 774, 803, 774, 803, 774, 791, 791, - 791, 791, 791, 791, 791, 774, 804, 774, 804, 774, - 774, 774, 805, 774, 805, 774, 774, 774, 774, 806, + 774, 774, 774, 774, 774, 774, 774, 774, 774, 803, + 774, 803, 774, 774, 774, 774, 791, 791, 791, 791, + 774, 804, 774, 804, 774, 774, 774, 774, 805, 774, + 805, 793, 793, 793, 793, 793, 793, 793, 774, 806, 774, 806, 774, 800, 807, 774, 774, 774, 774, 774, 789, 789, 789, 789, 789, 774, 774, 789, 789, 789, - 802, 774, 774, 774, 774, 774, 774, 774, 790, 774, - 774, 790, 790, 790, 803, 774, 774, 774, 774, 774, + 802, 774, 774, 774, 774, 774, 774, 774, 774, 774, + 774, 803, 774, 791, 774, 774, 791, 791, 791, 804, - 791, 791, 774, 774, 791, 774, 774, 804, 774, 774, - 774, 805, 774, 774, 774, 774, 806, 774, 800, 807, + 774, 774, 774, 774, 805, 774, 774, 774, 774, 793, + 793, 774, 774, 793, 774, 774, 806, 774, 800, 807, 807, 774, 807, 774, 774, 774, 789, 774, 774, 789, 774, 774, 789, 774, 774, 774, 789, 774, 789, 774, - 789, 802, 774, 774, 774, 774, 774, 774, 774, 774, - 774, 774, 790, 790, 790, 774, 774, 774, 774, 774, - 774, 774, 774, 774, 791, 791, 774, 774, 774, 791, - 774, 774, 774, 804, 805, 774, 806, 774, 800, 807, + 789, 802, 774, 774, 774, 774, 774, 803, 774, 774, + 774, 774, 774, 774, 791, 791, 791, 774, 774, 774, + 805, 774, 774, 774, 774, 774, 774, 793, 793, 774, + 774, 774, 793, 774, 774, 774, 806, 774, 800, 807, 807, 774, 789, 774, 774, 774, 789, 774, 774, 774, 789, 789, 789, 774, 774, 774, 789, 774, 774, 774, - 774, 774, 774, 774, 774, 790, 790, 790, 774, 774, - 774, 774, 791, 791, 791, 774, 774, 805, 774, 806, + 774, 774, 803, 774, 774, 774, 774, 791, 791, 791, + 805, 774, 774, 774, 774, 793, 793, 793, 774, 774, 774, 800, 807, 807, 789, 789, 789, 774, 774, 789, - 789, 774, 790, 774, 774, 774, 774, 774, 774, 774, - 774, 791, 791, 791, 774, 774, 774, 806, 774, 800, + 789, 774, 774, 774, 774, 791, 774, 774, 774, 774, + 805, 774, 774, 774, 774, 793, 793, 793, 774, 800, 807, 807, 789, 789, 774, 774, 774, 774, 774, 789, - 789, 790, 774, 774, 774, 774, 774, 774, 774, 774, + 789, 791, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 800, 807, 807, 789, 774, 774, 774, 774, 774, 774, 774, 789, 774, 774, 774, 774, 774, 774, 774, @@ -738,7 +738,7 @@ static yyconst flex_int16_t yy_def[814] = 774, 774, 774 } ; -static yyconst flex_int16_t yy_nxt[2224] = +static yyconst flex_int16_t yy_nxt[2195] = { 0, 774, 70, 71, 70, 70, 71, 70, 70, 71, 70, 70, 71, 70, 78, 240, 72, 78, 81, 72, 81, @@ -748,7 +748,7 @@ static yyconst flex_int16_t yy_nxt[2224] = 89, 171, 86, 88, 84, 85, 189, 89, 241, 86, 88, 91, 92, 91, 92, 172, 171, 88, 71, 71, 71, 71, 71, 71, 109, 71, 109, 109, 71, 109, - 173, 195, 94, 221, 240, 94, 299, 196, 110, 222, + 173, 195, 94, 230, 240, 94, 299, 196, 110, 231, 242, 110, 93, 243, 93, 95, 96, 71, 96, 95, 95, 95, 95, 95, 95, 95, 97, 95, 98, 95, @@ -757,237 +757,234 @@ static yyconst flex_int16_t yy_nxt[2224] = 98, 101, 98, 98, 102, 98, 98, 103, 104, 98, 98, 98, 105, 98, 98, 98, 98, 98, 98, 98, 106, 107, 98, 98, 109, 71, 109, 109, 71, 109, - 71, 71, 71, 71, 71, 71, 509, 511, 111, 422, - 749, 111, 510, 512, 112, 422, 174, 112, 109, 71, + 71, 71, 71, 71, 71, 71, 512, 514, 111, 422, + 749, 111, 513, 515, 112, 422, 174, 112, 109, 71, 109, 109, 71, 109, 71, 71, 71, 71, 71, 71, 173, 295, 110, 422, 551, 110, 422, 550, 113, 523, 174, 113, 109, 71, 109, 109, 71, 109, 109, 71, 109, 109, 71, 109, 173, 740, 111, 422, 423, 111, 745, 611, 114, 740, 583, 114, 115, 116, 71, 116, - 115, 115, 115, 115, 115, 115, 115, 117, 115, 118, - 115, 119, 115, 120, 115, 118, 118, 118, 118, 118, - 118, 118, 118, 118, 118, 118, 118, 118, 115, 115, - 118, 118, 118, 118, 118, 118, 118, 118, 121, 118, - 118, 122, 118, 123, 118, 118, 118, 124, 118, 118, - 118, 125, 118, 118, 118, 127, 71, 127, 127, 71, - 127, 71, 71, 71, 71, 71, 71, 422, 422, 128, - - 422, 743, 128, 740, 422, 129, 740, 174, 129, 127, - 71, 127, 127, 71, 127, 127, 71, 127, 127, 71, - 127, 173, 737, 128, 610, 641, 128, 729, 664, 130, - 728, 552, 130, 131, 132, 71, 132, 131, 131, 131, - 131, 131, 131, 131, 133, 131, 134, 131, 135, 131, - 136, 131, 134, 134, 134, 134, 134, 134, 134, 134, - 134, 134, 134, 134, 134, 131, 131, 134, 134, 134, - 134, 134, 137, 134, 134, 134, 134, 134, 138, 134, - 134, 139, 134, 134, 140, 141, 142, 134, 134, 134, - 134, 134, 144, 71, 144, 144, 71, 144, 170, 170, - - 170, 170, 170, 170, 727, 726, 145, 725, 724, 145, - 146, 147, 71, 147, 146, 146, 146, 146, 146, 146, - 146, 148, 146, 723, 146, 150, 146, 151, 146, 295, - 154, 71, 154, 154, 71, 154, 71, 71, 71, 71, - 71, 71, 146, 146, 155, 174, 174, 155, 295, 640, - 156, 422, 716, 156, 170, 170, 170, 715, 297, 173, - 173, 152, 146, 147, 71, 147, 146, 146, 146, 146, - 146, 146, 146, 148, 146, 185, 146, 150, 146, 151, - 146, 665, 154, 71, 154, 154, 71, 154, 154, 71, - 154, 154, 71, 154, 146, 146, 155, 295, 174, 155, - - 714, 713, 157, 748, 712, 157, 170, 170, 170, 170, - 170, 170, 173, 152, 158, 159, 71, 159, 158, 158, - 158, 158, 158, 158, 158, 160, 158, 422, 158, 162, - 158, 163, 158, 711, 166, 71, 166, 166, 71, 166, - 170, 170, 170, 170, 170, 170, 158, 158, 167, 174, - 174, 167, 170, 170, 170, 422, 223, 179, 170, 170, - 170, 710, 584, 173, 173, 164, 158, 159, 71, 159, - 158, 158, 158, 158, 158, 158, 158, 160, 158, 709, - 158, 162, 158, 163, 158, 180, 642, 84, 85, 84, - 85, 181, 86, 174, 86, 295, 182, 174, 158, 158, - - 168, 183, 168, 236, 197, 174, 522, 173, 170, 170, - 170, 173, 197, 170, 170, 170, 237, 164, 169, 173, - 169, 732, 295, 198, 708, 204, 174, 198, 295, 199, - 735, 422, 200, 295, 174, 198, 200, 199, 201, 663, - 173, 197, 201, 202, 203, 174, 419, 202, 173, 295, - 201, 681, 232, 174, 682, 202, 198, 707, 199, 173, - 212, 174, 732, 479, 198, 203, 204, 173, 170, 170, - 170, 201, 628, 203, 733, 173, 202, 295, 706, 201, - 174, 295, 630, 198, 202, 204, 629, 212, 174, 738, - 632, 198, 203, 204, 173, 227, 631, 705, 201, 634, - - 203, 757, 173, 213, 633, 704, 201, 174, 697, 636, - 198, 213, 204, 635, 638, 174, 696, 295, 198, 203, - 204, 173, 227, 637, 695, 201, 694, 203, 639, 173, - 202, 730, 732, 228, 170, 170, 170, 198, 202, 204, - 170, 170, 170, 295, 733, 198, 203, 204, 267, 267, - 267, 693, 228, 732, 203, 295, 744, 202, 295, 295, - 201, 295, 735, 268, 753, 202, 316, 316, 316, 316, - 316, 316, 267, 267, 267, 759, 327, 327, 327, 758, - 328, 765, 318, 329, 692, 318, 295, 268, 334, 334, - 334, 334, 334, 334, 346, 346, 346, 346, 346, 346, - - 350, 350, 350, 760, 336, 319, 295, 336, 691, 690, - 348, 689, 688, 348, 295, 351, 352, 352, 352, 352, - 352, 352, 357, 357, 357, 359, 359, 359, 359, 359, - 359, 295, 354, 763, 766, 354, 764, 358, 337, 295, - 295, 361, 767, 295, 361, 376, 376, 376, 349, 316, - 316, 316, 316, 316, 316, 316, 316, 316, 687, 355, - 377, 362, 384, 384, 384, 318, 295, 295, 318, 771, - 761, 318, 387, 387, 387, 327, 327, 327, 762, 328, - 295, 295, 329, 390, 390, 390, 769, 770, 381, 334, - 334, 334, 334, 334, 334, 334, 334, 334, 391, 397, - - 397, 397, 399, 399, 399, 336, 771, 686, 336, 685, - 680, 336, 679, 678, 398, 295, 768, 400, 403, 403, - 403, 406, 406, 406, 346, 346, 346, 677, 676, 395, - 346, 346, 346, 404, 392, 675, 407, 346, 346, 346, - 348, 350, 350, 350, 674, 673, 348, 409, 409, 409, - 672, 410, 671, 348, 411, 670, 351, 352, 352, 352, - 352, 352, 352, 352, 352, 352, 357, 357, 357, 359, - 359, 359, 669, 354, 408, 668, 354, 667, 666, 354, - 662, 358, 414, 414, 414, 361, 415, 661, 660, 416, - 359, 359, 359, 359, 359, 359, 421, 421, 421, 426, - - 426, 426, 659, 658, 412, 657, 361, 656, 655, 361, - 654, 653, 422, 423, 428, 428, 428, 431, 431, 431, - 376, 376, 376, 434, 434, 434, 652, 435, 651, 429, - 436, 650, 432, 649, 648, 377, 438, 438, 438, 316, - 316, 316, 647, 417, 443, 443, 443, 646, 439, 627, - 626, 440, 384, 384, 384, 318, 446, 446, 446, 387, - 387, 387, 448, 448, 448, 390, 390, 390, 450, 450, - 450, 625, 451, 624, 620, 452, 599, 449, 442, 598, - 391, 456, 456, 456, 458, 458, 458, 397, 397, 397, - 597, 459, 459, 459, 596, 460, 593, 457, 461, 399, - - 399, 399, 398, 462, 462, 462, 585, 463, 581, 572, - 464, 403, 403, 403, 400, 467, 467, 467, 571, 468, - 570, 569, 469, 406, 406, 406, 404, 471, 471, 471, - 562, 472, 561, 560, 473, 346, 346, 346, 407, 409, - 409, 409, 554, 410, 553, 549, 411, 352, 352, 352, - 544, 348, 414, 414, 414, 543, 415, 542, 541, 416, - 359, 359, 359, 354, 421, 421, 421, 426, 426, 426, - 428, 428, 428, 431, 431, 431, 361, 484, 484, 484, - 422, 485, 540, 539, 486, 429, 474, 538, 432, 533, - 531, 475, 488, 488, 488, 530, 489, 477, 527, 490, - - 526, 480, 434, 434, 434, 525, 435, 521, 519, 436, - 438, 438, 438, 494, 494, 494, 515, 495, 481, 514, - 496, 498, 498, 498, 513, 440, 443, 443, 443, 500, - 500, 500, 446, 446, 446, 508, 507, 499, 502, 502, - 502, 448, 448, 448, 503, 503, 503, 506, 504, 501, - 497, 505, 493, 450, 450, 450, 449, 451, 492, 491, - 452, 456, 456, 456, 458, 458, 458, 459, 459, 459, - 487, 460, 483, 482, 461, 422, 478, 457, 462, 462, - 462, 476, 463, 470, 466, 464, 467, 467, 467, 465, - 468, 455, 454, 469, 471, 471, 471, 453, 472, 447, - - 445, 473, 516, 516, 516, 352, 352, 352, 359, 359, - 359, 444, 484, 484, 484, 441, 485, 437, 517, 486, - 433, 354, 430, 427, 361, 488, 488, 488, 425, 489, - 424, 418, 490, 528, 528, 528, 494, 494, 494, 413, - 495, 518, 405, 496, 498, 498, 498, 402, 529, 500, - 500, 500, 401, 396, 520, 532, 532, 532, 394, 393, - 499, 502, 502, 502, 503, 503, 503, 389, 504, 388, - 386, 505, 534, 534, 534, 536, 536, 536, 516, 516, - 516, 545, 545, 545, 547, 547, 547, 535, 385, 383, - 537, 359, 359, 359, 517, 382, 380, 546, 555, 555, - - 555, 528, 528, 528, 557, 557, 557, 361, 558, 379, - 378, 559, 375, 556, 374, 373, 529, 532, 532, 532, - 534, 534, 534, 563, 563, 563, 372, 564, 371, 370, - 565, 536, 536, 536, 369, 535, 368, 566, 566, 566, - 367, 567, 366, 548, 568, 365, 537, 573, 573, 573, - 575, 575, 575, 577, 577, 577, 545, 545, 545, 547, - 547, 547, 574, 295, 363, 576, 356, 345, 578, 579, - 579, 579, 546, 582, 582, 582, 586, 586, 586, 555, - 555, 555, 579, 579, 579, 580, 588, 588, 588, 295, - 589, 587, 344, 590, 556, 557, 557, 557, 580, 558, - - 343, 342, 559, 591, 591, 591, 594, 594, 594, 563, - 563, 563, 341, 564, 340, 339, 565, 338, 592, 333, - 332, 595, 566, 566, 566, 331, 567, 330, 326, 568, - 573, 573, 573, 600, 600, 600, 325, 601, 324, 323, - 602, 575, 575, 575, 322, 574, 603, 603, 603, 321, - 604, 320, 315, 605, 314, 313, 576, 577, 577, 577, - 606, 606, 606, 312, 607, 311, 310, 608, 582, 582, - 582, 309, 578, 612, 612, 612, 586, 586, 586, 614, - 614, 614, 308, 615, 295, 307, 616, 306, 613, 305, - 304, 587, 588, 588, 588, 303, 589, 302, 301, 590, - - 298, 609, 591, 591, 591, 617, 617, 617, 296, 618, - 295, 293, 619, 594, 594, 594, 292, 592, 621, 621, - 621, 291, 622, 289, 288, 623, 287, 285, 595, 600, - 600, 600, 284, 601, 282, 281, 602, 603, 603, 603, - 280, 604, 279, 278, 605, 606, 606, 606, 277, 607, - 276, 275, 608, 612, 612, 612, 643, 643, 643, 274, - 644, 272, 271, 645, 270, 614, 614, 614, 613, 615, - 269, 266, 616, 617, 617, 617, 265, 618, 264, 263, - 619, 621, 621, 621, 262, 622, 261, 260, 623, 643, - 643, 643, 259, 644, 257, 256, 645, 683, 683, 683, - - 698, 698, 698, 699, 699, 699, 683, 683, 683, 255, - 254, 253, 684, 422, 252, 251, 295, 250, 700, 422, - 249, 684, 422, 701, 701, 701, 248, 702, 247, 246, - 703, 698, 698, 698, 699, 699, 699, 245, 244, 422, - 239, 718, 718, 718, 236, 719, 238, 295, 720, 700, - 422, 701, 701, 701, 234, 702, 233, 422, 703, 717, - 231, 742, 742, 742, 754, 754, 754, 422, 420, 420, - 420, 420, 420, 420, 420, 420, 420, 422, 423, 420, - 295, 229, 420, 420, 420, 422, 420, 750, 750, 750, - 226, 751, 224, 220, 752, 742, 742, 742, 219, 218, - - 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, - 420, 422, 217, 420, 216, 214, 420, 420, 420, 422, - 420, 718, 718, 718, 211, 719, 210, 209, 720, 750, - 750, 750, 480, 751, 420, 420, 752, 422, 420, 420, - 420, 420, 420, 736, 420, 420, 420, 208, 207, 420, - 205, 194, 420, 420, 420, 422, 420, 193, 192, 191, - 190, 186, 184, 178, 177, 178, 746, 746, 746, 177, - 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, - 736, 747, 176, 420, 175, 774, 420, 420, 420, 422, - 420, 746, 746, 746, 754, 754, 754, 774, 755, 774, - - 774, 756, 774, 774, 420, 420, 747, 772, 772, 772, - 295, 772, 772, 772, 774, 774, 774, 774, 774, 774, - 774, 774, 774, 773, 774, 774, 774, 773, 68, 68, - 68, 68, 68, 68, 68, 69, 69, 69, 69, 69, - 69, 69, 74, 74, 74, 74, 74, 74, 74, 77, - 77, 77, 77, 77, 77, 77, 80, 80, 80, 80, - 80, 80, 80, 83, 83, 83, 83, 83, 83, 83, - 90, 90, 90, 90, 90, 90, 90, 108, 108, 108, - 108, 108, 108, 108, 126, 126, 126, 126, 126, 126, - 126, 143, 143, 143, 143, 143, 143, 143, 149, 149, - - 149, 149, 149, 149, 149, 153, 153, 153, 153, 153, - 153, 153, 161, 161, 161, 161, 161, 161, 161, 165, - 165, 165, 165, 165, 165, 165, 187, 187, 187, 774, - 187, 206, 206, 206, 774, 206, 215, 215, 215, 774, - 215, 225, 225, 225, 774, 225, 230, 230, 230, 774, - 230, 235, 235, 235, 235, 235, 774, 235, 258, 774, - 258, 273, 774, 273, 283, 774, 283, 286, 774, 286, - 290, 774, 290, 294, 294, 294, 294, 294, 294, 294, - 300, 774, 774, 300, 317, 317, 317, 317, 317, 317, - 335, 335, 335, 335, 335, 335, 347, 347, 347, 347, - - 347, 347, 353, 353, 353, 353, 353, 353, 360, 360, - 360, 360, 360, 360, 420, 420, 420, 420, 420, 420, - 420, 721, 721, 721, 721, 721, 721, 721, 722, 722, - 722, 722, 722, 722, 722, 731, 731, 731, 731, 731, - 731, 731, 734, 734, 734, 734, 734, 734, 734, 739, - 739, 739, 739, 739, 739, 739, 741, 741, 741, 741, - 741, 741, 741, 67, 774, 774, 774, 774, 774, 774, + 115, 115, 115, 115, 115, 115, 115, 117, 115, 422, + 115, 119, 115, 120, 115, 422, 123, 71, 123, 123, + 71, 123, 71, 71, 71, 71, 71, 71, 115, 115, + 124, 422, 174, 124, 641, 610, 125, 743, 740, 125, + 170, 170, 170, 170, 170, 170, 173, 121, 115, 116, + 71, 116, 115, 115, 115, 115, 115, 115, 115, 117, + 115, 664, 115, 119, 115, 120, 115, 295, 123, 71, + + 123, 123, 71, 123, 123, 71, 123, 123, 71, 123, + 115, 115, 124, 295, 174, 124, 740, 640, 126, 748, + 737, 126, 170, 170, 170, 170, 170, 170, 173, 121, + 127, 128, 71, 128, 127, 127, 127, 127, 127, 127, + 127, 129, 127, 130, 127, 131, 127, 132, 127, 130, + 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, + 130, 130, 127, 127, 130, 130, 130, 130, 130, 130, + 130, 130, 133, 130, 130, 134, 130, 135, 130, 130, + 130, 136, 130, 130, 130, 137, 130, 130, 130, 139, + 71, 139, 139, 71, 139, 71, 71, 71, 71, 71, + + 71, 422, 422, 140, 729, 295, 140, 728, 422, 141, + 727, 174, 141, 139, 71, 139, 139, 71, 139, 139, + 71, 139, 139, 71, 139, 173, 726, 140, 681, 725, + 140, 682, 665, 142, 724, 552, 142, 143, 144, 71, + 144, 143, 143, 143, 143, 143, 143, 143, 145, 143, + 723, 143, 147, 143, 148, 143, 295, 151, 71, 151, + 151, 71, 151, 166, 71, 166, 166, 71, 166, 143, + 143, 152, 174, 174, 152, 295, 757, 167, 422, 716, + 167, 179, 170, 170, 170, 297, 173, 173, 149, 143, + 144, 71, 144, 143, 143, 143, 143, 143, 143, 143, + + 145, 143, 185, 143, 147, 143, 148, 143, 295, 180, + 170, 170, 170, 584, 732, 181, 170, 170, 170, 522, + 182, 143, 143, 735, 295, 183, 170, 170, 170, 170, + 170, 170, 170, 170, 170, 170, 170, 170, 479, 715, + 149, 153, 154, 71, 154, 153, 153, 153, 153, 153, + 153, 153, 155, 153, 156, 153, 157, 153, 158, 153, + 156, 156, 156, 156, 156, 156, 156, 156, 156, 156, + 156, 156, 156, 153, 153, 156, 156, 156, 156, 156, + 159, 156, 156, 156, 156, 156, 160, 156, 156, 161, + 156, 156, 162, 163, 164, 156, 156, 156, 156, 156, + + 84, 85, 84, 85, 174, 86, 628, 86, 174, 630, + 174, 197, 174, 168, 714, 168, 174, 222, 173, 197, + 629, 632, 173, 631, 173, 174, 173, 170, 170, 170, + 173, 169, 232, 169, 198, 633, 199, 236, 198, 173, + 204, 713, 198, 200, 199, 174, 198, 200, 199, 201, + 237, 203, 197, 201, 202, 203, 712, 201, 202, 173, + 422, 201, 202, 295, 174, 634, 202, 174, 170, 170, + 170, 208, 170, 170, 170, 198, 419, 204, 173, 635, + 732, 173, 711, 710, 203, 295, 174, 271, 271, 271, + 201, 642, 733, 208, 198, 202, 204, 198, 744, 204, + + 173, 295, 272, 203, 709, 174, 203, 636, 174, 209, + 638, 732, 209, 738, 202, 217, 198, 202, 204, 173, + 708, 637, 173, 733, 639, 203, 295, 174, 327, 327, + 327, 201, 295, 707, 217, 198, 202, 204, 198, 732, + 204, 173, 295, 328, 203, 295, 758, 203, 735, 663, + 201, 706, 705, 201, 753, 218, 730, 198, 218, 204, + 316, 316, 316, 316, 316, 316, 203, 329, 329, 329, + 295, 763, 201, 329, 329, 329, 318, 202, 295, 318, + 271, 271, 271, 331, 334, 334, 334, 759, 335, 331, + 295, 336, 341, 341, 341, 272, 341, 341, 341, 319, + + 346, 346, 346, 348, 348, 348, 704, 760, 343, 348, + 348, 348, 343, 332, 697, 347, 359, 359, 359, 350, + 359, 359, 359, 295, 295, 350, 376, 376, 376, 316, + 316, 316, 361, 316, 316, 316, 361, 316, 316, 316, + 295, 377, 351, 344, 696, 318, 384, 384, 384, 318, + 387, 387, 387, 318, 327, 327, 327, 389, 389, 389, + 765, 390, 761, 762, 391, 329, 329, 329, 695, 328, + 381, 362, 329, 329, 329, 329, 329, 329, 334, 334, + 334, 331, 335, 764, 694, 336, 693, 692, 331, 691, + 295, 331, 395, 395, 395, 341, 341, 341, 341, 341, + + 341, 341, 341, 341, 346, 346, 346, 396, 402, 402, + 402, 343, 403, 690, 343, 404, 392, 343, 295, 347, + 348, 348, 348, 348, 348, 348, 348, 348, 348, 406, + 406, 406, 408, 408, 408, 400, 350, 771, 766, 350, + 689, 688, 350, 397, 407, 687, 295, 409, 412, 412, + 412, 415, 415, 415, 359, 359, 359, 359, 359, 359, + 426, 426, 426, 413, 686, 295, 416, 359, 359, 359, + 361, 685, 680, 361, 679, 678, 405, 421, 421, 421, + 428, 428, 428, 361, 431, 431, 431, 376, 376, 376, + 443, 443, 443, 422, 423, 429, 434, 434, 434, 432, + + 435, 767, 377, 436, 417, 438, 438, 438, 316, 316, + 316, 384, 384, 384, 446, 446, 446, 439, 677, 771, + 440, 387, 387, 387, 318, 389, 389, 389, 676, 390, + 295, 295, 391, 329, 329, 329, 450, 450, 450, 395, + 395, 395, 458, 458, 458, 675, 674, 442, 295, 331, + 769, 451, 295, 673, 396, 452, 452, 452, 459, 453, + 672, 671, 454, 460, 460, 460, 402, 402, 402, 670, + 403, 669, 770, 404, 348, 348, 348, 448, 406, 406, + 406, 462, 462, 462, 768, 463, 668, 667, 464, 666, + 350, 662, 661, 407, 408, 408, 408, 465, 465, 465, + + 660, 466, 659, 658, 467, 412, 412, 412, 657, 409, + 656, 461, 470, 470, 470, 655, 471, 654, 653, 472, + 413, 415, 415, 415, 474, 474, 474, 652, 475, 651, + 650, 476, 359, 359, 359, 649, 416, 421, 421, 421, + 426, 426, 426, 428, 428, 428, 648, 647, 361, 646, + 484, 484, 484, 422, 485, 627, 626, 486, 429, 625, + 431, 431, 431, 488, 488, 488, 624, 489, 620, 599, + 490, 438, 438, 438, 480, 432, 598, 434, 434, 434, + 597, 435, 596, 477, 436, 593, 440, 585, 494, 494, + 494, 481, 495, 581, 574, 496, 498, 498, 498, 443, + + 443, 443, 500, 500, 500, 446, 446, 446, 502, 502, + 502, 573, 499, 329, 329, 329, 450, 450, 450, 505, + 505, 505, 572, 506, 571, 562, 507, 561, 560, 331, + 554, 451, 452, 452, 452, 553, 453, 549, 548, 454, + 458, 458, 458, 460, 460, 460, 348, 348, 348, 503, + 462, 462, 462, 547, 463, 546, 459, 464, 545, 465, + 465, 465, 350, 466, 544, 543, 467, 470, 470, 470, + 542, 471, 536, 531, 472, 474, 474, 474, 530, 475, + 527, 526, 476, 519, 519, 519, 484, 484, 484, 525, + 485, 521, 511, 486, 488, 488, 488, 518, 489, 520, + + 517, 490, 528, 528, 528, 494, 494, 494, 516, 495, + 510, 509, 496, 498, 498, 498, 508, 529, 500, 500, + 500, 532, 532, 532, 502, 502, 502, 504, 501, 499, + 533, 533, 533, 535, 535, 535, 505, 505, 505, 497, + 506, 493, 492, 507, 491, 487, 534, 537, 537, 537, + 539, 539, 539, 348, 348, 348, 519, 519, 519, 555, + 555, 555, 538, 483, 482, 540, 528, 528, 528, 350, + 422, 478, 520, 473, 556, 557, 557, 557, 469, 558, + 468, 529, 559, 532, 532, 532, 533, 533, 533, 535, + 535, 535, 537, 537, 537, 457, 563, 563, 563, 456, + + 564, 455, 534, 565, 449, 541, 447, 538, 539, 539, + 539, 566, 566, 566, 445, 567, 444, 441, 568, 569, + 569, 569, 437, 540, 575, 575, 575, 577, 577, 577, + 579, 579, 579, 433, 430, 570, 582, 582, 582, 576, + 427, 425, 578, 424, 418, 580, 586, 586, 586, 555, + 555, 555, 295, 588, 588, 588, 414, 589, 411, 410, + 590, 587, 401, 399, 556, 557, 557, 557, 398, 558, + 394, 393, 559, 591, 591, 591, 594, 594, 594, 563, + 563, 563, 388, 564, 386, 385, 565, 383, 592, 382, + 380, 595, 566, 566, 566, 379, 567, 378, 375, 568, + + 569, 569, 569, 575, 575, 575, 600, 600, 600, 374, + 601, 373, 372, 602, 371, 370, 570, 369, 576, 577, + 577, 577, 603, 603, 603, 368, 604, 367, 366, 605, + 579, 579, 579, 365, 578, 606, 606, 606, 295, 607, + 363, 358, 608, 357, 356, 580, 582, 582, 582, 612, + 612, 612, 586, 586, 586, 355, 614, 614, 614, 354, + 615, 353, 295, 616, 613, 352, 345, 587, 588, 588, + 588, 340, 589, 339, 338, 590, 591, 591, 591, 609, + 617, 617, 617, 337, 618, 333, 326, 619, 594, 594, + 594, 592, 621, 621, 621, 325, 622, 324, 323, 623, + + 600, 600, 600, 595, 601, 322, 321, 602, 603, 603, + 603, 320, 604, 315, 314, 605, 606, 606, 606, 313, + 607, 312, 311, 608, 612, 612, 612, 643, 643, 643, + 310, 644, 309, 308, 645, 307, 614, 614, 614, 613, + 615, 306, 305, 616, 617, 617, 617, 304, 618, 303, + 302, 619, 621, 621, 621, 301, 622, 298, 296, 623, + 643, 643, 643, 295, 644, 293, 292, 645, 683, 683, + 683, 698, 698, 698, 699, 699, 699, 683, 683, 683, + 291, 289, 288, 684, 422, 287, 286, 295, 285, 700, + 422, 284, 684, 422, 701, 701, 701, 283, 702, 282, + + 280, 703, 698, 698, 698, 699, 699, 699, 279, 278, + 422, 276, 718, 718, 718, 275, 719, 274, 295, 720, + 700, 422, 701, 701, 701, 273, 702, 270, 422, 703, + 717, 269, 742, 742, 742, 754, 754, 754, 422, 420, + 420, 420, 420, 420, 420, 420, 420, 420, 422, 423, + 420, 295, 267, 420, 420, 420, 422, 420, 750, 750, + 750, 266, 751, 265, 264, 752, 742, 742, 742, 263, + 262, 420, 420, 420, 420, 420, 420, 420, 420, 420, + 420, 420, 422, 261, 420, 260, 259, 420, 420, 420, + 422, 420, 718, 718, 718, 257, 719, 256, 255, 720, + + 750, 750, 750, 480, 751, 420, 420, 752, 422, 420, + 420, 420, 420, 420, 736, 420, 420, 420, 254, 253, + 420, 252, 251, 420, 420, 420, 422, 420, 250, 249, + 248, 247, 246, 245, 244, 239, 236, 746, 746, 746, + 238, 420, 420, 420, 420, 420, 420, 420, 420, 420, + 420, 736, 747, 234, 420, 233, 229, 420, 420, 420, + 422, 420, 746, 746, 746, 754, 754, 754, 228, 755, + 227, 226, 756, 225, 223, 420, 420, 747, 772, 772, + 772, 295, 772, 772, 772, 221, 219, 216, 215, 214, + 213, 212, 210, 207, 773, 205, 194, 193, 773, 68, + + 68, 68, 68, 68, 68, 68, 69, 69, 69, 69, + 69, 69, 69, 74, 74, 74, 74, 74, 74, 74, + 77, 77, 77, 77, 77, 77, 77, 80, 80, 80, + 80, 80, 80, 80, 83, 83, 83, 83, 83, 83, + 83, 90, 90, 90, 90, 90, 90, 90, 108, 108, + 108, 108, 108, 108, 108, 118, 118, 118, 118, 118, + 118, 118, 122, 122, 122, 122, 122, 122, 122, 138, + 138, 138, 138, 138, 138, 138, 146, 146, 146, 146, + 146, 146, 146, 150, 150, 150, 150, 150, 150, 150, + 165, 165, 165, 165, 165, 165, 165, 187, 187, 187, + + 192, 187, 206, 206, 206, 191, 206, 211, 211, 211, + 190, 211, 220, 220, 220, 186, 220, 224, 224, 224, + 184, 224, 235, 235, 235, 235, 235, 178, 235, 258, + 177, 258, 268, 178, 268, 277, 177, 277, 281, 176, + 281, 290, 175, 290, 294, 294, 294, 294, 294, 294, + 294, 300, 774, 774, 300, 317, 317, 317, 317, 317, + 317, 330, 330, 330, 330, 330, 330, 342, 342, 342, + 342, 342, 342, 349, 349, 349, 349, 349, 349, 360, + 360, 360, 360, 360, 360, 420, 420, 420, 420, 420, + 420, 420, 721, 721, 721, 721, 721, 721, 721, 722, + + 722, 722, 722, 722, 722, 722, 731, 731, 731, 731, + 731, 731, 731, 734, 734, 734, 734, 734, 734, 734, + 739, 739, 739, 739, 739, 739, 739, 741, 741, 741, + 741, 741, 741, 741, 67, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, - 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, - 774, 774, 774 + 774, 774, 774, 774 + } ; -static yyconst flex_int16_t yy_chk[2224] = +static yyconst flex_int16_t yy_chk[2195] = { 0, 0, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 9, 179, 3, 10, 11, 4, 12, @@ -997,7 +994,7 @@ static yyconst flex_int16_t yy_chk[2224] = 15, 72, 15, 14, 16, 16, 101, 16, 179, 16, 15, 17, 17, 18, 18, 72, 73, 16, 19, 19, 19, 20, 20, 20, 23, 23, 23, 24, 24, 24, - 73, 107, 19, 142, 240, 20, 240, 107, 23, 142, + 73, 107, 19, 164, 240, 20, 240, 107, 23, 164, 180, 24, 17, 180, 18, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, @@ -1006,246 +1003,243 @@ static yyconst flex_int16_t yy_chk[2224] = 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, - 27, 27, 27, 28, 28, 28, 463, 464, 25, 480, - 745, 26, 463, 464, 27, 523, 76, 28, 29, 29, + 27, 27, 27, 28, 28, 28, 466, 467, 25, 480, + 745, 26, 466, 467, 27, 523, 76, 28, 29, 29, 29, 30, 30, 30, 31, 31, 31, 32, 32, 32, 76, 522, 29, 551, 523, 30, 584, 522, 31, 480, 99, 32, 33, 33, 33, 34, 34, 34, 35, 35, 35, 36, 36, 36, 99, 741, 33, 732, 732, 34, 740, 584, 35, 739, 551, 36, 37, 37, 37, 37, - 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, - 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, - 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, - 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, - 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, - 37, 37, 37, 37, 37, 39, 39, 39, 40, 40, - 40, 41, 41, 41, 42, 42, 42, 524, 641, 39, - - 610, 737, 40, 735, 583, 41, 733, 119, 42, 43, - 43, 43, 44, 44, 44, 45, 45, 45, 46, 46, - 46, 119, 723, 43, 583, 610, 44, 715, 641, 45, - 713, 524, 46, 47, 47, 47, 47, 47, 47, 47, + 37, 37, 37, 37, 37, 37, 37, 37, 37, 610, + 37, 37, 37, 37, 37, 583, 39, 39, 39, 40, + 40, 40, 41, 41, 41, 42, 42, 42, 37, 37, + 39, 641, 119, 40, 610, 583, 41, 737, 735, 42, + 70, 70, 70, 71, 71, 71, 119, 37, 38, 38, + 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, + 38, 641, 38, 38, 38, 38, 38, 609, 43, 43, + + 43, 44, 44, 44, 45, 45, 45, 46, 46, 46, + 38, 38, 43, 744, 131, 44, 733, 609, 45, 744, + 723, 46, 75, 75, 75, 96, 96, 96, 131, 38, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, - 47, 47, 49, 49, 49, 50, 50, 50, 70, 70, - - 70, 71, 71, 71, 711, 709, 49, 707, 705, 50, - 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, - 51, 51, 51, 704, 51, 51, 51, 51, 51, 609, - 53, 53, 53, 54, 54, 54, 55, 55, 55, 56, - 56, 56, 51, 51, 53, 94, 135, 54, 237, 609, - 55, 642, 697, 56, 75, 75, 75, 696, 237, 94, - 135, 51, 52, 52, 52, 52, 52, 52, 52, 52, - 52, 52, 52, 52, 52, 94, 52, 52, 52, 52, - 52, 642, 57, 57, 57, 58, 58, 58, 59, 59, - 59, 60, 60, 60, 52, 52, 57, 744, 150, 58, - - 695, 694, 59, 744, 693, 60, 96, 96, 96, 109, - 109, 109, 150, 52, 61, 61, 61, 61, 61, 61, - 61, 61, 61, 61, 61, 61, 61, 552, 61, 61, - 61, 61, 61, 692, 63, 63, 63, 64, 64, 64, - 116, 116, 116, 127, 127, 127, 61, 61, 63, 145, - 162, 64, 132, 132, 132, 611, 145, 86, 144, 144, - 144, 691, 552, 145, 162, 61, 62, 62, 62, 62, - 62, 62, 62, 62, 62, 62, 62, 62, 62, 690, - 62, 62, 62, 62, 62, 86, 611, 65, 65, 66, - 66, 86, 65, 112, 66, 479, 86, 110, 62, 62, - - 65, 86, 66, 171, 110, 111, 479, 112, 147, 147, - 147, 110, 111, 154, 154, 154, 171, 62, 65, 111, - 66, 720, 640, 112, 689, 112, 113, 110, 663, 110, - 720, 664, 112, 364, 114, 111, 110, 111, 112, 640, - 113, 114, 110, 112, 111, 167, 364, 110, 114, 419, - 111, 663, 167, 128, 664, 111, 113, 688, 113, 167, - 128, 129, 719, 419, 114, 113, 114, 128, 159, 159, - 159, 113, 601, 114, 719, 129, 113, 730, 687, 114, - 130, 755, 602, 128, 114, 128, 601, 130, 155, 730, - 604, 129, 128, 129, 130, 155, 602, 686, 128, 605, - - 129, 755, 155, 128, 604, 685, 129, 156, 680, 607, - 130, 129, 130, 605, 608, 157, 679, 717, 155, 130, - 155, 156, 157, 607, 678, 130, 677, 155, 608, 157, - 130, 717, 731, 155, 166, 166, 166, 156, 155, 156, - 170, 170, 170, 738, 731, 157, 156, 157, 207, 207, - 207, 676, 156, 734, 157, 748, 738, 156, 757, 756, - 157, 763, 734, 207, 748, 157, 258, 258, 258, 259, - 259, 259, 267, 267, 267, 757, 268, 268, 268, 756, - 268, 763, 258, 268, 675, 259, 758, 267, 273, 273, - 273, 274, 274, 274, 283, 283, 283, 284, 284, 284, - - 285, 285, 285, 758, 273, 259, 765, 274, 674, 673, - 283, 672, 671, 284, 764, 285, 286, 286, 286, 287, - 287, 287, 289, 289, 289, 290, 290, 290, 291, 291, - 291, 759, 286, 761, 764, 287, 762, 289, 274, 760, - 761, 290, 765, 762, 291, 312, 312, 312, 284, 316, - 316, 316, 317, 317, 317, 319, 319, 319, 670, 287, - 312, 291, 322, 322, 322, 316, 767, 768, 317, 769, - 759, 319, 325, 325, 325, 327, 327, 327, 760, 327, - 766, 769, 327, 331, 331, 331, 767, 768, 319, 334, - 334, 334, 335, 335, 335, 337, 337, 337, 331, 339, - - 339, 339, 340, 340, 340, 334, 770, 669, 335, 666, - 662, 337, 661, 660, 339, 770, 766, 340, 343, 343, - 343, 345, 345, 345, 346, 346, 346, 659, 658, 337, - 347, 347, 347, 343, 331, 657, 345, 349, 349, 349, - 346, 350, 350, 350, 656, 655, 347, 351, 351, 351, - 654, 351, 653, 349, 351, 652, 350, 352, 352, 352, - 353, 353, 353, 355, 355, 355, 357, 357, 357, 359, - 359, 359, 651, 352, 349, 650, 353, 648, 646, 355, - 639, 357, 358, 358, 358, 359, 358, 638, 637, 358, - 360, 360, 360, 362, 362, 362, 365, 365, 365, 370, - - 370, 370, 636, 635, 355, 634, 360, 633, 632, 362, - 631, 630, 365, 365, 372, 372, 372, 374, 374, 374, - 376, 376, 376, 377, 377, 377, 629, 377, 628, 372, - 377, 627, 374, 626, 625, 376, 379, 379, 379, 381, - 381, 381, 624, 362, 382, 382, 382, 620, 379, 599, - 598, 379, 384, 384, 384, 381, 386, 386, 386, 387, - 387, 387, 389, 389, 389, 390, 390, 390, 391, 391, - 391, 597, 391, 596, 593, 391, 572, 389, 381, 571, - 390, 395, 395, 395, 396, 396, 396, 397, 397, 397, - 570, 398, 398, 398, 569, 398, 561, 395, 398, 399, - - 399, 399, 397, 400, 400, 400, 553, 400, 549, 541, - 400, 403, 403, 403, 399, 404, 404, 404, 540, 404, - 539, 538, 404, 406, 406, 406, 403, 407, 407, 407, - 533, 407, 531, 530, 407, 408, 408, 408, 406, 409, - 409, 409, 526, 409, 525, 521, 409, 412, 412, 412, - 515, 408, 414, 414, 414, 514, 414, 513, 512, 414, - 417, 417, 417, 412, 421, 421, 421, 426, 426, 426, - 428, 428, 428, 431, 431, 431, 417, 429, 429, 429, - 421, 429, 511, 510, 429, 428, 408, 509, 431, 506, - 497, 412, 432, 432, 432, 493, 432, 417, 491, 432, - - 487, 421, 434, 434, 434, 483, 434, 478, 476, 434, - 438, 438, 438, 440, 440, 440, 470, 440, 421, 466, - 440, 442, 442, 442, 465, 438, 443, 443, 443, 444, - 444, 444, 446, 446, 446, 455, 454, 442, 447, 447, - 447, 448, 448, 448, 449, 449, 449, 453, 449, 445, - 441, 449, 439, 450, 450, 450, 448, 450, 437, 433, - 450, 456, 456, 456, 458, 458, 458, 459, 459, 459, - 430, 459, 427, 423, 459, 420, 418, 456, 462, 462, - 462, 413, 462, 405, 402, 462, 467, 467, 467, 401, - 467, 394, 393, 467, 471, 471, 471, 392, 471, 388, - - 385, 471, 474, 474, 474, 475, 475, 475, 477, 477, - 477, 383, 484, 484, 484, 380, 484, 378, 474, 484, - 375, 475, 373, 371, 477, 488, 488, 488, 369, 488, - 368, 363, 488, 492, 492, 492, 494, 494, 494, 356, - 494, 475, 344, 494, 498, 498, 498, 342, 492, 500, - 500, 500, 341, 338, 477, 501, 501, 501, 333, 332, - 498, 502, 502, 502, 503, 503, 503, 330, 503, 326, - 324, 503, 507, 507, 507, 508, 508, 508, 516, 516, - 516, 518, 518, 518, 519, 519, 519, 507, 323, 321, - 508, 520, 520, 520, 516, 320, 315, 518, 527, 527, - - 527, 528, 528, 528, 529, 529, 529, 520, 529, 314, - 313, 529, 311, 527, 310, 309, 528, 532, 532, 532, - 534, 534, 534, 535, 535, 535, 308, 535, 307, 306, - 535, 536, 536, 536, 305, 534, 302, 537, 537, 537, - 301, 537, 300, 520, 537, 298, 536, 542, 542, 542, - 543, 543, 543, 544, 544, 544, 545, 545, 545, 547, - 547, 547, 542, 294, 292, 543, 288, 282, 544, 548, - 548, 548, 545, 550, 550, 550, 554, 554, 554, 555, - 555, 555, 579, 579, 579, 548, 556, 556, 556, 550, - 556, 554, 281, 556, 555, 557, 557, 557, 579, 557, - - 280, 279, 557, 560, 560, 560, 562, 562, 562, 563, - 563, 563, 278, 563, 277, 276, 563, 275, 560, 272, - 271, 562, 566, 566, 566, 270, 566, 269, 266, 566, - 573, 573, 573, 574, 574, 574, 265, 574, 264, 263, - 574, 575, 575, 575, 262, 573, 576, 576, 576, 261, - 576, 260, 257, 576, 256, 255, 575, 577, 577, 577, - 578, 578, 578, 254, 578, 253, 252, 578, 582, 582, - 582, 251, 577, 585, 585, 585, 586, 586, 586, 587, - 587, 587, 250, 587, 582, 249, 587, 248, 585, 246, - 245, 586, 588, 588, 588, 244, 588, 243, 242, 588, - - 238, 582, 591, 591, 591, 592, 592, 592, 236, 592, - 235, 234, 592, 594, 594, 594, 233, 591, 595, 595, - 595, 232, 595, 231, 228, 595, 227, 226, 594, 600, - 600, 600, 223, 600, 222, 221, 600, 603, 603, 603, - 220, 603, 219, 218, 603, 606, 606, 606, 217, 606, - 216, 213, 606, 612, 612, 612, 613, 613, 613, 212, - 613, 211, 210, 613, 209, 614, 614, 614, 612, 614, - 208, 204, 614, 617, 617, 617, 203, 617, 202, 201, - 617, 621, 621, 621, 200, 621, 199, 198, 621, 643, - 643, 643, 197, 643, 196, 195, 643, 665, 665, 665, - - 681, 681, 681, 682, 682, 682, 683, 683, 683, 194, - 193, 192, 665, 665, 191, 190, 681, 189, 682, 682, - 188, 683, 683, 684, 684, 684, 185, 684, 184, 183, - 684, 698, 698, 698, 699, 699, 699, 182, 181, 684, - 175, 700, 700, 700, 174, 700, 172, 698, 700, 699, - 699, 701, 701, 701, 169, 701, 168, 700, 701, 698, - 164, 736, 736, 736, 753, 753, 753, 701, 702, 702, - 702, 702, 702, 702, 702, 702, 702, 736, 736, 702, - 753, 160, 702, 702, 702, 702, 702, 747, 747, 747, - 152, 747, 148, 141, 747, 742, 742, 742, 140, 139, - - 702, 702, 703, 703, 703, 703, 703, 703, 703, 703, - 703, 742, 138, 703, 137, 133, 703, 703, 703, 703, - 703, 718, 718, 718, 125, 718, 124, 123, 718, 750, - 750, 750, 742, 750, 703, 703, 750, 718, 721, 721, - 721, 721, 721, 721, 721, 721, 721, 122, 121, 721, - 117, 106, 721, 721, 721, 721, 721, 105, 104, 103, - 102, 97, 93, 92, 91, 85, 743, 743, 743, 84, - 721, 721, 722, 722, 722, 722, 722, 722, 722, 722, - 722, 743, 82, 722, 79, 67, 722, 722, 722, 722, - 722, 746, 746, 746, 754, 754, 754, 0, 754, 0, - - 0, 754, 0, 0, 722, 722, 746, 771, 771, 771, - 754, 772, 772, 772, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 771, 0, 0, 0, 772, 775, 775, - 775, 775, 775, 775, 775, 776, 776, 776, 776, 776, - 776, 776, 777, 777, 777, 777, 777, 777, 777, 778, - 778, 778, 778, 778, 778, 778, 779, 779, 779, 779, - 779, 779, 779, 780, 780, 780, 780, 780, 780, 780, - 781, 781, 781, 781, 781, 781, 781, 782, 782, 782, - 782, 782, 782, 782, 783, 783, 783, 783, 783, 783, - 783, 784, 784, 784, 784, 784, 784, 784, 785, 785, - - 785, 785, 785, 785, 785, 786, 786, 786, 786, 786, - 786, 786, 787, 787, 787, 787, 787, 787, 787, 788, - 788, 788, 788, 788, 788, 788, 789, 789, 789, 0, - 789, 790, 790, 790, 0, 790, 791, 791, 791, 0, - 791, 792, 792, 792, 0, 792, 793, 793, 793, 0, - 793, 794, 794, 794, 794, 794, 0, 794, 795, 0, - 795, 796, 0, 796, 797, 0, 797, 798, 0, 798, - 799, 0, 799, 800, 800, 800, 800, 800, 800, 800, - 801, 0, 0, 801, 802, 802, 802, 802, 802, 802, - 803, 803, 803, 803, 803, 803, 804, 804, 804, 804, - - 804, 804, 805, 805, 805, 805, 805, 805, 806, 806, - 806, 806, 806, 806, 807, 807, 807, 807, 807, 807, - 807, 808, 808, 808, 808, 808, 808, 808, 809, 809, - 809, 809, 809, 809, 809, 810, 810, 810, 810, 810, - 810, 810, 811, 811, 811, 811, 811, 811, 811, 812, - 812, 812, 812, 812, 812, 812, 813, 813, 813, 813, - 813, 813, 813, 774, 774, 774, 774, 774, 774, 774, + 47, 47, 47, 47, 47, 47, 47, 47, 47, 49, + 49, 49, 50, 50, 50, 51, 51, 51, 52, 52, + + 52, 524, 642, 49, 715, 663, 50, 713, 664, 51, + 711, 147, 52, 53, 53, 53, 54, 54, 54, 55, + 55, 55, 56, 56, 56, 147, 709, 53, 663, 707, + 54, 664, 642, 55, 705, 524, 56, 57, 57, 57, + 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, + 704, 57, 57, 57, 57, 57, 755, 59, 59, 59, + 60, 60, 60, 63, 63, 63, 64, 64, 64, 57, + 57, 59, 94, 157, 60, 237, 755, 63, 552, 697, + 64, 86, 109, 109, 109, 237, 94, 157, 57, 58, + 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, + + 58, 58, 94, 58, 58, 58, 58, 58, 479, 86, + 116, 116, 116, 552, 720, 86, 123, 123, 123, 479, + 86, 58, 58, 720, 419, 86, 128, 128, 128, 139, + 139, 139, 144, 144, 144, 151, 151, 151, 419, 696, + 58, 61, 61, 61, 61, 61, 61, 61, 61, 61, + 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, + 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, + 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, + 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, + 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, + + 65, 65, 66, 66, 110, 65, 601, 66, 112, 602, + 152, 110, 111, 65, 695, 66, 113, 152, 110, 111, + 601, 604, 112, 602, 152, 167, 111, 154, 154, 154, + 113, 65, 167, 66, 110, 604, 110, 171, 112, 167, + 112, 694, 111, 110, 111, 114, 113, 112, 113, 110, + 171, 111, 114, 112, 110, 113, 693, 111, 112, 114, + 611, 113, 111, 364, 124, 605, 113, 125, 166, 166, + 166, 124, 170, 170, 170, 114, 364, 114, 124, 605, + 719, 125, 692, 691, 114, 738, 126, 212, 212, 212, + 114, 611, 719, 126, 124, 114, 124, 125, 738, 125, + + 126, 730, 212, 124, 690, 141, 125, 607, 140, 124, + 608, 731, 125, 730, 124, 140, 126, 125, 126, 141, + 689, 607, 140, 731, 608, 126, 756, 142, 267, 267, + 267, 126, 640, 688, 142, 141, 126, 141, 140, 734, + 140, 142, 717, 267, 141, 748, 756, 140, 734, 640, + 141, 687, 686, 140, 748, 141, 717, 142, 140, 142, + 258, 258, 258, 259, 259, 259, 142, 268, 268, 268, + 757, 761, 142, 269, 269, 269, 258, 142, 761, 259, + 271, 271, 271, 268, 272, 272, 272, 757, 272, 269, + 758, 272, 277, 277, 277, 271, 278, 278, 278, 259, + + 280, 280, 280, 281, 281, 281, 685, 758, 277, 282, + 282, 282, 278, 269, 680, 280, 290, 290, 290, 281, + 291, 291, 291, 759, 760, 282, 312, 312, 312, 316, + 316, 316, 290, 317, 317, 317, 291, 319, 319, 319, + 763, 312, 282, 278, 679, 316, 322, 322, 322, 317, + 325, 325, 325, 319, 327, 327, 327, 328, 328, 328, + 763, 328, 759, 760, 328, 329, 329, 329, 678, 327, + 319, 291, 330, 330, 330, 332, 332, 332, 334, 334, + 334, 329, 334, 762, 677, 334, 676, 675, 330, 674, + 762, 332, 338, 338, 338, 341, 341, 341, 342, 342, + + 342, 344, 344, 344, 346, 346, 346, 338, 347, 347, + 347, 341, 347, 673, 342, 347, 332, 344, 764, 346, + 348, 348, 348, 349, 349, 349, 351, 351, 351, 352, + 352, 352, 353, 353, 353, 344, 348, 770, 764, 349, + 672, 671, 351, 338, 352, 670, 770, 353, 356, 356, + 356, 358, 358, 358, 359, 359, 359, 360, 360, 360, + 370, 370, 370, 356, 669, 765, 358, 362, 362, 362, + 359, 666, 662, 360, 661, 660, 351, 365, 365, 365, + 372, 372, 372, 362, 374, 374, 374, 376, 376, 376, + 382, 382, 382, 365, 365, 372, 377, 377, 377, 374, + + 377, 765, 376, 377, 362, 379, 379, 379, 381, 381, + 381, 384, 384, 384, 386, 386, 386, 379, 659, 769, + 379, 387, 387, 387, 381, 389, 389, 389, 658, 389, + 767, 769, 389, 392, 392, 392, 394, 394, 394, 395, + 395, 395, 400, 400, 400, 657, 656, 381, 766, 392, + 767, 394, 768, 655, 395, 396, 396, 396, 400, 396, + 654, 653, 396, 401, 401, 401, 402, 402, 402, 652, + 402, 651, 768, 402, 405, 405, 405, 392, 406, 406, + 406, 407, 407, 407, 766, 407, 650, 648, 407, 646, + 405, 639, 638, 406, 408, 408, 408, 409, 409, 409, + + 637, 409, 636, 635, 409, 412, 412, 412, 634, 408, + 633, 405, 413, 413, 413, 632, 413, 631, 630, 413, + 412, 415, 415, 415, 416, 416, 416, 629, 416, 628, + 627, 416, 417, 417, 417, 626, 415, 421, 421, 421, + 426, 426, 426, 428, 428, 428, 625, 624, 417, 620, + 429, 429, 429, 421, 429, 599, 598, 429, 428, 597, + 431, 431, 431, 432, 432, 432, 596, 432, 593, 574, + 432, 438, 438, 438, 421, 431, 573, 434, 434, 434, + 572, 434, 571, 417, 434, 561, 438, 553, 440, 440, + 440, 421, 440, 549, 545, 440, 442, 442, 442, 443, + + 443, 443, 444, 444, 444, 446, 446, 446, 447, 447, + 447, 544, 442, 448, 448, 448, 450, 450, 450, 451, + 451, 451, 543, 451, 542, 536, 451, 531, 530, 448, + 526, 450, 452, 452, 452, 525, 452, 521, 518, 452, + 458, 458, 458, 460, 460, 460, 461, 461, 461, 448, + 462, 462, 462, 517, 462, 516, 458, 462, 515, 465, + 465, 465, 461, 465, 514, 513, 465, 470, 470, 470, + 512, 470, 508, 497, 470, 474, 474, 474, 493, 474, + 491, 487, 474, 477, 477, 477, 484, 484, 484, 483, + 484, 478, 461, 484, 488, 488, 488, 473, 488, 477, + + 469, 488, 492, 492, 492, 494, 494, 494, 468, 494, + 457, 456, 494, 498, 498, 498, 455, 492, 500, 500, + 500, 501, 501, 501, 502, 502, 502, 449, 445, 498, + 503, 503, 503, 504, 504, 504, 505, 505, 505, 441, + 505, 439, 437, 505, 433, 430, 503, 509, 509, 509, + 510, 510, 510, 511, 511, 511, 519, 519, 519, 527, + 527, 527, 509, 427, 423, 510, 528, 528, 528, 511, + 420, 418, 519, 414, 527, 529, 529, 529, 411, 529, + 410, 528, 529, 532, 532, 532, 533, 533, 533, 535, + 535, 535, 537, 537, 537, 399, 538, 538, 538, 398, + + 538, 397, 533, 538, 393, 511, 388, 537, 539, 539, + 539, 540, 540, 540, 385, 540, 383, 380, 540, 541, + 541, 541, 378, 539, 546, 546, 546, 547, 547, 547, + 548, 548, 548, 375, 373, 541, 550, 550, 550, 546, + 371, 369, 547, 368, 363, 548, 554, 554, 554, 555, + 555, 555, 550, 556, 556, 556, 357, 556, 355, 354, + 556, 554, 345, 340, 555, 557, 557, 557, 339, 557, + 337, 333, 557, 560, 560, 560, 562, 562, 562, 563, + 563, 563, 326, 563, 324, 323, 563, 321, 560, 320, + 315, 562, 566, 566, 566, 314, 566, 313, 311, 566, + + 569, 569, 569, 575, 575, 575, 576, 576, 576, 310, + 576, 309, 308, 576, 307, 306, 569, 305, 575, 577, + 577, 577, 578, 578, 578, 302, 578, 301, 300, 578, + 579, 579, 579, 298, 577, 580, 580, 580, 294, 580, + 292, 289, 580, 288, 287, 579, 582, 582, 582, 585, + 585, 585, 586, 586, 586, 286, 587, 587, 587, 285, + 587, 284, 582, 587, 585, 283, 279, 586, 588, 588, + 588, 276, 588, 275, 274, 588, 591, 591, 591, 582, + 592, 592, 592, 273, 592, 270, 266, 592, 594, 594, + 594, 591, 595, 595, 595, 265, 595, 264, 263, 595, + + 600, 600, 600, 594, 600, 262, 261, 600, 603, 603, + 603, 260, 603, 257, 256, 603, 606, 606, 606, 255, + 606, 254, 253, 606, 612, 612, 612, 613, 613, 613, + 252, 613, 251, 250, 613, 249, 614, 614, 614, 612, + 614, 248, 246, 614, 617, 617, 617, 245, 617, 244, + 243, 617, 621, 621, 621, 242, 621, 238, 236, 621, + 643, 643, 643, 235, 643, 234, 233, 643, 665, 665, + 665, 681, 681, 681, 682, 682, 682, 683, 683, 683, + 232, 231, 230, 665, 665, 229, 228, 681, 227, 682, + 682, 226, 683, 683, 684, 684, 684, 225, 684, 222, + + 221, 684, 698, 698, 698, 699, 699, 699, 218, 217, + 684, 216, 700, 700, 700, 215, 700, 214, 698, 700, + 699, 699, 701, 701, 701, 213, 701, 209, 700, 701, + 698, 208, 736, 736, 736, 753, 753, 753, 701, 702, + 702, 702, 702, 702, 702, 702, 702, 702, 736, 736, + 702, 753, 207, 702, 702, 702, 702, 702, 747, 747, + 747, 204, 747, 203, 202, 747, 742, 742, 742, 201, + 200, 702, 702, 703, 703, 703, 703, 703, 703, 703, + 703, 703, 742, 199, 703, 198, 197, 703, 703, 703, + 703, 703, 718, 718, 718, 196, 718, 195, 194, 718, + + 750, 750, 750, 742, 750, 703, 703, 750, 718, 721, + 721, 721, 721, 721, 721, 721, 721, 721, 193, 192, + 721, 191, 190, 721, 721, 721, 721, 721, 189, 188, + 185, 184, 183, 182, 181, 175, 174, 743, 743, 743, + 172, 721, 721, 722, 722, 722, 722, 722, 722, 722, + 722, 722, 743, 169, 722, 168, 163, 722, 722, 722, + 722, 722, 746, 746, 746, 754, 754, 754, 162, 754, + 161, 160, 754, 159, 155, 722, 722, 746, 771, 771, + 771, 754, 772, 772, 772, 149, 145, 137, 136, 135, + 134, 133, 129, 121, 771, 117, 106, 105, 772, 775, + + 775, 775, 775, 775, 775, 775, 776, 776, 776, 776, + 776, 776, 776, 777, 777, 777, 777, 777, 777, 777, + 778, 778, 778, 778, 778, 778, 778, 779, 779, 779, + 779, 779, 779, 779, 780, 780, 780, 780, 780, 780, + 780, 781, 781, 781, 781, 781, 781, 781, 782, 782, + 782, 782, 782, 782, 782, 783, 783, 783, 783, 783, + 783, 783, 784, 784, 784, 784, 784, 784, 784, 785, + 785, 785, 785, 785, 785, 785, 786, 786, 786, 786, + 786, 786, 786, 787, 787, 787, 787, 787, 787, 787, + 788, 788, 788, 788, 788, 788, 788, 789, 789, 789, + + 104, 789, 790, 790, 790, 103, 790, 791, 791, 791, + 102, 791, 792, 792, 792, 97, 792, 793, 793, 793, + 93, 793, 794, 794, 794, 794, 794, 92, 794, 795, + 91, 795, 796, 85, 796, 797, 84, 797, 798, 82, + 798, 799, 79, 799, 800, 800, 800, 800, 800, 800, + 800, 801, 67, 0, 801, 802, 802, 802, 802, 802, + 802, 803, 803, 803, 803, 803, 803, 804, 804, 804, + 804, 804, 804, 805, 805, 805, 805, 805, 805, 806, + 806, 806, 806, 806, 806, 807, 807, 807, 807, 807, + 807, 807, 808, 808, 808, 808, 808, 808, 808, 809, + + 809, 809, 809, 809, 809, 809, 810, 810, 810, 810, + 810, 810, 810, 811, 811, 811, 811, 811, 811, 811, + 812, 812, 812, 812, 812, 812, 812, 813, 813, 813, + 813, 813, 813, 813, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, - 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, - 774, 774, 774 + 774, 774, 774, 774 + } ; /* Table of booleans, true if rule could match eol. */ static yyconst flex_int32_t yy_rule_can_match_eol[141] = { 0, -0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, - 1, 1, 1, 1, 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, 1, 1, 1, 1, 1, 1, 1, 1, 0, - 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, - 1, 0, 0, 0, 0, 1, 1, 0, 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, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, + 1, 1, 1, 1, 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, 0, 0, 0, 0, 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, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, }; static yy_state_type yy_last_accepting_state; @@ -1268,13 +1262,13 @@ char *dax_text; * 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. * * Part A * ------ - * - * Some parts, here collectively called "Part A", are found in the + * + * Some parts, here collectively called "Part A", are found in the * FleXML package. They are Copyright (C) 1999-2005 Kristoffer Rose * and Copyright (C) 2003-2013 Martin Quinson. All rights reserved. * @@ -1292,20 +1286,20 @@ char *dax_text; * Notice that these are explicit rights granted to you for files * generated by the FleXML system. For your rights in connection with * the FleXML system itself please consult the GNU General Public License. - * + * * Part B * ------ - * - * The other parts, here collectively called "Part B", and which came - * from the DTD used by FleXML to generate this program, can be + * + * The other parts, here collectively called "Part B", and which came + * from the DTD used by FleXML to generate this program, can be * distributed (or not, as the case may be) under the terms of whoever - * wrote them, provided these terms respect and obey the two conditions + * wrote them, provided these terms respect and obey the two conditions * above under the heading "Part A". * * The author of and contributors to FleXML specifically disclaim - * any copyright interest in "Part B", unless "Part B" was written + * any copyright interest in "Part B", unless "Part B" was written * by the author of or contributors to FleXML. - * + * */ /* Version strings. */ @@ -1318,7 +1312,7 @@ const char dax__flexml_version[] = "1.9.6"; #include #include #include - + #if defined(_XBT_WIN32) || defined(__WIN32__) || defined(WIN32) || defined(__TOS_WIN__) # ifndef __STRICT_ANSI__ # include @@ -1327,7 +1321,7 @@ const char dax__flexml_version[] = "1.9.6"; #else # include #endif - + #ifndef FLEXML_INDEXSTACKSIZE #define FLEXML_INDEXSTACKSIZE 1000 #endif @@ -1347,98 +1341,98 @@ extern char *dax__bufferstack; AT_dax__adag_childCount AX_dax__adag_childCount; #define A_dax__adag_childCount (dax__bufferstack + AX_dax__adag_childCount) short int dax__adag_childCount_isset; -AT_dax__adag_xsi_c_schemaLocation AX_dax__adag_xsi_c_schemaLocation; -#define A_dax__adag_xsi_c_schemaLocation (dax__bufferstack + AX_dax__adag_xsi_c_schemaLocation) -short int dax__adag_xsi_c_schemaLocation_isset; -AT_dax__job_namespace AX_dax__job_namespace; -#define A_dax__job_namespace (dax__bufferstack + AX_dax__job_namespace) -short int dax__job_namespace_isset; -AT_dax__uses_file AX_dax__uses_file; -#define A_dax__uses_file (dax__bufferstack + AX_dax__uses_file) -short int dax__uses_file_isset; -AT_dax__adag_xmlns_c_xsi AX_dax__adag_xmlns_c_xsi; -#define A_dax__adag_xmlns_c_xsi (dax__bufferstack + AX_dax__adag_xmlns_c_xsi) -short int dax__adag_xmlns_c_xsi_isset; -AT_dax__adag_xmlns AX_dax__adag_xmlns; -#define A_dax__adag_xmlns (dax__bufferstack + AX_dax__adag_xmlns) -short int dax__adag_xmlns_isset; +AT_dax__adag_count AX_dax__adag_count; +#define A_dax__adag_count (dax__bufferstack + AX_dax__adag_count) +short int dax__adag_count_isset; AT_dax__adag_fileCount AX_dax__adag_fileCount; #define A_dax__adag_fileCount (dax__bufferstack + AX_dax__adag_fileCount) short int dax__adag_fileCount_isset; -AT_dax__uses_size AX_dax__uses_size; -#define A_dax__uses_size (dax__bufferstack + AX_dax__uses_size) -short int dax__uses_size_isset; -AT_dax__uses_type AX_dax__uses_type; -#define A_dax__uses_type (dax__bufferstack + AX_dax__uses_type) -short int dax__uses_type_isset; +AT_dax__adag_index AX_dax__adag_index; +#define A_dax__adag_index (dax__bufferstack + AX_dax__adag_index) +short int dax__adag_index_isset; +AT_dax__adag_jobCount AX_dax__adag_jobCount; +#define A_dax__adag_jobCount (dax__bufferstack + AX_dax__adag_jobCount) +short int dax__adag_jobCount_isset; +AT_dax__adag_name AX_dax__adag_name; +#define A_dax__adag_name (dax__bufferstack + AX_dax__adag_name) +short int dax__adag_name_isset; AT_dax__adag_version AX_dax__adag_version; #define A_dax__adag_version (dax__bufferstack + AX_dax__adag_version) short int dax__adag_version_isset; -AT_dax__job_runtime AX_dax__job_runtime; -#define A_dax__job_runtime (dax__bufferstack + AX_dax__job_runtime) -short int dax__job_runtime_isset; +AT_dax__adag_xmlns AX_dax__adag_xmlns; +#define A_dax__adag_xmlns (dax__bufferstack + AX_dax__adag_xmlns) +short int dax__adag_xmlns_isset; +AT_dax__adag_xmlns_c_xsi AX_dax__adag_xmlns_c_xsi; +#define A_dax__adag_xmlns_c_xsi (dax__bufferstack + AX_dax__adag_xmlns_c_xsi) +short int dax__adag_xmlns_c_xsi_isset; +AT_dax__adag_xsi_c_schemaLocation AX_dax__adag_xsi_c_schemaLocation; +#define A_dax__adag_xsi_c_schemaLocation (dax__bufferstack + AX_dax__adag_xsi_c_schemaLocation) +short int dax__adag_xsi_c_schemaLocation_isset; +AT_dax__child_ref AX_dax__child_ref; +#define A_dax__child_ref (dax__bufferstack + AX_dax__child_ref) +short int dax__child_ref_isset; AT_dax__job_id AX_dax__job_id; #define A_dax__job_id (dax__bufferstack + AX_dax__job_id) short int dax__job_id_isset; -AT_dax__adag_jobCount AX_dax__adag_jobCount; -#define A_dax__adag_jobCount (dax__bufferstack + AX_dax__adag_jobCount) -short int dax__adag_jobCount_isset; -AT_dax__uses_register AX_dax__uses_register; -#define A_dax__uses_register AX_dax__uses_register -short int dax__uses_register_isset; AT_dax__job_level AX_dax__job_level; #define A_dax__job_level (dax__bufferstack + AX_dax__job_level) short int dax__job_level_isset; -AT_dax__adag_index AX_dax__adag_index; -#define A_dax__adag_index (dax__bufferstack + AX_dax__adag_index) -short int dax__adag_index_isset; -AT_dax__child_ref AX_dax__child_ref; -#define A_dax__child_ref (dax__bufferstack + AX_dax__child_ref) -short int dax__child_ref_isset; +AT_dax__job_name AX_dax__job_name; +#define A_dax__job_name (dax__bufferstack + AX_dax__job_name) +short int dax__job_name_isset; +AT_dax__job_namespace AX_dax__job_namespace; +#define A_dax__job_namespace (dax__bufferstack + AX_dax__job_namespace) +short int dax__job_namespace_isset; +AT_dax__job_runtime AX_dax__job_runtime; +#define A_dax__job_runtime (dax__bufferstack + AX_dax__job_runtime) +short int dax__job_runtime_isset; +AT_dax__job_version AX_dax__job_version; +#define A_dax__job_version (dax__bufferstack + AX_dax__job_version) +short int dax__job_version_isset; AT_dax__parent_ref AX_dax__parent_ref; #define A_dax__parent_ref (dax__bufferstack + AX_dax__parent_ref) short int dax__parent_ref_isset; +AT_dax__uses_file AX_dax__uses_file; +#define A_dax__uses_file (dax__bufferstack + AX_dax__uses_file) +short int dax__uses_file_isset; AT_dax__uses_link AX_dax__uses_link; #define A_dax__uses_link AX_dax__uses_link short int dax__uses_link_isset; -AT_dax__uses_transfer AX_dax__uses_transfer; -#define A_dax__uses_transfer AX_dax__uses_transfer -short int dax__uses_transfer_isset; -AT_dax__job_version AX_dax__job_version; -#define A_dax__job_version (dax__bufferstack + AX_dax__job_version) -short int dax__job_version_isset; -AT_dax__adag_count AX_dax__adag_count; -#define A_dax__adag_count (dax__bufferstack + AX_dax__adag_count) -short int dax__adag_count_isset; -AT_dax__job_name AX_dax__job_name; -#define A_dax__job_name (dax__bufferstack + AX_dax__job_name) -short int dax__job_name_isset; -AT_dax__adag_name AX_dax__adag_name; -#define A_dax__adag_name (dax__bufferstack + AX_dax__adag_name) -short int dax__adag_name_isset; AT_dax__uses_optional AX_dax__uses_optional; #define A_dax__uses_optional AX_dax__uses_optional short int dax__uses_optional_isset; +AT_dax__uses_register AX_dax__uses_register; +#define A_dax__uses_register AX_dax__uses_register +short int dax__uses_register_isset; +AT_dax__uses_size AX_dax__uses_size; +#define A_dax__uses_size (dax__bufferstack + AX_dax__uses_size) +short int dax__uses_size_isset; +AT_dax__uses_transfer AX_dax__uses_transfer; +#define A_dax__uses_transfer AX_dax__uses_transfer +short int dax__uses_transfer_isset; +AT_dax__uses_type AX_dax__uses_type; +#define A_dax__uses_type (dax__bufferstack + AX_dax__uses_type) +short int dax__uses_type_isset; /* XML state. */ #ifdef FLEX_DEBUG -# define ENTER(state) debug_enter(state,#state) -# define LEAVE debug_leave() -# define SET(state) debug_set(state,#state) +# define ENTER(state) debug_enter(state,#state) +# define LEAVE debug_leave() +# define SET(state) debug_set(state,#state) static void debug_enter(int, const char*); static void debug_leave(void); static void debug_set(int, const char*); #else -# define ENTER(state) (yy_push_state(state)) -# define LEAVE (yy_pop_state()) -# define SET(state) BEGIN(state) +# define ENTER(state) (yy_push_state(state)) +# define LEAVE (yy_pop_state()) +# define SET(state) BEGIN(state) #endif /* Generic actions. */ -#define SKIP /*skip*/ +#define SKIP /*skip*/ #define SUCCEED CLEANUP; return 0 -#define FAIL return fail +#define FAIL return fail static int fail(const char*, ...); enum {flexml_max_err_msg_size = 512}; @@ -1475,12 +1469,12 @@ static int inext = 1; static int ck_blimit() { if (bnext >= blimit) { - blimit += FLEXML_BUFFERSTACKSIZE + 2; - { - char *temp = (char *) realloc(dax__bufferstack, blimit); - assert(temp); - dax__bufferstack = temp; - } + blimit += FLEXML_BUFFERSTACKSIZE + 2; + { + char *temp = (char *) realloc(dax__bufferstack, blimit); + assert(temp); + dax__bufferstack = temp; + } } return 0; } @@ -1489,12 +1483,12 @@ static int ck_blimit() static int ck_ilimit() { if (inext >= ilimit) { - ilimit += FLEXML_INDEXSTACKSIZE + 2; - { - int *temp = (int *) realloc(indexstack, ilimit); - assert(temp); - indexstack = temp; - } + ilimit += FLEXML_INDEXSTACKSIZE + 2; + { + int *temp = (int *) realloc(indexstack, ilimit); + assert(temp); + indexstack = temp; + } } return 0; } @@ -1508,16 +1502,16 @@ static void dax__bufferliteral(char c, int* pp, const char* text) assert(s && e && s <= e); ++s; while (s < e) { - if (isspace(*s)) { - BUFFERPUTC(' '); - do ++s; while (s < e && isspace(*s)); - } else - BUFFERPUTC(*s++); + if (isspace(*s)) { + BUFFERPUTC(' '); + do ++s; while (s < e && isspace(*s)); + } else + BUFFERPUTC(*s++); } } else { const char *s = text; while (*s) - BUFFERPUTC(*s++); + BUFFERPUTC(*s++); } BUFFERDONE; } @@ -1527,7 +1521,7 @@ static void pushbuffer(int p) { ck_ilimit(); indexstack[inext++] = p; - indexstack[inext++] = bnext; + indexstack[inext++] = bnext; } static int popbuffer(void) @@ -1551,18 +1545,18 @@ static int popbuffer(void) /* Miscellaneous. */ /* Parser states (flex `exclusive start conditions'): * - * PROLOG the XML prolog of the document before - * DOCTYPE the XML prolog of the document after - * EPILOG after the root element - * INCOMMENT inside an XML comment - * INPI inside an XML PI - * VALUE1 inside a '...'-delimited literal - * VALUE2 inside a "..."-delimited literal - * CDATA inside a section. - * ROOT_ expect root element - * AL_ inside the attribute list for - * IN_ inside a with element contents (ready for end tag) - * IMPOSSIBLE dummy to permit disabling rules; must be last + * PROLOG the XML prolog of the document before + * DOCTYPE the XML prolog of the document after + * EPILOG after the root element + * INCOMMENT inside an XML comment + * INPI inside an XML PI + * VALUE1 inside a '...'-delimited literal + * VALUE2 inside a "..."-delimited literal + * CDATA inside a section. + * ROOT_ expect root element + * AL_ inside the attribute list for + * IN_ inside a with element contents (ready for end tag) + * IMPOSSIBLE dummy to permit disabling rules; must be last */ /* State names. */ @@ -1586,20 +1580,20 @@ const char* *dax__statenames=NULL; #define S_dax__adag_4 15 #define S_dax__adag_5 16 #define E_dax__adag 17 -#define AL_dax__job 18 -#define S_dax__job 19 -#define S_dax__job_1 20 -#define S_dax__job_2 21 -#define E_dax__job 22 -#define AL_dax__uses 23 -#define E_dax__uses 24 -#define AL_dax__child 25 -#define S_dax__child 26 -#define S_dax__child_1 27 -#define S_dax__child_2 28 -#define E_dax__child 29 -#define AL_dax__parent 30 -#define E_dax__parent 31 +#define AL_dax__child 18 +#define S_dax__child 19 +#define S_dax__child_1 20 +#define S_dax__child_2 21 +#define E_dax__child 22 +#define AL_dax__job 23 +#define S_dax__job 24 +#define S_dax__job_1 25 +#define S_dax__job_2 26 +#define E_dax__job 27 +#define AL_dax__parent 28 +#define E_dax__parent 29 +#define AL_dax__uses 30 +#define E_dax__uses 31 #define IMPOSSIBLE 32 #ifndef YY_NO_UNISTD_H @@ -1685,11 +1679,11 @@ static int input (void ); static int yy_start_stack_ptr = 0; static int yy_start_stack_depth = 0; static int *yy_start_stack = NULL; - + static void yy_push_state (int new_state ); - + static void yy_pop_state (void ); - + /* Amount of stuff to slurp up with each read. */ #ifndef YY_READ_BUF_SIZE #ifdef __ia64__ @@ -1713,33 +1707,33 @@ static int input (void ); */ #ifndef YY_INPUT #define YY_INPUT(buf,result,max_size) \ - if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ - { \ - int c = '*'; \ - size_t n; \ - for ( n = 0; n < max_size && \ - (c = getc( dax_in )) != EOF && c != '\n'; ++n ) \ - buf[n] = (char) c; \ - if ( c == '\n' ) \ - buf[n++] = (char) c; \ - if ( c == EOF && ferror( dax_in ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); \ - result = n; \ - } \ - else \ - { \ - errno=0; \ - while ( (result = fread(buf, 1, max_size, dax_in))==0 && ferror(dax_in)) \ - { \ - if( errno != EINTR) \ - { \ - YY_FATAL_ERROR( "input in flex scanner failed" ); \ - break; \ - } \ - errno=0; \ - clearerr(dax_in); \ - } \ - }\ + if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ + { \ + int c = '*'; \ + size_t n; \ + for ( n = 0; n < max_size && \ + (c = getc( dax_in )) != EOF && c != '\n'; ++n ) \ + buf[n] = (char) c; \ + if ( c == '\n' ) \ + buf[n++] = (char) c; \ + if ( c == EOF && ferror( dax_in ) ) \ + YY_FATAL_ERROR( "input in flex scanner failed" ); \ + result = n; \ + } \ + else \ + { \ + errno=0; \ + while ( (result = fread(buf, 1, max_size, dax_in))==0 && ferror(dax_in)) \ + { \ + if( errno != EINTR) \ + { \ + YY_FATAL_ERROR( "input in flex scanner failed" ); \ + break; \ + } \ + errno=0; \ + clearerr(dax_in); \ + } \ + }\ \ #endif @@ -1788,43 +1782,43 @@ extern int dax_lex (void); #endif #define YY_RULE_SETUP \ - YY_USER_ACTION + YY_USER_ACTION /** The main scanner function which does all the work. */ YY_DECL { - yy_state_type yy_current_state; - char *yy_cp, *yy_bp; - int yy_act; - - if ( !(yy_init) ) - { - (yy_init) = 1; + register yy_state_type yy_current_state; + register char *yy_cp, *yy_bp; + register int yy_act; + + if ( !(yy_init) ) + { + (yy_init) = 1; #ifdef YY_USER_INIT - YY_USER_INIT; + YY_USER_INIT; #endif - if ( ! (yy_start) ) - (yy_start) = 1; /* first start state */ + if ( ! (yy_start) ) + (yy_start) = 1; /* first start state */ - if ( ! dax_in ) - dax_in = stdin; + if ( ! dax_in ) + dax_in = stdin; - if ( ! dax_out ) - dax_out = stdout; + if ( ! dax_out ) + dax_out = stdout; - if ( ! YY_CURRENT_BUFFER ) { - dax_ensure_buffer_stack (); - YY_CURRENT_BUFFER_LVALUE = - dax__create_buffer(dax_in,YY_BUF_SIZE ); - } + if ( ! YY_CURRENT_BUFFER ) { + dax_ensure_buffer_stack (); + YY_CURRENT_BUFFER_LVALUE = + dax__create_buffer(dax_in,YY_BUF_SIZE ); + } - dax__load_buffer_state( ); - } + dax__load_buffer_state( ); + } - { + { /* Bypass Flex's default INITIAL state and begin by parsing the XML prolog. */ SET(PROLOG); @@ -1870,164 +1864,164 @@ YY_DECL dax__statenames[S_dax__adag_4] = "adag"; dax__statenames[S_dax__adag_5] = "adag"; dax__statenames[E_dax__adag] = "adag"; - dax__statenames[AL_dax__job] = NULL; - dax__statenames[S_dax__job] = "job"; - dax__statenames[S_dax__job_1] = "job"; - dax__statenames[S_dax__job_2] = "job"; - dax__statenames[E_dax__job] = "job"; - dax__statenames[AL_dax__uses] = NULL; - dax__statenames[E_dax__uses] = "uses"; dax__statenames[AL_dax__child] = NULL; dax__statenames[S_dax__child] = "child"; dax__statenames[S_dax__child_1] = "child"; dax__statenames[S_dax__child_2] = "child"; dax__statenames[E_dax__child] = "child"; + dax__statenames[AL_dax__job] = NULL; + dax__statenames[S_dax__job] = "job"; + dax__statenames[S_dax__job_1] = "job"; + dax__statenames[S_dax__job_2] = "job"; + dax__statenames[E_dax__job] = "job"; dax__statenames[AL_dax__parent] = NULL; dax__statenames[E_dax__parent] = "parent"; + dax__statenames[AL_dax__uses] = NULL; + dax__statenames[E_dax__uses] = "uses"; } /* COMMENTS and PIs: handled uniformly for efficiency. */ - while ( 1 ) /* loops until end-of-file is reached */ - { - yy_cp = (yy_c_buf_p); + while ( 1 ) /* loops until end-of-file is reached */ + { + yy_cp = (yy_c_buf_p); - /* Support of dax_text. */ - *yy_cp = (yy_hold_char); + /* Support of dax_text. */ + *yy_cp = (yy_hold_char); - /* yy_bp points to the position in yy_ch_buf of the start of - * the current run. - */ - yy_bp = yy_cp; + /* yy_bp points to the position in yy_ch_buf of the start of + * the current run. + */ + yy_bp = yy_cp; - yy_current_state = (yy_start); + yy_current_state = (yy_start); yy_match: - do - { - 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; - (yy_last_accepting_cpos) = yy_cp; - } - 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 >= 775 ) - 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] != 2164 ); + do + { + register 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; + (yy_last_accepting_cpos) = yy_cp; + } + 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 >= 775 ) + 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] != 2135 ); yy_find_action: - yy_act = yy_accept[yy_current_state]; - if ( yy_act == 0 ) - { /* have to back up */ - yy_cp = (yy_last_accepting_cpos); - yy_current_state = (yy_last_accepting_state); - yy_act = yy_accept[yy_current_state]; - } - - YY_DO_BEFORE_ACTION; - - if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] ) - { - yy_size_t yyl; - for ( yyl = 0; yyl < dax_leng; ++yyl ) - if ( dax_text[yyl] == '\n' ) - + yy_act = yy_accept[yy_current_state]; + if ( yy_act == 0 ) + { /* have to back up */ + yy_cp = (yy_last_accepting_cpos); + yy_current_state = (yy_last_accepting_state); + yy_act = yy_accept[yy_current_state]; + } + + YY_DO_BEFORE_ACTION; + + if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] ) + { + yy_size_t yyl; + for ( yyl = 0; yyl < dax_leng; ++yyl ) + if ( dax_text[yyl] == '\n' ) + dax_lineno++; ; - } + } -do_action: /* This label is used only to access EOF actions. */ +do_action: /* This label is used only to access EOF actions. */ - switch ( yy_act ) - { /* beginning of action switch */ - case 0: /* must back up */ - /* undo the effects of YY_DO_BEFORE_ACTION */ - *yy_cp = (yy_hold_char); - yy_cp = (yy_last_accepting_cpos); - yy_current_state = (yy_last_accepting_state); - goto yy_find_action; + switch ( yy_act ) + { /* beginning of action switch */ + case 0: /* must back up */ + /* undo the effects of YY_DO_BEFORE_ACTION */ + *yy_cp = (yy_hold_char); + yy_cp = (yy_last_accepting_cpos); + yy_current_state = (yy_last_accepting_state); + goto yy_find_action; case 1: YY_RULE_SETUP ENTER(INCOMMENT); - YY_BREAK + YY_BREAK case 2: YY_RULE_SETUP ENTER(INPI); - YY_BREAK + YY_BREAK case 3: YY_RULE_SETUP LEAVE; - YY_BREAK + YY_BREAK case 4: case 5: case 6: /* rule 6 can match eol */ YY_RULE_SETUP SKIP; - YY_BREAK + YY_BREAK case YY_STATE_EOF(INCOMMENT): FAIL("EOF in comment."); - YY_BREAK + YY_BREAK case 7: YY_RULE_SETUP LEAVE; - YY_BREAK + YY_BREAK case 8: case 9: /* rule 9 can match eol */ YY_RULE_SETUP SKIP; - YY_BREAK + YY_BREAK case YY_STATE_EOF(INPI): FAIL("EOF in PI (processing instruction)."); - YY_BREAK + YY_BREAK /* SPACES: skipped uniformly */ case 10: /* rule 10 can match eol */ YY_RULE_SETUP SKIP; - YY_BREAK + YY_BREAK /* PROLOG: determine root element and process it. */ case 11: /* rule 11 can match eol */ YY_RULE_SETUP -SET(ROOT_dax__adag); - YY_BREAK +SET(ROOT_dax__adag); + YY_BREAK case 12: /* rule 12 can match eol */ YY_RULE_SETUP FAIL("Bad declaration %s.",dax_text); - YY_BREAK + YY_BREAK case 13: /* rule 13 can match eol */ YY_RULE_SETUP SET(ROOT_dax__adag); - YY_BREAK + YY_BREAK case 14: /* rule 14 can match eol */ YY_RULE_SETUP FAIL("Bad declaration %s.",dax_text); - YY_BREAK + YY_BREAK case 15: YY_RULE_SETUP FAIL("Unexpected character `%c' in prolog.", dax_text[0]); - YY_BREAK + YY_BREAK case YY_STATE_EOF(PROLOG): case YY_STATE_EOF(DOCTYPE): FAIL("EOF in prolog."); - YY_BREAK + YY_BREAK /* RULES DERIVED FROM DTD. */ /* */ @@ -2035,141 +2029,141 @@ case 16: /* rule 16 can match eol */ YY_RULE_SETUP FAIL("Starting tag is not allowed here."); - YY_BREAK + YY_BREAK case 17: /* rule 17 can match eol */ YY_RULE_SETUP { - AX_dax__adag_xmlns = 1; - dax__adag_xmlns_isset = 0; - AX_dax__adag_xmlns_c_xsi = 35; - dax__adag_xmlns_c_xsi_isset = 0; - AX_dax__adag_xsi_c_schemaLocation = 77; - dax__adag_xsi_c_schemaLocation_isset = 0; - AX_dax__adag_version = 153; - dax__adag_version_isset = 0; + AX_dax__adag_childCount = 0; + dax__adag_childCount_isset = 0; AX_dax__adag_count = 0; dax__adag_count_isset = 0; + AX_dax__adag_fileCount = 0; + dax__adag_fileCount_isset = 0; AX_dax__adag_index = 0; dax__adag_index_isset = 0; - AX_dax__adag_name = 0; - dax__adag_name_isset = 0; AX_dax__adag_jobCount = 0; dax__adag_jobCount_isset = 0; - AX_dax__adag_fileCount = 0; - dax__adag_fileCount_isset = 0; - AX_dax__adag_childCount = 0; - dax__adag_childCount_isset = 0; + AX_dax__adag_name = 0; + dax__adag_name_isset = 0; + AX_dax__adag_version = 153; + dax__adag_version_isset = 0; + AX_dax__adag_xmlns = 1; + dax__adag_xmlns_isset = 0; + AX_dax__adag_xmlns_c_xsi = 35; + dax__adag_xmlns_c_xsi_isset = 0; + AX_dax__adag_xsi_c_schemaLocation = 77; + dax__adag_xsi_c_schemaLocation_isset = 0; ENTER(AL_dax__adag); pushbuffer(0); } - YY_BREAK + YY_BREAK case 18: /* rule 18 can match eol */ YY_RULE_SETUP -if (dax__adag_xmlns_isset != 0) {FAIL("Multiple definition of attribute xmlns in ");} dax__adag_xmlns_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__adag_xmlns); - YY_BREAK +if (dax__adag_childCount_isset != 0) {FAIL("Multiple definition of attribute childCount in ");} dax__adag_childCount_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__adag_childCount); + YY_BREAK case 19: /* rule 19 can match eol */ YY_RULE_SETUP -if (dax__adag_xmlns_isset != 0) {FAIL("Multiple definition of attribute xmlns in ");} dax__adag_xmlns_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__adag_xmlns); - YY_BREAK +if (dax__adag_childCount_isset != 0) {FAIL("Multiple definition of attribute childCount in ");} dax__adag_childCount_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__adag_childCount); + YY_BREAK case 20: /* rule 20 can match eol */ YY_RULE_SETUP -if (dax__adag_xmlns_c_xsi_isset != 0) {FAIL("Multiple definition of attribute xmlns:xsi in ");} dax__adag_xmlns_c_xsi_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__adag_xmlns_c_xsi); - YY_BREAK +if (dax__adag_count_isset != 0) {FAIL("Multiple definition of attribute count in ");} dax__adag_count_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__adag_count); + YY_BREAK case 21: /* rule 21 can match eol */ YY_RULE_SETUP -if (dax__adag_xmlns_c_xsi_isset != 0) {FAIL("Multiple definition of attribute xmlns:xsi in ");} dax__adag_xmlns_c_xsi_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__adag_xmlns_c_xsi); - YY_BREAK +if (dax__adag_count_isset != 0) {FAIL("Multiple definition of attribute count in ");} dax__adag_count_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__adag_count); + YY_BREAK case 22: /* rule 22 can match eol */ YY_RULE_SETUP -if (dax__adag_xsi_c_schemaLocation_isset != 0) {FAIL("Multiple definition of attribute xsi:schemaLocation in ");} dax__adag_xsi_c_schemaLocation_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__adag_xsi_c_schemaLocation); - YY_BREAK +if (dax__adag_fileCount_isset != 0) {FAIL("Multiple definition of attribute fileCount in ");} dax__adag_fileCount_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__adag_fileCount); + YY_BREAK case 23: /* rule 23 can match eol */ YY_RULE_SETUP -if (dax__adag_xsi_c_schemaLocation_isset != 0) {FAIL("Multiple definition of attribute xsi:schemaLocation in ");} dax__adag_xsi_c_schemaLocation_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__adag_xsi_c_schemaLocation); - YY_BREAK +if (dax__adag_fileCount_isset != 0) {FAIL("Multiple definition of attribute fileCount in ");} dax__adag_fileCount_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__adag_fileCount); + YY_BREAK case 24: /* rule 24 can match eol */ YY_RULE_SETUP -if (dax__adag_version_isset != 0) {FAIL("Multiple definition of attribute version in ");} dax__adag_version_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__adag_version); - YY_BREAK +if (dax__adag_index_isset != 0) {FAIL("Multiple definition of attribute index in ");} dax__adag_index_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__adag_index); + YY_BREAK case 25: /* rule 25 can match eol */ YY_RULE_SETUP -if (dax__adag_version_isset != 0) {FAIL("Multiple definition of attribute version in ");} dax__adag_version_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__adag_version); - YY_BREAK +if (dax__adag_index_isset != 0) {FAIL("Multiple definition of attribute index in ");} dax__adag_index_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__adag_index); + YY_BREAK case 26: /* rule 26 can match eol */ YY_RULE_SETUP -if (dax__adag_count_isset != 0) {FAIL("Multiple definition of attribute count in ");} dax__adag_count_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__adag_count); - YY_BREAK +if (dax__adag_jobCount_isset != 0) {FAIL("Multiple definition of attribute jobCount in ");} dax__adag_jobCount_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__adag_jobCount); + YY_BREAK case 27: /* rule 27 can match eol */ YY_RULE_SETUP -if (dax__adag_count_isset != 0) {FAIL("Multiple definition of attribute count in ");} dax__adag_count_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__adag_count); - YY_BREAK +if (dax__adag_jobCount_isset != 0) {FAIL("Multiple definition of attribute jobCount in ");} dax__adag_jobCount_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__adag_jobCount); + YY_BREAK case 28: /* rule 28 can match eol */ YY_RULE_SETUP -if (dax__adag_index_isset != 0) {FAIL("Multiple definition of attribute index in ");} dax__adag_index_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__adag_index); - YY_BREAK +if (dax__adag_name_isset != 0) {FAIL("Multiple definition of attribute name in ");} dax__adag_name_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__adag_name); + YY_BREAK case 29: /* rule 29 can match eol */ YY_RULE_SETUP -if (dax__adag_index_isset != 0) {FAIL("Multiple definition of attribute index in ");} dax__adag_index_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__adag_index); - YY_BREAK +if (dax__adag_name_isset != 0) {FAIL("Multiple definition of attribute name in ");} dax__adag_name_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__adag_name); + YY_BREAK case 30: /* rule 30 can match eol */ YY_RULE_SETUP -if (dax__adag_name_isset != 0) {FAIL("Multiple definition of attribute name in ");} dax__adag_name_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__adag_name); - YY_BREAK +if (dax__adag_version_isset != 0) {FAIL("Multiple definition of attribute version in ");} dax__adag_version_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__adag_version); + YY_BREAK case 31: /* rule 31 can match eol */ YY_RULE_SETUP -if (dax__adag_name_isset != 0) {FAIL("Multiple definition of attribute name in ");} dax__adag_name_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__adag_name); - YY_BREAK +if (dax__adag_version_isset != 0) {FAIL("Multiple definition of attribute version in ");} dax__adag_version_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__adag_version); + YY_BREAK case 32: /* rule 32 can match eol */ YY_RULE_SETUP -if (dax__adag_jobCount_isset != 0) {FAIL("Multiple definition of attribute jobCount in ");} dax__adag_jobCount_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__adag_jobCount); - YY_BREAK +if (dax__adag_xmlns_isset != 0) {FAIL("Multiple definition of attribute xmlns in ");} dax__adag_xmlns_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__adag_xmlns); + YY_BREAK case 33: /* rule 33 can match eol */ YY_RULE_SETUP -if (dax__adag_jobCount_isset != 0) {FAIL("Multiple definition of attribute jobCount in ");} dax__adag_jobCount_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__adag_jobCount); - YY_BREAK +if (dax__adag_xmlns_isset != 0) {FAIL("Multiple definition of attribute xmlns in ");} dax__adag_xmlns_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__adag_xmlns); + YY_BREAK case 34: /* rule 34 can match eol */ YY_RULE_SETUP -if (dax__adag_fileCount_isset != 0) {FAIL("Multiple definition of attribute fileCount in ");} dax__adag_fileCount_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__adag_fileCount); - YY_BREAK +if (dax__adag_xmlns_c_xsi_isset != 0) {FAIL("Multiple definition of attribute xmlns:xsi in ");} dax__adag_xmlns_c_xsi_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__adag_xmlns_c_xsi); + YY_BREAK case 35: /* rule 35 can match eol */ YY_RULE_SETUP -if (dax__adag_fileCount_isset != 0) {FAIL("Multiple definition of attribute fileCount in ");} dax__adag_fileCount_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__adag_fileCount); - YY_BREAK +if (dax__adag_xmlns_c_xsi_isset != 0) {FAIL("Multiple definition of attribute xmlns:xsi in ");} dax__adag_xmlns_c_xsi_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__adag_xmlns_c_xsi); + YY_BREAK case 36: /* rule 36 can match eol */ YY_RULE_SETUP -if (dax__adag_childCount_isset != 0) {FAIL("Multiple definition of attribute childCount in ");} dax__adag_childCount_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__adag_childCount); - YY_BREAK +if (dax__adag_xsi_c_schemaLocation_isset != 0) {FAIL("Multiple definition of attribute xsi:schemaLocation in ");} dax__adag_xsi_c_schemaLocation_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__adag_xsi_c_schemaLocation); + YY_BREAK case 37: /* rule 37 can match eol */ YY_RULE_SETUP -if (dax__adag_childCount_isset != 0) {FAIL("Multiple definition of attribute childCount in ");} dax__adag_childCount_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__adag_childCount); - YY_BREAK +if (dax__adag_xsi_c_schemaLocation_isset != 0) {FAIL("Multiple definition of attribute xsi:schemaLocation in ");} dax__adag_xsi_c_schemaLocation_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__adag_xsi_c_schemaLocation); + YY_BREAK case 38: YY_RULE_SETUP { LEAVE; STag_dax__adag();dax__pcdata_ix = 0; ENTER(S_dax__adag); } - YY_BREAK + YY_BREAK case 39: YY_RULE_SETUP { @@ -2178,18 +2172,18 @@ YY_RULE_SETUP case ROOT_dax__adag: SET(EPILOG); break; } } - YY_BREAK + YY_BREAK case 40: YY_RULE_SETUP FAIL("Unexpected character `%c' in attribute list of adag element.", dax_text[0]); - YY_BREAK + YY_BREAK case 41: YY_RULE_SETUP FAIL("Bad attribute `%s' in `adag' element start tag.",dax_text); - YY_BREAK + YY_BREAK case YY_STATE_EOF(AL_dax__adag): FAIL("EOF in attribute list of `adag' element."); - YY_BREAK + YY_BREAK case 42: /* rule 42 can match eol */ @@ -2202,509 +2196,509 @@ YY_RULE_SETUP case ROOT_dax__adag: SET(EPILOG); break; } } - YY_BREAK + YY_BREAK case 43: /* rule 43 can match eol */ YY_RULE_SETUP FAIL("Unexpected end-tag `%s': `' expected.",dax_text); - YY_BREAK + YY_BREAK case 44: YY_RULE_SETUP FAIL("Unexpected character `%c': `' expected.",dax_text[0]); - YY_BREAK + YY_BREAK case YY_STATE_EOF(E_dax__adag): case YY_STATE_EOF(S_dax__adag): -case YY_STATE_EOF(S_dax__adag_5): -case YY_STATE_EOF(S_dax__adag_3): case YY_STATE_EOF(S_dax__adag_1): +case YY_STATE_EOF(S_dax__adag_3): +case YY_STATE_EOF(S_dax__adag_5): FAIL("Premature EOF: `' expected."); - YY_BREAK + YY_BREAK case 45: /* rule 45 can match eol */ YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK +FAIL("Starting tag is not allowed here."); + YY_BREAK case 46: /* rule 46 can match eol */ YY_RULE_SETUP { - AX_dax__job_id = 0; - dax__job_id_isset = 0; - AX_dax__job_namespace = 0; - dax__job_namespace_isset = 0; - AX_dax__job_name = 0; - dax__job_name_isset = 0; - AX_dax__job_version = 157; - dax__job_version_isset = 0; - AX_dax__job_runtime = 0; - dax__job_runtime_isset = 0; - AX_dax__job_level = 0; - dax__job_level_isset = 0; - ENTER(AL_dax__job); pushbuffer(0); + AX_dax__child_ref = 0; + dax__child_ref_isset = 0; + ENTER(AL_dax__child); pushbuffer(0); } - YY_BREAK + YY_BREAK case 47: /* rule 47 can match eol */ YY_RULE_SETUP -if (dax__job_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} dax__job_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__job_id); - YY_BREAK +if (dax__child_ref_isset != 0) {FAIL("Multiple definition of attribute ref in ");} dax__child_ref_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__child_ref); + YY_BREAK case 48: /* rule 48 can match eol */ YY_RULE_SETUP -if (dax__job_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} dax__job_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__job_id); - YY_BREAK +if (dax__child_ref_isset != 0) {FAIL("Multiple definition of attribute ref in ");} dax__child_ref_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__child_ref); + YY_BREAK case 49: -/* rule 49 can match eol */ YY_RULE_SETUP -if (dax__job_namespace_isset != 0) {FAIL("Multiple definition of attribute namespace in ");} dax__job_namespace_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__job_namespace); - YY_BREAK +{ + if (!AX_dax__child_ref) FAIL("Required attribute `ref' not set for `child' element."); + LEAVE; STag_dax__child();dax__pcdata_ix = 0; ENTER(S_dax__child); + } + YY_BREAK case 50: -/* rule 50 can match eol */ YY_RULE_SETUP -if (dax__job_namespace_isset != 0) {FAIL("Multiple definition of attribute namespace in ");} dax__job_namespace_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__job_namespace); - YY_BREAK +{ + if (!AX_dax__child_ref) FAIL("Required attribute `ref' not set for `child' element."); + LEAVE; STag_dax__child(); dax__pcdata_ix = 0; ETag_dax__child(); popbuffer(); /* attribute */ + switch (YY_START) { + case S_dax__adag: case S_dax__adag_1: case S_dax__adag_3: case S_dax__adag_4: case S_dax__adag_5: SET(S_dax__adag_5); break; + } + } + YY_BREAK case 51: -/* rule 51 can match eol */ YY_RULE_SETUP -if (dax__job_name_isset != 0) {FAIL("Multiple definition of attribute name in ");} dax__job_name_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__job_name); - YY_BREAK +FAIL("Unexpected character `%c' in attribute list of child element.", dax_text[0]); + YY_BREAK case 52: -/* rule 52 can match eol */ YY_RULE_SETUP -if (dax__job_name_isset != 0) {FAIL("Multiple definition of attribute name in ");} dax__job_name_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__job_name); - YY_BREAK +FAIL("Bad attribute `%s' in `child' element start tag.",dax_text); + YY_BREAK +case YY_STATE_EOF(AL_dax__child): +FAIL("EOF in attribute list of `child' element."); + YY_BREAK + case 53: /* rule 53 can match eol */ YY_RULE_SETUP -if (dax__job_version_isset != 0) {FAIL("Multiple definition of attribute version in ");} dax__job_version_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__job_version); - YY_BREAK +{ + LEAVE; + ETag_dax__child(); + popbuffer(); /* attribute */ + switch (YY_START) { + case S_dax__adag: case S_dax__adag_1: case S_dax__adag_3: case S_dax__adag_4: case S_dax__adag_5: SET(S_dax__adag_5); break; + } + } + YY_BREAK case 54: /* rule 54 can match eol */ YY_RULE_SETUP -if (dax__job_version_isset != 0) {FAIL("Multiple definition of attribute version in ");} dax__job_version_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__job_version); - YY_BREAK +FAIL("Unexpected end-tag `%s': `' expected.",dax_text); + YY_BREAK case 55: -/* rule 55 can match eol */ YY_RULE_SETUP -if (dax__job_runtime_isset != 0) {FAIL("Multiple definition of attribute runtime in ");} dax__job_runtime_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__job_runtime); - YY_BREAK +FAIL("Unexpected character `%c': `' expected.",dax_text[0]); + YY_BREAK +case YY_STATE_EOF(E_dax__child): +case YY_STATE_EOF(S_dax__child): +case YY_STATE_EOF(S_dax__child_2): +FAIL("Premature EOF: `' expected."); + YY_BREAK + case 56: /* rule 56 can match eol */ YY_RULE_SETUP -if (dax__job_runtime_isset != 0) {FAIL("Multiple definition of attribute runtime in ");} dax__job_runtime_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__job_runtime); - YY_BREAK +FAIL("Starting tag is not allowed here."); + YY_BREAK case 57: /* rule 57 can match eol */ YY_RULE_SETUP -if (dax__job_level_isset != 0) {FAIL("Multiple definition of attribute level in ");} dax__job_level_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__job_level); - YY_BREAK +{ + AX_dax__job_id = 0; + dax__job_id_isset = 0; + AX_dax__job_level = 0; + dax__job_level_isset = 0; + AX_dax__job_name = 0; + dax__job_name_isset = 0; + AX_dax__job_namespace = 0; + dax__job_namespace_isset = 0; + AX_dax__job_runtime = 0; + dax__job_runtime_isset = 0; + AX_dax__job_version = 157; + dax__job_version_isset = 0; + ENTER(AL_dax__job); pushbuffer(0); + } + YY_BREAK + case 58: /* rule 58 can match eol */ YY_RULE_SETUP -if (dax__job_level_isset != 0) {FAIL("Multiple definition of attribute level in ");} dax__job_level_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__job_level); - YY_BREAK +if (dax__job_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} dax__job_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__job_id); + YY_BREAK case 59: +/* rule 59 can match eol */ YY_RULE_SETUP -{ - if (!AX_dax__job_id) FAIL("Required attribute `id' not set for `job' element."); - if (!AX_dax__job_name) FAIL("Required attribute `name' not set for `job' element."); - if (!AX_dax__job_runtime) FAIL("Required attribute `runtime' not set for `job' element."); - LEAVE; STag_dax__job();dax__pcdata_ix = 0; ENTER(S_dax__job); - } - YY_BREAK +if (dax__job_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} dax__job_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__job_id); + YY_BREAK case 60: +/* rule 60 can match eol */ YY_RULE_SETUP -{ - if (!AX_dax__job_id) FAIL("Required attribute `id' not set for `job' element."); - if (!AX_dax__job_name) FAIL("Required attribute `name' not set for `job' element."); - if (!AX_dax__job_runtime) FAIL("Required attribute `runtime' not set for `job' element."); - LEAVE; STag_dax__job(); dax__pcdata_ix = 0; ETag_dax__job(); popbuffer(); /* attribute */ - switch (YY_START) { - case S_dax__adag_2: case S_dax__adag_3: case S_dax__adag: SET(S_dax__adag_3); break; - } - } - YY_BREAK +if (dax__job_level_isset != 0) {FAIL("Multiple definition of attribute level in ");} dax__job_level_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__job_level); + YY_BREAK case 61: +/* rule 61 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of job element.", dax_text[0]); - YY_BREAK +if (dax__job_level_isset != 0) {FAIL("Multiple definition of attribute level in ");} dax__job_level_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__job_level); + YY_BREAK case 62: +/* rule 62 can match eol */ YY_RULE_SETUP -FAIL("Bad attribute `%s' in `job' element start tag.",dax_text); - YY_BREAK -case YY_STATE_EOF(AL_dax__job): -FAIL("EOF in attribute list of `job' element."); - YY_BREAK - +if (dax__job_name_isset != 0) {FAIL("Multiple definition of attribute name in ");} dax__job_name_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__job_name); + YY_BREAK case 63: /* rule 63 can match eol */ YY_RULE_SETUP -{ - LEAVE; - ETag_dax__job(); - popbuffer(); /* attribute */ - switch (YY_START) { - case S_dax__adag_2: case S_dax__adag_3: case S_dax__adag: SET(S_dax__adag_3); break; - } - } - YY_BREAK +if (dax__job_name_isset != 0) {FAIL("Multiple definition of attribute name in ");} dax__job_name_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__job_name); + YY_BREAK case 64: /* rule 64 can match eol */ YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",dax_text); - YY_BREAK +if (dax__job_namespace_isset != 0) {FAIL("Multiple definition of attribute namespace in ");} dax__job_namespace_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__job_namespace); + YY_BREAK case 65: +/* rule 65 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",dax_text[0]); - YY_BREAK -case YY_STATE_EOF(S_dax__job): -case YY_STATE_EOF(E_dax__job): -case YY_STATE_EOF(S_dax__job_2): -FAIL("Premature EOF: `' expected."); - YY_BREAK - -/* - * */ +if (dax__job_namespace_isset != 0) {FAIL("Multiple definition of attribute namespace in ");} dax__job_namespace_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__job_namespace); + YY_BREAK case 66: /* rule 66 can match eol */ YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK +if (dax__job_runtime_isset != 0) {FAIL("Multiple definition of attribute runtime in ");} dax__job_runtime_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__job_runtime); + YY_BREAK case 67: /* rule 67 can match eol */ YY_RULE_SETUP -{ - AX_dax__uses_file = 0; - dax__uses_file_isset = 0; - AX_dax__uses_link = AU_dax__uses_link; - dax__uses_link_isset = 0; - AX_dax__uses_register = A_dax__uses_register_true; - dax__uses_register_isset = 0; - AX_dax__uses_transfer = A_dax__uses_transfer_true; - dax__uses_transfer_isset = 0; - AX_dax__uses_optional = A_dax__uses_optional_false; - dax__uses_optional_isset = 0; - AX_dax__uses_type = 161; - dax__uses_type_isset = 0; - AX_dax__uses_size = 0; - dax__uses_size_isset = 0; - ENTER(AL_dax__uses); pushbuffer(0); - } - YY_BREAK - +if (dax__job_runtime_isset != 0) {FAIL("Multiple definition of attribute runtime in ");} dax__job_runtime_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__job_runtime); + YY_BREAK case 68: /* rule 68 can match eol */ YY_RULE_SETUP -if (dax__uses_file_isset != 0) {FAIL("Multiple definition of attribute file in ");} dax__uses_file_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__uses_file); - YY_BREAK +if (dax__job_version_isset != 0) {FAIL("Multiple definition of attribute version in ");} dax__job_version_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__job_version); + YY_BREAK case 69: /* rule 69 can match eol */ YY_RULE_SETUP -if (dax__uses_file_isset != 0) {FAIL("Multiple definition of attribute file in ");} dax__uses_file_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__uses_file); - YY_BREAK +if (dax__job_version_isset != 0) {FAIL("Multiple definition of attribute version in ");} dax__job_version_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__job_version); + YY_BREAK case 70: -/* rule 70 can match eol */ +YY_RULE_SETUP +{ + if (!AX_dax__job_id) FAIL("Required attribute `id' not set for `job' element."); + if (!AX_dax__job_name) FAIL("Required attribute `name' not set for `job' element."); + if (!AX_dax__job_runtime) FAIL("Required attribute `runtime' not set for `job' element."); + LEAVE; STag_dax__job();dax__pcdata_ix = 0; ENTER(S_dax__job); + } + YY_BREAK case 71: -/* rule 71 can match eol */ YY_RULE_SETUP -A_dax__uses_link = A_dax__uses_link_input; - YY_BREAK +{ + if (!AX_dax__job_id) FAIL("Required attribute `id' not set for `job' element."); + if (!AX_dax__job_name) FAIL("Required attribute `name' not set for `job' element."); + if (!AX_dax__job_runtime) FAIL("Required attribute `runtime' not set for `job' element."); + LEAVE; STag_dax__job(); dax__pcdata_ix = 0; ETag_dax__job(); popbuffer(); /* attribute */ + switch (YY_START) { + case S_dax__adag: case S_dax__adag_2: case S_dax__adag_3: SET(S_dax__adag_3); break; + } + } + YY_BREAK case 72: -/* rule 72 can match eol */ +YY_RULE_SETUP +FAIL("Unexpected character `%c' in attribute list of job element.", dax_text[0]); + YY_BREAK case 73: -/* rule 73 can match eol */ YY_RULE_SETUP -A_dax__uses_link = A_dax__uses_link_output; - YY_BREAK +FAIL("Bad attribute `%s' in `job' element start tag.",dax_text); + YY_BREAK +case YY_STATE_EOF(AL_dax__job): +FAIL("EOF in attribute list of `job' element."); + YY_BREAK + case 74: /* rule 74 can match eol */ +YY_RULE_SETUP +{ + LEAVE; + ETag_dax__job(); + popbuffer(); /* attribute */ + switch (YY_START) { + case S_dax__adag: case S_dax__adag_2: case S_dax__adag_3: SET(S_dax__adag_3); break; + } + } + YY_BREAK case 75: /* rule 75 can match eol */ YY_RULE_SETUP -A_dax__uses_register = A_dax__uses_register_false; - YY_BREAK +FAIL("Unexpected end-tag `%s': `' expected.",dax_text); + YY_BREAK case 76: -/* rule 76 can match eol */ +YY_RULE_SETUP +FAIL("Unexpected character `%c': `' expected.",dax_text[0]); + YY_BREAK +case YY_STATE_EOF(E_dax__job): +case YY_STATE_EOF(S_dax__job): +case YY_STATE_EOF(S_dax__job_2): +FAIL("Premature EOF: `' expected."); + YY_BREAK + case 77: /* rule 77 can match eol */ YY_RULE_SETUP -A_dax__uses_register = A_dax__uses_register_true; - YY_BREAK +FAIL("Starting tag is not allowed here."); + YY_BREAK case 78: /* rule 78 can match eol */ +YY_RULE_SETUP +{ + AX_dax__parent_ref = 0; + dax__parent_ref_isset = 0; + ENTER(AL_dax__parent); pushbuffer(0); + } + YY_BREAK + case 79: /* rule 79 can match eol */ YY_RULE_SETUP -A_dax__uses_transfer = A_dax__uses_transfer_false; - YY_BREAK +if (dax__parent_ref_isset != 0) {FAIL("Multiple definition of attribute ref in ");} dax__parent_ref_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__parent_ref); + YY_BREAK case 80: /* rule 80 can match eol */ +YY_RULE_SETUP +if (dax__parent_ref_isset != 0) {FAIL("Multiple definition of attribute ref in ");} dax__parent_ref_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__parent_ref); + YY_BREAK case 81: -/* rule 81 can match eol */ YY_RULE_SETUP -A_dax__uses_transfer = A_dax__uses_transfer_true; - YY_BREAK +{ + if (!AX_dax__parent_ref) FAIL("Required attribute `ref' not set for `parent' element."); + LEAVE; STag_dax__parent();dax__pcdata_ix = 0; ENTER(E_dax__parent); + } + YY_BREAK case 82: -/* rule 82 can match eol */ +YY_RULE_SETUP +{ + if (!AX_dax__parent_ref) FAIL("Required attribute `ref' not set for `parent' element."); + LEAVE; STag_dax__parent(); dax__pcdata_ix = 0; ETag_dax__parent(); popbuffer(); /* attribute */ + switch (YY_START) { + case S_dax__child: case S_dax__child_1: case S_dax__child_2: SET(S_dax__child_2); break; + } + } + YY_BREAK case 83: -/* rule 83 can match eol */ YY_RULE_SETUP -A_dax__uses_optional = A_dax__uses_optional_false; - YY_BREAK +FAIL("Unexpected character `%c' in attribute list of parent element.", dax_text[0]); + YY_BREAK case 84: -/* rule 84 can match eol */ +YY_RULE_SETUP +FAIL("Bad attribute `%s' in `parent' element start tag.",dax_text); + YY_BREAK +case YY_STATE_EOF(AL_dax__parent): +FAIL("EOF in attribute list of `parent' element."); + YY_BREAK + case 85: /* rule 85 can match eol */ YY_RULE_SETUP -A_dax__uses_optional = A_dax__uses_optional_true; - YY_BREAK +{ + LEAVE; + ETag_dax__parent(); + popbuffer(); /* attribute */ + switch (YY_START) { + case S_dax__child: case S_dax__child_1: case S_dax__child_2: SET(S_dax__child_2); break; + } + } + YY_BREAK case 86: /* rule 86 can match eol */ YY_RULE_SETUP -if (dax__uses_type_isset != 0) {FAIL("Multiple definition of attribute type in ");} dax__uses_type_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__uses_type); - YY_BREAK +FAIL("Unexpected end-tag `%s': `' expected.",dax_text); + YY_BREAK case 87: -/* rule 87 can match eol */ YY_RULE_SETUP -if (dax__uses_type_isset != 0) {FAIL("Multiple definition of attribute type in ");} dax__uses_type_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__uses_type); - YY_BREAK +FAIL("Unexpected character `%c': `' expected.",dax_text[0]); + YY_BREAK +case YY_STATE_EOF(E_dax__parent): +FAIL("Premature EOF: `' expected."); + YY_BREAK + +/* + * */ case 88: /* rule 88 can match eol */ YY_RULE_SETUP -if (dax__uses_size_isset != 0) {FAIL("Multiple definition of attribute size in ");} dax__uses_size_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__uses_size); - YY_BREAK +FAIL("Starting tag is not allowed here."); + YY_BREAK case 89: /* rule 89 can match eol */ YY_RULE_SETUP -if (dax__uses_size_isset != 0) {FAIL("Multiple definition of attribute size in ");} dax__uses_size_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__uses_size); - YY_BREAK +{ + AX_dax__uses_file = 0; + dax__uses_file_isset = 0; + AX_dax__uses_link = AU_dax__uses_link; + dax__uses_link_isset = 0; + AX_dax__uses_optional = A_dax__uses_optional_false; + dax__uses_optional_isset = 0; + AX_dax__uses_register = A_dax__uses_register_true; + dax__uses_register_isset = 0; + AX_dax__uses_size = 0; + dax__uses_size_isset = 0; + AX_dax__uses_transfer = A_dax__uses_transfer_true; + dax__uses_transfer_isset = 0; + AX_dax__uses_type = 161; + dax__uses_type_isset = 0; + ENTER(AL_dax__uses); pushbuffer(0); + } + YY_BREAK + case 90: +/* rule 90 can match eol */ YY_RULE_SETUP -{ - if (!AX_dax__uses_file) FAIL("Required attribute `file' not set for `uses' element."); - if (!AX_dax__uses_size) FAIL("Required attribute `size' not set for `uses' element."); - LEAVE; STag_dax__uses();dax__pcdata_ix = 0; ENTER(E_dax__uses); - } - YY_BREAK +if (dax__uses_file_isset != 0) {FAIL("Multiple definition of attribute file in ");} dax__uses_file_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__uses_file); + YY_BREAK case 91: +/* rule 91 can match eol */ YY_RULE_SETUP -{ - if (!AX_dax__uses_file) FAIL("Required attribute `file' not set for `uses' element."); - if (!AX_dax__uses_size) FAIL("Required attribute `size' not set for `uses' element."); - LEAVE; STag_dax__uses(); dax__pcdata_ix = 0; ETag_dax__uses(); popbuffer(); /* attribute */ - switch (YY_START) { - case S_dax__job_2: case S_dax__job_1: case S_dax__job: SET(S_dax__job_2); break; - } - } - YY_BREAK +if (dax__uses_file_isset != 0) {FAIL("Multiple definition of attribute file in ");} dax__uses_file_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__uses_file); + YY_BREAK case 92: -YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of uses element.", dax_text[0]); - YY_BREAK +/* rule 92 can match eol */ case 93: +/* rule 93 can match eol */ YY_RULE_SETUP -FAIL("Bad attribute `%s' in `uses' element start tag.",dax_text); - YY_BREAK -case YY_STATE_EOF(AL_dax__uses): -FAIL("EOF in attribute list of `uses' element."); - YY_BREAK - +A_dax__uses_link = A_dax__uses_link_input; + YY_BREAK case 94: /* rule 94 can match eol */ -YY_RULE_SETUP -{ - LEAVE; - ETag_dax__uses(); - popbuffer(); /* attribute */ - switch (YY_START) { - case S_dax__job_2: case S_dax__job_1: case S_dax__job: SET(S_dax__job_2); break; - } - } - YY_BREAK case 95: /* rule 95 can match eol */ YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",dax_text); - YY_BREAK +A_dax__uses_link = A_dax__uses_link_output; + YY_BREAK case 96: -YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",dax_text[0]); - YY_BREAK -case YY_STATE_EOF(E_dax__uses): -FAIL("Premature EOF: `' expected."); - YY_BREAK - +/* rule 96 can match eol */ case 97: /* rule 97 can match eol */ YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK +A_dax__uses_optional = A_dax__uses_optional_false; + YY_BREAK case 98: /* rule 98 can match eol */ -YY_RULE_SETUP -{ - AX_dax__child_ref = 0; - dax__child_ref_isset = 0; - ENTER(AL_dax__child); pushbuffer(0); - } - YY_BREAK - case 99: /* rule 99 can match eol */ YY_RULE_SETUP -if (dax__child_ref_isset != 0) {FAIL("Multiple definition of attribute ref in ");} dax__child_ref_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__child_ref); - YY_BREAK +A_dax__uses_optional = A_dax__uses_optional_true; + YY_BREAK case 100: /* rule 100 can match eol */ -YY_RULE_SETUP -if (dax__child_ref_isset != 0) {FAIL("Multiple definition of attribute ref in ");} dax__child_ref_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__child_ref); - YY_BREAK case 101: +/* rule 101 can match eol */ YY_RULE_SETUP -{ - if (!AX_dax__child_ref) FAIL("Required attribute `ref' not set for `child' element."); - LEAVE; STag_dax__child();dax__pcdata_ix = 0; ENTER(S_dax__child); - } - YY_BREAK +A_dax__uses_register = A_dax__uses_register_false; + YY_BREAK case 102: -YY_RULE_SETUP -{ - if (!AX_dax__child_ref) FAIL("Required attribute `ref' not set for `child' element."); - LEAVE; STag_dax__child(); dax__pcdata_ix = 0; ETag_dax__child(); popbuffer(); /* attribute */ - switch (YY_START) { - case S_dax__adag_4: case S_dax__adag: case S_dax__adag_1: case S_dax__adag_3: case S_dax__adag_5: SET(S_dax__adag_5); break; - } - } - YY_BREAK +/* rule 102 can match eol */ case 103: +/* rule 103 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of child element.", dax_text[0]); - YY_BREAK +A_dax__uses_register = A_dax__uses_register_true; + YY_BREAK case 104: +/* rule 104 can match eol */ YY_RULE_SETUP -FAIL("Bad attribute `%s' in `child' element start tag.",dax_text); - YY_BREAK -case YY_STATE_EOF(AL_dax__child): -FAIL("EOF in attribute list of `child' element."); - YY_BREAK - +if (dax__uses_size_isset != 0) {FAIL("Multiple definition of attribute size in ");} dax__uses_size_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__uses_size); + YY_BREAK case 105: /* rule 105 can match eol */ YY_RULE_SETUP -{ - LEAVE; - ETag_dax__child(); - popbuffer(); /* attribute */ - switch (YY_START) { - case S_dax__adag_4: case S_dax__adag: case S_dax__adag_1: case S_dax__adag_3: case S_dax__adag_5: SET(S_dax__adag_5); break; - } - } - YY_BREAK +if (dax__uses_size_isset != 0) {FAIL("Multiple definition of attribute size in ");} dax__uses_size_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__uses_size); + YY_BREAK case 106: /* rule 106 can match eol */ -YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",dax_text); - YY_BREAK case 107: +/* rule 107 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",dax_text[0]); - YY_BREAK -case YY_STATE_EOF(S_dax__child): -case YY_STATE_EOF(S_dax__child_2): -case YY_STATE_EOF(E_dax__child): -FAIL("Premature EOF: `' expected."); - YY_BREAK - +A_dax__uses_transfer = A_dax__uses_transfer_false; + YY_BREAK case 108: /* rule 108 can match eol */ -YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK case 109: /* rule 109 can match eol */ YY_RULE_SETUP -{ - AX_dax__parent_ref = 0; - dax__parent_ref_isset = 0; - ENTER(AL_dax__parent); pushbuffer(0); - } - YY_BREAK - +A_dax__uses_transfer = A_dax__uses_transfer_true; + YY_BREAK case 110: /* rule 110 can match eol */ YY_RULE_SETUP -if (dax__parent_ref_isset != 0) {FAIL("Multiple definition of attribute ref in ");} dax__parent_ref_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__parent_ref); - YY_BREAK +if (dax__uses_type_isset != 0) {FAIL("Multiple definition of attribute type in ");} dax__uses_type_isset = 1; ENTER(VALUE1); BUFFERSET(AX_dax__uses_type); + YY_BREAK case 111: /* rule 111 can match eol */ YY_RULE_SETUP -if (dax__parent_ref_isset != 0) {FAIL("Multiple definition of attribute ref in ");} dax__parent_ref_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__parent_ref); - YY_BREAK +if (dax__uses_type_isset != 0) {FAIL("Multiple definition of attribute type in ");} dax__uses_type_isset = 1; ENTER(VALUE2); BUFFERSET(AX_dax__uses_type); + YY_BREAK case 112: YY_RULE_SETUP { - if (!AX_dax__parent_ref) FAIL("Required attribute `ref' not set for `parent' element."); - LEAVE; STag_dax__parent();dax__pcdata_ix = 0; ENTER(E_dax__parent); + if (!AX_dax__uses_file) FAIL("Required attribute `file' not set for `uses' element."); + if (!AX_dax__uses_size) FAIL("Required attribute `size' not set for `uses' element."); + LEAVE; STag_dax__uses();dax__pcdata_ix = 0; ENTER(E_dax__uses); } - YY_BREAK + YY_BREAK case 113: YY_RULE_SETUP { - if (!AX_dax__parent_ref) FAIL("Required attribute `ref' not set for `parent' element."); - LEAVE; STag_dax__parent(); dax__pcdata_ix = 0; ETag_dax__parent(); popbuffer(); /* attribute */ + if (!AX_dax__uses_file) FAIL("Required attribute `file' not set for `uses' element."); + if (!AX_dax__uses_size) FAIL("Required attribute `size' not set for `uses' element."); + LEAVE; STag_dax__uses(); dax__pcdata_ix = 0; ETag_dax__uses(); popbuffer(); /* attribute */ switch (YY_START) { - case S_dax__child: case S_dax__child_2: case S_dax__child_1: SET(S_dax__child_2); break; + case S_dax__job: case S_dax__job_1: case S_dax__job_2: SET(S_dax__job_2); break; } } - YY_BREAK + YY_BREAK case 114: YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of parent element.", dax_text[0]); - YY_BREAK +FAIL("Unexpected character `%c' in attribute list of uses element.", dax_text[0]); + YY_BREAK case 115: YY_RULE_SETUP -FAIL("Bad attribute `%s' in `parent' element start tag.",dax_text); - YY_BREAK -case YY_STATE_EOF(AL_dax__parent): -FAIL("EOF in attribute list of `parent' element."); - YY_BREAK +FAIL("Bad attribute `%s' in `uses' element start tag.",dax_text); + YY_BREAK +case YY_STATE_EOF(AL_dax__uses): +FAIL("EOF in attribute list of `uses' element."); + YY_BREAK case 116: /* rule 116 can match eol */ YY_RULE_SETUP { LEAVE; - ETag_dax__parent(); + ETag_dax__uses(); popbuffer(); /* attribute */ switch (YY_START) { - case S_dax__child: case S_dax__child_2: case S_dax__child_1: SET(S_dax__child_2); break; + case S_dax__job: case S_dax__job_1: case S_dax__job_2: SET(S_dax__job_2); break; } } - YY_BREAK + YY_BREAK case 117: /* rule 117 can match eol */ YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",dax_text); - YY_BREAK +FAIL("Unexpected end-tag `%s': `' expected.",dax_text); + YY_BREAK case 118: YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",dax_text[0]); - YY_BREAK -case YY_STATE_EOF(E_dax__parent): -FAIL("Premature EOF: `' expected."); - YY_BREAK +FAIL("Unexpected character `%c': `' expected.",dax_text[0]); + YY_BREAK +case YY_STATE_EOF(E_dax__uses): +FAIL("Premature EOF: `' expected."); + YY_BREAK /* EPILOG: after the root element. */ case 119: YY_RULE_SETUP {SET(PROLOG); yyless(0); CLEANUP; return -1;} - YY_BREAK + YY_BREAK case YY_STATE_EOF(EPILOG): SUCCEED; - YY_BREAK + YY_BREAK /* CHARACTER DATA. */ @@ -2712,32 +2706,32 @@ SUCCEED; case 120: YY_RULE_SETUP BUFFERPUTC('&'); - YY_BREAK + YY_BREAK case 121: YY_RULE_SETUP BUFFERPUTC('<'); - YY_BREAK + YY_BREAK case 122: YY_RULE_SETUP BUFFERPUTC('>'); - YY_BREAK + YY_BREAK case 123: YY_RULE_SETUP BUFFERPUTC('\''); - YY_BREAK + YY_BREAK case 124: YY_RULE_SETUP BUFFERPUTC('"'); - YY_BREAK + YY_BREAK /* Character entities. */ case 125: YY_RULE_SETUP BUFFERPUTC((unsigned char)atoi(dax_text+2)); - YY_BREAK + YY_BREAK case 126: YY_RULE_SETUP BUFFERPUTC((unsigned char)strtol(dax_text+3,NULL,16)); - YY_BREAK + YY_BREAK case 127: /* rule 127 can match eol */ @@ -2749,55 +2743,55 @@ case 130: /* rule 130 can match eol */ YY_RULE_SETUP BUFFERPUTC('\n'); - YY_BREAK + YY_BREAK case 131: YY_RULE_SETUP ENTER(CDATA); - YY_BREAK + YY_BREAK case 132: YY_RULE_SETUP FAIL("Unexpected `]""]>' in character data."); - YY_BREAK + YY_BREAK case 133: YY_RULE_SETUP BUFFERDONE; LEAVE; - YY_BREAK + YY_BREAK case YY_STATE_EOF(VALUE1): FAIL("EOF in literal (\"'\" expected)."); - YY_BREAK + YY_BREAK case 134: YY_RULE_SETUP BUFFERDONE; LEAVE; - YY_BREAK + YY_BREAK case YY_STATE_EOF(VALUE2): FAIL("EOF in literal (`\"' expected)."); - YY_BREAK + YY_BREAK case 135: /* rule 135 can match eol */ YY_RULE_SETUP BUFFERPUTC(dax_text[0]); - YY_BREAK + YY_BREAK case 136: YY_RULE_SETUP FAIL("Spurious `%c' in character data.",dax_text[0]); - YY_BREAK + YY_BREAK case 137: YY_RULE_SETUP LEAVE; - YY_BREAK -/* "]""]" BUFFERPUTC(dax_text[0]); BUFFERPUTC(dax_text[1]); */ + YY_BREAK +/* "]""]" BUFFERPUTC(dax_text[0]); BUFFERPUTC(dax_text[1]); */ case 138: YY_RULE_SETUP BUFFERPUTC(dax_text[0]); - YY_BREAK + YY_BREAK case YY_STATE_EOF(CDATA): FAIL("EOF in CDATA section."); - YY_BREAK + YY_BREAK /* Impossible rules to avoid warnings from flex(1). */ /* Ideally, this should be replaced by code in flexml.pl that @@ -2807,345 +2801,345 @@ case 139: /* rule 139 can match eol */ YY_RULE_SETUP FAIL("Syntax error on character `%c'.", dax_text[0]); - YY_BREAK + YY_BREAK case 140: YY_RULE_SETUP ECHO; - YY_BREAK + YY_BREAK case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(ROOT_dax__adag): case YY_STATE_EOF(S_dax__adag_2): case YY_STATE_EOF(S_dax__adag_4): -case YY_STATE_EOF(S_dax__job_1): case YY_STATE_EOF(S_dax__child_1): +case YY_STATE_EOF(S_dax__job_1): case YY_STATE_EOF(IMPOSSIBLE): - yyterminate(); - - case YY_END_OF_BUFFER: - { - /* Amount of text matched not including the EOB char. */ - int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; - - /* Undo the effects of YY_DO_BEFORE_ACTION. */ - *yy_cp = (yy_hold_char); - YY_RESTORE_YY_MORE_OFFSET - - if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) - { - /* We're scanning a new file or input source. It's - * possible that this happened because the user - * just pointed dax_in at a new source and called - * dax_lex(). If so, then we have to assure - * consistency between YY_CURRENT_BUFFER and our - * globals. Here is the right place to do so, because - * this is the first action (other than possibly a - * back-up) that will match for the new input source. - */ - (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; - YY_CURRENT_BUFFER_LVALUE->yy_input_file = dax_in; - YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; - } - - /* Note that here we test for yy_c_buf_p "<=" to the position - * of the first EOB in the buffer, since yy_c_buf_p will - * already have been incremented past the NUL character - * (since all states make transitions on EOB to the - * end-of-buffer state). Contrast this with the test - * in input(). - */ - if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) - { /* This was really a NUL. */ - yy_state_type yy_next_state; - - (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state( ); - - /* Okay, we're now positioned to make the NUL - * transition. We couldn't have - * yy_get_previous_state() go ahead and do it - * for us because it doesn't know how to deal - * with the possibility of jamming (and we don't - * want to build jamming into it because then it - * will run more slowly). - */ - - yy_next_state = yy_try_NUL_trans( yy_current_state ); - - yy_bp = (yytext_ptr) + YY_MORE_ADJ; - - if ( yy_next_state ) - { - /* Consume the NUL. */ - yy_cp = ++(yy_c_buf_p); - yy_current_state = yy_next_state; - goto yy_match; - } - - else - { - yy_cp = (yy_c_buf_p); - goto yy_find_action; - } - } - - else switch ( yy_get_next_buffer( ) ) - { - case EOB_ACT_END_OF_FILE: - { - (yy_did_buffer_switch_on_eof) = 0; - - if ( dax_wrap( ) ) - { - /* Note: because we've taken care in - * yy_get_next_buffer() to have set up - * dax_text, we can now set up - * yy_c_buf_p so that if some total - * hoser (like flex itself) wants to - * call the scanner after we return the - * YY_NULL, it'll still work - another - * YY_NULL will get returned. - */ - (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; - - yy_act = YY_STATE_EOF(YY_START); - goto do_action; - } - - else - { - if ( ! (yy_did_buffer_switch_on_eof) ) - YY_NEW_FILE; - } - break; - } - - case EOB_ACT_CONTINUE_SCAN: - (yy_c_buf_p) = - (yytext_ptr) + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state( ); - - yy_cp = (yy_c_buf_p); - yy_bp = (yytext_ptr) + YY_MORE_ADJ; - goto yy_match; - - case EOB_ACT_LAST_MATCH: - (yy_c_buf_p) = - &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; - - yy_current_state = yy_get_previous_state( ); - - yy_cp = (yy_c_buf_p); - yy_bp = (yytext_ptr) + YY_MORE_ADJ; - goto yy_find_action; - } - break; - } - - default: - YY_FATAL_ERROR( - "fatal flex scanner internal error--no action found" ); - } /* end of action switch */ - } /* end of scanning one token */ - } /* end of user's declarations */ + yyterminate(); + + case YY_END_OF_BUFFER: + { + /* Amount of text matched not including the EOB char. */ + int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; + + /* Undo the effects of YY_DO_BEFORE_ACTION. */ + *yy_cp = (yy_hold_char); + YY_RESTORE_YY_MORE_OFFSET + + if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) + { + /* We're scanning a new file or input source. It's + * possible that this happened because the user + * just pointed dax_in at a new source and called + * dax_lex(). If so, then we have to assure + * consistency between YY_CURRENT_BUFFER and our + * globals. Here is the right place to do so, because + * this is the first action (other than possibly a + * back-up) that will match for the new input source. + */ + (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; + YY_CURRENT_BUFFER_LVALUE->yy_input_file = dax_in; + YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; + } + + /* Note that here we test for yy_c_buf_p "<=" to the position + * of the first EOB in the buffer, since yy_c_buf_p will + * already have been incremented past the NUL character + * (since all states make transitions on EOB to the + * end-of-buffer state). Contrast this with the test + * in input(). + */ + if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) + { /* This was really a NUL. */ + yy_state_type yy_next_state; + + (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; + + yy_current_state = yy_get_previous_state( ); + + /* Okay, we're now positioned to make the NUL + * transition. We couldn't have + * yy_get_previous_state() go ahead and do it + * for us because it doesn't know how to deal + * with the possibility of jamming (and we don't + * want to build jamming into it because then it + * will run more slowly). + */ + + yy_next_state = yy_try_NUL_trans( yy_current_state ); + + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + + if ( yy_next_state ) + { + /* Consume the NUL. */ + yy_cp = ++(yy_c_buf_p); + yy_current_state = yy_next_state; + goto yy_match; + } + + else + { + yy_cp = (yy_c_buf_p); + goto yy_find_action; + } + } + + else switch ( yy_get_next_buffer( ) ) + { + case EOB_ACT_END_OF_FILE: + { + (yy_did_buffer_switch_on_eof) = 0; + + if ( dax_wrap( ) ) + { + /* Note: because we've taken care in + * yy_get_next_buffer() to have set up + * dax_text, we can now set up + * yy_c_buf_p so that if some total + * hoser (like flex itself) wants to + * call the scanner after we return the + * YY_NULL, it'll still work - another + * YY_NULL will get returned. + */ + (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; + + yy_act = YY_STATE_EOF(YY_START); + goto do_action; + } + + else + { + if ( ! (yy_did_buffer_switch_on_eof) ) + YY_NEW_FILE; + } + break; + } + + case EOB_ACT_CONTINUE_SCAN: + (yy_c_buf_p) = + (yytext_ptr) + yy_amount_of_matched_text; + + yy_current_state = yy_get_previous_state( ); + + yy_cp = (yy_c_buf_p); + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + goto yy_match; + + case EOB_ACT_LAST_MATCH: + (yy_c_buf_p) = + &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; + + yy_current_state = yy_get_previous_state( ); + + yy_cp = (yy_c_buf_p); + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + goto yy_find_action; + } + break; + } + + default: + YY_FATAL_ERROR( + "fatal flex scanner internal error--no action found" ); + } /* end of action switch */ + } /* end of scanning one token */ + } /* end of user's declarations */ } /* end of dax_lex */ /* yy_get_next_buffer - try to read in a new buffer * * Returns a code representing an action: - * EOB_ACT_LAST_MATCH - - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position - * EOB_ACT_END_OF_FILE - end of file + * EOB_ACT_LAST_MATCH - + * EOB_ACT_CONTINUE_SCAN - continue scanning from current position + * EOB_ACT_END_OF_FILE - end of file */ static int yy_get_next_buffer (void) { - 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] ) - YY_FATAL_ERROR( - "fatal flex scanner internal error--end of buffer missed" ); - - if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) - { /* Don't try to fill the buffer, so this is an EOF. */ - if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) - { - /* We matched a single character, the EOB, so - * treat this as a final EOF. - */ - return EOB_ACT_END_OF_FILE; - } - - else - { - /* We matched some text prior to the EOB, first - * process it. - */ - return EOB_ACT_LAST_MATCH; - } - } - - /* Try to read more data. */ - - /* First move last chars to start of buffer. */ - number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; - - for ( i = 0; i < number_to_move; ++i ) - *(dest++) = *(source++); - - if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) - /* don't do the read, it's not guaranteed to return an EOF, - * just force an EOF - */ - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; - - else - { - 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_LVALUE; - - int yy_c_buf_p_offset = - (int) ((yy_c_buf_p) - b->yy_ch_buf); - - if ( b->yy_is_our_buffer ) - { - yy_size_t new_size = b->yy_buf_size * 2; - - if ( new_size <= 0 ) - b->yy_buf_size += b->yy_buf_size / 8; - else - b->yy_buf_size *= 2; - - b->yy_ch_buf = (char *) - /* Include room in for 2 EOB chars. */ - dax_realloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); - } - else - /* Can't grow it, we don't own it. */ - b->yy_ch_buf = 0; - - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( - "fatal error - scanner input buffer overflow" ); - - (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; - - num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - - number_to_move - 1; + register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; + register char *source = (yytext_ptr); + register int number_to_move, i; + int ret_val; + + if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) + YY_FATAL_ERROR( + "fatal flex scanner internal error--end of buffer missed" ); + + if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) + { /* Don't try to fill the buffer, so this is an EOF. */ + if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) + { + /* We matched a single character, the EOB, so + * treat this as a final EOF. + */ + return EOB_ACT_END_OF_FILE; + } + + else + { + /* We matched some text prior to the EOB, first + * process it. + */ + return EOB_ACT_LAST_MATCH; + } + } + + /* Try to read more data. */ + + /* First move last chars to start of buffer. */ + number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; + + for ( i = 0; i < number_to_move; ++i ) + *(dest++) = *(source++); + + if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) + /* don't do the read, it's not guaranteed to return an EOF, + * just force an EOF + */ + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; + + else + { + 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_LVALUE; + + int yy_c_buf_p_offset = + (int) ((yy_c_buf_p) - b->yy_ch_buf); + + if ( b->yy_is_our_buffer ) + { + yy_size_t new_size = b->yy_buf_size * 2; + + if ( new_size <= 0 ) + b->yy_buf_size += b->yy_buf_size / 8; + else + b->yy_buf_size *= 2; + + b->yy_ch_buf = (char *) + /* Include room in for 2 EOB chars. */ + dax_realloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); + } + else + /* Can't grow it, we don't own it. */ + b->yy_ch_buf = 0; + + if ( ! b->yy_ch_buf ) + YY_FATAL_ERROR( + "fatal error - scanner input buffer overflow" ); + + (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; + + num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - + number_to_move - 1; + + } + + if ( num_to_read > YY_READ_BUF_SIZE ) + num_to_read = YY_READ_BUF_SIZE; + + /* Read in more data. */ + YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), + (yy_n_chars), num_to_read ); + + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } + + if ( (yy_n_chars) == 0 ) + { + if ( number_to_move == YY_MORE_ADJ ) + { + ret_val = EOB_ACT_END_OF_FILE; + dax_restart(dax_in ); + } + + else + { + ret_val = EOB_ACT_LAST_MATCH; + YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = + YY_BUFFER_EOF_PENDING; + } + } + + 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 *) dax_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; + + (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; - } - - if ( num_to_read > YY_READ_BUF_SIZE ) - num_to_read = YY_READ_BUF_SIZE; - - /* Read in more data. */ - YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), - (yy_n_chars), num_to_read ); - - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); - } - - if ( (yy_n_chars) == 0 ) - { - if ( number_to_move == YY_MORE_ADJ ) - { - ret_val = EOB_ACT_END_OF_FILE; - dax_restart(dax_in ); - } - - else - { - ret_val = EOB_ACT_LAST_MATCH; - YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = - YY_BUFFER_EOF_PENDING; - } - } - - 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 *) dax_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; - - (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; - - return ret_val; + return ret_val; } /* yy_get_previous_state - get the state just before the EOB char was reached */ static yy_state_type yy_get_previous_state (void) { - 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 ) - { - 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; - (yy_last_accepting_cpos) = yy_cp; - } - 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 >= 775 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - } - - return yy_current_state; + register yy_state_type yy_current_state; + register 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); + if ( yy_accept[yy_current_state] ) + { + (yy_last_accepting_state) = yy_current_state; + (yy_last_accepting_cpos) = yy_cp; + } + 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 >= 775 ) + yy_c = yy_meta[(unsigned int) yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; + } + + return yy_current_state; } /* yy_try_NUL_trans - try to make a transition on the NUL character * * synopsis - * next_state = yy_try_NUL_trans( current_state ); + * next_state = yy_try_NUL_trans( current_state ); */ static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) { - int yy_is_jam; - char *yy_cp = (yy_c_buf_p); - - YY_CHAR yy_c = 1; - if ( yy_accept[yy_current_state] ) - { - (yy_last_accepting_state) = yy_current_state; - (yy_last_accepting_cpos) = yy_cp; - } - 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 >= 775 ) - 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 == 774); - - return yy_is_jam ? 0 : yy_current_state; + register int yy_is_jam; + register char *yy_cp = (yy_c_buf_p); + + register YY_CHAR yy_c = 1; + if ( yy_accept[yy_current_state] ) + { + (yy_last_accepting_state) = yy_current_state; + (yy_last_accepting_cpos) = yy_cp; + } + 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 >= 775 ) + 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 == 774); + + return yy_is_jam ? 0 : yy_current_state; } #ifndef YY_NO_INPUT @@ -3156,185 +3150,185 @@ static int yy_get_next_buffer (void) #endif { - int c; - - *(yy_c_buf_p) = (yy_hold_char); - - if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) - { - /* yy_c_buf_p now points to the character we want to return. - * If this occurs *before* the EOB characters, then it's a - * valid NUL; if not, then we've hit the end of the buffer. - */ - if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) - /* This was really a NUL. */ - *(yy_c_buf_p) = '\0'; - - else - { /* need more input */ - yy_size_t offset = (yy_c_buf_p) - (yytext_ptr); - ++(yy_c_buf_p); - - switch ( yy_get_next_buffer( ) ) - { - case EOB_ACT_LAST_MATCH: - /* This happens because yy_g_n_b() - * sees that we've accumulated a - * token and flags that we need to - * try matching the token before - * proceeding. But for input(), - * there's no matching to consider. - * So convert the EOB_ACT_LAST_MATCH - * to EOB_ACT_END_OF_FILE. - */ - - /* Reset buffer status. */ - dax_restart(dax_in ); - - /*FALLTHROUGH*/ - - case EOB_ACT_END_OF_FILE: - { - if ( dax_wrap( ) ) - return EOF; - - if ( ! (yy_did_buffer_switch_on_eof) ) - YY_NEW_FILE; + int c; + + *(yy_c_buf_p) = (yy_hold_char); + + if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) + { + /* yy_c_buf_p now points to the character we want to return. + * If this occurs *before* the EOB characters, then it's a + * valid NUL; if not, then we've hit the end of the buffer. + */ + if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) + /* This was really a NUL. */ + *(yy_c_buf_p) = '\0'; + + else + { /* need more input */ + yy_size_t offset = (yy_c_buf_p) - (yytext_ptr); + ++(yy_c_buf_p); + + switch ( yy_get_next_buffer( ) ) + { + case EOB_ACT_LAST_MATCH: + /* This happens because yy_g_n_b() + * sees that we've accumulated a + * token and flags that we need to + * try matching the token before + * proceeding. But for input(), + * there's no matching to consider. + * So convert the EOB_ACT_LAST_MATCH + * to EOB_ACT_END_OF_FILE. + */ + + /* Reset buffer status. */ + dax_restart(dax_in ); + + /*FALLTHROUGH*/ + + case EOB_ACT_END_OF_FILE: + { + if ( dax_wrap( ) ) + return EOF; + + if ( ! (yy_did_buffer_switch_on_eof) ) + YY_NEW_FILE; #ifdef __cplusplus - return yyinput(); + return yyinput(); #else - return input(); + return input(); #endif - } + } - case EOB_ACT_CONTINUE_SCAN: - (yy_c_buf_p) = (yytext_ptr) + offset; - break; - } - } - } + case EOB_ACT_CONTINUE_SCAN: + (yy_c_buf_p) = (yytext_ptr) + offset; + break; + } + } + } - c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ - *(yy_c_buf_p) = '\0'; /* preserve dax_text */ - (yy_hold_char) = *++(yy_c_buf_p); - - if ( c == '\n' ) + c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ + *(yy_c_buf_p) = '\0'; /* preserve dax_text */ + (yy_hold_char) = *++(yy_c_buf_p); + if ( c == '\n' ) + dax_lineno++; ; - return c; + return c; } -#endif /* ifndef YY_NO_INPUT */ +#endif /* ifndef YY_NO_INPUT */ /** Immediately switch to a different input stream. * @param input_file A readable stream. - * + * * @note This function does not reset the start condition to @c INITIAL . */ void dax_restart (FILE * input_file ) { - - if ( ! YY_CURRENT_BUFFER ){ + + if ( ! YY_CURRENT_BUFFER ){ dax_ensure_buffer_stack (); - YY_CURRENT_BUFFER_LVALUE = + YY_CURRENT_BUFFER_LVALUE = dax__create_buffer(dax_in,YY_BUF_SIZE ); - } + } - dax__init_buffer(YY_CURRENT_BUFFER,input_file ); - dax__load_buffer_state( ); + dax__init_buffer(YY_CURRENT_BUFFER,input_file ); + dax__load_buffer_state( ); } /** Switch to a different input buffer. * @param new_buffer The new input buffer. - * + * */ void dax__switch_to_buffer (YY_BUFFER_STATE new_buffer ) { - - /* TODO. We should be able to replace this entire function body - * with - * dax_pop_buffer_state(); - * dax_push_buffer_state(new_buffer); + + /* TODO. We should be able to replace this entire function body + * with + * dax_pop_buffer_state(); + * dax_push_buffer_state(new_buffer); */ - dax_ensure_buffer_stack (); - if ( YY_CURRENT_BUFFER == new_buffer ) - return; - - if ( YY_CURRENT_BUFFER ) - { - /* Flush out information for old buffer. */ - *(yy_c_buf_p) = (yy_hold_char); - YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); - } - - YY_CURRENT_BUFFER_LVALUE = new_buffer; - dax__load_buffer_state( ); - - /* We don't actually know whether we did this switch during - * EOF (dax_wrap()) processing, but the only time this flag - * is looked at is after dax_wrap() is called, so it's safe - * to go ahead and always set it. - */ - (yy_did_buffer_switch_on_eof) = 1; + dax_ensure_buffer_stack (); + if ( YY_CURRENT_BUFFER == new_buffer ) + return; + + if ( YY_CURRENT_BUFFER ) + { + /* Flush out information for old buffer. */ + *(yy_c_buf_p) = (yy_hold_char); + YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } + + YY_CURRENT_BUFFER_LVALUE = new_buffer; + dax__load_buffer_state( ); + + /* We don't actually know whether we did this switch during + * EOF (dax_wrap()) processing, but the only time this flag + * is looked at is after dax_wrap() is called, so it's safe + * to go ahead and always set it. + */ + (yy_did_buffer_switch_on_eof) = 1; } static void dax__load_buffer_state (void) { - (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; - (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; - dax_in = YY_CURRENT_BUFFER_LVALUE->yy_input_file; - (yy_hold_char) = *(yy_c_buf_p); + (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; + (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; + dax_in = YY_CURRENT_BUFFER_LVALUE->yy_input_file; + (yy_hold_char) = *(yy_c_buf_p); } /** Allocate and initialize an input buffer state. * @param file A readable stream. * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. - * + * * @return the allocated buffer state. */ YY_BUFFER_STATE dax__create_buffer (FILE * file, int size ) { - YY_BUFFER_STATE b; + YY_BUFFER_STATE b; + + b = (YY_BUFFER_STATE) dax_alloc(sizeof( struct yy_buffer_state ) ); + if ( ! b ) + YY_FATAL_ERROR( "out of dynamic memory in dax__create_buffer()" ); - b = (YY_BUFFER_STATE) dax_alloc(sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in dax__create_buffer()" ); + b->yy_buf_size = size; - b->yy_buf_size = size; + /* yy_ch_buf has to be 2 characters longer than the size given because + * we need to put in 2 end-of-buffer characters. + */ + b->yy_ch_buf = (char *) dax_alloc(b->yy_buf_size + 2 ); + if ( ! b->yy_ch_buf ) + YY_FATAL_ERROR( "out of dynamic memory in dax__create_buffer()" ); - /* yy_ch_buf has to be 2 characters longer than the size given because - * we need to put in 2 end-of-buffer characters. - */ - b->yy_ch_buf = (char *) dax_alloc(b->yy_buf_size + 2 ); - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( "out of dynamic memory in dax__create_buffer()" ); + b->yy_is_our_buffer = 1; - b->yy_is_our_buffer = 1; + dax__init_buffer(b,file ); - dax__init_buffer(b,file ); - - return b; + return b; } /** Destroy the buffer. * @param b a buffer created with dax__create_buffer() - * + * */ void dax__delete_buffer (YY_BUFFER_STATE b ) { + + if ( ! b ) + return; - if ( ! b ) - return; - - if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ - YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; + if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ + YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; - if ( b->yy_is_our_buffer ) - dax_free((void *) b->yy_ch_buf ); + if ( b->yy_is_our_buffer ) + dax_free((void *) b->yy_ch_buf ); - dax_free((void *) b ); + dax_free((void *) b ); } /* Initializes or reinitializes a buffer. @@ -3344,12 +3338,12 @@ static void dax__load_buffer_state (void) static void dax__init_buffer (YY_BUFFER_STATE b, FILE * file ) { - int oerrno = errno; + int oerrno = errno; + + dax__flush_buffer(b ); - dax__flush_buffer(b ); - - b->yy_input_file = file; - b->yy_fill_buffer = 1; + b->yy_input_file = file; + b->yy_fill_buffer = 1; /* If b is the current buffer, then dax__init_buffer was _probably_ * called from dax_restart() or through yy_get_next_buffer. @@ -3361,87 +3355,87 @@ static void dax__load_buffer_state (void) } b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; - - errno = oerrno; + + errno = oerrno; } /** Discard all buffered characters. On the next scan, YY_INPUT will be called. * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. - * + * */ void dax__flush_buffer (YY_BUFFER_STATE b ) { - if ( ! b ) - return; + if ( ! b ) + return; - b->yy_n_chars = 0; + b->yy_n_chars = 0; - /* We always need two end-of-buffer characters. The first causes - * a transition to the end-of-buffer state. The second causes - * a jam in that state. - */ - b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; - b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; + /* We always need two end-of-buffer characters. The first causes + * a transition to the end-of-buffer state. The second causes + * a jam in that state. + */ + b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; + b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; - b->yy_buf_pos = &b->yy_ch_buf[0]; + b->yy_buf_pos = &b->yy_ch_buf[0]; - b->yy_at_bol = 1; - b->yy_buffer_status = YY_BUFFER_NEW; + b->yy_at_bol = 1; + b->yy_buffer_status = YY_BUFFER_NEW; - if ( b == YY_CURRENT_BUFFER ) - dax__load_buffer_state( ); + if ( b == YY_CURRENT_BUFFER ) + dax__load_buffer_state( ); } /** Pushes the new state onto the stack. The new state becomes * the current state. This function will allocate the stack * if necessary. * @param new_buffer The new state. - * + * */ void dax_push_buffer_state (YY_BUFFER_STATE new_buffer ) { - if (new_buffer == NULL) - return; + if (new_buffer == NULL) + return; - dax_ensure_buffer_stack(); + dax_ensure_buffer_stack(); - /* This block is copied from dax__switch_to_buffer. */ - if ( YY_CURRENT_BUFFER ) - { - /* Flush out information for old buffer. */ - *(yy_c_buf_p) = (yy_hold_char); - YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); - } + /* This block is copied from dax__switch_to_buffer. */ + if ( YY_CURRENT_BUFFER ) + { + /* Flush out information for old buffer. */ + *(yy_c_buf_p) = (yy_hold_char); + YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } - /* Only push if top exists. Otherwise, replace top. */ - if (YY_CURRENT_BUFFER) - (yy_buffer_stack_top)++; - YY_CURRENT_BUFFER_LVALUE = new_buffer; + /* Only push if top exists. Otherwise, replace top. */ + if (YY_CURRENT_BUFFER) + (yy_buffer_stack_top)++; + YY_CURRENT_BUFFER_LVALUE = new_buffer; - /* copied from dax__switch_to_buffer. */ - dax__load_buffer_state( ); - (yy_did_buffer_switch_on_eof) = 1; + /* copied from dax__switch_to_buffer. */ + dax__load_buffer_state( ); + (yy_did_buffer_switch_on_eof) = 1; } /** Removes and deletes the top of the stack, if present. * The next element becomes the new top. - * + * */ void dax_pop_buffer_state (void) { - if (!YY_CURRENT_BUFFER) - return; + if (!YY_CURRENT_BUFFER) + return; - dax__delete_buffer(YY_CURRENT_BUFFER ); - YY_CURRENT_BUFFER_LVALUE = NULL; - if ((yy_buffer_stack_top) > 0) - --(yy_buffer_stack_top); + dax__delete_buffer(YY_CURRENT_BUFFER ); + YY_CURRENT_BUFFER_LVALUE = NULL; + if ((yy_buffer_stack_top) > 0) + --(yy_buffer_stack_top); - if (YY_CURRENT_BUFFER) { - dax__load_buffer_state( ); - (yy_did_buffer_switch_on_eof) = 1; - } + if (YY_CURRENT_BUFFER) { + dax__load_buffer_state( ); + (yy_did_buffer_switch_on_eof) = 1; + } } /* Allocates the stack if it does not exist. @@ -3449,163 +3443,163 @@ void dax_pop_buffer_state (void) */ static void dax_ensure_buffer_stack (void) { - yy_size_t num_to_alloc; + yy_size_t num_to_alloc; + + if (!(yy_buffer_stack)) { - if (!(yy_buffer_stack)) { - - /* First allocation is just for 2 elements, since we don't know if this - * scanner will even need a stack. We use 2 instead of 1 to avoid an - * immediate realloc on the next call. + /* First allocation is just for 2 elements, since we don't know if this + * scanner will even need a stack. We use 2 instead of 1 to avoid an + * immediate realloc on the next call. */ - num_to_alloc = 1; - (yy_buffer_stack) = (struct yy_buffer_state**)dax_alloc - (num_to_alloc * sizeof(struct yy_buffer_state*) - ); - if ( ! (yy_buffer_stack) ) - YY_FATAL_ERROR( "out of dynamic memory in dax_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_top) = 0; - return; - } - - if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ - - /* Increase the buffer to prepare for a possible push. */ - int grow_size = 8 /* arbitrary grow size */; - - num_to_alloc = (yy_buffer_stack_max) + grow_size; - (yy_buffer_stack) = (struct yy_buffer_state**)dax_realloc - ((yy_buffer_stack), - num_to_alloc * sizeof(struct yy_buffer_state*) - ); - if ( ! (yy_buffer_stack) ) - YY_FATAL_ERROR( "out of dynamic memory in dax_ensure_buffer_stack()" ); - - /* zero only the new slots.*/ - memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); - (yy_buffer_stack_max) = num_to_alloc; - } + num_to_alloc = 1; + (yy_buffer_stack) = (struct yy_buffer_state**)dax_alloc + (num_to_alloc * sizeof(struct yy_buffer_state*) + ); + if ( ! (yy_buffer_stack) ) + YY_FATAL_ERROR( "out of dynamic memory in dax_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_top) = 0; + return; + } + + if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ + + /* Increase the buffer to prepare for a possible push. */ + int grow_size = 8 /* arbitrary grow size */; + + num_to_alloc = (yy_buffer_stack_max) + grow_size; + (yy_buffer_stack) = (struct yy_buffer_state**)dax_realloc + ((yy_buffer_stack), + num_to_alloc * sizeof(struct yy_buffer_state*) + ); + if ( ! (yy_buffer_stack) ) + YY_FATAL_ERROR( "out of dynamic memory in dax_ensure_buffer_stack()" ); + + /* zero only the new slots.*/ + memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); + (yy_buffer_stack_max) = num_to_alloc; + } } /** Setup the input buffer state to scan directly from a user-specified character buffer. * @param base the character buffer * @param size the size in bytes of the character buffer - * - * @return the newly allocated buffer state object. + * + * @return the newly allocated buffer state object. */ YY_BUFFER_STATE dax__scan_buffer (char * base, yy_size_t size ) { - YY_BUFFER_STATE b; - - if ( size < 2 || - base[size-2] != YY_END_OF_BUFFER_CHAR || - base[size-1] != YY_END_OF_BUFFER_CHAR ) - /* They forgot to leave room for the EOB's. */ - return 0; - - b = (YY_BUFFER_STATE) dax_alloc(sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in dax__scan_buffer()" ); - - b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ - b->yy_buf_pos = b->yy_ch_buf = base; - b->yy_is_our_buffer = 0; - b->yy_input_file = 0; - b->yy_n_chars = b->yy_buf_size; - b->yy_is_interactive = 0; - b->yy_at_bol = 1; - b->yy_fill_buffer = 0; - b->yy_buffer_status = YY_BUFFER_NEW; - - dax__switch_to_buffer(b ); - - return b; + YY_BUFFER_STATE b; + + if ( size < 2 || + base[size-2] != YY_END_OF_BUFFER_CHAR || + base[size-1] != YY_END_OF_BUFFER_CHAR ) + /* They forgot to leave room for the EOB's. */ + return 0; + + b = (YY_BUFFER_STATE) dax_alloc(sizeof( struct yy_buffer_state ) ); + if ( ! b ) + YY_FATAL_ERROR( "out of dynamic memory in dax__scan_buffer()" ); + + b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ + b->yy_buf_pos = b->yy_ch_buf = base; + b->yy_is_our_buffer = 0; + b->yy_input_file = 0; + b->yy_n_chars = b->yy_buf_size; + b->yy_is_interactive = 0; + b->yy_at_bol = 1; + b->yy_fill_buffer = 0; + b->yy_buffer_status = YY_BUFFER_NEW; + + dax__switch_to_buffer(b ); + + return b; } /** Setup the input buffer state to scan a string. The next call to dax_lex() will * scan from a @e copy of @a str. * @param yystr a NUL-terminated string to scan - * + * * @return the newly allocated buffer state object. * @note If you want to scan bytes that may contain NUL values, then use * dax__scan_bytes() instead. */ YY_BUFFER_STATE dax__scan_string (yyconst char * yystr ) { - - return dax__scan_bytes(yystr,strlen(yystr) ); + + return dax__scan_bytes(yystr,strlen(yystr) ); } /** Setup the input buffer state to scan the given bytes. The next call to dax_lex() will * scan from a @e copy of @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 dax__scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len ) { - YY_BUFFER_STATE b; - char *buf; - yy_size_t n; - yy_size_t i; + YY_BUFFER_STATE b; + char *buf; + yy_size_t n; + yy_size_t i; + + /* Get memory for full buffer, including space for trailing EOB's. */ + n = _yybytes_len + 2; + buf = (char *) dax_alloc(n ); + if ( ! buf ) + YY_FATAL_ERROR( "out of dynamic memory in dax__scan_bytes()" ); - /* Get memory for full buffer, including space for trailing EOB's. */ - n = _yybytes_len + 2; - buf = (char *) dax_alloc(n ); - if ( ! buf ) - YY_FATAL_ERROR( "out of dynamic memory in dax__scan_bytes()" ); + for ( i = 0; i < _yybytes_len; ++i ) + buf[i] = yybytes[i]; - for ( i = 0; i < _yybytes_len; ++i ) - buf[i] = yybytes[i]; + buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; - buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; + b = dax__scan_buffer(buf,n ); + if ( ! b ) + YY_FATAL_ERROR( "bad buffer in dax__scan_bytes()" ); - b = dax__scan_buffer(buf,n ); - if ( ! b ) - YY_FATAL_ERROR( "bad buffer in dax__scan_bytes()" ); + /* It's okay to grow etc. this buffer, and we should throw it + * away when we're done. + */ + b->yy_is_our_buffer = 1; - /* It's okay to grow etc. this buffer, and we should throw it - * away when we're done. - */ - b->yy_is_our_buffer = 1; - - return b; + return b; } static void yy_push_state (int new_state ) { - if ( (yy_start_stack_ptr) >= (yy_start_stack_depth) ) - { - yy_size_t new_size; + if ( (yy_start_stack_ptr) >= (yy_start_stack_depth) ) + { + yy_size_t new_size; - (yy_start_stack_depth) += YY_START_STACK_INCR; - new_size = (yy_start_stack_depth) * sizeof( int ); + (yy_start_stack_depth) += YY_START_STACK_INCR; + new_size = (yy_start_stack_depth) * sizeof( int ); - if ( ! (yy_start_stack) ) - (yy_start_stack) = (int *) dax_alloc(new_size ); + if ( ! (yy_start_stack) ) + (yy_start_stack) = (int *) dax_alloc(new_size ); - else - (yy_start_stack) = (int *) dax_realloc((void *) (yy_start_stack),new_size ); + else + (yy_start_stack) = (int *) dax_realloc((void *) (yy_start_stack),new_size ); - if ( ! (yy_start_stack) ) - YY_FATAL_ERROR( "out of memory expanding start-condition stack" ); - } + if ( ! (yy_start_stack) ) + YY_FATAL_ERROR( "out of memory expanding start-condition stack" ); + } - (yy_start_stack)[(yy_start_stack_ptr)++] = YY_START; + (yy_start_stack)[(yy_start_stack_ptr)++] = YY_START; - BEGIN(new_state); + BEGIN(new_state); } static void yy_pop_state (void) { - if ( --(yy_start_stack_ptr) < 0 ) - YY_FATAL_ERROR( "start-condition stack underflow" ); + if ( --(yy_start_stack_ptr) < 0 ) + YY_FATAL_ERROR( "start-condition stack underflow" ); - BEGIN((yy_start_stack)[(yy_start_stack_ptr)]); + BEGIN((yy_start_stack)[(yy_start_stack_ptr)]); } #ifndef YY_EXIT_FAILURE @@ -3614,40 +3608,40 @@ YY_BUFFER_STATE dax__scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_le static void yy_fatal_error (yyconst char* msg ) { - (void) fprintf( stderr, "%s\n", msg ); - exit( YY_EXIT_FAILURE ); + (void) fprintf( stderr, "%s\n", msg ); + exit( YY_EXIT_FAILURE ); } /* Redefine yyless() so it works in section 3 code. */ #undef yyless #define yyless(n) \ - do \ - { \ - /* Undo effects of setting up dax_text. */ \ + do \ + { \ + /* Undo effects of setting up dax_text. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ - dax_text[dax_leng] = (yy_hold_char); \ - (yy_c_buf_p) = dax_text + yyless_macro_arg; \ - (yy_hold_char) = *(yy_c_buf_p); \ - *(yy_c_buf_p) = '\0'; \ - dax_leng = yyless_macro_arg; \ - } \ - while ( 0 ) + dax_text[dax_leng] = (yy_hold_char); \ + (yy_c_buf_p) = dax_text + yyless_macro_arg; \ + (yy_hold_char) = *(yy_c_buf_p); \ + *(yy_c_buf_p) = '\0'; \ + dax_leng = yyless_macro_arg; \ + } \ + while ( 0 ) /* Accessor methods (get/set functions) to struct members. */ /** Get the current line number. - * + * */ int dax_get_lineno (void) { - + return dax_lineno; } /** Get the input stream. - * + * */ FILE *dax_get_in (void) { @@ -3655,7 +3649,7 @@ FILE *dax_get_in (void) } /** Get the output stream. - * + * */ FILE *dax_get_out (void) { @@ -3663,7 +3657,7 @@ FILE *dax_get_out (void) } /** Get the length of the current token. - * + * */ yy_size_t dax_get_leng (void) { @@ -3671,7 +3665,7 @@ yy_size_t dax_get_leng (void) } /** Get the current token. - * + * */ char *dax_get_text (void) @@ -3681,18 +3675,18 @@ char *dax_get_text (void) /** Set the current line number. * @param line_number - * + * */ void dax_set_lineno (int line_number ) { - + dax_lineno = line_number; } /** Set the input stream. This does not discard the current * input buffer. * @param in_str A readable stream. - * + * * @see dax__switch_to_buffer */ void dax_set_in (FILE * in_str ) @@ -3723,7 +3717,7 @@ static int yy_init_globals (void) /* We do not touch dax_lineno unless the option is enabled. */ dax_lineno = 1; - + (yy_buffer_stack) = 0; (yy_buffer_stack_top) = 0; (yy_buffer_stack_max) = 0; @@ -3753,17 +3747,17 @@ static int yy_init_globals (void) /* dax_lex_destroy is for both reentrant and non-reentrant scanners. */ int dax_lex_destroy (void) { - + /* Pop the buffer stack, destroying each element. */ - while(YY_CURRENT_BUFFER){ - dax__delete_buffer(YY_CURRENT_BUFFER ); - YY_CURRENT_BUFFER_LVALUE = NULL; - dax_pop_buffer_state(); - } + while(YY_CURRENT_BUFFER){ + dax__delete_buffer(YY_CURRENT_BUFFER ); + YY_CURRENT_BUFFER_LVALUE = NULL; + dax_pop_buffer_state(); + } - /* Destroy the stack itself. */ - dax_free((yy_buffer_stack) ); - (yy_buffer_stack) = NULL; + /* Destroy the stack itself. */ + dax_free((yy_buffer_stack) ); + (yy_buffer_stack) = NULL; /* Destroy the start condition stack. */ dax_free((yy_start_stack) ); @@ -3783,43 +3777,43 @@ int dax_lex_destroy (void) #ifndef yytext_ptr static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) { - int i; - for ( i = 0; i < n; ++i ) - s1[i] = s2[i]; + register int i; + for ( i = 0; i < n; ++i ) + s1[i] = s2[i]; } #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * s ) { - int n; - for ( n = 0; s[n]; ++n ) - ; + register int n; + for ( n = 0; s[n]; ++n ) + ; - return n; + return n; } #endif void *dax_alloc (yy_size_t size ) { - return (void *) malloc( size ); + return (void *) malloc( size ); } void *dax_realloc (void * ptr, yy_size_t size ) { - /* The cast to (char *) in the following accommodates both - * implementations that use char* generic pointers, and those - * that use void* generic pointers. It works with the latter - * because both ANSI C and C++ allow castless assignment from - * any pointer type to void*, and deal with argument conversions - * as though doing an assignment. - */ - return (void *) realloc( (char *) ptr, size ); + /* The cast to (char *) in the following accommodates both + * implementations that use char* generic pointers, and those + * that use void* generic pointers. It works with the latter + * because both ANSI C and C++ allow castless assignment from + * any pointer type to void*, and deal with argument conversions + * as though doing an assignment. + */ + return (void *) realloc( (char *) ptr, size ); } void dax_free (void * ptr ) { - free( (char *) ptr ); /* see dax_realloc() for (char *) cast */ + free( (char *) ptr ); /* see dax_realloc() for (char *) cast */ } #define YYTABLES_NAME "yytables" @@ -3828,8 +3822,8 @@ void dax_free (void * ptr ) int dax__element_context(int i) { return (0 - /* XML application entry points. */ XBT_PUBLIC(void) STag_dax__adag(void); XBT_PUBLIC(void) ETag_dax__adag(void); -XBT_PUBLIC(void) STag_dax__job(void); -XBT_PUBLIC(void) ETag_dax__job(void); -XBT_PUBLIC(void) STag_dax__uses(void); -XBT_PUBLIC(void) ETag_dax__uses(void); XBT_PUBLIC(void) STag_dax__child(void); XBT_PUBLIC(void) ETag_dax__child(void); +XBT_PUBLIC(void) STag_dax__job(void); +XBT_PUBLIC(void) ETag_dax__job(void); XBT_PUBLIC(void) STag_dax__parent(void); XBT_PUBLIC(void) ETag_dax__parent(void); +XBT_PUBLIC(void) STag_dax__uses(void); +XBT_PUBLIC(void) ETag_dax__uses(void); /* XML application data. */ -typedef enum { AU_dax__uses_link, A_dax__uses_link_input,A_dax__uses_link_output } AT_dax__uses_link; -typedef int AT_dax__child_ref; -#define AU_dax__child_ref NULL -typedef int AT_dax__uses_size; -#define AU_dax__uses_size NULL -typedef int AT_dax__job_namespace; -#define AU_dax__job_namespace NULL -typedef int AT_dax__adag_fileCount; -#define AU_dax__adag_fileCount NULL -typedef enum { AU_dax__uses_register, A_dax__uses_register_false,A_dax__uses_register_true } AT_dax__uses_register; -typedef int AT_dax__adag_xmlns; -#define AU_dax__adag_xmlns NULL -typedef int AT_dax__uses_type; -#define AU_dax__uses_type NULL -typedef int AT_dax__job_id; -#define AU_dax__job_id NULL -typedef int AT_dax__job_name; -#define AU_dax__job_name NULL -typedef int AT_dax__job_level; -#define AU_dax__job_level NULL typedef int AT_dax__adag_childCount; #define AU_dax__adag_childCount NULL +typedef int AT_dax__adag_count; +#define AU_dax__adag_count NULL +typedef int AT_dax__adag_fileCount; +#define AU_dax__adag_fileCount NULL +typedef int AT_dax__adag_index; +#define AU_dax__adag_index NULL +typedef int AT_dax__adag_jobCount; +#define AU_dax__adag_jobCount NULL typedef int AT_dax__adag_name; #define AU_dax__adag_name NULL typedef int AT_dax__adag_version; #define AU_dax__adag_version NULL -typedef int AT_dax__uses_file; -#define AU_dax__uses_file NULL +typedef int AT_dax__adag_xmlns; +#define AU_dax__adag_xmlns NULL +typedef int AT_dax__adag_xmlns_c_xsi; +#define AU_dax__adag_xmlns_c_xsi NULL typedef int AT_dax__adag_xsi_c_schemaLocation; #define AU_dax__adag_xsi_c_schemaLocation NULL -typedef int AT_dax__adag_index; -#define AU_dax__adag_index NULL +typedef int AT_dax__child_ref; +#define AU_dax__child_ref NULL +typedef int AT_dax__job_id; +#define AU_dax__job_id NULL +typedef int AT_dax__job_level; +#define AU_dax__job_level NULL +typedef int AT_dax__job_name; +#define AU_dax__job_name NULL +typedef int AT_dax__job_namespace; +#define AU_dax__job_namespace NULL typedef int AT_dax__job_runtime; #define AU_dax__job_runtime NULL -typedef int AT_dax__parent_ref; -#define AU_dax__parent_ref NULL -typedef int AT_dax__adag_xmlns_c_xsi; -#define AU_dax__adag_xmlns_c_xsi NULL -typedef enum { AU_dax__uses_transfer, A_dax__uses_transfer_false,A_dax__uses_transfer_true } AT_dax__uses_transfer; typedef int AT_dax__job_version; #define AU_dax__job_version NULL -typedef int AT_dax__adag_count; -#define AU_dax__adag_count NULL +typedef int AT_dax__parent_ref; +#define AU_dax__parent_ref NULL +typedef int AT_dax__uses_file; +#define AU_dax__uses_file NULL +typedef enum { AU_dax__uses_link, A_dax__uses_link_input,A_dax__uses_link_output } AT_dax__uses_link; typedef enum { AU_dax__uses_optional, A_dax__uses_optional_false,A_dax__uses_optional_true } AT_dax__uses_optional; -typedef int AT_dax__adag_jobCount; -#define AU_dax__adag_jobCount NULL +typedef enum { AU_dax__uses_register, A_dax__uses_register_false,A_dax__uses_register_true } AT_dax__uses_register; +typedef int AT_dax__uses_size; +#define AU_dax__uses_size NULL +typedef enum { AU_dax__uses_transfer, A_dax__uses_transfer_false,A_dax__uses_transfer_true } AT_dax__uses_transfer; +typedef int AT_dax__uses_type; +#define AU_dax__uses_type NULL /* FleXML-provided data. */ XBT_PUBLIC_DATA(int) dax__pcdata_ix; XBT_PUBLIC_DATA(char *) dax__bufferstack; #define dax__pcdata (dax__bufferstack + dax__pcdata_ix) -XBT_PUBLIC_DATA(AT_dax__uses_link) AX_dax__uses_link; -#define A_dax__uses_link AX_dax__uses_link -XBT_PUBLIC_DATA(short int) dax__uses_link_isset; -XBT_PUBLIC_DATA(AT_dax__child_ref) AX_dax__child_ref; -#define A_dax__child_ref (dax__bufferstack + AX_dax__child_ref) -XBT_PUBLIC_DATA(short int) dax__child_ref_isset; -XBT_PUBLIC_DATA(AT_dax__uses_size) AX_dax__uses_size; -#define A_dax__uses_size (dax__bufferstack + AX_dax__uses_size) -XBT_PUBLIC_DATA(short int) dax__uses_size_isset; -XBT_PUBLIC_DATA(AT_dax__job_namespace) AX_dax__job_namespace; -#define A_dax__job_namespace (dax__bufferstack + AX_dax__job_namespace) -XBT_PUBLIC_DATA(short int) dax__job_namespace_isset; -XBT_PUBLIC_DATA(AT_dax__adag_fileCount) AX_dax__adag_fileCount; -#define A_dax__adag_fileCount (dax__bufferstack + AX_dax__adag_fileCount) -XBT_PUBLIC_DATA(short int) dax__adag_fileCount_isset; -XBT_PUBLIC_DATA(AT_dax__uses_register) AX_dax__uses_register; -#define A_dax__uses_register AX_dax__uses_register -XBT_PUBLIC_DATA(short int) dax__uses_register_isset; -XBT_PUBLIC_DATA(AT_dax__adag_xmlns) AX_dax__adag_xmlns; -#define A_dax__adag_xmlns (dax__bufferstack + AX_dax__adag_xmlns) -XBT_PUBLIC_DATA(short int) dax__adag_xmlns_isset; -XBT_PUBLIC_DATA(AT_dax__uses_type) AX_dax__uses_type; -#define A_dax__uses_type (dax__bufferstack + AX_dax__uses_type) -XBT_PUBLIC_DATA(short int) dax__uses_type_isset; -XBT_PUBLIC_DATA(AT_dax__job_id) AX_dax__job_id; -#define A_dax__job_id (dax__bufferstack + AX_dax__job_id) -XBT_PUBLIC_DATA(short int) dax__job_id_isset; -XBT_PUBLIC_DATA(AT_dax__job_name) AX_dax__job_name; -#define A_dax__job_name (dax__bufferstack + AX_dax__job_name) -XBT_PUBLIC_DATA(short int) dax__job_name_isset; -XBT_PUBLIC_DATA(AT_dax__job_level) AX_dax__job_level; -#define A_dax__job_level (dax__bufferstack + AX_dax__job_level) -XBT_PUBLIC_DATA(short int) dax__job_level_isset; XBT_PUBLIC_DATA(AT_dax__adag_childCount) AX_dax__adag_childCount; #define A_dax__adag_childCount (dax__bufferstack + AX_dax__adag_childCount) XBT_PUBLIC_DATA(short int) dax__adag_childCount_isset; +XBT_PUBLIC_DATA(AT_dax__adag_count) AX_dax__adag_count; +#define A_dax__adag_count (dax__bufferstack + AX_dax__adag_count) +XBT_PUBLIC_DATA(short int) dax__adag_count_isset; +XBT_PUBLIC_DATA(AT_dax__adag_fileCount) AX_dax__adag_fileCount; +#define A_dax__adag_fileCount (dax__bufferstack + AX_dax__adag_fileCount) +XBT_PUBLIC_DATA(short int) dax__adag_fileCount_isset; +XBT_PUBLIC_DATA(AT_dax__adag_index) AX_dax__adag_index; +#define A_dax__adag_index (dax__bufferstack + AX_dax__adag_index) +XBT_PUBLIC_DATA(short int) dax__adag_index_isset; +XBT_PUBLIC_DATA(AT_dax__adag_jobCount) AX_dax__adag_jobCount; +#define A_dax__adag_jobCount (dax__bufferstack + AX_dax__adag_jobCount) +XBT_PUBLIC_DATA(short int) dax__adag_jobCount_isset; XBT_PUBLIC_DATA(AT_dax__adag_name) AX_dax__adag_name; #define A_dax__adag_name (dax__bufferstack + AX_dax__adag_name) XBT_PUBLIC_DATA(short int) dax__adag_name_isset; XBT_PUBLIC_DATA(AT_dax__adag_version) AX_dax__adag_version; #define A_dax__adag_version (dax__bufferstack + AX_dax__adag_version) XBT_PUBLIC_DATA(short int) dax__adag_version_isset; -XBT_PUBLIC_DATA(AT_dax__uses_file) AX_dax__uses_file; -#define A_dax__uses_file (dax__bufferstack + AX_dax__uses_file) -XBT_PUBLIC_DATA(short int) dax__uses_file_isset; +XBT_PUBLIC_DATA(AT_dax__adag_xmlns) AX_dax__adag_xmlns; +#define A_dax__adag_xmlns (dax__bufferstack + AX_dax__adag_xmlns) +XBT_PUBLIC_DATA(short int) dax__adag_xmlns_isset; +XBT_PUBLIC_DATA(AT_dax__adag_xmlns_c_xsi) AX_dax__adag_xmlns_c_xsi; +#define A_dax__adag_xmlns_c_xsi (dax__bufferstack + AX_dax__adag_xmlns_c_xsi) +XBT_PUBLIC_DATA(short int) dax__adag_xmlns_c_xsi_isset; XBT_PUBLIC_DATA(AT_dax__adag_xsi_c_schemaLocation) AX_dax__adag_xsi_c_schemaLocation; #define A_dax__adag_xsi_c_schemaLocation (dax__bufferstack + AX_dax__adag_xsi_c_schemaLocation) XBT_PUBLIC_DATA(short int) dax__adag_xsi_c_schemaLocation_isset; -XBT_PUBLIC_DATA(AT_dax__adag_index) AX_dax__adag_index; -#define A_dax__adag_index (dax__bufferstack + AX_dax__adag_index) -XBT_PUBLIC_DATA(short int) dax__adag_index_isset; +XBT_PUBLIC_DATA(AT_dax__child_ref) AX_dax__child_ref; +#define A_dax__child_ref (dax__bufferstack + AX_dax__child_ref) +XBT_PUBLIC_DATA(short int) dax__child_ref_isset; +XBT_PUBLIC_DATA(AT_dax__job_id) AX_dax__job_id; +#define A_dax__job_id (dax__bufferstack + AX_dax__job_id) +XBT_PUBLIC_DATA(short int) dax__job_id_isset; +XBT_PUBLIC_DATA(AT_dax__job_level) AX_dax__job_level; +#define A_dax__job_level (dax__bufferstack + AX_dax__job_level) +XBT_PUBLIC_DATA(short int) dax__job_level_isset; +XBT_PUBLIC_DATA(AT_dax__job_name) AX_dax__job_name; +#define A_dax__job_name (dax__bufferstack + AX_dax__job_name) +XBT_PUBLIC_DATA(short int) dax__job_name_isset; +XBT_PUBLIC_DATA(AT_dax__job_namespace) AX_dax__job_namespace; +#define A_dax__job_namespace (dax__bufferstack + AX_dax__job_namespace) +XBT_PUBLIC_DATA(short int) dax__job_namespace_isset; XBT_PUBLIC_DATA(AT_dax__job_runtime) AX_dax__job_runtime; #define A_dax__job_runtime (dax__bufferstack + AX_dax__job_runtime) XBT_PUBLIC_DATA(short int) dax__job_runtime_isset; -XBT_PUBLIC_DATA(AT_dax__parent_ref) AX_dax__parent_ref; -#define A_dax__parent_ref (dax__bufferstack + AX_dax__parent_ref) -XBT_PUBLIC_DATA(short int) dax__parent_ref_isset; -XBT_PUBLIC_DATA(AT_dax__adag_xmlns_c_xsi) AX_dax__adag_xmlns_c_xsi; -#define A_dax__adag_xmlns_c_xsi (dax__bufferstack + AX_dax__adag_xmlns_c_xsi) -XBT_PUBLIC_DATA(short int) dax__adag_xmlns_c_xsi_isset; -XBT_PUBLIC_DATA(AT_dax__uses_transfer) AX_dax__uses_transfer; -#define A_dax__uses_transfer AX_dax__uses_transfer -XBT_PUBLIC_DATA(short int) dax__uses_transfer_isset; XBT_PUBLIC_DATA(AT_dax__job_version) AX_dax__job_version; #define A_dax__job_version (dax__bufferstack + AX_dax__job_version) XBT_PUBLIC_DATA(short int) dax__job_version_isset; -XBT_PUBLIC_DATA(AT_dax__adag_count) AX_dax__adag_count; -#define A_dax__adag_count (dax__bufferstack + AX_dax__adag_count) -XBT_PUBLIC_DATA(short int) dax__adag_count_isset; +XBT_PUBLIC_DATA(AT_dax__parent_ref) AX_dax__parent_ref; +#define A_dax__parent_ref (dax__bufferstack + AX_dax__parent_ref) +XBT_PUBLIC_DATA(short int) dax__parent_ref_isset; +XBT_PUBLIC_DATA(AT_dax__uses_file) AX_dax__uses_file; +#define A_dax__uses_file (dax__bufferstack + AX_dax__uses_file) +XBT_PUBLIC_DATA(short int) dax__uses_file_isset; +XBT_PUBLIC_DATA(AT_dax__uses_link) AX_dax__uses_link; +#define A_dax__uses_link AX_dax__uses_link +XBT_PUBLIC_DATA(short int) dax__uses_link_isset; XBT_PUBLIC_DATA(AT_dax__uses_optional) AX_dax__uses_optional; #define A_dax__uses_optional AX_dax__uses_optional XBT_PUBLIC_DATA(short int) dax__uses_optional_isset; -XBT_PUBLIC_DATA(AT_dax__adag_jobCount) AX_dax__adag_jobCount; -#define A_dax__adag_jobCount (dax__bufferstack + AX_dax__adag_jobCount) -XBT_PUBLIC_DATA(short int) dax__adag_jobCount_isset; +XBT_PUBLIC_DATA(AT_dax__uses_register) AX_dax__uses_register; +#define A_dax__uses_register AX_dax__uses_register +XBT_PUBLIC_DATA(short int) dax__uses_register_isset; +XBT_PUBLIC_DATA(AT_dax__uses_size) AX_dax__uses_size; +#define A_dax__uses_size (dax__bufferstack + AX_dax__uses_size) +XBT_PUBLIC_DATA(short int) dax__uses_size_isset; +XBT_PUBLIC_DATA(AT_dax__uses_transfer) AX_dax__uses_transfer; +#define A_dax__uses_transfer AX_dax__uses_transfer +XBT_PUBLIC_DATA(short int) dax__uses_transfer_isset; +XBT_PUBLIC_DATA(AT_dax__uses_type) AX_dax__uses_type; +#define A_dax__uses_type (dax__bufferstack + AX_dax__uses_type) +XBT_PUBLIC_DATA(short int) dax__uses_type_isset; /* XML application utilities. */ XBT_PUBLIC(int) dax__element_context(int); @@ -196,5 +194,5 @@ XBT_PUBLIC(int) dax__element_context(int); XBT_PUBLIC(int) yylex(void); /* Flexml error handling function (useful only when -q flag passed to flexml) */ -XBT_PRIVATE const char * dax__parse_err_msg(void); +const char * dax__parse_err_msg(void); #endif diff --git a/src/simdag/sd_daxloader.cpp b/src/simdag/sd_daxloader.cpp index 2cc8cd3f49..6cee84c608 100644 --- a/src/simdag/sd_daxloader.cpp +++ b/src/simdag/sd_daxloader.cpp @@ -15,7 +15,9 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(sd_daxparse, sd, "Parsing DAX files"); extern "C" { #undef CLEANUP #include "dax_dtd.h" + #define register /* g++ don't like register, so don't say it */ #include "dax_dtd.c" + #undef register } bool children_are_marked(SD_task_t task); diff --git a/src/surf/simgrid_dtd.c b/src/surf/simgrid_dtd.c index e96012115c..f5c632a179 100644 --- a/src/surf/simgrid_dtd.c +++ b/src/surf/simgrid_dtd.c @@ -111,15 +111,15 @@ typedef unsigned int flex_uint32_t; /* The "const" storage-class-modifier is valid. */ #define YY_USE_CONST -#else /* ! __cplusplus */ +#else /* ! __cplusplus */ /* C99 requires __STDC__ to be defined as 1. */ #if defined (__STDC__) #define YY_USE_CONST -#endif /* defined (__STDC__) */ -#endif /* ! __cplusplus */ +#endif /* defined (__STDC__) */ +#endif /* ! __cplusplus */ #ifdef YY_USE_CONST #define yyconst const @@ -217,83 +217,83 @@ extern FILE *surf_parse_in, *surf_parse_out; /* Return all but the first "n" matched characters back to the input stream. */ #define yyless(n) \ - do \ - { \ - /* Undo effects of setting up surf_parse_text. */ \ + do \ + { \ + /* Undo effects of setting up surf_parse_text. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ - *yy_cp = (yy_hold_char); \ - YY_RESTORE_YY_MORE_OFFSET \ - (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ - YY_DO_BEFORE_ACTION; /* set up surf_parse_text again */ \ - } \ - while ( 0 ) + *yy_cp = (yy_hold_char); \ + YY_RESTORE_YY_MORE_OFFSET \ + (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ + YY_DO_BEFORE_ACTION; /* set up surf_parse_text again */ \ + } \ + while ( 0 ) #define unput(c) yyunput( c, (yytext_ptr) ) #ifndef YY_STRUCT_YY_BUFFER_STATE #define YY_STRUCT_YY_BUFFER_STATE struct yy_buffer_state - { - FILE *yy_input_file; - - char *yy_ch_buf; /* input buffer */ - char *yy_buf_pos; /* current position in input buffer */ - - /* Size of input buffer in bytes, not including room for EOB - * characters. - */ - yy_size_t yy_buf_size; - - /* Number of characters read into yy_ch_buf, not including EOB - * characters. - */ - 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 - * delete it. - */ - int yy_is_our_buffer; - - /* Whether this is an "interactive" input source; if so, and - * if we're using stdio for input, then we want to use getc() - * instead of fread(), to make sure we stop fetching input after - * each newline. - */ - int yy_is_interactive; - - /* Whether we're considered to be at the beginning of a line. - * If so, '^' rules will be active on the next match, otherwise - * not. - */ - int yy_at_bol; + { + FILE *yy_input_file; + + char *yy_ch_buf; /* input buffer */ + char *yy_buf_pos; /* current position in input buffer */ + + /* Size of input buffer in bytes, not including room for EOB + * characters. + */ + yy_size_t yy_buf_size; + + /* Number of characters read into yy_ch_buf, not including EOB + * characters. + */ + 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 + * delete it. + */ + int yy_is_our_buffer; + + /* Whether this is an "interactive" input source; if so, and + * if we're using stdio for input, then we want to use getc() + * instead of fread(), to make sure we stop fetching input after + * each newline. + */ + int yy_is_interactive; + + /* Whether we're considered to be at the beginning of a line. + * If so, '^' rules will be active on the next match, otherwise + * not. + */ + int yy_at_bol; int yy_bs_lineno; /**< The line count. */ int yy_bs_column; /**< The column count. */ - /* Whether to try to fill the input buffer when we reach the - * end of it. - */ - int yy_fill_buffer; + /* Whether to try to fill the input buffer when we reach the + * end of it. + */ + int yy_fill_buffer; - int yy_buffer_status; + int yy_buffer_status; #define YY_BUFFER_NEW 0 #define YY_BUFFER_NORMAL 1 - /* When an EOF's been seen but there's still some text to process - * then we mark the buffer as YY_EOF_PENDING, to indicate that we - * shouldn't try reading from the input source any more. We might - * still have a bunch of tokens to match, though, because of - * possible backing-up. - * - * When we actually see the EOF, we change the status to "new" - * (via surf_parse_restart()), so that the user can continue scanning by - * just pointing surf_parse_in at a new input file. - */ + /* When an EOF's been seen but there's still some text to process + * then we mark the buffer as YY_EOF_PENDING, to indicate that we + * shouldn't try reading from the input source any more. We might + * still have a bunch of tokens to match, though, because of + * possible backing-up. + * + * When we actually see the EOF, we change the status to "new" + * (via surf_parse_restart()), so that the user can continue scanning by + * just pointing surf_parse_in at a new input file. + */ #define YY_BUFFER_EOF_PENDING 2 - }; + }; #endif /* !YY_STRUCT_YY_BUFFER_STATE */ /* Stack of input buffers. */ @@ -318,13 +318,13 @@ static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ /* yy_hold_char holds the character lost when surf_parse_text is formed. */ static char yy_hold_char; -static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */ +static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */ yy_size_t surf_parse_leng; /* Points to current character in buffer. */ static char *yy_c_buf_p = (char *) 0; -static int yy_init = 0; /* whether we need to initialize */ -static int yy_start = 0; /* start state number */ +static int yy_init = 0; /* whether we need to initialize */ +static int yy_start = 0; /* start state number */ /* Flag which is used to allow surf_parse_wrap()'s to do buffer switches * instead of setting up a fresh surf_parse_in. A bit of a hack ... @@ -356,24 +356,24 @@ void surf_parse_free (void * ); #define yy_new_buffer surf_parse__create_buffer #define yy_set_interactive(is_interactive) \ - { \ - if ( ! YY_CURRENT_BUFFER ){ \ + { \ + if ( ! YY_CURRENT_BUFFER ){ \ surf_parse_ensure_buffer_stack (); \ - YY_CURRENT_BUFFER_LVALUE = \ + YY_CURRENT_BUFFER_LVALUE = \ surf_parse__create_buffer(surf_parse_in,YY_BUF_SIZE ); \ - } \ - YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ - } + } \ + YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ + } #define yy_set_bol(at_bol) \ - { \ - if ( ! YY_CURRENT_BUFFER ){\ + { \ + if ( ! YY_CURRENT_BUFFER ){\ surf_parse_ensure_buffer_stack (); \ - YY_CURRENT_BUFFER_LVALUE = \ + YY_CURRENT_BUFFER_LVALUE = \ surf_parse__create_buffer(surf_parse_in,YY_BUF_SIZE ); \ - } \ - YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ - } + } \ + YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ + } #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) @@ -404,21 +404,21 @@ static void yy_fatal_error (yyconst char msg[] ); * corresponding action - sets up surf_parse_text. */ #define YY_DO_BEFORE_ACTION \ - (yytext_ptr) = yy_bp; \ - surf_parse_leng = (size_t) (yy_cp - yy_bp); \ - (yy_hold_char) = *yy_cp; \ - *yy_cp = '\0'; \ - (yy_c_buf_p) = yy_cp; + (yytext_ptr) = yy_bp; \ + surf_parse_leng = (size_t) (yy_cp - yy_bp); \ + (yy_hold_char) = *yy_cp; \ + *yy_cp = '\0'; \ + (yy_c_buf_p) = yy_cp; #define YY_NUM_RULES 595 #define YY_END_OF_BUFFER 596 /* 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; - }; + { + flex_int32_t yy_verify; + flex_int32_t yy_nxt; + }; static yyconst flex_int16_t yy_accept[3466] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -450,348 +450,348 @@ static yyconst flex_int16_t yy_accept[3466] = 0, 0, 0, 0, 0, 0, 596, 594, 15, 10, 10, 15, 15, 574, 10, 574, 5, 6, 5, 8, 9, 8, 590, 582, 583, 591, 588, 591, 589, 593, - 582, 583, 593, 130, 10, 130, 130, 130, 128, 130, - 130, 134, 10, 134, 134, 594, 134, 594, 594, 134, - 453, 10, 453, 453, 453, 451, 453, 453, 453, 457, - - 10, 457, 594, 457, 532, 10, 532, 532, 532, 530, - 532, 536, 10, 536, 384, 10, 384, 384, 384, 382, - 384, 384, 384, 388, 10, 388, 500, 10, 500, 500, - 500, 498, 500, 500, 500, 504, 10, 504, 504, 483, - 10, 483, 483, 483, 481, 483, 483, 487, 10, 487, - 487, 331, 10, 331, 331, 331, 329, 331, 331, 331, - 331, 331, 331, 335, 10, 335, 308, 10, 308, 308, - 308, 306, 308, 308, 308, 308, 308, 308, 308, 308, - 308, 312, 10, 312, 312, 543, 10, 543, 543, 543, - 541, 543, 547, 10, 547, 547, 234, 10, 234, 234, - - 234, 232, 234, 238, 10, 238, 204, 10, 204, 204, - 204, 202, 204, 204, 204, 204, 204, 208, 10, 208, - 594, 208, 249, 10, 249, 249, 249, 247, 249, 249, - 249, 253, 10, 253, 33, 10, 33, 33, 33, 31, - 33, 37, 10, 37, 594, 37, 415, 10, 415, 415, - 415, 413, 415, 415, 415, 415, 419, 10, 419, 419, - 470, 10, 470, 470, 470, 468, 470, 470, 474, 10, - 474, 569, 10, 569, 569, 569, 567, 569, 569, 573, - 10, 573, 162, 10, 162, 162, 162, 160, 162, 162, - 166, 10, 166, 175, 10, 175, 175, 175, 173, 175, - - 175, 179, 10, 179, 356, 10, 356, 356, 356, 354, - 356, 356, 356, 356, 356, 356, 356, 360, 10, 360, - 594, 22, 10, 22, 22, 22, 20, 22, 26, 10, - 26, 26, 594, 26, 594, 26, 521, 10, 521, 521, - 521, 519, 521, 521, 521, 521, 521, 525, 10, 525, - 594, 525, 556, 10, 556, 556, 556, 554, 556, 556, - 560, 10, 560, 78, 10, 78, 78, 78, 76, 78, - 78, 78, 78, 78, 82, 10, 82, 432, 10, 432, - 432, 432, 430, 432, 432, 436, 10, 436, 436, 369, - 10, 369, 369, 369, 367, 369, 369, 373, 10, 373, - - 223, 10, 223, 223, 223, 221, 223, 223, 223, 223, - 227, 10, 227, 227, 149, 10, 149, 149, 149, 147, - 149, 149, 149, 149, 153, 10, 153, 594, 153, 48, - 10, 48, 48, 48, 46, 48, 48, 48, 591, 590, - 101, 10, 101, 101, 101, 99, 101, 101, 101, 105, - 10, 105, 10, 0, 2, 2, 0, 4, 7, 585, - 584, 0, 0, 0, 0, 0, 0, 129, 131, 131, - 131, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 582, 583, 593, 40, 10, 40, 40, 40, 38, 40, + 40, 44, 10, 44, 44, 594, 44, 594, 594, 44, + 61, 10, 61, 61, 61, 59, 61, 61, 61, 65, + + 10, 65, 594, 65, 72, 10, 72, 72, 72, 70, + 72, 76, 10, 76, 87, 10, 87, 87, 87, 85, + 87, 87, 87, 91, 10, 91, 104, 10, 104, 104, + 104, 102, 104, 104, 104, 108, 10, 108, 108, 117, + 10, 117, 117, 117, 115, 117, 117, 121, 10, 121, + 121, 140, 10, 140, 140, 140, 138, 140, 140, 140, + 140, 140, 140, 144, 10, 144, 199, 10, 199, 199, + 199, 197, 199, 199, 199, 199, 199, 199, 199, 199, + 199, 203, 10, 203, 203, 210, 10, 210, 210, 210, + 208, 210, 214, 10, 214, 214, 221, 10, 221, 221, + + 221, 219, 221, 225, 10, 225, 250, 10, 250, 250, + 250, 248, 250, 250, 250, 250, 250, 254, 10, 254, + 594, 254, 265, 10, 265, 265, 265, 263, 265, 265, + 265, 269, 10, 269, 276, 10, 276, 276, 276, 274, + 276, 280, 10, 280, 594, 280, 307, 10, 307, 307, + 307, 305, 307, 307, 307, 307, 311, 10, 311, 311, + 324, 10, 324, 324, 324, 322, 324, 324, 328, 10, + 328, 337, 10, 337, 337, 337, 335, 337, 337, 341, + 10, 341, 350, 10, 350, 350, 350, 348, 350, 350, + 354, 10, 354, 363, 10, 363, 363, 363, 361, 363, + + 363, 367, 10, 367, 388, 10, 388, 388, 388, 386, + 388, 388, 388, 388, 388, 388, 388, 392, 10, 392, + 594, 399, 10, 399, 399, 399, 397, 399, 403, 10, + 403, 403, 594, 403, 594, 403, 420, 10, 420, 420, + 420, 418, 420, 420, 420, 420, 420, 424, 10, 424, + 594, 424, 433, 10, 433, 433, 433, 431, 433, 433, + 437, 10, 437, 464, 10, 464, 464, 464, 462, 464, + 464, 464, 464, 464, 468, 10, 468, 481, 10, 481, + 481, 481, 479, 481, 481, 485, 10, 485, 485, 494, + 10, 494, 494, 494, 492, 494, 494, 498, 10, 498, + + 513, 10, 513, 513, 513, 511, 513, 513, 513, 513, + 517, 10, 517, 517, 532, 10, 532, 532, 532, 530, + 532, 532, 532, 532, 536, 10, 536, 594, 536, 547, + 10, 547, 547, 547, 545, 547, 547, 547, 591, 590, + 569, 10, 569, 569, 569, 567, 569, 569, 569, 573, + 10, 573, 10, 0, 2, 2, 0, 4, 7, 585, + 584, 0, 0, 0, 0, 0, 0, 39, 41, 41, + 41, 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, 452, 454, 454, 454, 454, 454, 0, - 0, 531, 533, 533, 0, 383, 385, 385, 385, 385, - 0, 499, 501, 501, 501, 501, 0, 482, 484, 484, - 484, 0, 330, 332, 332, 332, 332, 332, 332, 332, - 332, 0, 307, 309, 309, 309, 309, 309, 309, 309, - 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, - 0, 542, 544, 544, 0, 233, 235, 235, 0, 203, - 205, 205, 205, 205, 205, 205, 205, 0, 0, 248, - 250, 250, 250, 250, 0, 32, 34, 34, 0, 0, - 414, 416, 416, 416, 416, 416, 416, 0, 469, 471, - - 471, 471, 0, 568, 570, 570, 570, 0, 161, 163, - 163, 163, 0, 174, 176, 176, 176, 0, 355, 357, - 357, 357, 357, 357, 357, 357, 357, 0, 0, 21, - 23, 23, 0, 0, 0, 0, 0, 0, 520, 522, - 522, 522, 522, 522, 522, 0, 0, 555, 557, 557, - 557, 0, 77, 79, 79, 79, 79, 79, 79, 79, - 79, 79, 0, 431, 433, 433, 433, 433, 0, 368, - 370, 370, 370, 0, 222, 224, 224, 224, 224, 224, - 0, 148, 150, 150, 150, 150, 150, 0, 0, 47, - 49, 49, 49, 49, 0, 0, 0, 100, 102, 102, - - 102, 102, 0, 0, 0, 0, 0, 3, 0, 0, - 0, 0, 0, 0, 0, 592, 0, 0, 131, 0, - 0, 107, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 60, 62, 62, 62, 62, 62, 0, + 0, 71, 73, 73, 0, 86, 88, 88, 88, 88, + 0, 103, 105, 105, 105, 105, 0, 116, 118, 118, + 118, 0, 139, 141, 141, 141, 141, 141, 141, 141, + 141, 0, 198, 200, 200, 200, 200, 200, 200, 200, + 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, + 0, 209, 211, 211, 0, 220, 222, 222, 0, 249, + 251, 251, 251, 251, 251, 251, 251, 0, 0, 264, + 266, 266, 266, 266, 0, 275, 277, 277, 0, 0, + 306, 308, 308, 308, 308, 308, 308, 0, 323, 325, + + 325, 325, 0, 336, 338, 338, 338, 0, 349, 351, + 351, 351, 0, 362, 364, 364, 364, 0, 387, 389, + 389, 389, 389, 389, 389, 389, 389, 0, 0, 398, + 400, 400, 0, 0, 0, 0, 0, 0, 419, 421, + 421, 421, 421, 421, 421, 0, 0, 432, 434, 434, + 434, 0, 463, 465, 465, 465, 465, 465, 465, 465, + 465, 465, 0, 480, 482, 482, 482, 482, 0, 493, + 495, 495, 495, 0, 512, 514, 514, 514, 514, 514, + 0, 531, 533, 533, 533, 533, 533, 0, 0, 546, + 548, 548, 548, 548, 0, 0, 0, 568, 570, 570, + + 570, 570, 0, 0, 0, 0, 0, 3, 0, 0, + 0, 0, 0, 0, 0, 592, 0, 0, 41, 0, + 0, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 106, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 106, 0, 0, 454, 454, - 454, 454, 0, 0, 0, 533, 0, 0, 385, 0, - 0, 385, 0, 0, 501, 501, 501, 0, 0, 484, - 484, 0, 0, 0, 0, 0, 0, 332, 332, 332, - 332, 332, 0, 0, 309, 309, 0, 0, 309, 0, - - 0, 309, 309, 309, 309, 309, 309, 309, 309, 309, - 309, 309, 0, 0, 0, 0, 0, 0, 235, 0, - 0, 205, 205, 205, 0, 0, 205, 205, 205, 0, - 0, 0, 0, 250, 0, 0, 0, 0, 0, 0, - 34, 0, 0, 107, 416, 0, 0, 416, 416, 416, - 0, 0, 471, 0, 0, 0, 0, 0, 0, 570, - 0, 0, 163, 163, 0, 0, 176, 176, 0, 0, - 357, 357, 357, 0, 0, 357, 357, 357, 0, 0, - 0, 23, 0, 0, 0, 0, 0, 522, 522, 522, - 522, 522, 0, 0, 0, 0, 0, 557, 0, 0, - - 79, 0, 0, 79, 79, 79, 79, 79, 79, 0, - 0, 433, 433, 433, 0, 0, 370, 0, 0, 0, - 0, 224, 224, 0, 0, 224, 0, 0, 150, 0, - 0, 150, 150, 0, 0, 0, 49, 0, 0, 49, - 0, 0, 0, 587, 102, 102, 102, 0, 0, 0, + 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 16, 0, 0, 62, 62, + 62, 62, 0, 0, 0, 73, 0, 0, 88, 0, + 0, 88, 0, 0, 105, 105, 105, 0, 0, 118, + 118, 0, 0, 0, 0, 0, 0, 141, 141, 141, + 141, 141, 0, 0, 200, 200, 0, 0, 200, 0, + + 0, 200, 200, 200, 200, 200, 200, 200, 200, 200, + 200, 200, 0, 0, 0, 0, 0, 0, 222, 0, + 0, 251, 251, 251, 0, 0, 251, 251, 251, 0, + 0, 0, 0, 266, 0, 0, 0, 0, 0, 0, + 277, 0, 0, 17, 308, 0, 0, 308, 308, 308, + 0, 0, 325, 0, 0, 0, 0, 0, 0, 338, + 0, 0, 351, 351, 0, 0, 364, 364, 0, 0, + 389, 389, 389, 0, 0, 389, 389, 389, 0, 0, + 0, 400, 0, 0, 0, 0, 0, 421, 421, 421, + 421, 421, 0, 0, 0, 0, 0, 434, 0, 0, + + 465, 0, 0, 465, 465, 465, 465, 465, 465, 0, + 0, 482, 482, 482, 0, 0, 495, 0, 0, 0, + 0, 514, 514, 0, 0, 514, 0, 0, 533, 0, + 0, 533, 533, 0, 0, 0, 548, 0, 0, 548, + 0, 0, 0, 587, 570, 570, 570, 0, 0, 0, 14, 1, 0, 0, 580, 0, 0, 0, 577, 576, - 0, 0, 109, 108, 131, 0, 0, 133, 0, 107, - 0, 0, 0, 0, 0, 0, 0, 229, 0, 0, + 0, 0, 19, 18, 41, 0, 0, 43, 0, 17, + 0, 0, 0, 0, 0, 0, 0, 216, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 106, 0, 0, 0, 0, 0, 228, 0, + 0, 0, 16, 0, 0, 0, 0, 0, 215, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 454, 454, 0, 0, 454, 0, 0, 456, 0, 0, - 533, 0, 0, 535, 0, 385, 0, 377, 376, 385, - 0, 0, 387, 0, 0, 0, 501, 501, 0, 0, - 0, 0, 503, 0, 0, 0, 0, 0, 0, 0, - 486, 0, 0, 326, 325, 0, 316, 315, 0, 0, - 332, 332, 332, 332, 0, 0, 334, 0, 309, 309, - 309, 309, 0, 269, 268, 309, 0, 257, 256, 0, - 0, 309, 309, 309, 309, 309, 309, 309, 309, 309, - 309, 0, 0, 311, 0, 0, 540, 539, 0, 0, - - 546, 0, 235, 0, 0, 237, 0, 205, 205, 205, - 0, 183, 182, 205, 205, 205, 0, 0, 207, 0, - 0, 0, 250, 0, 242, 241, 0, 244, 243, 0, - 0, 252, 0, 34, 0, 0, 36, 0, 416, 0, - 392, 391, 416, 416, 416, 0, 0, 418, 0, 471, - 0, 461, 460, 0, 0, 473, 0, 0, 564, 563, - 570, 0, 0, 572, 0, 163, 163, 0, 0, 165, - 0, 176, 176, 0, 0, 178, 0, 357, 357, 357, - 357, 0, 339, 338, 0, 0, 357, 357, 0, 0, - 359, 0, 0, 23, 0, 0, 25, 0, 0, 0, - - 0, 522, 522, 522, 522, 522, 0, 0, 524, 0, - 0, 0, 551, 550, 557, 0, 0, 559, 0, 79, - 0, 55, 54, 0, 0, 79, 0, 0, 79, 79, - 79, 0, 0, 81, 0, 0, 0, 0, 0, 433, - 0, 0, 435, 0, 370, 0, 364, 363, 0, 0, - 372, 0, 224, 224, 0, 212, 211, 224, 0, 0, - 226, 0, 150, 0, 138, 137, 150, 150, 0, 0, - 152, 0, 0, 49, 0, 41, 40, 49, 0, 0, - 0, 51, 0, 102, 102, 102, 0, 0, 104, 0, - 0, 0, 581, 575, 0, 0, 131, 0, 132, 0, - - 0, 0, 0, 0, 0, 0, 229, 181, 0, 390, - 0, 0, 0, 337, 0, 0, 549, 0, 0, 0, - 0, 548, 0, 0, 0, 0, 0, 228, 180, 0, - 389, 336, 0, 0, 0, 0, 0, 0, 442, 441, - 454, 454, 0, 440, 439, 454, 0, 389, 533, 0, - 385, 385, 0, 0, 493, 492, 501, 501, 0, 491, - 490, 0, 0, 480, 479, 0, 478, 477, 0, 0, - 328, 327, 332, 332, 332, 332, 0, 309, 309, 309, - 309, 0, 0, 0, 271, 270, 309, 309, 309, 309, - 309, 309, 309, 309, 309, 309, 309, 0, 0, 0, - - 0, 0, 205, 205, 0, 0, 205, 205, 205, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 416, 416, - 416, 416, 0, 471, 0, 570, 0, 0, 0, 163, - 0, 0, 0, 176, 0, 357, 357, 357, 357, 0, - 347, 346, 357, 357, 0, 0, 23, 0, 0, 0, - 0, 522, 0, 0, 522, 522, 522, 0, 0, 557, - 0, 79, 0, 59, 58, 0, 0, 0, 57, 56, - 79, 0, 0, 79, 0, 0, 425, 424, 0, 423, - 422, 433, 0, 370, 0, 224, 224, 224, 0, 150, - 150, 0, 0, 0, 0, 0, 0, 49, 0, 0, - - 102, 0, 0, 102, 0, 0, 0, 0, 12, 0, - 578, 579, 131, 0, 0, 0, 0, 0, 0, 0, - 181, 0, 0, 390, 0, 0, 154, 0, 337, 0, - 0, 549, 0, 421, 0, 39, 548, 0, 0, 0, - 0, 0, 180, 0, 0, 389, 336, 420, 0, 38, - 421, 420, 454, 454, 454, 0, 0, 0, 0, 0, - 385, 385, 0, 501, 501, 0, 0, 0, 0, 332, - 332, 332, 0, 309, 0, 0, 309, 309, 0, 267, - 266, 309, 309, 0, 0, 309, 309, 309, 309, 309, - 309, 309, 309, 0, 0, 0, 231, 230, 0, 236, - - 205, 205, 0, 187, 186, 0, 0, 205, 0, 0, - 205, 0, 155, 0, 0, 246, 245, 0, 0, 30, - 29, 0, 416, 416, 416, 0, 0, 416, 0, 471, - 0, 0, 0, 0, 0, 159, 158, 163, 0, 0, - 172, 171, 176, 0, 357, 0, 0, 357, 357, 0, - 0, 357, 0, 0, 23, 0, 0, 0, 0, 522, - 0, 508, 507, 522, 522, 522, 0, 0, 0, 0, - 0, 79, 0, 61, 60, 79, 0, 65, 64, 79, - 0, 433, 0, 370, 0, 224, 224, 224, 0, 150, - 0, 0, 0, 142, 141, 0, 0, 0, 43, 42, - - 49, 0, 0, 102, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 11, 131, 0, 0, 0, 0, 0, - 0, 537, 0, 0, 0, 0, 154, 0, 0, 0, - 52, 421, 362, 0, 39, 0, 0, 0, 0, 0, - 0, 0, 0, 420, 361, 0, 38, 0, 0, 0, - 0, 0, 454, 0, 0, 0, 529, 528, 0, 385, - 385, 0, 0, 0, 0, 0, 0, 0, 0, 324, - 323, 0, 0, 332, 0, 0, 0, 309, 0, 287, - 286, 0, 0, 309, 309, 309, 0, 265, 264, 0, - 0, 309, 309, 309, 309, 0, 0, 309, 309, 0, - - 0, 205, 205, 0, 185, 184, 0, 0, 0, 0, - 0, 205, 0, 206, 155, 0, 0, 0, 416, 416, - 416, 0, 0, 0, 416, 0, 417, 471, 0, 0, - 566, 565, 0, 163, 0, 0, 0, 0, 357, 0, - 343, 342, 0, 0, 357, 0, 341, 340, 357, 0, - 358, 0, 23, 0, 538, 0, 53, 522, 522, 522, - 522, 0, 0, 0, 553, 552, 0, 558, 79, 79, - 79, 0, 433, 0, 370, 0, 0, 0, 224, 0, - 0, 0, 150, 0, 140, 139, 0, 0, 49, 0, - 0, 102, 0, 0, 0, 0, 0, 0, 0, 0, - - 0, 96, 95, 0, 0, 0, 0, 0, 0, 438, - 0, 0, 0, 0, 314, 255, 537, 0, 28, 0, - 0, 0, 0, 505, 52, 362, 210, 0, 437, 0, - 0, 0, 313, 254, 0, 27, 361, 209, 0, 0, - 446, 445, 0, 444, 443, 454, 0, 0, 0, 385, - 0, 0, 0, 0, 497, 496, 0, 495, 494, 0, - 0, 0, 318, 317, 0, 0, 0, 320, 319, 0, - 309, 0, 289, 288, 309, 309, 309, 0, 259, 258, - 0, 0, 309, 309, 309, 0, 261, 260, 309, 309, - 0, 0, 205, 205, 0, 201, 200, 0, 0, 205, - - 0, 0, 0, 416, 0, 0, 416, 416, 0, 0, - 416, 471, 0, 0, 163, 0, 164, 0, 170, 169, - 0, 357, 0, 345, 344, 357, 357, 0, 0, 0, - 0, 538, 506, 53, 522, 522, 522, 522, 0, 0, - 79, 0, 0, 79, 0, 433, 0, 434, 370, 0, - 0, 220, 219, 0, 0, 224, 0, 214, 213, 0, - 0, 0, 150, 0, 0, 49, 0, 0, 50, 0, + 62, 62, 0, 0, 62, 0, 0, 64, 0, 0, + 73, 0, 0, 75, 0, 88, 0, 82, 81, 88, + 0, 0, 90, 0, 0, 0, 105, 105, 0, 0, + 0, 0, 107, 0, 0, 0, 0, 0, 0, 0, + 120, 0, 0, 125, 124, 0, 127, 126, 0, 0, + 141, 141, 141, 141, 0, 0, 143, 0, 200, 200, + 200, 200, 0, 158, 157, 200, 0, 162, 161, 0, + 0, 200, 200, 200, 200, 200, 200, 200, 200, 200, + 200, 0, 0, 202, 0, 0, 207, 206, 0, 0, + + 213, 0, 222, 0, 0, 224, 0, 251, 251, 251, + 0, 237, 236, 251, 251, 251, 0, 0, 253, 0, + 0, 0, 266, 0, 260, 259, 0, 262, 261, 0, + 0, 268, 0, 277, 0, 0, 279, 0, 308, 0, + 288, 287, 308, 308, 308, 0, 0, 310, 0, 325, + 0, 321, 320, 0, 0, 327, 0, 0, 332, 331, + 338, 0, 0, 340, 0, 351, 351, 0, 0, 353, + 0, 364, 364, 0, 0, 366, 0, 389, 389, 389, + 389, 0, 379, 378, 0, 0, 389, 389, 0, 0, + 391, 0, 0, 400, 0, 0, 402, 0, 0, 0, + + 0, 421, 421, 421, 421, 421, 0, 0, 423, 0, + 0, 0, 428, 427, 434, 0, 0, 436, 0, 465, + 0, 449, 448, 0, 0, 465, 0, 0, 465, 465, + 465, 0, 0, 467, 0, 0, 0, 0, 0, 482, + 0, 0, 484, 0, 495, 0, 491, 490, 0, 0, + 497, 0, 514, 514, 0, 508, 507, 514, 0, 0, + 516, 0, 533, 0, 525, 524, 533, 533, 0, 0, + 535, 0, 0, 548, 0, 542, 541, 548, 0, 0, + 0, 550, 0, 570, 570, 570, 0, 0, 572, 0, + 0, 0, 581, 575, 0, 0, 41, 0, 42, 0, + + 0, 0, 0, 0, 0, 0, 216, 227, 0, 282, + 0, 0, 0, 369, 0, 0, 426, 0, 0, 0, + 0, 425, 0, 0, 0, 0, 0, 215, 226, 0, + 281, 368, 0, 0, 0, 0, 0, 0, 48, 47, + 62, 62, 0, 54, 53, 62, 0, 281, 73, 0, + 88, 88, 0, 0, 95, 94, 105, 105, 0, 101, + 100, 0, 0, 112, 111, 0, 114, 113, 0, 0, + 129, 128, 141, 141, 141, 141, 0, 200, 200, 200, + 200, 0, 0, 0, 164, 163, 200, 200, 200, 200, + 200, 200, 200, 200, 200, 200, 200, 0, 0, 0, + + 0, 0, 251, 251, 0, 0, 251, 251, 251, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 308, 308, + 308, 308, 0, 325, 0, 338, 0, 0, 0, 351, + 0, 0, 0, 364, 0, 389, 389, 389, 389, 0, + 381, 380, 389, 389, 0, 0, 400, 0, 0, 0, + 0, 421, 0, 0, 421, 421, 421, 0, 0, 434, + 0, 465, 0, 451, 450, 0, 0, 0, 455, 454, + 465, 0, 0, 465, 0, 0, 472, 471, 0, 474, + 473, 482, 0, 495, 0, 514, 514, 514, 0, 533, + 533, 0, 0, 0, 0, 0, 0, 548, 0, 0, + + 570, 0, 0, 570, 0, 0, 0, 0, 12, 0, + 578, 579, 41, 0, 0, 0, 0, 0, 0, 0, + 227, 0, 0, 282, 0, 0, 342, 0, 369, 0, + 0, 426, 0, 470, 0, 538, 425, 0, 0, 0, + 0, 0, 226, 0, 0, 281, 368, 469, 0, 537, + 470, 469, 62, 62, 62, 0, 0, 0, 0, 0, + 88, 88, 0, 105, 105, 0, 0, 0, 0, 141, + 141, 141, 0, 200, 0, 0, 200, 200, 0, 160, + 159, 200, 200, 0, 0, 200, 200, 200, 200, 200, + 200, 200, 200, 0, 0, 0, 218, 217, 0, 223, + + 251, 251, 0, 235, 234, 0, 0, 251, 0, 0, + 251, 0, 343, 0, 0, 258, 257, 0, 0, 273, + 272, 0, 308, 308, 308, 0, 0, 308, 0, 325, + 0, 0, 0, 0, 0, 345, 344, 351, 0, 0, + 358, 357, 364, 0, 389, 0, 0, 389, 389, 0, + 0, 389, 0, 0, 400, 0, 0, 0, 0, 421, + 0, 409, 408, 421, 421, 421, 0, 0, 0, 0, + 0, 465, 0, 453, 452, 465, 0, 459, 458, 465, + 0, 482, 0, 495, 0, 514, 514, 514, 0, 533, + 0, 0, 0, 529, 528, 0, 0, 0, 540, 539, + + 548, 0, 0, 570, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 11, 41, 0, 0, 0, 0, 0, + 0, 204, 0, 0, 0, 0, 342, 0, 0, 0, + 438, 470, 487, 0, 538, 0, 0, 0, 0, 0, + 0, 0, 0, 469, 486, 0, 537, 0, 0, 0, + 0, 0, 62, 0, 0, 0, 69, 68, 0, 88, + 88, 0, 0, 0, 0, 0, 0, 0, 0, 131, + 130, 0, 0, 141, 0, 0, 0, 200, 0, 150, + 149, 0, 0, 200, 200, 200, 0, 172, 171, 0, + 0, 200, 200, 200, 200, 0, 0, 200, 200, 0, + + 0, 251, 251, 0, 239, 238, 0, 0, 0, 0, + 0, 251, 0, 252, 343, 0, 0, 0, 308, 308, + 308, 0, 0, 0, 308, 0, 309, 325, 0, 0, + 334, 333, 0, 351, 0, 0, 0, 0, 389, 0, + 373, 372, 0, 0, 389, 0, 383, 382, 389, 0, + 390, 0, 400, 0, 205, 0, 439, 421, 421, 421, + 421, 0, 0, 0, 430, 429, 0, 435, 465, 465, + 465, 0, 482, 0, 495, 0, 0, 0, 514, 0, + 0, 0, 533, 0, 527, 526, 0, 0, 548, 0, + 0, 570, 0, 0, 0, 0, 0, 0, 0, 0, + + 0, 566, 565, 0, 0, 0, 0, 0, 0, 46, + 0, 0, 0, 0, 123, 146, 204, 0, 271, 0, + 0, 0, 0, 404, 438, 487, 500, 0, 45, 0, + 0, 0, 122, 145, 0, 270, 486, 499, 0, 0, + 50, 49, 0, 52, 51, 62, 0, 0, 0, 88, + 0, 0, 0, 0, 97, 96, 0, 99, 98, 0, + 0, 0, 133, 132, 0, 0, 0, 137, 136, 0, + 200, 0, 152, 151, 200, 200, 200, 0, 174, 173, + 0, 0, 200, 200, 200, 0, 188, 187, 200, 200, + 0, 0, 251, 251, 0, 241, 240, 0, 0, 251, + + 0, 0, 0, 308, 0, 0, 308, 308, 0, 0, + 308, 325, 0, 0, 351, 0, 352, 0, 360, 359, + 0, 389, 0, 375, 374, 389, 389, 0, 0, 0, + 0, 205, 405, 439, 421, 421, 421, 421, 0, 0, + 465, 0, 0, 465, 0, 482, 0, 483, 495, 0, + 0, 502, 501, 0, 0, 514, 0, 510, 509, 0, + 0, 0, 533, 0, 0, 548, 0, 0, 549, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 438, 526, - 375, 0, 0, 314, 255, 0, 28, 458, 0, 167, - - 16, 505, 210, 0, 0, 437, 374, 0, 0, 313, - 254, 0, 27, 209, 0, 0, 454, 0, 459, 0, - 385, 0, 381, 380, 0, 0, 0, 0, 322, 321, - 0, 309, 309, 309, 309, 0, 263, 262, 309, 309, - 309, 309, 0, 0, 0, 0, 545, 205, 205, 0, - 0, 0, 0, 205, 168, 0, 0, 416, 0, 398, - 397, 416, 416, 0, 0, 0, 0, 416, 471, 0, - 0, 163, 0, 357, 357, 357, 17, 0, 19, 18, - 0, 506, 0, 0, 522, 522, 522, 0, 527, 79, - 0, 67, 66, 79, 0, 80, 433, 370, 0, 371, - - 0, 216, 215, 224, 0, 0, 144, 143, 150, 0, - 0, 49, 586, 0, 98, 97, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 46, 66, + 78, 0, 0, 123, 146, 0, 271, 312, 0, 355, + + 393, 404, 500, 0, 0, 45, 77, 0, 0, 122, + 145, 0, 270, 499, 0, 0, 62, 0, 313, 0, + 88, 0, 84, 83, 0, 0, 0, 0, 135, 134, + 0, 200, 200, 200, 200, 0, 176, 175, 200, 200, + 200, 200, 0, 0, 0, 0, 212, 251, 251, 0, + 0, 0, 0, 251, 356, 0, 0, 308, 0, 290, + 289, 308, 308, 0, 0, 0, 0, 308, 325, 0, + 0, 351, 0, 389, 389, 389, 394, 0, 396, 395, + 0, 405, 0, 0, 421, 421, 421, 0, 67, 465, + 0, 457, 456, 465, 0, 466, 482, 495, 0, 496, + + 0, 504, 503, 514, 0, 0, 521, 520, 533, 0, + 0, 548, 586, 0, 554, 553, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 526, 375, 0, 0, 240, 458, 0, 167, 16, 0, - 0, 374, 0, 0, 239, 0, 0, 454, 0, 455, - 459, 0, 0, 0, 0, 0, 0, 0, 333, 309, - 309, 309, 309, 309, 0, 0, 309, 309, 309, 0, - 0, 0, 0, 310, 205, 205, 0, 193, 0, 192, - 205, 168, 0, 0, 35, 0, 0, 416, 416, 416, - - 0, 402, 0, 401, 416, 0, 0, 0, 0, 0, - 0, 0, 357, 357, 357, 17, 0, 0, 510, 509, - 0, 0, 522, 522, 0, 523, 527, 0, 0, 79, - 433, 370, 224, 0, 225, 150, 0, 0, 49, 0, + 66, 78, 0, 0, 256, 312, 0, 355, 393, 0, + 0, 77, 0, 0, 255, 0, 0, 62, 0, 63, + 313, 0, 0, 0, 0, 0, 0, 0, 142, 200, + 200, 200, 200, 200, 0, 0, 200, 200, 200, 0, + 0, 0, 0, 201, 251, 251, 0, 243, 0, 242, + 251, 356, 0, 0, 278, 0, 0, 308, 308, 308, + + 0, 300, 0, 299, 308, 0, 0, 0, 0, 0, + 0, 0, 389, 389, 389, 394, 0, 0, 407, 406, + 0, 0, 421, 421, 0, 422, 67, 0, 0, 465, + 482, 495, 514, 0, 515, 533, 0, 0, 548, 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, 240, 561, 0, - 0, 0, 0, 239, 0, 0, 454, 0, 534, 0, - 379, 378, 0, 386, 0, 0, 309, 309, 309, 309, - 309, 0, 299, 298, 309, 0, 0, 309, 0, 0, - - 0, 0, 205, 205, 195, 194, 0, 0, 0, 0, - 394, 393, 416, 416, 416, 404, 403, 0, 0, 0, - 0, 0, 0, 472, 0, 0, 157, 156, 0, 177, - 357, 357, 0, 0, 0, 24, 0, 514, 513, 0, - 0, 0, 0, 0, 0, 0, 79, 433, 370, 224, - 150, 0, 562, 49, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 256, 329, 0, + 0, 0, 0, 255, 0, 0, 62, 0, 74, 0, + 80, 79, 0, 89, 0, 0, 200, 200, 200, 200, + 200, 0, 178, 177, 200, 0, 0, 200, 0, 0, + + 0, 0, 251, 251, 245, 244, 0, 0, 0, 0, + 284, 283, 308, 308, 308, 302, 301, 0, 0, 0, + 0, 0, 0, 326, 0, 0, 347, 346, 0, 365, + 389, 389, 0, 0, 0, 401, 0, 411, 410, 0, + 0, 0, 0, 0, 0, 0, 465, 482, 495, 514, + 533, 0, 330, 548, 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, 476, 561, 0, 0, 0, 475, 0, 0, 0, - 0, 0, 0, 309, 309, 309, 0, 0, 309, 309, - - 0, 297, 296, 309, 0, 0, 0, 0, 0, 0, - 205, 0, 0, 0, 197, 196, 0, 251, 416, 416, - 416, 0, 406, 405, 0, 0, 0, 0, 0, 0, - 0, 357, 0, 0, 0, 353, 352, 0, 0, 0, - 0, 512, 511, 0, 0, 0, 0, 0, 0, 79, - 0, 0, 0, 0, 224, 150, 0, 562, 0, 0, - 0, 0, 0, 0, 88, 0, 0, 0, 0, 87, + 0, 110, 329, 0, 0, 0, 109, 0, 0, 0, + 0, 0, 0, 200, 200, 200, 0, 0, 200, 200, + + 0, 186, 185, 200, 0, 0, 0, 0, 0, 0, + 251, 0, 0, 0, 247, 246, 0, 267, 308, 308, + 308, 0, 304, 303, 0, 0, 0, 0, 0, 0, + 0, 389, 0, 0, 0, 385, 384, 0, 0, 0, + 0, 417, 416, 0, 0, 0, 0, 0, 0, 465, + 0, 0, 0, 0, 514, 533, 0, 330, 0, 0, + 0, 0, 0, 0, 558, 0, 0, 0, 0, 557, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 476, 136, 0, - 0, 475, 135, 0, 0, 0, 0, 0, 0, 309, + 0, 0, 0, 0, 0, 0, 0, 110, 519, 0, + 0, 109, 518, 0, 0, 0, 0, 0, 0, 200, - 309, 0, 0, 0, 303, 302, 0, 0, 309, 309, - 0, 0, 0, 0, 0, 0, 0, 0, 205, 0, - 199, 198, 416, 0, 0, 416, 0, 0, 0, 0, - 0, 0, 0, 571, 357, 0, 349, 348, 0, 0, + 200, 0, 0, 0, 168, 167, 0, 0, 200, 200, + 0, 0, 0, 0, 0, 0, 0, 0, 251, 0, + 233, 232, 308, 0, 0, 308, 0, 0, 0, 0, + 0, 0, 0, 339, 389, 0, 377, 376, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 79, 0, 0, 0, 0, 366, 365, 0, 0, 0, - 0, 0, 0, 45, 44, 0, 0, 0, 0, 0, + 465, 0, 0, 0, 0, 489, 488, 0, 0, 0, + 0, 0, 0, 544, 543, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 111, 119, 0, 0, 0, 0, 110, 118, 0, - 489, 136, 84, 488, 135, 83, 0, 0, 0, 0, + 0, 21, 29, 0, 0, 0, 0, 20, 28, 0, + 93, 519, 552, 92, 518, 551, 0, 0, 0, 0, - 0, 0, 485, 309, 309, 0, 301, 300, 0, 305, - 304, 309, 309, 0, 0, 0, 0, 0, 0, 0, - 189, 188, 205, 416, 0, 400, 399, 416, 0, 0, - 463, 0, 0, 462, 357, 0, 0, 0, 0, 0, + 0, 0, 119, 200, 200, 0, 166, 165, 0, 170, + 169, 200, 200, 0, 0, 0, 0, 0, 0, 0, + 229, 228, 251, 308, 0, 292, 291, 308, 0, 0, + 315, 0, 0, 314, 389, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 218, 217, 0, 146, 145, 0, - 0, 0, 94, 0, 0, 0, 93, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 113, 0, 0, - 0, 112, 0, 489, 84, 488, 83, 0, 0, 0, - 0, 0, 309, 309, 0, 0, 309, 0, 279, 0, - - 0, 278, 0, 205, 0, 0, 0, 0, 0, 0, - 0, 0, 357, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 63, 62, 0, 0, - 0, 0, 0, 151, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 506, 505, 0, 523, 522, 0, + 0, 0, 564, 0, 0, 0, 563, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 23, 0, 0, + 0, 22, 0, 93, 552, 92, 551, 0, 0, 0, + 0, 0, 200, 200, 0, 0, 200, 0, 192, 0, + + 0, 191, 0, 251, 0, 0, 0, 0, 0, 0, + 0, 0, 389, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 461, 460, 0, 0, + 0, 0, 0, 534, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 450, 0, 449, 0, 0, 502, 309, - 309, 0, 0, 0, 0, 0, 0, 281, 0, 280, - 205, 0, 396, 395, 0, 0, 0, 465, 467, 464, - 466, 357, 516, 0, 515, 0, 0, 75, 71, 0, - 0, 74, 70, 0, 429, 0, 428, 0, 92, 0, - - 0, 91, 0, 0, 0, 103, 0, 0, 0, 12, - 0, 12, 0, 123, 0, 0, 121, 122, 0, 0, - 120, 448, 447, 309, 309, 0, 0, 0, 0, 0, - 285, 284, 0, 0, 205, 0, 0, 0, 0, 357, - 0, 0, 0, 0, 0, 0, 427, 426, 86, 90, - 85, 89, 0, 0, 0, 0, 0, 0, 0, 115, - 0, 0, 0, 114, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 58, 0, 57, 0, 0, 106, 200, + 200, 0, 0, 0, 0, 0, 0, 194, 0, 193, + 251, 0, 286, 285, 0, 0, 0, 317, 319, 316, + 318, 389, 413, 0, 412, 0, 0, 447, 443, 0, + 0, 446, 442, 0, 478, 0, 477, 0, 562, 0, + + 0, 561, 0, 0, 0, 571, 0, 0, 0, 12, + 0, 12, 0, 33, 0, 0, 31, 32, 0, 0, + 30, 56, 55, 200, 200, 0, 0, 0, 0, 0, + 190, 189, 0, 0, 251, 0, 0, 0, 0, 389, + 0, 0, 0, 0, 0, 0, 476, 475, 556, 560, + 555, 559, 0, 0, 0, 0, 0, 0, 0, 25, + 0, 0, 0, 24, 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, 295, 294, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 283, 282, 0, 191, 190, 0, 0, - 0, 0, 0, 0, 0, 351, 350, 0, 0, 69, - 0, 68, 0, 0, 11, 0, 0, 0, 0, 0, + 0, 0, 148, 147, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 196, 195, 0, 231, 230, 0, 0, + 0, 0, 0, 0, 0, 371, 370, 0, 0, 441, + 0, 440, 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, 518, 517, 0, + 0, 0, 0, 0, 0, 0, 0, 415, 414, 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, 73, 72, 0, 0, 0, 0, + 0, 0, 0, 0, 445, 444, 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, 125, 117, 0, 124, 116, 0, 0, 0, 0, - 0, 0, 273, 0, 0, 272, 0, 0, 408, 0, - 0, 407, 0, 0, 0, 0, 0, 0, 0, 277, - 0, 276, 0, 410, 0, 409, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 127, - 126, 0, 291, 0, 290, 0, 0, 0, 0, 0, - 0, 293, 292, 275, 274, 412, 411, 0, 0, 0, + 0, 35, 27, 0, 34, 26, 0, 0, 0, 0, + 0, 0, 180, 0, 0, 179, 0, 0, 294, 0, + 0, 293, 0, 0, 0, 0, 0, 0, 0, 184, + 0, 183, 0, 296, 0, 295, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 37, + 36, 0, 154, 0, 153, 0, 0, 0, 0, 0, + 0, 156, 155, 182, 181, 298, 297, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -4510,34 +4510,34 @@ static yyconst flex_int16_t yy_chk[12587] = static yyconst flex_int32_t yy_rule_can_match_eol[596] = { 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, - 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 1, - 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 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, 0, 0, 0, 0, - 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, + 1, 1, 1, 1, 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, 1, 1, 1, 1, 1, 1, 1, 1, 0, + 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, + 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 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, 1, 1, 1, 1, 0, 0, + 0, 0, 1, 1, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, + 0, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 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, 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, 0, 0, 0, 0, 1, 1, 0, - 1, 1, 1, 1, 1, 1, 1, 1, 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, 1, 1, 1, 1, 1, - 1, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, - 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 1, 1, + 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 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, 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, + 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, + 0, 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, 1, 1, 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, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1, 1, 1, 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, 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, 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, 0, 0, - 0, 0, 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, 0, 0, 0, 0, 1, 1, 0, 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, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, + 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, }; static yy_state_type yy_last_accepting_state; @@ -4999,23 +4999,23 @@ short int surfxml_trace___connect_trace_isset; /* XML state. */ #ifdef FLEX_DEBUG -# define ENTER(state) debug_enter(state,#state) -# define LEAVE debug_leave() -# define SET(state) debug_set(state,#state) +# define ENTER(state) debug_enter(state,#state) +# define LEAVE debug_leave() +# define SET(state) debug_set(state,#state) static void debug_enter(int, const char*); static void debug_leave(void); static void debug_set(int, const char*); #else -# define ENTER(state) (yy_push_state(state)) -# define LEAVE (yy_pop_state()) -# define SET(state) BEGIN(state) +# define ENTER(state) (yy_push_state(state)) +# define LEAVE (yy_pop_state()) +# define SET(state) BEGIN(state) #endif /* Generic actions. */ -#define SKIP /*skip*/ +#define SKIP /*skip*/ #define SUCCEED CLEANUP; return 0 -#define FAIL return fail +#define FAIL return fail static int fail(const char*, ...); enum {flexml_max_err_msg_size = 512}; @@ -5052,12 +5052,12 @@ static int inext = 1; static int ck_blimit() { if (bnext >= blimit) { - blimit += FLEXML_BUFFERSTACKSIZE + 2; - { - char *temp = (char *) realloc(surfxml_bufferstack, blimit); - assert(temp); - surfxml_bufferstack = temp; - } + blimit += FLEXML_BUFFERSTACKSIZE + 2; + { + char *temp = (char *) realloc(surfxml_bufferstack, blimit); + assert(temp); + surfxml_bufferstack = temp; + } } return 0; } @@ -5066,12 +5066,12 @@ static int ck_blimit() static int ck_ilimit() { if (inext >= ilimit) { - ilimit += FLEXML_INDEXSTACKSIZE + 2; - { - int *temp = (int *) realloc(indexstack, ilimit); - assert(temp); - indexstack = temp; - } + ilimit += FLEXML_INDEXSTACKSIZE + 2; + { + int *temp = (int *) realloc(indexstack, ilimit); + assert(temp); + indexstack = temp; + } } return 0; } @@ -5085,16 +5085,16 @@ static void surfxml_bufferliteral(char c, int* pp, const char* text) assert(s && e && s <= e); ++s; while (s < e) { - if (isspace(*s)) { - BUFFERPUTC(' '); - do ++s; while (s < e && isspace(*s)); - } else - BUFFERPUTC(*s++); + if (isspace(*s)) { + BUFFERPUTC(' '); + do ++s; while (s < e && isspace(*s)); + } else + BUFFERPUTC(*s++); } } else { const char *s = text; while (*s) - BUFFERPUTC(*s++); + BUFFERPUTC(*s++); } BUFFERDONE; } @@ -5128,18 +5128,18 @@ static int popbuffer(void) /* Miscellaneous. */ /* Parser states (flex `exclusive start conditions'): * - * PROLOG the XML prolog of the document before - * DOCTYPE the XML prolog of the document after - * EPILOG after the root element - * INCOMMENT inside an XML comment - * INPI inside an XML PI - * VALUE1 inside a '...'-delimited literal - * VALUE2 inside a "..."-delimited literal - * CDATA inside a section. - * ROOT_ expect root element - * AL_ inside the attribute list for - * IN_ inside a with element contents (ready for end tag) - * IMPOSSIBLE dummy to permit disabling rules; must be last + * PROLOG the XML prolog of the document before + * DOCTYPE the XML prolog of the document after + * EPILOG after the root element + * INCOMMENT inside an XML comment + * INPI inside an XML PI + * VALUE1 inside a '...'-delimited literal + * VALUE2 inside a "..."-delimited literal + * CDATA inside a section. + * ROOT_ expect root element + * AL_ inside the attribute list for + * IN_ inside a with element contents (ready for end tag) + * IMPOSSIBLE dummy to permit disabling rules; must be last */ /* State names. */ @@ -5380,33 +5380,33 @@ static int input (void ); */ #ifndef YY_INPUT #define YY_INPUT(buf,result,max_size) \ - if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ - { \ - int c = '*'; \ - size_t n; \ - for ( n = 0; n < max_size && \ - (c = getc( surf_parse_in )) != EOF && c != '\n'; ++n ) \ - buf[n] = (char) c; \ - if ( c == '\n' ) \ - buf[n++] = (char) c; \ - if ( c == EOF && ferror( surf_parse_in ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); \ - result = n; \ - } \ - else \ - { \ - errno=0; \ - while ( (result = fread(buf, 1, max_size, surf_parse_in))==0 && ferror(surf_parse_in)) \ - { \ - if( errno != EINTR) \ - { \ - YY_FATAL_ERROR( "input in flex scanner failed" ); \ - break; \ - } \ - errno=0; \ - clearerr(surf_parse_in); \ - } \ - }\ + if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ + { \ + int c = '*'; \ + size_t n; \ + for ( n = 0; n < max_size && \ + (c = getc( surf_parse_in )) != EOF && c != '\n'; ++n ) \ + buf[n] = (char) c; \ + if ( c == '\n' ) \ + buf[n++] = (char) c; \ + if ( c == EOF && ferror( surf_parse_in ) ) \ + YY_FATAL_ERROR( "input in flex scanner failed" ); \ + result = n; \ + } \ + else \ + { \ + errno=0; \ + while ( (result = fread(buf, 1, max_size, surf_parse_in))==0 && ferror(surf_parse_in)) \ + { \ + if( errno != EINTR) \ + { \ + YY_FATAL_ERROR( "input in flex scanner failed" ); \ + break; \ + } \ + errno=0; \ + clearerr(surf_parse_in); \ + } \ + }\ \ #endif @@ -5455,43 +5455,43 @@ extern int surf_parse_lex (void); #endif #define YY_RULE_SETUP \ - YY_USER_ACTION + YY_USER_ACTION /** The main scanner function which does all the work. */ YY_DECL { - yy_state_type yy_current_state; - char *yy_cp, *yy_bp; - int yy_act; + yy_state_type yy_current_state; + char *yy_cp, *yy_bp; + int yy_act; - if ( !(yy_init) ) - { - (yy_init) = 1; + if ( !(yy_init) ) + { + (yy_init) = 1; #ifdef YY_USER_INIT - YY_USER_INIT; + YY_USER_INIT; #endif - if ( ! (yy_start) ) - (yy_start) = 1; /* first start state */ + if ( ! (yy_start) ) + (yy_start) = 1; /* first start state */ - if ( ! surf_parse_in ) - surf_parse_in = stdin; + if ( ! surf_parse_in ) + surf_parse_in = stdin; - if ( ! surf_parse_out ) - surf_parse_out = stdout; + if ( ! surf_parse_out ) + surf_parse_out = stdout; - if ( ! YY_CURRENT_BUFFER ) { - surf_parse_ensure_buffer_stack (); - YY_CURRENT_BUFFER_LVALUE = - surf_parse__create_buffer(surf_parse_in,YY_BUF_SIZE ); - } + if ( ! YY_CURRENT_BUFFER ) { + surf_parse_ensure_buffer_stack (); + YY_CURRENT_BUFFER_LVALUE = + surf_parse__create_buffer(surf_parse_in,YY_BUF_SIZE ); + } - surf_parse__load_buffer_state( ); - } + surf_parse__load_buffer_state( ); + } - { + { /* Bypass Flex's default INITIAL state and begin by parsing the XML prolog. */ SET(PROLOG); @@ -5533,31 +5533,7 @@ YY_DECL surfxml_statenames[VALUE1] = NULL; surfxml_statenames[VALUE2] = NULL; surfxml_statenames[CDATA] = NULL; - surfxml_statenames[ROOT_surfxml_platform] = NULL; - surfxml_statenames[AL_surfxml_platform] = NULL; - surfxml_statenames[E_surfxml_platform] = "platform"; - surfxml_statenames[S_surfxml_platform] = "platform"; - surfxml_statenames[S_surfxml_platform_1] = "platform"; - surfxml_statenames[S_surfxml_platform_2] = "platform"; - surfxml_statenames[S_surfxml_platform_3] = "platform"; - surfxml_statenames[S_surfxml_platform_4] = "platform"; - surfxml_statenames[S_surfxml_platform_5] = "platform"; - surfxml_statenames[S_surfxml_platform_6] = "platform"; - surfxml_statenames[S_surfxml_platform_7] = "platform"; - surfxml_statenames[S_surfxml_platform_8] = "platform"; - surfxml_statenames[AL_surfxml_include] = NULL; - surfxml_statenames[E_surfxml_include] = "include"; - surfxml_statenames[S_surfxml_include] = "include"; - surfxml_statenames[S_surfxml_include_1] = "include"; - surfxml_statenames[S_surfxml_include_2] = "include"; - surfxml_statenames[AL_surfxml_trace] = NULL; - surfxml_statenames[IN_trace] = "trace"; - surfxml_statenames[AL_surfxml_random] = NULL; - surfxml_statenames[E_surfxml_random] = "random"; - surfxml_statenames[AL_surfxml_trace___connect] = NULL; - surfxml_statenames[E_surfxml_trace___connect] = "trace_connect"; surfxml_statenames[AL_surfxml_AS] = NULL; - surfxml_statenames[E_surfxml_AS] = "AS"; surfxml_statenames[S_surfxml_AS] = "AS"; surfxml_statenames[S_surfxml_AS_1] = "AS"; surfxml_statenames[S_surfxml_AS_2] = "AS"; @@ -5567,3964 +5543,3988 @@ YY_DECL surfxml_statenames[S_surfxml_AS_6] = "AS"; surfxml_statenames[S_surfxml_AS_7] = "AS"; surfxml_statenames[S_surfxml_AS_8] = "AS"; - surfxml_statenames[AL_surfxml_storage___type] = NULL; - surfxml_statenames[E_surfxml_storage___type] = "storage_type"; - surfxml_statenames[S_surfxml_storage___type] = "storage_type"; - surfxml_statenames[S_surfxml_storage___type_1] = "storage_type"; - surfxml_statenames[S_surfxml_storage___type_2] = "storage_type"; - surfxml_statenames[AL_surfxml_mount] = NULL; - surfxml_statenames[E_surfxml_mount] = "mount"; - surfxml_statenames[AL_surfxml_mstorage] = NULL; - surfxml_statenames[E_surfxml_mstorage] = "mstorage"; + surfxml_statenames[E_surfxml_AS] = "AS"; + surfxml_statenames[AL_surfxml_ASroute] = NULL; + surfxml_statenames[S_surfxml_ASroute] = "ASroute"; + surfxml_statenames[S_surfxml_ASroute_1] = "ASroute"; + surfxml_statenames[S_surfxml_ASroute_2] = "ASroute"; + surfxml_statenames[E_surfxml_ASroute] = "ASroute"; + surfxml_statenames[AL_surfxml_argument] = NULL; + surfxml_statenames[E_surfxml_argument] = "argument"; + surfxml_statenames[AL_surfxml_backbone] = NULL; + surfxml_statenames[E_surfxml_backbone] = "backbone"; + surfxml_statenames[AL_surfxml_bypassASroute] = NULL; + surfxml_statenames[S_surfxml_bypassASroute] = "bypassASroute"; + surfxml_statenames[S_surfxml_bypassASroute_1] = "bypassASroute"; + surfxml_statenames[S_surfxml_bypassASroute_2] = "bypassASroute"; + surfxml_statenames[E_surfxml_bypassASroute] = "bypassASroute"; + surfxml_statenames[AL_surfxml_bypassRoute] = NULL; + surfxml_statenames[S_surfxml_bypassRoute] = "bypassRoute"; + surfxml_statenames[S_surfxml_bypassRoute_1] = "bypassRoute"; + surfxml_statenames[S_surfxml_bypassRoute_2] = "bypassRoute"; + surfxml_statenames[E_surfxml_bypassRoute] = "bypassRoute"; + surfxml_statenames[AL_surfxml_cabinet] = NULL; + surfxml_statenames[E_surfxml_cabinet] = "cabinet"; + surfxml_statenames[AL_surfxml_cluster] = NULL; + surfxml_statenames[S_surfxml_cluster] = "cluster"; + surfxml_statenames[S_surfxml_cluster_1] = "cluster"; + surfxml_statenames[S_surfxml_cluster_2] = "cluster"; + surfxml_statenames[E_surfxml_cluster] = "cluster"; + surfxml_statenames[AL_surfxml_config] = NULL; + surfxml_statenames[S_surfxml_config] = "config"; + surfxml_statenames[S_surfxml_config_1] = "config"; + surfxml_statenames[S_surfxml_config_2] = "config"; + surfxml_statenames[E_surfxml_config] = "config"; + surfxml_statenames[AL_surfxml_gpu] = NULL; + surfxml_statenames[E_surfxml_gpu] = "gpu"; surfxml_statenames[AL_surfxml_host] = NULL; - surfxml_statenames[E_surfxml_host] = "host"; surfxml_statenames[S_surfxml_host] = "host"; surfxml_statenames[S_surfxml_host_1] = "host"; surfxml_statenames[S_surfxml_host_2] = "host"; - surfxml_statenames[AL_surfxml_storage] = NULL; - surfxml_statenames[E_surfxml_storage] = "storage"; - surfxml_statenames[S_surfxml_storage] = "storage"; - surfxml_statenames[S_surfxml_storage_1] = "storage"; - surfxml_statenames[S_surfxml_storage_2] = "storage"; - surfxml_statenames[AL_surfxml_gpu] = NULL; - surfxml_statenames[E_surfxml_gpu] = "gpu"; + surfxml_statenames[E_surfxml_host] = "host"; surfxml_statenames[AL_surfxml_host___link] = NULL; surfxml_statenames[E_surfxml_host___link] = "host_link"; - surfxml_statenames[AL_surfxml_cluster] = NULL; - surfxml_statenames[E_surfxml_cluster] = "cluster"; - surfxml_statenames[S_surfxml_cluster] = "cluster"; - surfxml_statenames[S_surfxml_cluster_1] = "cluster"; - surfxml_statenames[S_surfxml_cluster_2] = "cluster"; - surfxml_statenames[AL_surfxml_cabinet] = NULL; - surfxml_statenames[E_surfxml_cabinet] = "cabinet"; - surfxml_statenames[AL_surfxml_peer] = NULL; - surfxml_statenames[E_surfxml_peer] = "peer"; - surfxml_statenames[AL_surfxml_router] = NULL; - surfxml_statenames[E_surfxml_router] = "router"; - surfxml_statenames[AL_surfxml_backbone] = NULL; - surfxml_statenames[E_surfxml_backbone] = "backbone"; + surfxml_statenames[AL_surfxml_include] = NULL; + surfxml_statenames[S_surfxml_include] = "include"; + surfxml_statenames[S_surfxml_include_1] = "include"; + surfxml_statenames[S_surfxml_include_2] = "include"; + surfxml_statenames[E_surfxml_include] = "include"; surfxml_statenames[AL_surfxml_link] = NULL; - surfxml_statenames[E_surfxml_link] = "link"; surfxml_statenames[S_surfxml_link] = "link"; surfxml_statenames[S_surfxml_link_1] = "link"; surfxml_statenames[S_surfxml_link_2] = "link"; - surfxml_statenames[AL_surfxml_route] = NULL; - surfxml_statenames[E_surfxml_route] = "route"; - surfxml_statenames[S_surfxml_route] = "route"; - surfxml_statenames[S_surfxml_route_1] = "route"; - surfxml_statenames[S_surfxml_route_2] = "route"; - surfxml_statenames[AL_surfxml_ASroute] = NULL; - surfxml_statenames[E_surfxml_ASroute] = "ASroute"; - surfxml_statenames[S_surfxml_ASroute] = "ASroute"; - surfxml_statenames[S_surfxml_ASroute_1] = "ASroute"; - surfxml_statenames[S_surfxml_ASroute_2] = "ASroute"; + surfxml_statenames[E_surfxml_link] = "link"; surfxml_statenames[AL_surfxml_link___ctn] = NULL; surfxml_statenames[E_surfxml_link___ctn] = "link_ctn"; - surfxml_statenames[AL_surfxml_bypassRoute] = NULL; - surfxml_statenames[E_surfxml_bypassRoute] = "bypassRoute"; - surfxml_statenames[S_surfxml_bypassRoute] = "bypassRoute"; - surfxml_statenames[S_surfxml_bypassRoute_1] = "bypassRoute"; - surfxml_statenames[S_surfxml_bypassRoute_2] = "bypassRoute"; - surfxml_statenames[AL_surfxml_bypassASroute] = NULL; - surfxml_statenames[E_surfxml_bypassASroute] = "bypassASroute"; - surfxml_statenames[S_surfxml_bypassASroute] = "bypassASroute"; - surfxml_statenames[S_surfxml_bypassASroute_1] = "bypassASroute"; - surfxml_statenames[S_surfxml_bypassASroute_2] = "bypassASroute"; + surfxml_statenames[AL_surfxml_model___prop] = NULL; + surfxml_statenames[E_surfxml_model___prop] = "model_prop"; + surfxml_statenames[AL_surfxml_mount] = NULL; + surfxml_statenames[E_surfxml_mount] = "mount"; + surfxml_statenames[AL_surfxml_mstorage] = NULL; + surfxml_statenames[E_surfxml_mstorage] = "mstorage"; + surfxml_statenames[AL_surfxml_peer] = NULL; + surfxml_statenames[E_surfxml_peer] = "peer"; + surfxml_statenames[ROOT_surfxml_platform] = NULL; + surfxml_statenames[AL_surfxml_platform] = NULL; + surfxml_statenames[S_surfxml_platform] = "platform"; + surfxml_statenames[S_surfxml_platform_1] = "platform"; + surfxml_statenames[S_surfxml_platform_2] = "platform"; + surfxml_statenames[S_surfxml_platform_3] = "platform"; + surfxml_statenames[S_surfxml_platform_4] = "platform"; + surfxml_statenames[S_surfxml_platform_5] = "platform"; + surfxml_statenames[S_surfxml_platform_6] = "platform"; + surfxml_statenames[S_surfxml_platform_7] = "platform"; + surfxml_statenames[S_surfxml_platform_8] = "platform"; + surfxml_statenames[E_surfxml_platform] = "platform"; surfxml_statenames[AL_surfxml_process] = NULL; - surfxml_statenames[E_surfxml_process] = "process"; surfxml_statenames[S_surfxml_process] = "process"; surfxml_statenames[S_surfxml_process_1] = "process"; surfxml_statenames[S_surfxml_process_2] = "process"; - surfxml_statenames[AL_surfxml_argument] = NULL; - surfxml_statenames[E_surfxml_argument] = "argument"; - surfxml_statenames[AL_surfxml_config] = NULL; - surfxml_statenames[E_surfxml_config] = "config"; - surfxml_statenames[S_surfxml_config] = "config"; - surfxml_statenames[S_surfxml_config_1] = "config"; - surfxml_statenames[S_surfxml_config_2] = "config"; + surfxml_statenames[E_surfxml_process] = "process"; surfxml_statenames[AL_surfxml_prop] = NULL; surfxml_statenames[E_surfxml_prop] = "prop"; - surfxml_statenames[AL_surfxml_model___prop] = NULL; - surfxml_statenames[E_surfxml_model___prop] = "model_prop"; + surfxml_statenames[AL_surfxml_random] = NULL; + surfxml_statenames[E_surfxml_random] = "random"; + surfxml_statenames[AL_surfxml_route] = NULL; + surfxml_statenames[S_surfxml_route] = "route"; + surfxml_statenames[S_surfxml_route_1] = "route"; + surfxml_statenames[S_surfxml_route_2] = "route"; + surfxml_statenames[E_surfxml_route] = "route"; + surfxml_statenames[AL_surfxml_router] = NULL; + surfxml_statenames[E_surfxml_router] = "router"; + surfxml_statenames[AL_surfxml_storage] = NULL; + surfxml_statenames[S_surfxml_storage] = "storage"; + surfxml_statenames[S_surfxml_storage_1] = "storage"; + surfxml_statenames[S_surfxml_storage_2] = "storage"; + surfxml_statenames[E_surfxml_storage] = "storage"; + surfxml_statenames[AL_surfxml_storage___type] = NULL; + surfxml_statenames[S_surfxml_storage___type] = "storage_type"; + surfxml_statenames[S_surfxml_storage___type_1] = "storage_type"; + surfxml_statenames[S_surfxml_storage___type_2] = "storage_type"; + surfxml_statenames[E_surfxml_storage___type] = "storage_type"; + surfxml_statenames[AL_surfxml_trace] = NULL; + surfxml_statenames[IN_trace] = "trace"; + surfxml_statenames[AL_surfxml_trace___connect] = NULL; + surfxml_statenames[E_surfxml_trace___connect] = "trace_connect"; } /* COMMENTS and PIs: handled uniformly for efficiency. */ - while ( 1 ) /* loops until end-of-file is reached */ - { - yy_cp = (yy_c_buf_p); + while ( 1 ) /* loops until end-of-file is reached */ + { + yy_cp = (yy_c_buf_p); - /* Support of surf_parse_text. */ - *yy_cp = (yy_hold_char); + /* Support of surf_parse_text. */ + *yy_cp = (yy_hold_char); - /* yy_bp points to the position in yy_ch_buf of the start of - * the current run. - */ - yy_bp = yy_cp; + /* yy_bp points to the position in yy_ch_buf of the start of + * the current run. + */ + yy_bp = yy_cp; - yy_current_state = (yy_start); + yy_current_state = (yy_start); yy_match: - do - { - 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; - (yy_last_accepting_cpos) = yy_cp; - } - 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 >= 3466 ) - 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] != 12512 ); + do + { + 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; + (yy_last_accepting_cpos) = yy_cp; + } + 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 >= 3466 ) + 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] != 12512 ); yy_find_action: - yy_act = yy_accept[yy_current_state]; - if ( yy_act == 0 ) - { /* have to back up */ - yy_cp = (yy_last_accepting_cpos); - yy_current_state = (yy_last_accepting_state); - yy_act = yy_accept[yy_current_state]; - } - - YY_DO_BEFORE_ACTION; - - if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] ) - { - yy_size_t yyl; - for ( yyl = 0; yyl < surf_parse_leng; ++yyl ) - if ( surf_parse_text[yyl] == '\n' ) - + yy_act = yy_accept[yy_current_state]; + if ( yy_act == 0 ) + { /* have to back up */ + yy_cp = (yy_last_accepting_cpos); + yy_current_state = (yy_last_accepting_state); + yy_act = yy_accept[yy_current_state]; + } + + YY_DO_BEFORE_ACTION; + + if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] ) + { + yy_size_t yyl; + for ( yyl = 0; yyl < surf_parse_leng; ++yyl ) + if ( surf_parse_text[yyl] == '\n' ) + surf_parse_lineno++; ; - } + } -do_action: /* This label is used only to access EOF actions. */ +do_action: /* This label is used only to access EOF actions. */ - switch ( yy_act ) - { /* beginning of action switch */ - case 0: /* must back up */ - /* undo the effects of YY_DO_BEFORE_ACTION */ - *yy_cp = (yy_hold_char); - yy_cp = (yy_last_accepting_cpos); - yy_current_state = (yy_last_accepting_state); - goto yy_find_action; + switch ( yy_act ) + { /* beginning of action switch */ + case 0: /* must back up */ + /* undo the effects of YY_DO_BEFORE_ACTION */ + *yy_cp = (yy_hold_char); + yy_cp = (yy_last_accepting_cpos); + yy_current_state = (yy_last_accepting_state); + goto yy_find_action; case 1: YY_RULE_SETUP ENTER(INCOMMENT); - YY_BREAK + YY_BREAK case 2: YY_RULE_SETUP ENTER(INPI); - YY_BREAK + YY_BREAK case 3: YY_RULE_SETUP LEAVE; - YY_BREAK + YY_BREAK case 4: case 5: case 6: /* rule 6 can match eol */ YY_RULE_SETUP SKIP; - YY_BREAK + YY_BREAK case YY_STATE_EOF(INCOMMENT): FAIL("EOF in comment."); - YY_BREAK + YY_BREAK case 7: YY_RULE_SETUP LEAVE; - YY_BREAK + YY_BREAK case 8: case 9: /* rule 9 can match eol */ YY_RULE_SETUP SKIP; - YY_BREAK + YY_BREAK case YY_STATE_EOF(INPI): FAIL("EOF in PI (processing instruction)."); - YY_BREAK + YY_BREAK /* SPACES: skipped uniformly */ case 10: /* rule 10 can match eol */ YY_RULE_SETUP SKIP; - YY_BREAK + YY_BREAK /* PROLOG: determine root element and process it. */ case 11: /* rule 11 can match eol */ YY_RULE_SETUP SET(DOCTYPE); - YY_BREAK + YY_BREAK case 12: /* rule 12 can match eol */ YY_RULE_SETUP FAIL("Bad declaration %s.",surf_parse_text); - YY_BREAK + YY_BREAK case 13: /* rule 13 can match eol */ YY_RULE_SETUP SET(ROOT_surfxml_platform); - YY_BREAK + YY_BREAK case 14: /* rule 14 can match eol */ YY_RULE_SETUP FAIL("Bad declaration %s.",surf_parse_text); - YY_BREAK + YY_BREAK case 15: YY_RULE_SETUP FAIL("Unexpected character `%c' in prolog.", surf_parse_text[0]); - YY_BREAK + YY_BREAK case YY_STATE_EOF(PROLOG): case YY_STATE_EOF(DOCTYPE): FAIL("EOF in prolog."); - YY_BREAK + YY_BREAK /* RULES DERIVED FROM DTD. */ -/* */ case 16: /* rule 16 can match eol */ YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK +FAIL("Starting tag is not allowed here."); + YY_BREAK case 17: /* rule 17 can match eol */ YY_RULE_SETUP { - AX_surfxml_platform_version = 1; - surfxml_platform_version_isset = 0; - ENTER(AL_surfxml_platform); pushbuffer(0); + AX_surfxml_AS_id = 0; + surfxml_AS_id_isset = 0; + AX_surfxml_AS_routing = AU_surfxml_AS_routing; + surfxml_AS_routing_isset = 0; + ENTER(AL_surfxml_AS); pushbuffer(0); } - YY_BREAK + YY_BREAK case 18: /* rule 18 can match eol */ YY_RULE_SETUP -if (surfxml_platform_version_isset != 0) {FAIL("Multiple definition of attribute version in ");} surfxml_platform_version_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_platform_version); - YY_BREAK +if (surfxml_AS_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_AS_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_AS_id); + YY_BREAK case 19: /* rule 19 can match eol */ YY_RULE_SETUP -if (surfxml_platform_version_isset != 0) {FAIL("Multiple definition of attribute version in ");} surfxml_platform_version_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_platform_version); - YY_BREAK +if (surfxml_AS_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_AS_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_AS_id); + YY_BREAK case 20: -YY_RULE_SETUP -{ - LEAVE; STag_surfxml_platform();surfxml_pcdata_ix = 0; ENTER(S_surfxml_platform); - } - YY_BREAK +/* rule 20 can match eol */ case 21: +/* rule 21 can match eol */ YY_RULE_SETUP -{ - LEAVE; STag_surfxml_platform(); surfxml_pcdata_ix = 0; ETag_surfxml_platform(); popbuffer(); /* attribute */ - switch (YY_START) { - case ROOT_surfxml_platform: SET(EPILOG); break; - } - } - YY_BREAK +A_surfxml_AS_routing = A_surfxml_AS_routing_Full; + YY_BREAK case 22: -YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of platform element.", surf_parse_text[0]); - YY_BREAK +/* rule 22 can match eol */ case 23: +/* rule 23 can match eol */ YY_RULE_SETUP -FAIL("Bad attribute `%s' in `platform' element start tag.",surf_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_surfxml_platform): -FAIL("EOF in attribute list of `platform' element."); - YY_BREAK - +A_surfxml_AS_routing = A_surfxml_AS_routing_Floyd; + YY_BREAK case 24: /* rule 24 can match eol */ -YY_RULE_SETUP -{ - LEAVE; - ETag_surfxml_platform(); - popbuffer(); /* attribute */ - switch (YY_START) { - case ROOT_surfxml_platform: SET(EPILOG); break; - } - } - YY_BREAK case 25: /* rule 25 can match eol */ YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); - YY_BREAK +A_surfxml_AS_routing = A_surfxml_AS_routing_Dijkstra; + YY_BREAK case 26: -YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(S_surfxml_platform_1): -case YY_STATE_EOF(S_surfxml_platform_6): -case YY_STATE_EOF(S_surfxml_platform_4): -case YY_STATE_EOF(S_surfxml_platform_3): -case YY_STATE_EOF(S_surfxml_platform): -case YY_STATE_EOF(E_surfxml_platform): -case YY_STATE_EOF(S_surfxml_platform_8): -if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); - YY_BREAK - +/* rule 26 can match eol */ case 27: /* rule 27 can match eol */ YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK +A_surfxml_AS_routing = A_surfxml_AS_routing_DijkstraCache; + YY_BREAK case 28: /* rule 28 can match eol */ +case 29: +/* rule 29 can match eol */ YY_RULE_SETUP -{ - AX_surfxml_include_file = 0; - surfxml_include_file_isset = 0; - ENTER(AL_surfxml_include); pushbuffer(0); - } - YY_BREAK - -case 29: -/* rule 29 can match eol */ -YY_RULE_SETUP -if (surfxml_include_file_isset != 0) {FAIL("Multiple definition of attribute file in ");} surfxml_include_file_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_include_file); - YY_BREAK +A_surfxml_AS_routing = A_surfxml_AS_routing_None; + YY_BREAK case 30: /* rule 30 can match eol */ -YY_RULE_SETUP -if (surfxml_include_file_isset != 0) {FAIL("Multiple definition of attribute file in ");} surfxml_include_file_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_include_file); - YY_BREAK case 31: +/* rule 31 can match eol */ YY_RULE_SETUP -{ - if (!AX_surfxml_include_file) FAIL("Required attribute `file' not set for `include' element."); - LEAVE; STag_surfxml_include();surfxml_pcdata_ix = 0; ENTER(S_surfxml_include); - } - YY_BREAK +A_surfxml_AS_routing = A_surfxml_AS_routing_Vivaldi; + YY_BREAK case 32: -YY_RULE_SETUP -{ - if (!AX_surfxml_include_file) FAIL("Required attribute `file' not set for `include' element."); - LEAVE; STag_surfxml_include(); surfxml_pcdata_ix = 0; ETag_surfxml_include(); popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; - case S_surfxml_include: case S_surfxml_include_1: case S_surfxml_include_2: SET(S_surfxml_include_2); break; - case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_5: case S_surfxml_platform_6: SET(S_surfxml_platform_6); break; - } - } - YY_BREAK +/* rule 32 can match eol */ case 33: +/* rule 33 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of include element.", surf_parse_text[0]); - YY_BREAK +A_surfxml_AS_routing = A_surfxml_AS_routing_Cluster; + YY_BREAK case 34: -YY_RULE_SETUP -FAIL("Bad attribute `%s' in `include' element start tag.",surf_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_surfxml_include): -FAIL("EOF in attribute list of `include' element."); - YY_BREAK - +/* rule 34 can match eol */ case 35: /* rule 35 can match eol */ YY_RULE_SETUP -{ - LEAVE; - ETag_surfxml_include(); - popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; - case S_surfxml_include: case S_surfxml_include_1: case S_surfxml_include_2: SET(S_surfxml_include_2); break; - case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_5: case S_surfxml_platform_6: SET(S_surfxml_platform_6); break; - } - } - YY_BREAK +A_surfxml_AS_routing = A_surfxml_AS_routing_Cluster___torus; + YY_BREAK case 36: /* rule 36 can match eol */ -YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); - YY_BREAK case 37: +/* rule 37 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(S_surfxml_include_2): -case YY_STATE_EOF(E_surfxml_include): -case YY_STATE_EOF(S_surfxml_include): -if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); - YY_BREAK - +A_surfxml_AS_routing = A_surfxml_AS_routing_Cluster___fat___tree; + YY_BREAK case 38: -/* rule 38 can match eol */ YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK +{ + if (!AX_surfxml_AS_id) FAIL("Required attribute `id' not set for `AS' element."); + if (!AX_surfxml_AS_routing) FAIL("Required attribute `routing' not set for `AS' element."); + LEAVE; STag_surfxml_AS();surfxml_pcdata_ix = 0; ENTER(S_surfxml_AS); + } + YY_BREAK case 39: -/* rule 39 can match eol */ YY_RULE_SETUP { - AX_surfxml_trace_id = 0; - surfxml_trace_id_isset = 0; - AX_surfxml_trace_file = 0; - surfxml_trace_file_isset = 0; - AX_surfxml_trace_periodicity = 0; - surfxml_trace_periodicity_isset = 0; - ENTER(AL_surfxml_trace); pushbuffer(0); + if (!AX_surfxml_AS_id) FAIL("Required attribute `id' not set for `AS' element."); + if (!AX_surfxml_AS_routing) FAIL("Required attribute `routing' not set for `AS' element."); + LEAVE; STag_surfxml_AS(); surfxml_pcdata_ix = 0; ETag_surfxml_AS(); popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; + case S_surfxml_include: case S_surfxml_include_1: case S_surfxml_include_2: SET(S_surfxml_include_2); break; + case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_5: case S_surfxml_platform_6: SET(S_surfxml_platform_6); break; } - YY_BREAK - + } + YY_BREAK case 40: -/* rule 40 can match eol */ YY_RULE_SETUP -if (surfxml_trace_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_trace_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_trace_id); - YY_BREAK +FAIL("Unexpected character `%c' in attribute list of AS element.", surf_parse_text[0]); + YY_BREAK case 41: -/* rule 41 can match eol */ YY_RULE_SETUP -if (surfxml_trace_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_trace_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_trace_id); - YY_BREAK +FAIL("Bad attribute `%s' in `AS' element start tag.",surf_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_surfxml_AS): +FAIL("EOF in attribute list of `AS' element."); + YY_BREAK + case 42: /* rule 42 can match eol */ YY_RULE_SETUP -if (surfxml_trace_file_isset != 0) {FAIL("Multiple definition of attribute file in ");} surfxml_trace_file_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_trace_file); - YY_BREAK +{ + LEAVE; + ETag_surfxml_AS(); + popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; + case S_surfxml_include: case S_surfxml_include_1: case S_surfxml_include_2: SET(S_surfxml_include_2); break; + case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_5: case S_surfxml_platform_6: SET(S_surfxml_platform_6); break; + } + } + YY_BREAK case 43: /* rule 43 can match eol */ YY_RULE_SETUP -if (surfxml_trace_file_isset != 0) {FAIL("Multiple definition of attribute file in ");} surfxml_trace_file_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_trace_file); - YY_BREAK +FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); + YY_BREAK case 44: -/* rule 44 can match eol */ YY_RULE_SETUP -if (surfxml_trace_periodicity_isset != 0) {FAIL("Multiple definition of attribute periodicity in ");} surfxml_trace_periodicity_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_trace_periodicity); - YY_BREAK +FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); + YY_BREAK +case YY_STATE_EOF(E_surfxml_AS): +case YY_STATE_EOF(S_surfxml_AS): +case YY_STATE_EOF(S_surfxml_AS_1): +case YY_STATE_EOF(S_surfxml_AS_3): +case YY_STATE_EOF(S_surfxml_AS_4): +case YY_STATE_EOF(S_surfxml_AS_6): +case YY_STATE_EOF(S_surfxml_AS_8): +if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); + YY_BREAK + case 45: /* rule 45 can match eol */ YY_RULE_SETUP -if (surfxml_trace_periodicity_isset != 0) {FAIL("Multiple definition of attribute periodicity in ");} surfxml_trace_periodicity_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_trace_periodicity); - YY_BREAK +FAIL("Starting tag is not allowed here."); + YY_BREAK case 46: +/* rule 46 can match eol */ YY_RULE_SETUP { - if (!AX_surfxml_trace_id) FAIL("Required attribute `id' not set for `trace' element."); - if (!AX_surfxml_trace_periodicity) FAIL("Required attribute `periodicity' not set for `trace' element."); - LEAVE; STag_surfxml_trace();pushbuffer(surfxml_pcdata_ix); BUFFERSET(surfxml_pcdata_ix);; ENTER(IN_trace); - } - YY_BREAK + AX_surfxml_ASroute_dst = 0; + surfxml_ASroute_dst_isset = 0; + AX_surfxml_ASroute_gw___dst = 0; + surfxml_ASroute_gw___dst_isset = 0; + AX_surfxml_ASroute_gw___src = 0; + surfxml_ASroute_gw___src_isset = 0; + AX_surfxml_ASroute_src = 0; + surfxml_ASroute_src_isset = 0; + AX_surfxml_ASroute_symmetrical = A_surfxml_ASroute_symmetrical_YES; + surfxml_ASroute_symmetrical_isset = 0; + ENTER(AL_surfxml_ASroute); pushbuffer(0); + } + YY_BREAK + case 47: +/* rule 47 can match eol */ YY_RULE_SETUP -{ - if (!AX_surfxml_trace_id) FAIL("Required attribute `id' not set for `trace' element."); - if (!AX_surfxml_trace_periodicity) FAIL("Required attribute `periodicity' not set for `trace' element."); - LEAVE; STag_surfxml_trace(); surfxml_pcdata_ix = 0; ETag_surfxml_trace(); popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_4: case S_surfxml_AS_6: case S_surfxml_AS_7: case S_surfxml_AS_8: SET(S_surfxml_AS_8); break; - case S_surfxml_include: case S_surfxml_include_1: case S_surfxml_include_2: SET(S_surfxml_include_2); break; - case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_5: case S_surfxml_platform_6: SET(S_surfxml_platform_6); break; - } - } - YY_BREAK +if (surfxml_ASroute_dst_isset != 0) {FAIL("Multiple definition of attribute dst in ");} surfxml_ASroute_dst_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_ASroute_dst); + YY_BREAK case 48: +/* rule 48 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of trace element.", surf_parse_text[0]); - YY_BREAK +if (surfxml_ASroute_dst_isset != 0) {FAIL("Multiple definition of attribute dst in ");} surfxml_ASroute_dst_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_ASroute_dst); + YY_BREAK case 49: +/* rule 49 can match eol */ YY_RULE_SETUP -FAIL("Bad attribute `%s' in `trace' element start tag.",surf_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_surfxml_trace): -FAIL("EOF in attribute list of `trace' element."); - YY_BREAK - +if (surfxml_ASroute_gw___dst_isset != 0) {FAIL("Multiple definition of attribute gw_dst in ");} surfxml_ASroute_gw___dst_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_ASroute_gw___dst); + YY_BREAK case 50: /* rule 50 can match eol */ YY_RULE_SETUP -{ - LEAVE; - BUFFERDONE; - ETag_surfxml_trace(); - surfxml_pcdata_ix = popbuffer(); - popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_4: case S_surfxml_AS_6: case S_surfxml_AS_7: case S_surfxml_AS_8: SET(S_surfxml_AS_8); break; - case S_surfxml_include: case S_surfxml_include_1: case S_surfxml_include_2: SET(S_surfxml_include_2); break; - case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_5: case S_surfxml_platform_6: SET(S_surfxml_platform_6); break; - } - } - YY_BREAK +if (surfxml_ASroute_gw___dst_isset != 0) {FAIL("Multiple definition of attribute gw_dst in ");} surfxml_ASroute_gw___dst_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_ASroute_gw___dst); + YY_BREAK case 51: /* rule 51 can match eol */ YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); - YY_BREAK -case YY_STATE_EOF(IN_trace): -if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); - YY_BREAK - +if (surfxml_ASroute_gw___src_isset != 0) {FAIL("Multiple definition of attribute gw_src in ");} surfxml_ASroute_gw___src_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_ASroute_gw___src); + YY_BREAK case 52: /* rule 52 can match eol */ YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK +if (surfxml_ASroute_gw___src_isset != 0) {FAIL("Multiple definition of attribute gw_src in ");} surfxml_ASroute_gw___src_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_ASroute_gw___src); + YY_BREAK case 53: /* rule 53 can match eol */ YY_RULE_SETUP -{ - AX_surfxml_random_id = 0; - surfxml_random_id_isset = 0; - AX_surfxml_random_min = 0; - surfxml_random_min_isset = 0; - AX_surfxml_random_max = 0; - surfxml_random_max_isset = 0; - AX_surfxml_random_mean = 0; - surfxml_random_mean_isset = 0; - AX_surfxml_random_std___deviation = 0; - surfxml_random_std___deviation_isset = 0; - AX_surfxml_random_seed = 5; - surfxml_random_seed_isset = 0; - AX_surfxml_random_radical = 0; - surfxml_random_radical_isset = 0; - AX_surfxml_random_generator = A_surfxml_random_generator_DRAND48; - surfxml_random_generator_isset = 0; - ENTER(AL_surfxml_random); pushbuffer(0); - } - YY_BREAK - +if (surfxml_ASroute_src_isset != 0) {FAIL("Multiple definition of attribute src in ");} surfxml_ASroute_src_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_ASroute_src); + YY_BREAK case 54: /* rule 54 can match eol */ YY_RULE_SETUP -if (surfxml_random_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_random_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_random_id); - YY_BREAK +if (surfxml_ASroute_src_isset != 0) {FAIL("Multiple definition of attribute src in ");} surfxml_ASroute_src_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_ASroute_src); + YY_BREAK case 55: /* rule 55 can match eol */ -YY_RULE_SETUP -if (surfxml_random_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_random_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_random_id); - YY_BREAK case 56: /* rule 56 can match eol */ YY_RULE_SETUP -if (surfxml_random_min_isset != 0) {FAIL("Multiple definition of attribute min in ");} surfxml_random_min_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_random_min); - YY_BREAK +A_surfxml_ASroute_symmetrical = A_surfxml_ASroute_symmetrical_YES; + YY_BREAK case 57: /* rule 57 can match eol */ -YY_RULE_SETUP -if (surfxml_random_min_isset != 0) {FAIL("Multiple definition of attribute min in ");} surfxml_random_min_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_random_min); - YY_BREAK case 58: /* rule 58 can match eol */ YY_RULE_SETUP -if (surfxml_random_max_isset != 0) {FAIL("Multiple definition of attribute max in ");} surfxml_random_max_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_random_max); - YY_BREAK +A_surfxml_ASroute_symmetrical = A_surfxml_ASroute_symmetrical_NO; + YY_BREAK case 59: -/* rule 59 can match eol */ YY_RULE_SETUP -if (surfxml_random_max_isset != 0) {FAIL("Multiple definition of attribute max in ");} surfxml_random_max_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_random_max); - YY_BREAK +{ + if (!AX_surfxml_ASroute_dst) FAIL("Required attribute `dst' not set for `ASroute' element."); + if (!AX_surfxml_ASroute_gw___dst) FAIL("Required attribute `gw_dst' not set for `ASroute' element."); + if (!AX_surfxml_ASroute_gw___src) FAIL("Required attribute `gw_src' not set for `ASroute' element."); + if (!AX_surfxml_ASroute_src) FAIL("Required attribute `src' not set for `ASroute' element."); + LEAVE; STag_surfxml_ASroute();surfxml_pcdata_ix = 0; ENTER(S_surfxml_ASroute); + } + YY_BREAK case 60: -/* rule 60 can match eol */ YY_RULE_SETUP -if (surfxml_random_mean_isset != 0) {FAIL("Multiple definition of attribute mean in ");} surfxml_random_mean_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_random_mean); - YY_BREAK +{ + if (!AX_surfxml_ASroute_dst) FAIL("Required attribute `dst' not set for `ASroute' element."); + if (!AX_surfxml_ASroute_gw___dst) FAIL("Required attribute `gw_dst' not set for `ASroute' element."); + if (!AX_surfxml_ASroute_gw___src) FAIL("Required attribute `gw_src' not set for `ASroute' element."); + if (!AX_surfxml_ASroute_src) FAIL("Required attribute `src' not set for `ASroute' element."); + LEAVE; STag_surfxml_ASroute(); surfxml_pcdata_ix = 0; ETag_surfxml_ASroute(); popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_AS: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; + case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_4: case S_surfxml_AS_7: case S_surfxml_AS_8: SET(S_surfxml_AS_8); break; + } + } + YY_BREAK case 61: -/* rule 61 can match eol */ YY_RULE_SETUP -if (surfxml_random_mean_isset != 0) {FAIL("Multiple definition of attribute mean in ");} surfxml_random_mean_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_random_mean); - YY_BREAK +FAIL("Unexpected character `%c' in attribute list of ASroute element.", surf_parse_text[0]); + YY_BREAK case 62: -/* rule 62 can match eol */ YY_RULE_SETUP -if (surfxml_random_std___deviation_isset != 0) {FAIL("Multiple definition of attribute std_deviation in ");} surfxml_random_std___deviation_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_random_std___deviation); - YY_BREAK +FAIL("Bad attribute `%s' in `ASroute' element start tag.",surf_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_surfxml_ASroute): +FAIL("EOF in attribute list of `ASroute' element."); + YY_BREAK + case 63: /* rule 63 can match eol */ YY_RULE_SETUP -if (surfxml_random_std___deviation_isset != 0) {FAIL("Multiple definition of attribute std_deviation in ");} surfxml_random_std___deviation_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_random_std___deviation); - YY_BREAK +{ + LEAVE; + ETag_surfxml_ASroute(); + popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_AS: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; + case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_4: case S_surfxml_AS_7: case S_surfxml_AS_8: SET(S_surfxml_AS_8); break; + } + } + YY_BREAK case 64: /* rule 64 can match eol */ YY_RULE_SETUP -if (surfxml_random_seed_isset != 0) {FAIL("Multiple definition of attribute seed in ");} surfxml_random_seed_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_random_seed); - YY_BREAK +FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); + YY_BREAK case 65: -/* rule 65 can match eol */ YY_RULE_SETUP -if (surfxml_random_seed_isset != 0) {FAIL("Multiple definition of attribute seed in ");} surfxml_random_seed_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_random_seed); - YY_BREAK +FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); + YY_BREAK +case YY_STATE_EOF(E_surfxml_ASroute): +case YY_STATE_EOF(S_surfxml_ASroute): +case YY_STATE_EOF(S_surfxml_ASroute_2): +if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); + YY_BREAK + case 66: /* rule 66 can match eol */ YY_RULE_SETUP -if (surfxml_random_radical_isset != 0) {FAIL("Multiple definition of attribute radical in ");} surfxml_random_radical_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_random_radical); - YY_BREAK +FAIL("Starting tag is not allowed here."); + YY_BREAK case 67: /* rule 67 can match eol */ YY_RULE_SETUP -if (surfxml_random_radical_isset != 0) {FAIL("Multiple definition of attribute radical in ");} surfxml_random_radical_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_random_radical); - YY_BREAK +{ + AX_surfxml_argument_value = 0; + surfxml_argument_value_isset = 0; + ENTER(AL_surfxml_argument); pushbuffer(0); + } + YY_BREAK + case 68: /* rule 68 can match eol */ +YY_RULE_SETUP +if (surfxml_argument_value_isset != 0) {FAIL("Multiple definition of attribute value in ");} surfxml_argument_value_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_argument_value); + YY_BREAK case 69: /* rule 69 can match eol */ YY_RULE_SETUP -A_surfxml_random_generator = A_surfxml_random_generator_DRAND48; - YY_BREAK +if (surfxml_argument_value_isset != 0) {FAIL("Multiple definition of attribute value in ");} surfxml_argument_value_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_argument_value); + YY_BREAK case 70: -/* rule 70 can match eol */ -case 71: -/* rule 71 can match eol */ YY_RULE_SETUP -A_surfxml_random_generator = A_surfxml_random_generator_RAND; - YY_BREAK -case 72: -/* rule 72 can match eol */ -case 73: -/* rule 73 can match eol */ +{ + if (!AX_surfxml_argument_value) FAIL("Required attribute `value' not set for `argument' element."); + LEAVE; STag_surfxml_argument();surfxml_pcdata_ix = 0; ENTER(E_surfxml_argument); + } + YY_BREAK +case 71: YY_RULE_SETUP -A_surfxml_random_generator = A_surfxml_random_generator_RNGSTREAM; - YY_BREAK +{ + if (!AX_surfxml_argument_value) FAIL("Required attribute `value' not set for `argument' element."); + LEAVE; STag_surfxml_argument(); surfxml_pcdata_ix = 0; ETag_surfxml_argument(); popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_process: case S_surfxml_process_1: case S_surfxml_process_2: SET(S_surfxml_process_2); break; + } + } + YY_BREAK +case 72: +YY_RULE_SETUP +FAIL("Unexpected character `%c' in attribute list of argument element.", surf_parse_text[0]); + YY_BREAK +case 73: +YY_RULE_SETUP +FAIL("Bad attribute `%s' in `argument' element start tag.",surf_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_surfxml_argument): +FAIL("EOF in attribute list of `argument' element."); + YY_BREAK + case 74: /* rule 74 can match eol */ +YY_RULE_SETUP +{ + LEAVE; + ETag_surfxml_argument(); + popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_process: case S_surfxml_process_1: case S_surfxml_process_2: SET(S_surfxml_process_2); break; + } + } + YY_BREAK case 75: /* rule 75 can match eol */ YY_RULE_SETUP -A_surfxml_random_generator = A_surfxml_random_generator_NONE; - YY_BREAK +FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); + YY_BREAK case 76: YY_RULE_SETUP -{ - if (!AX_surfxml_random_id) FAIL("Required attribute `id' not set for `random' element."); - if (!AX_surfxml_random_min) FAIL("Required attribute `min' not set for `random' element."); - if (!AX_surfxml_random_max) FAIL("Required attribute `max' not set for `random' element."); - if (!AX_surfxml_random_mean) FAIL("Required attribute `mean' not set for `random' element."); - if (!AX_surfxml_random_std___deviation) FAIL("Required attribute `std_deviation' not set for `random' element."); - LEAVE; STag_surfxml_random();surfxml_pcdata_ix = 0; ENTER(E_surfxml_random); - } - YY_BREAK +FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); + YY_BREAK +case YY_STATE_EOF(E_surfxml_argument): +if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); + YY_BREAK + case 77: +/* rule 77 can match eol */ YY_RULE_SETUP -{ - if (!AX_surfxml_random_id) FAIL("Required attribute `id' not set for `random' element."); - if (!AX_surfxml_random_min) FAIL("Required attribute `min' not set for `random' element."); - if (!AX_surfxml_random_max) FAIL("Required attribute `max' not set for `random' element."); - if (!AX_surfxml_random_mean) FAIL("Required attribute `mean' not set for `random' element."); - if (!AX_surfxml_random_std___deviation) FAIL("Required attribute `std_deviation' not set for `random' element."); - LEAVE; STag_surfxml_random(); surfxml_pcdata_ix = 0; ETag_surfxml_random(); popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_platform: case S_surfxml_platform_2: case S_surfxml_platform_3: SET(S_surfxml_platform_3); break; - } - } - YY_BREAK +FAIL("Starting tag is not allowed here."); + YY_BREAK case 78: +/* rule 78 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of random element.", surf_parse_text[0]); - YY_BREAK +{ + AX_surfxml_backbone_bandwidth = 0; + surfxml_backbone_bandwidth_isset = 0; + AX_surfxml_backbone_id = 0; + surfxml_backbone_id_isset = 0; + AX_surfxml_backbone_latency = 0; + surfxml_backbone_latency_isset = 0; + ENTER(AL_surfxml_backbone); pushbuffer(0); + } + YY_BREAK + case 79: +/* rule 79 can match eol */ YY_RULE_SETUP -FAIL("Bad attribute `%s' in `random' element start tag.",surf_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_surfxml_random): -FAIL("EOF in attribute list of `random' element."); - YY_BREAK - +if (surfxml_backbone_bandwidth_isset != 0) {FAIL("Multiple definition of attribute bandwidth in ");} surfxml_backbone_bandwidth_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_backbone_bandwidth); + YY_BREAK case 80: /* rule 80 can match eol */ YY_RULE_SETUP -{ - LEAVE; - ETag_surfxml_random(); - popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_platform: case S_surfxml_platform_2: case S_surfxml_platform_3: SET(S_surfxml_platform_3); break; - } - } - YY_BREAK +if (surfxml_backbone_bandwidth_isset != 0) {FAIL("Multiple definition of attribute bandwidth in ");} surfxml_backbone_bandwidth_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_backbone_bandwidth); + YY_BREAK case 81: /* rule 81 can match eol */ YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); - YY_BREAK +if (surfxml_backbone_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_backbone_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_backbone_id); + YY_BREAK case 82: +/* rule 82 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(E_surfxml_random): -if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); - YY_BREAK - +if (surfxml_backbone_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_backbone_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_backbone_id); + YY_BREAK case 83: /* rule 83 can match eol */ YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK +if (surfxml_backbone_latency_isset != 0) {FAIL("Multiple definition of attribute latency in ");} surfxml_backbone_latency_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_backbone_latency); + YY_BREAK case 84: /* rule 84 can match eol */ YY_RULE_SETUP -{ - AX_surfxml_trace___connect_kind = A_surfxml_trace___connect_kind_HOST___AVAIL; - surfxml_trace___connect_kind_isset = 0; - AX_surfxml_trace___connect_trace = 0; - surfxml_trace___connect_trace_isset = 0; - AX_surfxml_trace___connect_element = 0; - surfxml_trace___connect_element_isset = 0; - ENTER(AL_surfxml_trace___connect); pushbuffer(0); - } - YY_BREAK - +if (surfxml_backbone_latency_isset != 0) {FAIL("Multiple definition of attribute latency in ");} surfxml_backbone_latency_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_backbone_latency); + YY_BREAK case 85: -/* rule 85 can match eol */ +YY_RULE_SETUP +{ + if (!AX_surfxml_backbone_bandwidth) FAIL("Required attribute `bandwidth' not set for `backbone' element."); + if (!AX_surfxml_backbone_id) FAIL("Required attribute `id' not set for `backbone' element."); + if (!AX_surfxml_backbone_latency) FAIL("Required attribute `latency' not set for `backbone' element."); + LEAVE; STag_surfxml_backbone();surfxml_pcdata_ix = 0; ENTER(E_surfxml_backbone); + } + YY_BREAK case 86: -/* rule 86 can match eol */ YY_RULE_SETUP -A_surfxml_trace___connect_kind = A_surfxml_trace___connect_kind_HOST___AVAIL; - YY_BREAK +{ + if (!AX_surfxml_backbone_bandwidth) FAIL("Required attribute `bandwidth' not set for `backbone' element."); + if (!AX_surfxml_backbone_id) FAIL("Required attribute `id' not set for `backbone' element."); + if (!AX_surfxml_backbone_latency) FAIL("Required attribute `latency' not set for `backbone' element."); + LEAVE; STag_surfxml_backbone(); surfxml_pcdata_ix = 0; ETag_surfxml_backbone(); popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; + } + } + YY_BREAK case 87: -/* rule 87 can match eol */ +YY_RULE_SETUP +FAIL("Unexpected character `%c' in attribute list of backbone element.", surf_parse_text[0]); + YY_BREAK case 88: -/* rule 88 can match eol */ YY_RULE_SETUP -A_surfxml_trace___connect_kind = A_surfxml_trace___connect_kind_POWER; - YY_BREAK +FAIL("Bad attribute `%s' in `backbone' element start tag.",surf_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_surfxml_backbone): +FAIL("EOF in attribute list of `backbone' element."); + YY_BREAK + case 89: /* rule 89 can match eol */ +YY_RULE_SETUP +{ + LEAVE; + ETag_surfxml_backbone(); + popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; + } + } + YY_BREAK case 90: /* rule 90 can match eol */ YY_RULE_SETUP -A_surfxml_trace___connect_kind = A_surfxml_trace___connect_kind_LINK___AVAIL; - YY_BREAK +FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); + YY_BREAK case 91: -/* rule 91 can match eol */ +YY_RULE_SETUP +FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); + YY_BREAK +case YY_STATE_EOF(E_surfxml_backbone): +if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); + YY_BREAK + case 92: /* rule 92 can match eol */ YY_RULE_SETUP -A_surfxml_trace___connect_kind = A_surfxml_trace___connect_kind_BANDWIDTH; - YY_BREAK +FAIL("Starting tag is not allowed here."); + YY_BREAK case 93: /* rule 93 can match eol */ +YY_RULE_SETUP +{ + AX_surfxml_bypassASroute_dst = 0; + surfxml_bypassASroute_dst_isset = 0; + AX_surfxml_bypassASroute_gw___dst = 0; + surfxml_bypassASroute_gw___dst_isset = 0; + AX_surfxml_bypassASroute_gw___src = 0; + surfxml_bypassASroute_gw___src_isset = 0; + AX_surfxml_bypassASroute_src = 0; + surfxml_bypassASroute_src_isset = 0; + ENTER(AL_surfxml_bypassASroute); pushbuffer(0); + } + YY_BREAK + case 94: /* rule 94 can match eol */ YY_RULE_SETUP -A_surfxml_trace___connect_kind = A_surfxml_trace___connect_kind_LATENCY; - YY_BREAK +if (surfxml_bypassASroute_dst_isset != 0) {FAIL("Multiple definition of attribute dst in ");} surfxml_bypassASroute_dst_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_bypassASroute_dst); + YY_BREAK case 95: /* rule 95 can match eol */ YY_RULE_SETUP -if (surfxml_trace___connect_trace_isset != 0) {FAIL("Multiple definition of attribute trace in ");} surfxml_trace___connect_trace_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_trace___connect_trace); - YY_BREAK +if (surfxml_bypassASroute_dst_isset != 0) {FAIL("Multiple definition of attribute dst in ");} surfxml_bypassASroute_dst_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_bypassASroute_dst); + YY_BREAK case 96: /* rule 96 can match eol */ YY_RULE_SETUP -if (surfxml_trace___connect_trace_isset != 0) {FAIL("Multiple definition of attribute trace in ");} surfxml_trace___connect_trace_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_trace___connect_trace); - YY_BREAK +if (surfxml_bypassASroute_gw___dst_isset != 0) {FAIL("Multiple definition of attribute gw_dst in ");} surfxml_bypassASroute_gw___dst_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_bypassASroute_gw___dst); + YY_BREAK case 97: /* rule 97 can match eol */ YY_RULE_SETUP -if (surfxml_trace___connect_element_isset != 0) {FAIL("Multiple definition of attribute element in ");} surfxml_trace___connect_element_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_trace___connect_element); - YY_BREAK +if (surfxml_bypassASroute_gw___dst_isset != 0) {FAIL("Multiple definition of attribute gw_dst in ");} surfxml_bypassASroute_gw___dst_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_bypassASroute_gw___dst); + YY_BREAK case 98: /* rule 98 can match eol */ YY_RULE_SETUP -if (surfxml_trace___connect_element_isset != 0) {FAIL("Multiple definition of attribute element in ");} surfxml_trace___connect_element_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_trace___connect_element); - YY_BREAK +if (surfxml_bypassASroute_gw___src_isset != 0) {FAIL("Multiple definition of attribute gw_src in ");} surfxml_bypassASroute_gw___src_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_bypassASroute_gw___src); + YY_BREAK case 99: +/* rule 99 can match eol */ YY_RULE_SETUP -{ - if (!AX_surfxml_trace___connect_trace) FAIL("Required attribute `trace' not set for `trace_connect' element."); - if (!AX_surfxml_trace___connect_element) FAIL("Required attribute `element' not set for `trace_connect' element."); - LEAVE; STag_surfxml_trace___connect();surfxml_pcdata_ix = 0; ENTER(E_surfxml_trace___connect); - } - YY_BREAK +if (surfxml_bypassASroute_gw___src_isset != 0) {FAIL("Multiple definition of attribute gw_src in ");} surfxml_bypassASroute_gw___src_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_bypassASroute_gw___src); + YY_BREAK case 100: +/* rule 100 can match eol */ YY_RULE_SETUP -{ - if (!AX_surfxml_trace___connect_trace) FAIL("Required attribute `trace' not set for `trace_connect' element."); - if (!AX_surfxml_trace___connect_element) FAIL("Required attribute `element' not set for `trace_connect' element."); - LEAVE; STag_surfxml_trace___connect(); surfxml_pcdata_ix = 0; ETag_surfxml_trace___connect(); popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_4: case S_surfxml_AS_6: case S_surfxml_AS_7: case S_surfxml_AS_8: SET(S_surfxml_AS_8); break; - case S_surfxml_include: case S_surfxml_include_1: case S_surfxml_include_2: SET(S_surfxml_include_2); break; - case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_5: case S_surfxml_platform_6: SET(S_surfxml_platform_6); break; - } - } - YY_BREAK +if (surfxml_bypassASroute_src_isset != 0) {FAIL("Multiple definition of attribute src in ");} surfxml_bypassASroute_src_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_bypassASroute_src); + YY_BREAK case 101: +/* rule 101 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of trace_connect element.", surf_parse_text[0]); - YY_BREAK +if (surfxml_bypassASroute_src_isset != 0) {FAIL("Multiple definition of attribute src in ");} surfxml_bypassASroute_src_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_bypassASroute_src); + YY_BREAK case 102: YY_RULE_SETUP -FAIL("Bad attribute `%s' in `trace_connect' element start tag.",surf_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_surfxml_trace___connect): -FAIL("EOF in attribute list of `trace_connect' element."); - YY_BREAK - +{ + if (!AX_surfxml_bypassASroute_dst) FAIL("Required attribute `dst' not set for `bypassASroute' element."); + if (!AX_surfxml_bypassASroute_gw___dst) FAIL("Required attribute `gw_dst' not set for `bypassASroute' element."); + if (!AX_surfxml_bypassASroute_gw___src) FAIL("Required attribute `gw_src' not set for `bypassASroute' element."); + if (!AX_surfxml_bypassASroute_src) FAIL("Required attribute `src' not set for `bypassASroute' element."); + LEAVE; STag_surfxml_bypassASroute();surfxml_pcdata_ix = 0; ENTER(S_surfxml_bypassASroute); + } + YY_BREAK case 103: -/* rule 103 can match eol */ YY_RULE_SETUP { - LEAVE; - ETag_surfxml_trace___connect(); - popbuffer(); /* attribute */ + if (!AX_surfxml_bypassASroute_dst) FAIL("Required attribute `dst' not set for `bypassASroute' element."); + if (!AX_surfxml_bypassASroute_gw___dst) FAIL("Required attribute `gw_dst' not set for `bypassASroute' element."); + if (!AX_surfxml_bypassASroute_gw___src) FAIL("Required attribute `gw_src' not set for `bypassASroute' element."); + if (!AX_surfxml_bypassASroute_src) FAIL("Required attribute `src' not set for `bypassASroute' element."); + LEAVE; STag_surfxml_bypassASroute(); surfxml_pcdata_ix = 0; ETag_surfxml_bypassASroute(); popbuffer(); /* attribute */ switch (YY_START) { case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_4: case S_surfxml_AS_6: case S_surfxml_AS_7: case S_surfxml_AS_8: SET(S_surfxml_AS_8); break; - case S_surfxml_include: case S_surfxml_include_1: case S_surfxml_include_2: SET(S_surfxml_include_2); break; - case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_5: case S_surfxml_platform_6: SET(S_surfxml_platform_6); break; } } - YY_BREAK + YY_BREAK case 104: -/* rule 104 can match eol */ YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); - YY_BREAK +FAIL("Unexpected character `%c' in attribute list of bypassASroute element.", surf_parse_text[0]); + YY_BREAK case 105: YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(E_surfxml_trace___connect): -if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); - YY_BREAK +FAIL("Bad attribute `%s' in `bypassASroute' element start tag.",surf_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_surfxml_bypassASroute): +FAIL("EOF in attribute list of `bypassASroute' element."); + YY_BREAK case 106: /* rule 106 can match eol */ YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK +{ + LEAVE; + ETag_surfxml_bypassASroute(); + popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_4: case S_surfxml_AS_6: case S_surfxml_AS_7: case S_surfxml_AS_8: SET(S_surfxml_AS_8); break; + } + } + YY_BREAK case 107: /* rule 107 can match eol */ YY_RULE_SETUP -{ - AX_surfxml_AS_id = 0; - surfxml_AS_id_isset = 0; - AX_surfxml_AS_routing = AU_surfxml_AS_routing; - surfxml_AS_routing_isset = 0; - ENTER(AL_surfxml_AS); pushbuffer(0); - } - YY_BREAK - +FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); + YY_BREAK case 108: -/* rule 108 can match eol */ YY_RULE_SETUP -if (surfxml_AS_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_AS_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_AS_id); - YY_BREAK +FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); + YY_BREAK +case YY_STATE_EOF(E_surfxml_bypassASroute): +case YY_STATE_EOF(S_surfxml_bypassASroute): +case YY_STATE_EOF(S_surfxml_bypassASroute_2): +if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); + YY_BREAK + case 109: /* rule 109 can match eol */ YY_RULE_SETUP -if (surfxml_AS_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_AS_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_AS_id); - YY_BREAK +FAIL("Starting tag is not allowed here."); + YY_BREAK case 110: /* rule 110 can match eol */ +YY_RULE_SETUP +{ + AX_surfxml_bypassRoute_dst = 0; + surfxml_bypassRoute_dst_isset = 0; + AX_surfxml_bypassRoute_src = 0; + surfxml_bypassRoute_src_isset = 0; + ENTER(AL_surfxml_bypassRoute); pushbuffer(0); + } + YY_BREAK + case 111: /* rule 111 can match eol */ YY_RULE_SETUP -A_surfxml_AS_routing = A_surfxml_AS_routing_Full; - YY_BREAK +if (surfxml_bypassRoute_dst_isset != 0) {FAIL("Multiple definition of attribute dst in ");} surfxml_bypassRoute_dst_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_bypassRoute_dst); + YY_BREAK case 112: /* rule 112 can match eol */ +YY_RULE_SETUP +if (surfxml_bypassRoute_dst_isset != 0) {FAIL("Multiple definition of attribute dst in ");} surfxml_bypassRoute_dst_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_bypassRoute_dst); + YY_BREAK case 113: /* rule 113 can match eol */ YY_RULE_SETUP -A_surfxml_AS_routing = A_surfxml_AS_routing_Floyd; - YY_BREAK +if (surfxml_bypassRoute_src_isset != 0) {FAIL("Multiple definition of attribute src in ");} surfxml_bypassRoute_src_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_bypassRoute_src); + YY_BREAK case 114: /* rule 114 can match eol */ +YY_RULE_SETUP +if (surfxml_bypassRoute_src_isset != 0) {FAIL("Multiple definition of attribute src in ");} surfxml_bypassRoute_src_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_bypassRoute_src); + YY_BREAK case 115: -/* rule 115 can match eol */ YY_RULE_SETUP -A_surfxml_AS_routing = A_surfxml_AS_routing_Dijkstra; - YY_BREAK -case 116: -/* rule 116 can match eol */ +{ + if (!AX_surfxml_bypassRoute_dst) FAIL("Required attribute `dst' not set for `bypassRoute' element."); + if (!AX_surfxml_bypassRoute_src) FAIL("Required attribute `src' not set for `bypassRoute' element."); + LEAVE; STag_surfxml_bypassRoute();surfxml_pcdata_ix = 0; ENTER(S_surfxml_bypassRoute); + } + YY_BREAK +case 116: +YY_RULE_SETUP +{ + if (!AX_surfxml_bypassRoute_dst) FAIL("Required attribute `dst' not set for `bypassRoute' element."); + if (!AX_surfxml_bypassRoute_src) FAIL("Required attribute `src' not set for `bypassRoute' element."); + LEAVE; STag_surfxml_bypassRoute(); surfxml_pcdata_ix = 0; ETag_surfxml_bypassRoute(); popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_4: case S_surfxml_AS_6: case S_surfxml_AS_7: case S_surfxml_AS_8: SET(S_surfxml_AS_8); break; + } + } + YY_BREAK case 117: -/* rule 117 can match eol */ YY_RULE_SETUP -A_surfxml_AS_routing = A_surfxml_AS_routing_DijkstraCache; - YY_BREAK +FAIL("Unexpected character `%c' in attribute list of bypassRoute element.", surf_parse_text[0]); + YY_BREAK case 118: -/* rule 118 can match eol */ +YY_RULE_SETUP +FAIL("Bad attribute `%s' in `bypassRoute' element start tag.",surf_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_surfxml_bypassRoute): +FAIL("EOF in attribute list of `bypassRoute' element."); + YY_BREAK + case 119: /* rule 119 can match eol */ YY_RULE_SETUP -A_surfxml_AS_routing = A_surfxml_AS_routing_None; - YY_BREAK +{ + LEAVE; + ETag_surfxml_bypassRoute(); + popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_4: case S_surfxml_AS_6: case S_surfxml_AS_7: case S_surfxml_AS_8: SET(S_surfxml_AS_8); break; + } + } + YY_BREAK case 120: /* rule 120 can match eol */ +YY_RULE_SETUP +FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); + YY_BREAK case 121: -/* rule 121 can match eol */ YY_RULE_SETUP -A_surfxml_AS_routing = A_surfxml_AS_routing_Vivaldi; - YY_BREAK +FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); + YY_BREAK +case YY_STATE_EOF(E_surfxml_bypassRoute): +case YY_STATE_EOF(S_surfxml_bypassRoute): +case YY_STATE_EOF(S_surfxml_bypassRoute_2): +if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); + YY_BREAK + case 122: /* rule 122 can match eol */ +YY_RULE_SETUP +FAIL("Starting tag is not allowed here."); + YY_BREAK case 123: /* rule 123 can match eol */ YY_RULE_SETUP -A_surfxml_AS_routing = A_surfxml_AS_routing_Cluster; - YY_BREAK +{ + AX_surfxml_cabinet_bw = 0; + surfxml_cabinet_bw_isset = 0; + AX_surfxml_cabinet_id = 0; + surfxml_cabinet_id_isset = 0; + AX_surfxml_cabinet_lat = 0; + surfxml_cabinet_lat_isset = 0; + AX_surfxml_cabinet_power = 0; + surfxml_cabinet_power_isset = 0; + AX_surfxml_cabinet_prefix = 0; + surfxml_cabinet_prefix_isset = 0; + AX_surfxml_cabinet_radical = 0; + surfxml_cabinet_radical_isset = 0; + AX_surfxml_cabinet_suffix = 0; + surfxml_cabinet_suffix_isset = 0; + ENTER(AL_surfxml_cabinet); pushbuffer(0); + } + YY_BREAK + case 124: /* rule 124 can match eol */ +YY_RULE_SETUP +if (surfxml_cabinet_bw_isset != 0) {FAIL("Multiple definition of attribute bw in ");} surfxml_cabinet_bw_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cabinet_bw); + YY_BREAK case 125: /* rule 125 can match eol */ YY_RULE_SETUP -A_surfxml_AS_routing = A_surfxml_AS_routing_Cluster___torus; - YY_BREAK +if (surfxml_cabinet_bw_isset != 0) {FAIL("Multiple definition of attribute bw in ");} surfxml_cabinet_bw_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cabinet_bw); + YY_BREAK case 126: /* rule 126 can match eol */ +YY_RULE_SETUP +if (surfxml_cabinet_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_cabinet_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cabinet_id); + YY_BREAK case 127: /* rule 127 can match eol */ YY_RULE_SETUP -A_surfxml_AS_routing = A_surfxml_AS_routing_Cluster___fat___tree; - YY_BREAK +if (surfxml_cabinet_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_cabinet_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cabinet_id); + YY_BREAK case 128: +/* rule 128 can match eol */ YY_RULE_SETUP -{ - if (!AX_surfxml_AS_id) FAIL("Required attribute `id' not set for `AS' element."); - if (!AX_surfxml_AS_routing) FAIL("Required attribute `routing' not set for `AS' element."); - LEAVE; STag_surfxml_AS();surfxml_pcdata_ix = 0; ENTER(S_surfxml_AS); - } - YY_BREAK +if (surfxml_cabinet_lat_isset != 0) {FAIL("Multiple definition of attribute lat in ");} surfxml_cabinet_lat_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cabinet_lat); + YY_BREAK case 129: +/* rule 129 can match eol */ YY_RULE_SETUP -{ - if (!AX_surfxml_AS_id) FAIL("Required attribute `id' not set for `AS' element."); - if (!AX_surfxml_AS_routing) FAIL("Required attribute `routing' not set for `AS' element."); - LEAVE; STag_surfxml_AS(); surfxml_pcdata_ix = 0; ETag_surfxml_AS(); popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; - case S_surfxml_include: case S_surfxml_include_1: case S_surfxml_include_2: SET(S_surfxml_include_2); break; - case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_5: case S_surfxml_platform_6: SET(S_surfxml_platform_6); break; - } - } - YY_BREAK +if (surfxml_cabinet_lat_isset != 0) {FAIL("Multiple definition of attribute lat in ");} surfxml_cabinet_lat_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cabinet_lat); + YY_BREAK case 130: +/* rule 130 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of AS element.", surf_parse_text[0]); - YY_BREAK +if (surfxml_cabinet_power_isset != 0) {FAIL("Multiple definition of attribute power in ");} surfxml_cabinet_power_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cabinet_power); + YY_BREAK case 131: +/* rule 131 can match eol */ YY_RULE_SETUP -FAIL("Bad attribute `%s' in `AS' element start tag.",surf_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_surfxml_AS): -FAIL("EOF in attribute list of `AS' element."); - YY_BREAK - +if (surfxml_cabinet_power_isset != 0) {FAIL("Multiple definition of attribute power in ");} surfxml_cabinet_power_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cabinet_power); + YY_BREAK case 132: /* rule 132 can match eol */ YY_RULE_SETUP -{ - LEAVE; - ETag_surfxml_AS(); - popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; - case S_surfxml_include: case S_surfxml_include_1: case S_surfxml_include_2: SET(S_surfxml_include_2); break; - case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_5: case S_surfxml_platform_6: SET(S_surfxml_platform_6); break; - } - } - YY_BREAK +if (surfxml_cabinet_prefix_isset != 0) {FAIL("Multiple definition of attribute prefix in ");} surfxml_cabinet_prefix_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cabinet_prefix); + YY_BREAK case 133: /* rule 133 can match eol */ YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); - YY_BREAK +if (surfxml_cabinet_prefix_isset != 0) {FAIL("Multiple definition of attribute prefix in ");} surfxml_cabinet_prefix_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cabinet_prefix); + YY_BREAK case 134: +/* rule 134 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(S_surfxml_AS_8): -case YY_STATE_EOF(E_surfxml_AS): -case YY_STATE_EOF(S_surfxml_AS): -case YY_STATE_EOF(S_surfxml_AS_4): -case YY_STATE_EOF(S_surfxml_AS_6): -case YY_STATE_EOF(S_surfxml_AS_3): -case YY_STATE_EOF(S_surfxml_AS_1): -if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); - YY_BREAK - +if (surfxml_cabinet_radical_isset != 0) {FAIL("Multiple definition of attribute radical in ");} surfxml_cabinet_radical_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cabinet_radical); + YY_BREAK case 135: /* rule 135 can match eol */ YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK +if (surfxml_cabinet_radical_isset != 0) {FAIL("Multiple definition of attribute radical in ");} surfxml_cabinet_radical_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cabinet_radical); + YY_BREAK case 136: /* rule 136 can match eol */ YY_RULE_SETUP -{ - AX_surfxml_storage___type_id = 0; - surfxml_storage___type_id_isset = 0; - AX_surfxml_storage___type_model = 0; - surfxml_storage___type_model_isset = 0; - AX_surfxml_storage___type_size = 0; - surfxml_storage___type_size_isset = 0; - AX_surfxml_storage___type_content = 0; - surfxml_storage___type_content_isset = 0; - AX_surfxml_storage___type_content___type = 16; - surfxml_storage___type_content___type_isset = 0; - ENTER(AL_surfxml_storage___type); pushbuffer(0); - } - YY_BREAK - +if (surfxml_cabinet_suffix_isset != 0) {FAIL("Multiple definition of attribute suffix in ");} surfxml_cabinet_suffix_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cabinet_suffix); + YY_BREAK case 137: /* rule 137 can match eol */ YY_RULE_SETUP -if (surfxml_storage___type_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_storage___type_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_storage___type_id); - YY_BREAK +if (surfxml_cabinet_suffix_isset != 0) {FAIL("Multiple definition of attribute suffix in ");} surfxml_cabinet_suffix_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cabinet_suffix); + YY_BREAK case 138: -/* rule 138 can match eol */ YY_RULE_SETUP -if (surfxml_storage___type_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_storage___type_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_storage___type_id); - YY_BREAK +{ + if (!AX_surfxml_cabinet_bw) FAIL("Required attribute `bw' not set for `cabinet' element."); + if (!AX_surfxml_cabinet_id) FAIL("Required attribute `id' not set for `cabinet' element."); + if (!AX_surfxml_cabinet_lat) FAIL("Required attribute `lat' not set for `cabinet' element."); + if (!AX_surfxml_cabinet_power) FAIL("Required attribute `power' not set for `cabinet' element."); + if (!AX_surfxml_cabinet_prefix) FAIL("Required attribute `prefix' not set for `cabinet' element."); + if (!AX_surfxml_cabinet_radical) FAIL("Required attribute `radical' not set for `cabinet' element."); + if (!AX_surfxml_cabinet_suffix) FAIL("Required attribute `suffix' not set for `cabinet' element."); + LEAVE; STag_surfxml_cabinet();surfxml_pcdata_ix = 0; ENTER(E_surfxml_cabinet); + } + YY_BREAK case 139: -/* rule 139 can match eol */ YY_RULE_SETUP -if (surfxml_storage___type_model_isset != 0) {FAIL("Multiple definition of attribute model in ");} surfxml_storage___type_model_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_storage___type_model); - YY_BREAK +{ + if (!AX_surfxml_cabinet_bw) FAIL("Required attribute `bw' not set for `cabinet' element."); + if (!AX_surfxml_cabinet_id) FAIL("Required attribute `id' not set for `cabinet' element."); + if (!AX_surfxml_cabinet_lat) FAIL("Required attribute `lat' not set for `cabinet' element."); + if (!AX_surfxml_cabinet_power) FAIL("Required attribute `power' not set for `cabinet' element."); + if (!AX_surfxml_cabinet_prefix) FAIL("Required attribute `prefix' not set for `cabinet' element."); + if (!AX_surfxml_cabinet_radical) FAIL("Required attribute `radical' not set for `cabinet' element."); + if (!AX_surfxml_cabinet_suffix) FAIL("Required attribute `suffix' not set for `cabinet' element."); + LEAVE; STag_surfxml_cabinet(); surfxml_pcdata_ix = 0; ETag_surfxml_cabinet(); popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; + case S_surfxml_include: case S_surfxml_include_1: case S_surfxml_include_2: SET(S_surfxml_include_2); break; + case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_5: case S_surfxml_platform_6: SET(S_surfxml_platform_6); break; + } + } + YY_BREAK case 140: -/* rule 140 can match eol */ YY_RULE_SETUP -if (surfxml_storage___type_model_isset != 0) {FAIL("Multiple definition of attribute model in ");} surfxml_storage___type_model_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_storage___type_model); - YY_BREAK +FAIL("Unexpected character `%c' in attribute list of cabinet element.", surf_parse_text[0]); + YY_BREAK case 141: -/* rule 141 can match eol */ YY_RULE_SETUP -if (surfxml_storage___type_size_isset != 0) {FAIL("Multiple definition of attribute size in ");} surfxml_storage___type_size_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_storage___type_size); - YY_BREAK +FAIL("Bad attribute `%s' in `cabinet' element start tag.",surf_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_surfxml_cabinet): +FAIL("EOF in attribute list of `cabinet' element."); + YY_BREAK + case 142: /* rule 142 can match eol */ YY_RULE_SETUP -if (surfxml_storage___type_size_isset != 0) {FAIL("Multiple definition of attribute size in ");} surfxml_storage___type_size_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_storage___type_size); - YY_BREAK +{ + LEAVE; + ETag_surfxml_cabinet(); + popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; + case S_surfxml_include: case S_surfxml_include_1: case S_surfxml_include_2: SET(S_surfxml_include_2); break; + case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_5: case S_surfxml_platform_6: SET(S_surfxml_platform_6); break; + } + } + YY_BREAK case 143: /* rule 143 can match eol */ YY_RULE_SETUP -if (surfxml_storage___type_content_isset != 0) {FAIL("Multiple definition of attribute content in ");} surfxml_storage___type_content_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_storage___type_content); - YY_BREAK +FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); + YY_BREAK case 144: -/* rule 144 can match eol */ YY_RULE_SETUP -if (surfxml_storage___type_content_isset != 0) {FAIL("Multiple definition of attribute content in ");} surfxml_storage___type_content_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_storage___type_content); - YY_BREAK +FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); + YY_BREAK +case YY_STATE_EOF(E_surfxml_cabinet): +if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); + YY_BREAK + case 145: /* rule 145 can match eol */ YY_RULE_SETUP -if (surfxml_storage___type_content___type_isset != 0) {FAIL("Multiple definition of attribute content_type in ");} surfxml_storage___type_content___type_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_storage___type_content___type); - YY_BREAK +FAIL("Starting tag is not allowed here."); + YY_BREAK case 146: /* rule 146 can match eol */ YY_RULE_SETUP -if (surfxml_storage___type_content___type_isset != 0) {FAIL("Multiple definition of attribute content_type in ");} surfxml_storage___type_content___type_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_storage___type_content___type); - YY_BREAK +{ + AX_surfxml_cluster_availability___file = 0; + surfxml_cluster_availability___file_isset = 0; + AX_surfxml_cluster_bb___bw = 0; + surfxml_cluster_bb___bw_isset = 0; + AX_surfxml_cluster_bb___lat = 0; + surfxml_cluster_bb___lat_isset = 0; + AX_surfxml_cluster_bb___sharing___policy = A_surfxml_cluster_bb___sharing___policy_SHARED; + surfxml_cluster_bb___sharing___policy_isset = 0; + AX_surfxml_cluster_bw = 0; + surfxml_cluster_bw_isset = 0; + AX_surfxml_cluster_core = 44; + surfxml_cluster_core_isset = 0; + AX_surfxml_cluster_id = 0; + surfxml_cluster_id_isset = 0; + AX_surfxml_cluster_lat = 0; + surfxml_cluster_lat_isset = 0; + AX_surfxml_cluster_limiter___link = 0; + surfxml_cluster_limiter___link_isset = 0; + AX_surfxml_cluster_loopback___bw = 0; + surfxml_cluster_loopback___bw_isset = 0; + AX_surfxml_cluster_loopback___lat = 0; + surfxml_cluster_loopback___lat_isset = 0; + AX_surfxml_cluster_power = 0; + surfxml_cluster_power_isset = 0; + AX_surfxml_cluster_prefix = 0; + surfxml_cluster_prefix_isset = 0; + AX_surfxml_cluster_radical = 0; + surfxml_cluster_radical_isset = 0; + AX_surfxml_cluster_router___id = 0; + surfxml_cluster_router___id_isset = 0; + AX_surfxml_cluster_sharing___policy = A_surfxml_cluster_sharing___policy_FULLDUPLEX; + surfxml_cluster_sharing___policy_isset = 0; + AX_surfxml_cluster_state___file = 0; + surfxml_cluster_state___file_isset = 0; + AX_surfxml_cluster_suffix = 0; + surfxml_cluster_suffix_isset = 0; + AX_surfxml_cluster_topo___parameters = 0; + surfxml_cluster_topo___parameters_isset = 0; + AX_surfxml_cluster_topology = A_surfxml_cluster_topology_FLAT; + surfxml_cluster_topology_isset = 0; + ENTER(AL_surfxml_cluster); pushbuffer(0); + } + YY_BREAK + case 147: +/* rule 147 can match eol */ YY_RULE_SETUP -{ - if (!AX_surfxml_storage___type_id) FAIL("Required attribute `id' not set for `storage_type' element."); - if (!AX_surfxml_storage___type_model) FAIL("Required attribute `model' not set for `storage_type' element."); - if (!AX_surfxml_storage___type_size) FAIL("Required attribute `size' not set for `storage_type' element."); - LEAVE; STag_surfxml_storage___type();surfxml_pcdata_ix = 0; ENTER(S_surfxml_storage___type); - } - YY_BREAK +if (surfxml_cluster_availability___file_isset != 0) {FAIL("Multiple definition of attribute availability_file in ");} surfxml_cluster_availability___file_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_availability___file); + YY_BREAK case 148: +/* rule 148 can match eol */ YY_RULE_SETUP -{ - if (!AX_surfxml_storage___type_id) FAIL("Required attribute `id' not set for `storage_type' element."); - if (!AX_surfxml_storage___type_model) FAIL("Required attribute `model' not set for `storage_type' element."); - if (!AX_surfxml_storage___type_size) FAIL("Required attribute `size' not set for `storage_type' element."); - LEAVE; STag_surfxml_storage___type(); surfxml_pcdata_ix = 0; ETag_surfxml_storage___type(); popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; - } - } - YY_BREAK +if (surfxml_cluster_availability___file_isset != 0) {FAIL("Multiple definition of attribute availability_file in ");} surfxml_cluster_availability___file_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_availability___file); + YY_BREAK case 149: +/* rule 149 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of storage_type element.", surf_parse_text[0]); - YY_BREAK +if (surfxml_cluster_bb___bw_isset != 0) {FAIL("Multiple definition of attribute bb_bw in ");} surfxml_cluster_bb___bw_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_bb___bw); + YY_BREAK case 150: +/* rule 150 can match eol */ YY_RULE_SETUP -FAIL("Bad attribute `%s' in `storage_type' element start tag.",surf_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_surfxml_storage___type): -FAIL("EOF in attribute list of `storage_type' element."); - YY_BREAK - +if (surfxml_cluster_bb___bw_isset != 0) {FAIL("Multiple definition of attribute bb_bw in ");} surfxml_cluster_bb___bw_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_bb___bw); + YY_BREAK case 151: /* rule 151 can match eol */ YY_RULE_SETUP -{ - LEAVE; - ETag_surfxml_storage___type(); - popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; - } - } - YY_BREAK +if (surfxml_cluster_bb___lat_isset != 0) {FAIL("Multiple definition of attribute bb_lat in ");} surfxml_cluster_bb___lat_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_bb___lat); + YY_BREAK case 152: /* rule 152 can match eol */ YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); - YY_BREAK +if (surfxml_cluster_bb___lat_isset != 0) {FAIL("Multiple definition of attribute bb_lat in ");} surfxml_cluster_bb___lat_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_bb___lat); + YY_BREAK case 153: -YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(S_surfxml_storage___type_2): -case YY_STATE_EOF(S_surfxml_storage___type): -case YY_STATE_EOF(E_surfxml_storage___type): -if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); - YY_BREAK - +/* rule 153 can match eol */ case 154: /* rule 154 can match eol */ YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK +A_surfxml_cluster_bb___sharing___policy = A_surfxml_cluster_bb___sharing___policy_SHARED; + YY_BREAK case 155: /* rule 155 can match eol */ -YY_RULE_SETUP -{ - AX_surfxml_mount_storageId = 0; - surfxml_mount_storageId_isset = 0; - AX_surfxml_mount_name = 0; - surfxml_mount_name_isset = 0; - ENTER(AL_surfxml_mount); pushbuffer(0); - } - YY_BREAK - case 156: /* rule 156 can match eol */ YY_RULE_SETUP -if (surfxml_mount_storageId_isset != 0) {FAIL("Multiple definition of attribute storageId in ");} surfxml_mount_storageId_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_mount_storageId); - YY_BREAK +A_surfxml_cluster_bb___sharing___policy = A_surfxml_cluster_bb___sharing___policy_FATPIPE; + YY_BREAK case 157: /* rule 157 can match eol */ YY_RULE_SETUP -if (surfxml_mount_storageId_isset != 0) {FAIL("Multiple definition of attribute storageId in ");} surfxml_mount_storageId_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_mount_storageId); - YY_BREAK +if (surfxml_cluster_bw_isset != 0) {FAIL("Multiple definition of attribute bw in ");} surfxml_cluster_bw_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_bw); + YY_BREAK case 158: /* rule 158 can match eol */ YY_RULE_SETUP -if (surfxml_mount_name_isset != 0) {FAIL("Multiple definition of attribute name in ");} surfxml_mount_name_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_mount_name); - YY_BREAK +if (surfxml_cluster_bw_isset != 0) {FAIL("Multiple definition of attribute bw in ");} surfxml_cluster_bw_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_bw); + YY_BREAK case 159: /* rule 159 can match eol */ YY_RULE_SETUP -if (surfxml_mount_name_isset != 0) {FAIL("Multiple definition of attribute name in ");} surfxml_mount_name_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_mount_name); - YY_BREAK +if (surfxml_cluster_core_isset != 0) {FAIL("Multiple definition of attribute core in ");} surfxml_cluster_core_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_core); + YY_BREAK case 160: +/* rule 160 can match eol */ YY_RULE_SETUP -{ - if (!AX_surfxml_mount_storageId) FAIL("Required attribute `storageId' not set for `mount' element."); - if (!AX_surfxml_mount_name) FAIL("Required attribute `name' not set for `mount' element."); - LEAVE; STag_surfxml_mount();surfxml_pcdata_ix = 0; ENTER(E_surfxml_mount); - } - YY_BREAK +if (surfxml_cluster_core_isset != 0) {FAIL("Multiple definition of attribute core in ");} surfxml_cluster_core_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_core); + YY_BREAK case 161: +/* rule 161 can match eol */ YY_RULE_SETUP -{ - if (!AX_surfxml_mount_storageId) FAIL("Required attribute `storageId' not set for `mount' element."); - if (!AX_surfxml_mount_name) FAIL("Required attribute `name' not set for `mount' element."); - LEAVE; STag_surfxml_mount(); surfxml_pcdata_ix = 0; ETag_surfxml_mount(); popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_host: case S_surfxml_host_1: case S_surfxml_host_2: SET(S_surfxml_host_2); break; - } - } - YY_BREAK +if (surfxml_cluster_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_cluster_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_id); + YY_BREAK case 162: +/* rule 162 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of mount element.", surf_parse_text[0]); - YY_BREAK +if (surfxml_cluster_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_cluster_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_id); + YY_BREAK case 163: +/* rule 163 can match eol */ YY_RULE_SETUP -FAIL("Bad attribute `%s' in `mount' element start tag.",surf_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_surfxml_mount): -FAIL("EOF in attribute list of `mount' element."); - YY_BREAK - +if (surfxml_cluster_lat_isset != 0) {FAIL("Multiple definition of attribute lat in ");} surfxml_cluster_lat_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_lat); + YY_BREAK case 164: /* rule 164 can match eol */ YY_RULE_SETUP -{ - LEAVE; - ETag_surfxml_mount(); - popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_host: case S_surfxml_host_1: case S_surfxml_host_2: SET(S_surfxml_host_2); break; - } - } - YY_BREAK +if (surfxml_cluster_lat_isset != 0) {FAIL("Multiple definition of attribute lat in ");} surfxml_cluster_lat_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_lat); + YY_BREAK case 165: /* rule 165 can match eol */ YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); - YY_BREAK +if (surfxml_cluster_limiter___link_isset != 0) {FAIL("Multiple definition of attribute limiter_link in ");} surfxml_cluster_limiter___link_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_limiter___link); + YY_BREAK case 166: +/* rule 166 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(E_surfxml_mount): -if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); - YY_BREAK - +if (surfxml_cluster_limiter___link_isset != 0) {FAIL("Multiple definition of attribute limiter_link in ");} surfxml_cluster_limiter___link_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_limiter___link); + YY_BREAK case 167: /* rule 167 can match eol */ YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK +if (surfxml_cluster_loopback___bw_isset != 0) {FAIL("Multiple definition of attribute loopback_bw in ");} surfxml_cluster_loopback___bw_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_loopback___bw); + YY_BREAK case 168: /* rule 168 can match eol */ YY_RULE_SETUP -{ - AX_surfxml_mstorage_typeId = 0; - surfxml_mstorage_typeId_isset = 0; - AX_surfxml_mstorage_name = 0; - surfxml_mstorage_name_isset = 0; - ENTER(AL_surfxml_mstorage); pushbuffer(0); - } - YY_BREAK - +if (surfxml_cluster_loopback___bw_isset != 0) {FAIL("Multiple definition of attribute loopback_bw in ");} surfxml_cluster_loopback___bw_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_loopback___bw); + YY_BREAK case 169: /* rule 169 can match eol */ YY_RULE_SETUP -if (surfxml_mstorage_typeId_isset != 0) {FAIL("Multiple definition of attribute typeId in ");} surfxml_mstorage_typeId_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_mstorage_typeId); - YY_BREAK +if (surfxml_cluster_loopback___lat_isset != 0) {FAIL("Multiple definition of attribute loopback_lat in ");} surfxml_cluster_loopback___lat_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_loopback___lat); + YY_BREAK case 170: /* rule 170 can match eol */ YY_RULE_SETUP -if (surfxml_mstorage_typeId_isset != 0) {FAIL("Multiple definition of attribute typeId in ");} surfxml_mstorage_typeId_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_mstorage_typeId); - YY_BREAK +if (surfxml_cluster_loopback___lat_isset != 0) {FAIL("Multiple definition of attribute loopback_lat in ");} surfxml_cluster_loopback___lat_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_loopback___lat); + YY_BREAK case 171: /* rule 171 can match eol */ YY_RULE_SETUP -if (surfxml_mstorage_name_isset != 0) {FAIL("Multiple definition of attribute name in ");} surfxml_mstorage_name_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_mstorage_name); - YY_BREAK +if (surfxml_cluster_power_isset != 0) {FAIL("Multiple definition of attribute power in ");} surfxml_cluster_power_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_power); + YY_BREAK case 172: /* rule 172 can match eol */ YY_RULE_SETUP -if (surfxml_mstorage_name_isset != 0) {FAIL("Multiple definition of attribute name in ");} surfxml_mstorage_name_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_mstorage_name); - YY_BREAK +if (surfxml_cluster_power_isset != 0) {FAIL("Multiple definition of attribute power in ");} surfxml_cluster_power_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_power); + YY_BREAK case 173: +/* rule 173 can match eol */ YY_RULE_SETUP -{ - if (!AX_surfxml_mstorage_typeId) FAIL("Required attribute `typeId' not set for `mstorage' element."); - if (!AX_surfxml_mstorage_name) FAIL("Required attribute `name' not set for `mstorage' element."); - LEAVE; STag_surfxml_mstorage();surfxml_pcdata_ix = 0; ENTER(E_surfxml_mstorage); - } - YY_BREAK +if (surfxml_cluster_prefix_isset != 0) {FAIL("Multiple definition of attribute prefix in ");} surfxml_cluster_prefix_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_prefix); + YY_BREAK case 174: +/* rule 174 can match eol */ YY_RULE_SETUP -{ - if (!AX_surfxml_mstorage_typeId) FAIL("Required attribute `typeId' not set for `mstorage' element."); - if (!AX_surfxml_mstorage_name) FAIL("Required attribute `name' not set for `mstorage' element."); - LEAVE; STag_surfxml_mstorage(); surfxml_pcdata_ix = 0; ETag_surfxml_mstorage(); popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_host: case S_surfxml_host_1: case S_surfxml_host_2: SET(S_surfxml_host_2); break; - } - } - YY_BREAK +if (surfxml_cluster_prefix_isset != 0) {FAIL("Multiple definition of attribute prefix in ");} surfxml_cluster_prefix_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_prefix); + YY_BREAK case 175: +/* rule 175 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of mstorage element.", surf_parse_text[0]); - YY_BREAK +if (surfxml_cluster_radical_isset != 0) {FAIL("Multiple definition of attribute radical in ");} surfxml_cluster_radical_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_radical); + YY_BREAK case 176: +/* rule 176 can match eol */ YY_RULE_SETUP -FAIL("Bad attribute `%s' in `mstorage' element start tag.",surf_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_surfxml_mstorage): -FAIL("EOF in attribute list of `mstorage' element."); - YY_BREAK - +if (surfxml_cluster_radical_isset != 0) {FAIL("Multiple definition of attribute radical in ");} surfxml_cluster_radical_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_radical); + YY_BREAK case 177: /* rule 177 can match eol */ YY_RULE_SETUP -{ - LEAVE; - ETag_surfxml_mstorage(); - popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_host: case S_surfxml_host_1: case S_surfxml_host_2: SET(S_surfxml_host_2); break; - } - } - YY_BREAK +if (surfxml_cluster_router___id_isset != 0) {FAIL("Multiple definition of attribute router_id in ");} surfxml_cluster_router___id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_router___id); + YY_BREAK case 178: /* rule 178 can match eol */ YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); - YY_BREAK +if (surfxml_cluster_router___id_isset != 0) {FAIL("Multiple definition of attribute router_id in ");} surfxml_cluster_router___id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_router___id); + YY_BREAK case 179: -YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(E_surfxml_mstorage): -if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); - YY_BREAK - +/* rule 179 can match eol */ case 180: /* rule 180 can match eol */ YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK +A_surfxml_cluster_sharing___policy = A_surfxml_cluster_sharing___policy_SHARED; + YY_BREAK case 181: /* rule 181 can match eol */ -YY_RULE_SETUP -{ - AX_surfxml_host_id = 0; - surfxml_host_id_isset = 0; - AX_surfxml_host_power = 0; - surfxml_host_power_isset = 0; - AX_surfxml_host_core = 25; - surfxml_host_core_isset = 0; - AX_surfxml_host_availability = 27; - surfxml_host_availability_isset = 0; - AX_surfxml_host_availability___file = 0; - surfxml_host_availability___file_isset = 0; - AX_surfxml_host_state = A_surfxml_host_state_ON; - surfxml_host_state_isset = 0; - AX_surfxml_host_state___file = 0; - surfxml_host_state___file_isset = 0; - AX_surfxml_host_coordinates = 0; - surfxml_host_coordinates_isset = 0; - AX_surfxml_host_pstate = 31; - surfxml_host_pstate_isset = 0; - ENTER(AL_surfxml_host); pushbuffer(0); - } - YY_BREAK - case 182: /* rule 182 can match eol */ YY_RULE_SETUP -if (surfxml_host_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_host_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_host_id); - YY_BREAK +A_surfxml_cluster_sharing___policy = A_surfxml_cluster_sharing___policy_FULLDUPLEX; + YY_BREAK case 183: /* rule 183 can match eol */ -YY_RULE_SETUP -if (surfxml_host_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_host_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_host_id); - YY_BREAK case 184: /* rule 184 can match eol */ YY_RULE_SETUP -if (surfxml_host_power_isset != 0) {FAIL("Multiple definition of attribute power in ");} surfxml_host_power_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_host_power); - YY_BREAK +A_surfxml_cluster_sharing___policy = A_surfxml_cluster_sharing___policy_FATPIPE; + YY_BREAK case 185: /* rule 185 can match eol */ YY_RULE_SETUP -if (surfxml_host_power_isset != 0) {FAIL("Multiple definition of attribute power in ");} surfxml_host_power_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_host_power); - YY_BREAK +if (surfxml_cluster_state___file_isset != 0) {FAIL("Multiple definition of attribute state_file in ");} surfxml_cluster_state___file_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_state___file); + YY_BREAK case 186: /* rule 186 can match eol */ YY_RULE_SETUP -if (surfxml_host_core_isset != 0) {FAIL("Multiple definition of attribute core in ");} surfxml_host_core_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_host_core); - YY_BREAK +if (surfxml_cluster_state___file_isset != 0) {FAIL("Multiple definition of attribute state_file in ");} surfxml_cluster_state___file_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_state___file); + YY_BREAK case 187: /* rule 187 can match eol */ YY_RULE_SETUP -if (surfxml_host_core_isset != 0) {FAIL("Multiple definition of attribute core in ");} surfxml_host_core_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_host_core); - YY_BREAK +if (surfxml_cluster_suffix_isset != 0) {FAIL("Multiple definition of attribute suffix in ");} surfxml_cluster_suffix_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_suffix); + YY_BREAK case 188: /* rule 188 can match eol */ YY_RULE_SETUP -if (surfxml_host_availability_isset != 0) {FAIL("Multiple definition of attribute availability in ");} surfxml_host_availability_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_host_availability); - YY_BREAK +if (surfxml_cluster_suffix_isset != 0) {FAIL("Multiple definition of attribute suffix in ");} surfxml_cluster_suffix_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_suffix); + YY_BREAK case 189: /* rule 189 can match eol */ YY_RULE_SETUP -if (surfxml_host_availability_isset != 0) {FAIL("Multiple definition of attribute availability in ");} surfxml_host_availability_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_host_availability); - YY_BREAK +if (surfxml_cluster_topo___parameters_isset != 0) {FAIL("Multiple definition of attribute topo_parameters in ");} surfxml_cluster_topo___parameters_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_topo___parameters); + YY_BREAK case 190: /* rule 190 can match eol */ YY_RULE_SETUP -if (surfxml_host_availability___file_isset != 0) {FAIL("Multiple definition of attribute availability_file in ");} surfxml_host_availability___file_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_host_availability___file); - YY_BREAK +if (surfxml_cluster_topo___parameters_isset != 0) {FAIL("Multiple definition of attribute topo_parameters in ");} surfxml_cluster_topo___parameters_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_topo___parameters); + YY_BREAK case 191: /* rule 191 can match eol */ -YY_RULE_SETUP -if (surfxml_host_availability___file_isset != 0) {FAIL("Multiple definition of attribute availability_file in ");} surfxml_host_availability___file_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_host_availability___file); - YY_BREAK case 192: /* rule 192 can match eol */ +YY_RULE_SETUP +A_surfxml_cluster_topology = A_surfxml_cluster_topology_FLAT; + YY_BREAK case 193: /* rule 193 can match eol */ -YY_RULE_SETUP -A_surfxml_host_state = A_surfxml_host_state_ON; - YY_BREAK case 194: /* rule 194 can match eol */ +YY_RULE_SETUP +A_surfxml_cluster_topology = A_surfxml_cluster_topology_TORUS; + YY_BREAK case 195: /* rule 195 can match eol */ -YY_RULE_SETUP -A_surfxml_host_state = A_surfxml_host_state_OFF; - YY_BREAK case 196: /* rule 196 can match eol */ YY_RULE_SETUP -if (surfxml_host_state___file_isset != 0) {FAIL("Multiple definition of attribute state_file in ");} surfxml_host_state___file_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_host_state___file); - YY_BREAK +A_surfxml_cluster_topology = A_surfxml_cluster_topology_FAT___TREE; + YY_BREAK case 197: -/* rule 197 can match eol */ YY_RULE_SETUP -if (surfxml_host_state___file_isset != 0) {FAIL("Multiple definition of attribute state_file in ");} surfxml_host_state___file_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_host_state___file); - YY_BREAK +{ + if (!AX_surfxml_cluster_bw) FAIL("Required attribute `bw' not set for `cluster' element."); + if (!AX_surfxml_cluster_id) FAIL("Required attribute `id' not set for `cluster' element."); + if (!AX_surfxml_cluster_lat) FAIL("Required attribute `lat' not set for `cluster' element."); + if (!AX_surfxml_cluster_power) FAIL("Required attribute `power' not set for `cluster' element."); + if (!AX_surfxml_cluster_prefix) FAIL("Required attribute `prefix' not set for `cluster' element."); + if (!AX_surfxml_cluster_radical) FAIL("Required attribute `radical' not set for `cluster' element."); + if (!AX_surfxml_cluster_suffix) FAIL("Required attribute `suffix' not set for `cluster' element."); + LEAVE; STag_surfxml_cluster();surfxml_pcdata_ix = 0; ENTER(S_surfxml_cluster); + } + YY_BREAK case 198: -/* rule 198 can match eol */ YY_RULE_SETUP -if (surfxml_host_coordinates_isset != 0) {FAIL("Multiple definition of attribute coordinates in ");} surfxml_host_coordinates_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_host_coordinates); - YY_BREAK +{ + if (!AX_surfxml_cluster_bw) FAIL("Required attribute `bw' not set for `cluster' element."); + if (!AX_surfxml_cluster_id) FAIL("Required attribute `id' not set for `cluster' element."); + if (!AX_surfxml_cluster_lat) FAIL("Required attribute `lat' not set for `cluster' element."); + if (!AX_surfxml_cluster_power) FAIL("Required attribute `power' not set for `cluster' element."); + if (!AX_surfxml_cluster_prefix) FAIL("Required attribute `prefix' not set for `cluster' element."); + if (!AX_surfxml_cluster_radical) FAIL("Required attribute `radical' not set for `cluster' element."); + if (!AX_surfxml_cluster_suffix) FAIL("Required attribute `suffix' not set for `cluster' element."); + LEAVE; STag_surfxml_cluster(); surfxml_pcdata_ix = 0; ETag_surfxml_cluster(); popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; + case S_surfxml_include: case S_surfxml_include_1: case S_surfxml_include_2: SET(S_surfxml_include_2); break; + case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_5: case S_surfxml_platform_6: SET(S_surfxml_platform_6); break; + } + } + YY_BREAK case 199: -/* rule 199 can match eol */ YY_RULE_SETUP -if (surfxml_host_coordinates_isset != 0) {FAIL("Multiple definition of attribute coordinates in ");} surfxml_host_coordinates_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_host_coordinates); - YY_BREAK +FAIL("Unexpected character `%c' in attribute list of cluster element.", surf_parse_text[0]); + YY_BREAK case 200: -/* rule 200 can match eol */ YY_RULE_SETUP -if (surfxml_host_pstate_isset != 0) {FAIL("Multiple definition of attribute pstate in ");} surfxml_host_pstate_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_host_pstate); - YY_BREAK +FAIL("Bad attribute `%s' in `cluster' element start tag.",surf_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_surfxml_cluster): +FAIL("EOF in attribute list of `cluster' element."); + YY_BREAK + case 201: /* rule 201 can match eol */ YY_RULE_SETUP -if (surfxml_host_pstate_isset != 0) {FAIL("Multiple definition of attribute pstate in ");} surfxml_host_pstate_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_host_pstate); - YY_BREAK -case 202: -YY_RULE_SETUP -{ - if (!AX_surfxml_host_id) FAIL("Required attribute `id' not set for `host' element."); - if (!AX_surfxml_host_power) FAIL("Required attribute `power' not set for `host' element."); - LEAVE; STag_surfxml_host();surfxml_pcdata_ix = 0; ENTER(S_surfxml_host); - } - YY_BREAK -case 203: -YY_RULE_SETUP { - if (!AX_surfxml_host_id) FAIL("Required attribute `id' not set for `host' element."); - if (!AX_surfxml_host_power) FAIL("Required attribute `power' not set for `host' element."); - LEAVE; STag_surfxml_host(); surfxml_pcdata_ix = 0; ETag_surfxml_host(); popbuffer(); /* attribute */ + LEAVE; + ETag_surfxml_cluster(); + popbuffer(); /* attribute */ switch (YY_START) { case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; + case S_surfxml_include: case S_surfxml_include_1: case S_surfxml_include_2: SET(S_surfxml_include_2); break; + case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_5: case S_surfxml_platform_6: SET(S_surfxml_platform_6); break; } } - YY_BREAK + YY_BREAK +case 202: +/* rule 202 can match eol */ +YY_RULE_SETUP +FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); + YY_BREAK +case 203: +YY_RULE_SETUP +FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); + YY_BREAK +case YY_STATE_EOF(E_surfxml_cluster): +case YY_STATE_EOF(S_surfxml_cluster): +case YY_STATE_EOF(S_surfxml_cluster_2): +if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); + YY_BREAK + case 204: +/* rule 204 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of host element.", surf_parse_text[0]); - YY_BREAK +FAIL("Starting tag is not allowed here."); + YY_BREAK case 205: +/* rule 205 can match eol */ YY_RULE_SETUP -FAIL("Bad attribute `%s' in `host' element start tag.",surf_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_surfxml_host): -FAIL("EOF in attribute list of `host' element."); - YY_BREAK +{ + AX_surfxml_config_id = 0; + surfxml_config_id_isset = 0; + ENTER(AL_surfxml_config); pushbuffer(0); + } + YY_BREAK case 206: /* rule 206 can match eol */ YY_RULE_SETUP -{ - LEAVE; - ETag_surfxml_host(); - popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; - } - } - YY_BREAK +if (surfxml_config_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_config_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_config_id); + YY_BREAK case 207: /* rule 207 can match eol */ YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); - YY_BREAK +if (surfxml_config_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_config_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_config_id); + YY_BREAK case 208: YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(S_surfxml_host_2): -case YY_STATE_EOF(S_surfxml_host): -case YY_STATE_EOF(E_surfxml_host): -if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); - YY_BREAK - +{ + LEAVE; STag_surfxml_config();surfxml_pcdata_ix = 0; ENTER(S_surfxml_config); + } + YY_BREAK case 209: -/* rule 209 can match eol */ -YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK -case 210: -/* rule 210 can match eol */ YY_RULE_SETUP { - AX_surfxml_storage_id = 0; - surfxml_storage_id_isset = 0; - AX_surfxml_storage_typeId = 0; - surfxml_storage_typeId_isset = 0; - AX_surfxml_storage_content = 0; - surfxml_storage_content_isset = 0; - AX_surfxml_storage_content___type = 35; - surfxml_storage_content___type_isset = 0; - AX_surfxml_storage_attach = 0; - surfxml_storage_attach_isset = 0; - ENTER(AL_surfxml_storage); pushbuffer(0); + LEAVE; STag_surfxml_config(); surfxml_pcdata_ix = 0; ETag_surfxml_config(); popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_platform: case S_surfxml_platform_2: case S_surfxml_platform_3: SET(S_surfxml_platform_3); break; } - YY_BREAK - + } + YY_BREAK +case 210: +YY_RULE_SETUP +FAIL("Unexpected character `%c' in attribute list of config element.", surf_parse_text[0]); + YY_BREAK case 211: -/* rule 211 can match eol */ YY_RULE_SETUP -if (surfxml_storage_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_storage_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_storage_id); - YY_BREAK +FAIL("Bad attribute `%s' in `config' element start tag.",surf_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_surfxml_config): +FAIL("EOF in attribute list of `config' element."); + YY_BREAK + case 212: /* rule 212 can match eol */ YY_RULE_SETUP -if (surfxml_storage_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_storage_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_storage_id); - YY_BREAK +{ + LEAVE; + ETag_surfxml_config(); + popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_platform: case S_surfxml_platform_2: case S_surfxml_platform_3: SET(S_surfxml_platform_3); break; + } + } + YY_BREAK case 213: /* rule 213 can match eol */ YY_RULE_SETUP -if (surfxml_storage_typeId_isset != 0) {FAIL("Multiple definition of attribute typeId in ");} surfxml_storage_typeId_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_storage_typeId); - YY_BREAK +FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); + YY_BREAK case 214: -/* rule 214 can match eol */ YY_RULE_SETUP -if (surfxml_storage_typeId_isset != 0) {FAIL("Multiple definition of attribute typeId in ");} surfxml_storage_typeId_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_storage_typeId); - YY_BREAK +FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); + YY_BREAK +case YY_STATE_EOF(E_surfxml_config): +case YY_STATE_EOF(S_surfxml_config): +case YY_STATE_EOF(S_surfxml_config_2): +if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); + YY_BREAK + case 215: /* rule 215 can match eol */ YY_RULE_SETUP -if (surfxml_storage_content_isset != 0) {FAIL("Multiple definition of attribute content in ");} surfxml_storage_content_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_storage_content); - YY_BREAK +FAIL("Starting tag is not allowed here."); + YY_BREAK case 216: /* rule 216 can match eol */ YY_RULE_SETUP -if (surfxml_storage_content_isset != 0) {FAIL("Multiple definition of attribute content in ");} surfxml_storage_content_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_storage_content); - YY_BREAK +{ + AX_surfxml_gpu_name = 0; + surfxml_gpu_name_isset = 0; + ENTER(AL_surfxml_gpu); pushbuffer(0); + } + YY_BREAK + case 217: /* rule 217 can match eol */ YY_RULE_SETUP -if (surfxml_storage_content___type_isset != 0) {FAIL("Multiple definition of attribute content_type in ");} surfxml_storage_content___type_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_storage_content___type); - YY_BREAK +if (surfxml_gpu_name_isset != 0) {FAIL("Multiple definition of attribute name in ");} surfxml_gpu_name_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_gpu_name); + YY_BREAK case 218: /* rule 218 can match eol */ YY_RULE_SETUP -if (surfxml_storage_content___type_isset != 0) {FAIL("Multiple definition of attribute content_type in ");} surfxml_storage_content___type_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_storage_content___type); - YY_BREAK +if (surfxml_gpu_name_isset != 0) {FAIL("Multiple definition of attribute name in ");} surfxml_gpu_name_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_gpu_name); + YY_BREAK case 219: -/* rule 219 can match eol */ -YY_RULE_SETUP -if (surfxml_storage_attach_isset != 0) {FAIL("Multiple definition of attribute attach in ");} surfxml_storage_attach_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_storage_attach); - YY_BREAK -case 220: -/* rule 220 can match eol */ -YY_RULE_SETUP -if (surfxml_storage_attach_isset != 0) {FAIL("Multiple definition of attribute attach in ");} surfxml_storage_attach_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_storage_attach); - YY_BREAK -case 221: YY_RULE_SETUP { - if (!AX_surfxml_storage_id) FAIL("Required attribute `id' not set for `storage' element."); - if (!AX_surfxml_storage_typeId) FAIL("Required attribute `typeId' not set for `storage' element."); - if (!AX_surfxml_storage_attach) FAIL("Required attribute `attach' not set for `storage' element."); - LEAVE; STag_surfxml_storage();surfxml_pcdata_ix = 0; ENTER(S_surfxml_storage); + if (!AX_surfxml_gpu_name) FAIL("Required attribute `name' not set for `gpu' element."); + LEAVE; STag_surfxml_gpu();surfxml_pcdata_ix = 0; ENTER(E_surfxml_gpu); } - YY_BREAK -case 222: + YY_BREAK +case 220: YY_RULE_SETUP { - if (!AX_surfxml_storage_id) FAIL("Required attribute `id' not set for `storage' element."); - if (!AX_surfxml_storage_typeId) FAIL("Required attribute `typeId' not set for `storage' element."); - if (!AX_surfxml_storage_attach) FAIL("Required attribute `attach' not set for `storage' element."); - LEAVE; STag_surfxml_storage(); surfxml_pcdata_ix = 0; ETag_surfxml_storage(); popbuffer(); /* attribute */ + if (!AX_surfxml_gpu_name) FAIL("Required attribute `name' not set for `gpu' element."); + LEAVE; STag_surfxml_gpu(); surfxml_pcdata_ix = 0; ETag_surfxml_gpu(); popbuffer(); /* attribute */ switch (YY_START) { case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; } } - YY_BREAK -case 223: + YY_BREAK +case 221: YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of storage element.", surf_parse_text[0]); - YY_BREAK -case 224: +FAIL("Unexpected character `%c' in attribute list of gpu element.", surf_parse_text[0]); + YY_BREAK +case 222: YY_RULE_SETUP -FAIL("Bad attribute `%s' in `storage' element start tag.",surf_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_surfxml_storage): -FAIL("EOF in attribute list of `storage' element."); - YY_BREAK +FAIL("Bad attribute `%s' in `gpu' element start tag.",surf_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_surfxml_gpu): +FAIL("EOF in attribute list of `gpu' element."); + YY_BREAK -case 225: -/* rule 225 can match eol */ +case 223: +/* rule 223 can match eol */ YY_RULE_SETUP { LEAVE; - ETag_surfxml_storage(); + ETag_surfxml_gpu(); popbuffer(); /* attribute */ switch (YY_START) { case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; } } - YY_BREAK + YY_BREAK +case 224: +/* rule 224 can match eol */ +YY_RULE_SETUP +FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); + YY_BREAK +case 225: +YY_RULE_SETUP +FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); + YY_BREAK +case YY_STATE_EOF(E_surfxml_gpu): +if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); + YY_BREAK + case 226: /* rule 226 can match eol */ YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); - YY_BREAK +FAIL("Starting tag is not allowed here."); + YY_BREAK case 227: +/* rule 227 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(S_surfxml_storage_2): -case YY_STATE_EOF(S_surfxml_storage): -case YY_STATE_EOF(E_surfxml_storage): -if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); - YY_BREAK +{ + AX_surfxml_host_availability = 27; + surfxml_host_availability_isset = 0; + AX_surfxml_host_availability___file = 0; + surfxml_host_availability___file_isset = 0; + AX_surfxml_host_coordinates = 0; + surfxml_host_coordinates_isset = 0; + AX_surfxml_host_core = 25; + surfxml_host_core_isset = 0; + AX_surfxml_host_id = 0; + surfxml_host_id_isset = 0; + AX_surfxml_host_power = 0; + surfxml_host_power_isset = 0; + AX_surfxml_host_pstate = 31; + surfxml_host_pstate_isset = 0; + AX_surfxml_host_state = A_surfxml_host_state_ON; + surfxml_host_state_isset = 0; + AX_surfxml_host_state___file = 0; + surfxml_host_state___file_isset = 0; + ENTER(AL_surfxml_host); pushbuffer(0); + } + YY_BREAK case 228: /* rule 228 can match eol */ YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK -case 229: -/* rule 229 can match eol */ -YY_RULE_SETUP -{ - AX_surfxml_gpu_name = 0; - surfxml_gpu_name_isset = 0; - ENTER(AL_surfxml_gpu); pushbuffer(0); - } - YY_BREAK - +if (surfxml_host_availability_isset != 0) {FAIL("Multiple definition of attribute availability in ");} surfxml_host_availability_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_host_availability); + YY_BREAK +case 229: +/* rule 229 can match eol */ +YY_RULE_SETUP +if (surfxml_host_availability_isset != 0) {FAIL("Multiple definition of attribute availability in ");} surfxml_host_availability_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_host_availability); + YY_BREAK case 230: /* rule 230 can match eol */ YY_RULE_SETUP -if (surfxml_gpu_name_isset != 0) {FAIL("Multiple definition of attribute name in ");} surfxml_gpu_name_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_gpu_name); - YY_BREAK +if (surfxml_host_availability___file_isset != 0) {FAIL("Multiple definition of attribute availability_file in ");} surfxml_host_availability___file_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_host_availability___file); + YY_BREAK case 231: /* rule 231 can match eol */ YY_RULE_SETUP -if (surfxml_gpu_name_isset != 0) {FAIL("Multiple definition of attribute name in ");} surfxml_gpu_name_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_gpu_name); - YY_BREAK +if (surfxml_host_availability___file_isset != 0) {FAIL("Multiple definition of attribute availability_file in ");} surfxml_host_availability___file_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_host_availability___file); + YY_BREAK case 232: +/* rule 232 can match eol */ YY_RULE_SETUP -{ - if (!AX_surfxml_gpu_name) FAIL("Required attribute `name' not set for `gpu' element."); - LEAVE; STag_surfxml_gpu();surfxml_pcdata_ix = 0; ENTER(E_surfxml_gpu); - } - YY_BREAK +if (surfxml_host_coordinates_isset != 0) {FAIL("Multiple definition of attribute coordinates in ");} surfxml_host_coordinates_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_host_coordinates); + YY_BREAK case 233: +/* rule 233 can match eol */ YY_RULE_SETUP -{ - if (!AX_surfxml_gpu_name) FAIL("Required attribute `name' not set for `gpu' element."); - LEAVE; STag_surfxml_gpu(); surfxml_pcdata_ix = 0; ETag_surfxml_gpu(); popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; - } - } - YY_BREAK +if (surfxml_host_coordinates_isset != 0) {FAIL("Multiple definition of attribute coordinates in ");} surfxml_host_coordinates_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_host_coordinates); + YY_BREAK case 234: +/* rule 234 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of gpu element.", surf_parse_text[0]); - YY_BREAK +if (surfxml_host_core_isset != 0) {FAIL("Multiple definition of attribute core in ");} surfxml_host_core_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_host_core); + YY_BREAK case 235: +/* rule 235 can match eol */ YY_RULE_SETUP -FAIL("Bad attribute `%s' in `gpu' element start tag.",surf_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_surfxml_gpu): -FAIL("EOF in attribute list of `gpu' element."); - YY_BREAK - +if (surfxml_host_core_isset != 0) {FAIL("Multiple definition of attribute core in ");} surfxml_host_core_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_host_core); + YY_BREAK case 236: /* rule 236 can match eol */ YY_RULE_SETUP -{ - LEAVE; - ETag_surfxml_gpu(); - popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; - } - } - YY_BREAK +if (surfxml_host_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_host_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_host_id); + YY_BREAK case 237: /* rule 237 can match eol */ YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); - YY_BREAK +if (surfxml_host_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_host_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_host_id); + YY_BREAK case 238: +/* rule 238 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(E_surfxml_gpu): -if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); - YY_BREAK - +if (surfxml_host_power_isset != 0) {FAIL("Multiple definition of attribute power in ");} surfxml_host_power_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_host_power); + YY_BREAK case 239: /* rule 239 can match eol */ YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK +if (surfxml_host_power_isset != 0) {FAIL("Multiple definition of attribute power in ");} surfxml_host_power_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_host_power); + YY_BREAK case 240: /* rule 240 can match eol */ YY_RULE_SETUP -{ - AX_surfxml_host___link_id = 0; - surfxml_host___link_id_isset = 0; - AX_surfxml_host___link_up = 0; - surfxml_host___link_up_isset = 0; - AX_surfxml_host___link_down = 0; - surfxml_host___link_down_isset = 0; - ENTER(AL_surfxml_host___link); pushbuffer(0); - } - YY_BREAK - +if (surfxml_host_pstate_isset != 0) {FAIL("Multiple definition of attribute pstate in ");} surfxml_host_pstate_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_host_pstate); + YY_BREAK case 241: /* rule 241 can match eol */ YY_RULE_SETUP -if (surfxml_host___link_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_host___link_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_host___link_id); - YY_BREAK +if (surfxml_host_pstate_isset != 0) {FAIL("Multiple definition of attribute pstate in ");} surfxml_host_pstate_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_host_pstate); + YY_BREAK case 242: /* rule 242 can match eol */ -YY_RULE_SETUP -if (surfxml_host___link_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_host___link_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_host___link_id); - YY_BREAK case 243: /* rule 243 can match eol */ YY_RULE_SETUP -if (surfxml_host___link_up_isset != 0) {FAIL("Multiple definition of attribute up in ");} surfxml_host___link_up_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_host___link_up); - YY_BREAK +A_surfxml_host_state = A_surfxml_host_state_ON; + YY_BREAK case 244: /* rule 244 can match eol */ -YY_RULE_SETUP -if (surfxml_host___link_up_isset != 0) {FAIL("Multiple definition of attribute up in ");} surfxml_host___link_up_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_host___link_up); - YY_BREAK case 245: /* rule 245 can match eol */ YY_RULE_SETUP -if (surfxml_host___link_down_isset != 0) {FAIL("Multiple definition of attribute down in ");} surfxml_host___link_down_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_host___link_down); - YY_BREAK +A_surfxml_host_state = A_surfxml_host_state_OFF; + YY_BREAK case 246: /* rule 246 can match eol */ YY_RULE_SETUP -if (surfxml_host___link_down_isset != 0) {FAIL("Multiple definition of attribute down in ");} surfxml_host___link_down_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_host___link_down); - YY_BREAK +if (surfxml_host_state___file_isset != 0) {FAIL("Multiple definition of attribute state_file in ");} surfxml_host_state___file_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_host_state___file); + YY_BREAK case 247: +/* rule 247 can match eol */ +YY_RULE_SETUP +if (surfxml_host_state___file_isset != 0) {FAIL("Multiple definition of attribute state_file in ");} surfxml_host_state___file_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_host_state___file); + YY_BREAK +case 248: YY_RULE_SETUP { - if (!AX_surfxml_host___link_id) FAIL("Required attribute `id' not set for `host_link' element."); - if (!AX_surfxml_host___link_up) FAIL("Required attribute `up' not set for `host_link' element."); - if (!AX_surfxml_host___link_down) FAIL("Required attribute `down' not set for `host_link' element."); - LEAVE; STag_surfxml_host___link();surfxml_pcdata_ix = 0; ENTER(E_surfxml_host___link); + if (!AX_surfxml_host_id) FAIL("Required attribute `id' not set for `host' element."); + if (!AX_surfxml_host_power) FAIL("Required attribute `power' not set for `host' element."); + LEAVE; STag_surfxml_host();surfxml_pcdata_ix = 0; ENTER(S_surfxml_host); } - YY_BREAK -case 248: + YY_BREAK +case 249: YY_RULE_SETUP { - if (!AX_surfxml_host___link_id) FAIL("Required attribute `id' not set for `host_link' element."); - if (!AX_surfxml_host___link_up) FAIL("Required attribute `up' not set for `host_link' element."); - if (!AX_surfxml_host___link_down) FAIL("Required attribute `down' not set for `host_link' element."); - LEAVE; STag_surfxml_host___link(); surfxml_pcdata_ix = 0; ETag_surfxml_host___link(); popbuffer(); /* attribute */ + if (!AX_surfxml_host_id) FAIL("Required attribute `id' not set for `host' element."); + if (!AX_surfxml_host_power) FAIL("Required attribute `power' not set for `host' element."); + LEAVE; STag_surfxml_host(); surfxml_pcdata_ix = 0; ETag_surfxml_host(); popbuffer(); /* attribute */ switch (YY_START) { case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; } } - YY_BREAK -case 249: -YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of host_link element.", surf_parse_text[0]); - YY_BREAK + YY_BREAK case 250: YY_RULE_SETUP -FAIL("Bad attribute `%s' in `host_link' element start tag.",surf_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_surfxml_host___link): -FAIL("EOF in attribute list of `host_link' element."); - YY_BREAK - +FAIL("Unexpected character `%c' in attribute list of host element.", surf_parse_text[0]); + YY_BREAK case 251: -/* rule 251 can match eol */ +YY_RULE_SETUP +FAIL("Bad attribute `%s' in `host' element start tag.",surf_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_surfxml_host): +FAIL("EOF in attribute list of `host' element."); + YY_BREAK + +case 252: +/* rule 252 can match eol */ YY_RULE_SETUP { LEAVE; - ETag_surfxml_host___link(); + ETag_surfxml_host(); popbuffer(); /* attribute */ switch (YY_START) { case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; } } - YY_BREAK -case 252: -/* rule 252 can match eol */ -YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); - YY_BREAK + YY_BREAK case 253: +/* rule 253 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(E_surfxml_host___link): -if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); - YY_BREAK - +FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); + YY_BREAK case 254: -/* rule 254 can match eol */ YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK +FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); + YY_BREAK +case YY_STATE_EOF(E_surfxml_host): +case YY_STATE_EOF(S_surfxml_host): +case YY_STATE_EOF(S_surfxml_host_2): +if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); + YY_BREAK + case 255: /* rule 255 can match eol */ YY_RULE_SETUP -{ - AX_surfxml_cluster_id = 0; - surfxml_cluster_id_isset = 0; - AX_surfxml_cluster_prefix = 0; - surfxml_cluster_prefix_isset = 0; - AX_surfxml_cluster_suffix = 0; - surfxml_cluster_suffix_isset = 0; - AX_surfxml_cluster_radical = 0; - surfxml_cluster_radical_isset = 0; - AX_surfxml_cluster_power = 0; - surfxml_cluster_power_isset = 0; - AX_surfxml_cluster_core = 44; - surfxml_cluster_core_isset = 0; - AX_surfxml_cluster_bw = 0; - surfxml_cluster_bw_isset = 0; - AX_surfxml_cluster_lat = 0; - surfxml_cluster_lat_isset = 0; - AX_surfxml_cluster_sharing___policy = A_surfxml_cluster_sharing___policy_FULLDUPLEX; - surfxml_cluster_sharing___policy_isset = 0; - AX_surfxml_cluster_topology = A_surfxml_cluster_topology_FLAT; - surfxml_cluster_topology_isset = 0; - AX_surfxml_cluster_topo___parameters = 0; - surfxml_cluster_topo___parameters_isset = 0; - AX_surfxml_cluster_bb___bw = 0; - surfxml_cluster_bb___bw_isset = 0; - AX_surfxml_cluster_bb___lat = 0; - surfxml_cluster_bb___lat_isset = 0; - AX_surfxml_cluster_bb___sharing___policy = A_surfxml_cluster_bb___sharing___policy_SHARED; - surfxml_cluster_bb___sharing___policy_isset = 0; - AX_surfxml_cluster_availability___file = 0; - surfxml_cluster_availability___file_isset = 0; - AX_surfxml_cluster_state___file = 0; - surfxml_cluster_state___file_isset = 0; - AX_surfxml_cluster_router___id = 0; - surfxml_cluster_router___id_isset = 0; - AX_surfxml_cluster_limiter___link = 0; - surfxml_cluster_limiter___link_isset = 0; - AX_surfxml_cluster_loopback___bw = 0; - surfxml_cluster_loopback___bw_isset = 0; - AX_surfxml_cluster_loopback___lat = 0; - surfxml_cluster_loopback___lat_isset = 0; - ENTER(AL_surfxml_cluster); pushbuffer(0); - } - YY_BREAK - +FAIL("Starting tag is not allowed here."); + YY_BREAK case 256: /* rule 256 can match eol */ YY_RULE_SETUP -if (surfxml_cluster_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_cluster_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_id); - YY_BREAK +{ + AX_surfxml_host___link_down = 0; + surfxml_host___link_down_isset = 0; + AX_surfxml_host___link_id = 0; + surfxml_host___link_id_isset = 0; + AX_surfxml_host___link_up = 0; + surfxml_host___link_up_isset = 0; + ENTER(AL_surfxml_host___link); pushbuffer(0); + } + YY_BREAK + case 257: /* rule 257 can match eol */ YY_RULE_SETUP -if (surfxml_cluster_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_cluster_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_id); - YY_BREAK +if (surfxml_host___link_down_isset != 0) {FAIL("Multiple definition of attribute down in ");} surfxml_host___link_down_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_host___link_down); + YY_BREAK case 258: /* rule 258 can match eol */ YY_RULE_SETUP -if (surfxml_cluster_prefix_isset != 0) {FAIL("Multiple definition of attribute prefix in ");} surfxml_cluster_prefix_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_prefix); - YY_BREAK +if (surfxml_host___link_down_isset != 0) {FAIL("Multiple definition of attribute down in ");} surfxml_host___link_down_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_host___link_down); + YY_BREAK case 259: /* rule 259 can match eol */ YY_RULE_SETUP -if (surfxml_cluster_prefix_isset != 0) {FAIL("Multiple definition of attribute prefix in ");} surfxml_cluster_prefix_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_prefix); - YY_BREAK +if (surfxml_host___link_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_host___link_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_host___link_id); + YY_BREAK case 260: /* rule 260 can match eol */ YY_RULE_SETUP -if (surfxml_cluster_suffix_isset != 0) {FAIL("Multiple definition of attribute suffix in ");} surfxml_cluster_suffix_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_suffix); - YY_BREAK +if (surfxml_host___link_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_host___link_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_host___link_id); + YY_BREAK case 261: /* rule 261 can match eol */ YY_RULE_SETUP -if (surfxml_cluster_suffix_isset != 0) {FAIL("Multiple definition of attribute suffix in ");} surfxml_cluster_suffix_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_suffix); - YY_BREAK +if (surfxml_host___link_up_isset != 0) {FAIL("Multiple definition of attribute up in ");} surfxml_host___link_up_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_host___link_up); + YY_BREAK case 262: /* rule 262 can match eol */ YY_RULE_SETUP -if (surfxml_cluster_radical_isset != 0) {FAIL("Multiple definition of attribute radical in ");} surfxml_cluster_radical_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_radical); - YY_BREAK +if (surfxml_host___link_up_isset != 0) {FAIL("Multiple definition of attribute up in ");} surfxml_host___link_up_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_host___link_up); + YY_BREAK case 263: -/* rule 263 can match eol */ YY_RULE_SETUP -if (surfxml_cluster_radical_isset != 0) {FAIL("Multiple definition of attribute radical in ");} surfxml_cluster_radical_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_radical); - YY_BREAK +{ + if (!AX_surfxml_host___link_down) FAIL("Required attribute `down' not set for `host_link' element."); + if (!AX_surfxml_host___link_id) FAIL("Required attribute `id' not set for `host_link' element."); + if (!AX_surfxml_host___link_up) FAIL("Required attribute `up' not set for `host_link' element."); + LEAVE; STag_surfxml_host___link();surfxml_pcdata_ix = 0; ENTER(E_surfxml_host___link); + } + YY_BREAK case 264: -/* rule 264 can match eol */ YY_RULE_SETUP -if (surfxml_cluster_power_isset != 0) {FAIL("Multiple definition of attribute power in ");} surfxml_cluster_power_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_power); - YY_BREAK +{ + if (!AX_surfxml_host___link_down) FAIL("Required attribute `down' not set for `host_link' element."); + if (!AX_surfxml_host___link_id) FAIL("Required attribute `id' not set for `host_link' element."); + if (!AX_surfxml_host___link_up) FAIL("Required attribute `up' not set for `host_link' element."); + LEAVE; STag_surfxml_host___link(); surfxml_pcdata_ix = 0; ETag_surfxml_host___link(); popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; + } + } + YY_BREAK case 265: -/* rule 265 can match eol */ YY_RULE_SETUP -if (surfxml_cluster_power_isset != 0) {FAIL("Multiple definition of attribute power in ");} surfxml_cluster_power_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_power); - YY_BREAK +FAIL("Unexpected character `%c' in attribute list of host_link element.", surf_parse_text[0]); + YY_BREAK case 266: -/* rule 266 can match eol */ YY_RULE_SETUP -if (surfxml_cluster_core_isset != 0) {FAIL("Multiple definition of attribute core in ");} surfxml_cluster_core_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_core); - YY_BREAK +FAIL("Bad attribute `%s' in `host_link' element start tag.",surf_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_surfxml_host___link): +FAIL("EOF in attribute list of `host_link' element."); + YY_BREAK + case 267: /* rule 267 can match eol */ YY_RULE_SETUP -if (surfxml_cluster_core_isset != 0) {FAIL("Multiple definition of attribute core in ");} surfxml_cluster_core_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_core); - YY_BREAK +{ + LEAVE; + ETag_surfxml_host___link(); + popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; + } + } + YY_BREAK case 268: /* rule 268 can match eol */ YY_RULE_SETUP -if (surfxml_cluster_bw_isset != 0) {FAIL("Multiple definition of attribute bw in ");} surfxml_cluster_bw_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_bw); - YY_BREAK +FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); + YY_BREAK case 269: -/* rule 269 can match eol */ YY_RULE_SETUP -if (surfxml_cluster_bw_isset != 0) {FAIL("Multiple definition of attribute bw in ");} surfxml_cluster_bw_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_bw); - YY_BREAK +FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); + YY_BREAK +case YY_STATE_EOF(E_surfxml_host___link): +if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); + YY_BREAK + case 270: /* rule 270 can match eol */ YY_RULE_SETUP -if (surfxml_cluster_lat_isset != 0) {FAIL("Multiple definition of attribute lat in ");} surfxml_cluster_lat_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_lat); - YY_BREAK +FAIL("Starting tag is not allowed here."); + YY_BREAK case 271: /* rule 271 can match eol */ YY_RULE_SETUP -if (surfxml_cluster_lat_isset != 0) {FAIL("Multiple definition of attribute lat in ");} surfxml_cluster_lat_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_lat); - YY_BREAK +{ + AX_surfxml_include_file = 0; + surfxml_include_file_isset = 0; + ENTER(AL_surfxml_include); pushbuffer(0); + } + YY_BREAK + case 272: /* rule 272 can match eol */ +YY_RULE_SETUP +if (surfxml_include_file_isset != 0) {FAIL("Multiple definition of attribute file in ");} surfxml_include_file_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_include_file); + YY_BREAK case 273: /* rule 273 can match eol */ YY_RULE_SETUP -A_surfxml_cluster_sharing___policy = A_surfxml_cluster_sharing___policy_SHARED; - YY_BREAK +if (surfxml_include_file_isset != 0) {FAIL("Multiple definition of attribute file in ");} surfxml_include_file_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_include_file); + YY_BREAK case 274: -/* rule 274 can match eol */ +YY_RULE_SETUP +{ + if (!AX_surfxml_include_file) FAIL("Required attribute `file' not set for `include' element."); + LEAVE; STag_surfxml_include();surfxml_pcdata_ix = 0; ENTER(S_surfxml_include); + } + YY_BREAK case 275: -/* rule 275 can match eol */ YY_RULE_SETUP -A_surfxml_cluster_sharing___policy = A_surfxml_cluster_sharing___policy_FULLDUPLEX; - YY_BREAK +{ + if (!AX_surfxml_include_file) FAIL("Required attribute `file' not set for `include' element."); + LEAVE; STag_surfxml_include(); surfxml_pcdata_ix = 0; ETag_surfxml_include(); popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; + case S_surfxml_include: case S_surfxml_include_1: case S_surfxml_include_2: SET(S_surfxml_include_2); break; + case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_5: case S_surfxml_platform_6: SET(S_surfxml_platform_6); break; + } + } + YY_BREAK case 276: -/* rule 276 can match eol */ +YY_RULE_SETUP +FAIL("Unexpected character `%c' in attribute list of include element.", surf_parse_text[0]); + YY_BREAK case 277: -/* rule 277 can match eol */ YY_RULE_SETUP -A_surfxml_cluster_sharing___policy = A_surfxml_cluster_sharing___policy_FATPIPE; - YY_BREAK +FAIL("Bad attribute `%s' in `include' element start tag.",surf_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_surfxml_include): +FAIL("EOF in attribute list of `include' element."); + YY_BREAK + case 278: /* rule 278 can match eol */ +YY_RULE_SETUP +{ + LEAVE; + ETag_surfxml_include(); + popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; + case S_surfxml_include: case S_surfxml_include_1: case S_surfxml_include_2: SET(S_surfxml_include_2); break; + case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_5: case S_surfxml_platform_6: SET(S_surfxml_platform_6); break; + } + } + YY_BREAK case 279: /* rule 279 can match eol */ YY_RULE_SETUP -A_surfxml_cluster_topology = A_surfxml_cluster_topology_FLAT; - YY_BREAK +FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); + YY_BREAK case 280: -/* rule 280 can match eol */ +YY_RULE_SETUP +FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); + YY_BREAK +case YY_STATE_EOF(E_surfxml_include): +case YY_STATE_EOF(S_surfxml_include): +case YY_STATE_EOF(S_surfxml_include_2): +if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); + YY_BREAK + case 281: /* rule 281 can match eol */ YY_RULE_SETUP -A_surfxml_cluster_topology = A_surfxml_cluster_topology_TORUS; - YY_BREAK +FAIL("Starting tag is not allowed here."); + YY_BREAK case 282: /* rule 282 can match eol */ +YY_RULE_SETUP +{ + AX_surfxml_link_bandwidth = 0; + surfxml_link_bandwidth_isset = 0; + AX_surfxml_link_bandwidth___file = 0; + surfxml_link_bandwidth___file_isset = 0; + AX_surfxml_link_id = 0; + surfxml_link_id_isset = 0; + AX_surfxml_link_latency = 46; + surfxml_link_latency_isset = 0; + AX_surfxml_link_latency___file = 0; + surfxml_link_latency___file_isset = 0; + AX_surfxml_link_sharing___policy = A_surfxml_link_sharing___policy_SHARED; + surfxml_link_sharing___policy_isset = 0; + AX_surfxml_link_state = A_surfxml_link_state_ON; + surfxml_link_state_isset = 0; + AX_surfxml_link_state___file = 0; + surfxml_link_state___file_isset = 0; + ENTER(AL_surfxml_link); pushbuffer(0); + } + YY_BREAK + case 283: /* rule 283 can match eol */ YY_RULE_SETUP -A_surfxml_cluster_topology = A_surfxml_cluster_topology_FAT___TREE; - YY_BREAK +if (surfxml_link_bandwidth_isset != 0) {FAIL("Multiple definition of attribute bandwidth in ");} surfxml_link_bandwidth_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_link_bandwidth); + YY_BREAK case 284: /* rule 284 can match eol */ YY_RULE_SETUP -if (surfxml_cluster_topo___parameters_isset != 0) {FAIL("Multiple definition of attribute topo_parameters in ");} surfxml_cluster_topo___parameters_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_topo___parameters); - YY_BREAK +if (surfxml_link_bandwidth_isset != 0) {FAIL("Multiple definition of attribute bandwidth in ");} surfxml_link_bandwidth_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_link_bandwidth); + YY_BREAK case 285: /* rule 285 can match eol */ YY_RULE_SETUP -if (surfxml_cluster_topo___parameters_isset != 0) {FAIL("Multiple definition of attribute topo_parameters in ");} surfxml_cluster_topo___parameters_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_topo___parameters); - YY_BREAK +if (surfxml_link_bandwidth___file_isset != 0) {FAIL("Multiple definition of attribute bandwidth_file in ");} surfxml_link_bandwidth___file_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_link_bandwidth___file); + YY_BREAK case 286: /* rule 286 can match eol */ YY_RULE_SETUP -if (surfxml_cluster_bb___bw_isset != 0) {FAIL("Multiple definition of attribute bb_bw in ");} surfxml_cluster_bb___bw_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_bb___bw); - YY_BREAK +if (surfxml_link_bandwidth___file_isset != 0) {FAIL("Multiple definition of attribute bandwidth_file in ");} surfxml_link_bandwidth___file_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_link_bandwidth___file); + YY_BREAK case 287: /* rule 287 can match eol */ YY_RULE_SETUP -if (surfxml_cluster_bb___bw_isset != 0) {FAIL("Multiple definition of attribute bb_bw in ");} surfxml_cluster_bb___bw_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_bb___bw); - YY_BREAK +if (surfxml_link_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_link_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_link_id); + YY_BREAK case 288: /* rule 288 can match eol */ YY_RULE_SETUP -if (surfxml_cluster_bb___lat_isset != 0) {FAIL("Multiple definition of attribute bb_lat in ");} surfxml_cluster_bb___lat_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_bb___lat); - YY_BREAK +if (surfxml_link_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_link_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_link_id); + YY_BREAK case 289: /* rule 289 can match eol */ YY_RULE_SETUP -if (surfxml_cluster_bb___lat_isset != 0) {FAIL("Multiple definition of attribute bb_lat in ");} surfxml_cluster_bb___lat_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_bb___lat); - YY_BREAK +if (surfxml_link_latency_isset != 0) {FAIL("Multiple definition of attribute latency in ");} surfxml_link_latency_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_link_latency); + YY_BREAK case 290: /* rule 290 can match eol */ +YY_RULE_SETUP +if (surfxml_link_latency_isset != 0) {FAIL("Multiple definition of attribute latency in ");} surfxml_link_latency_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_link_latency); + YY_BREAK case 291: /* rule 291 can match eol */ YY_RULE_SETUP -A_surfxml_cluster_bb___sharing___policy = A_surfxml_cluster_bb___sharing___policy_SHARED; - YY_BREAK +if (surfxml_link_latency___file_isset != 0) {FAIL("Multiple definition of attribute latency_file in ");} surfxml_link_latency___file_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_link_latency___file); + YY_BREAK case 292: /* rule 292 can match eol */ +YY_RULE_SETUP +if (surfxml_link_latency___file_isset != 0) {FAIL("Multiple definition of attribute latency_file in ");} surfxml_link_latency___file_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_link_latency___file); + YY_BREAK case 293: /* rule 293 can match eol */ -YY_RULE_SETUP -A_surfxml_cluster_bb___sharing___policy = A_surfxml_cluster_bb___sharing___policy_FATPIPE; - YY_BREAK case 294: /* rule 294 can match eol */ YY_RULE_SETUP -if (surfxml_cluster_availability___file_isset != 0) {FAIL("Multiple definition of attribute availability_file in ");} surfxml_cluster_availability___file_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_availability___file); - YY_BREAK +A_surfxml_link_sharing___policy = A_surfxml_link_sharing___policy_SHARED; + YY_BREAK case 295: /* rule 295 can match eol */ -YY_RULE_SETUP -if (surfxml_cluster_availability___file_isset != 0) {FAIL("Multiple definition of attribute availability_file in ");} surfxml_cluster_availability___file_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_availability___file); - YY_BREAK case 296: /* rule 296 can match eol */ YY_RULE_SETUP -if (surfxml_cluster_state___file_isset != 0) {FAIL("Multiple definition of attribute state_file in ");} surfxml_cluster_state___file_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_state___file); - YY_BREAK +A_surfxml_link_sharing___policy = A_surfxml_link_sharing___policy_FATPIPE; + YY_BREAK case 297: /* rule 297 can match eol */ -YY_RULE_SETUP -if (surfxml_cluster_state___file_isset != 0) {FAIL("Multiple definition of attribute state_file in ");} surfxml_cluster_state___file_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_state___file); - YY_BREAK case 298: /* rule 298 can match eol */ YY_RULE_SETUP -if (surfxml_cluster_router___id_isset != 0) {FAIL("Multiple definition of attribute router_id in ");} surfxml_cluster_router___id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_router___id); - YY_BREAK +A_surfxml_link_sharing___policy = A_surfxml_link_sharing___policy_FULLDUPLEX; + YY_BREAK case 299: /* rule 299 can match eol */ -YY_RULE_SETUP -if (surfxml_cluster_router___id_isset != 0) {FAIL("Multiple definition of attribute router_id in ");} surfxml_cluster_router___id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_router___id); - YY_BREAK case 300: /* rule 300 can match eol */ YY_RULE_SETUP -if (surfxml_cluster_limiter___link_isset != 0) {FAIL("Multiple definition of attribute limiter_link in ");} surfxml_cluster_limiter___link_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_limiter___link); - YY_BREAK +A_surfxml_link_state = A_surfxml_link_state_ON; + YY_BREAK case 301: /* rule 301 can match eol */ -YY_RULE_SETUP -if (surfxml_cluster_limiter___link_isset != 0) {FAIL("Multiple definition of attribute limiter_link in ");} surfxml_cluster_limiter___link_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_limiter___link); - YY_BREAK case 302: /* rule 302 can match eol */ YY_RULE_SETUP -if (surfxml_cluster_loopback___bw_isset != 0) {FAIL("Multiple definition of attribute loopback_bw in ");} surfxml_cluster_loopback___bw_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_loopback___bw); - YY_BREAK +A_surfxml_link_state = A_surfxml_link_state_OFF; + YY_BREAK case 303: /* rule 303 can match eol */ YY_RULE_SETUP -if (surfxml_cluster_loopback___bw_isset != 0) {FAIL("Multiple definition of attribute loopback_bw in ");} surfxml_cluster_loopback___bw_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_loopback___bw); - YY_BREAK +if (surfxml_link_state___file_isset != 0) {FAIL("Multiple definition of attribute state_file in ");} surfxml_link_state___file_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_link_state___file); + YY_BREAK case 304: /* rule 304 can match eol */ YY_RULE_SETUP -if (surfxml_cluster_loopback___lat_isset != 0) {FAIL("Multiple definition of attribute loopback_lat in ");} surfxml_cluster_loopback___lat_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cluster_loopback___lat); - YY_BREAK +if (surfxml_link_state___file_isset != 0) {FAIL("Multiple definition of attribute state_file in ");} surfxml_link_state___file_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_link_state___file); + YY_BREAK case 305: -/* rule 305 can match eol */ -YY_RULE_SETUP -if (surfxml_cluster_loopback___lat_isset != 0) {FAIL("Multiple definition of attribute loopback_lat in ");} surfxml_cluster_loopback___lat_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cluster_loopback___lat); - YY_BREAK -case 306: YY_RULE_SETUP { - if (!AX_surfxml_cluster_id) FAIL("Required attribute `id' not set for `cluster' element."); - if (!AX_surfxml_cluster_prefix) FAIL("Required attribute `prefix' not set for `cluster' element."); - if (!AX_surfxml_cluster_suffix) FAIL("Required attribute `suffix' not set for `cluster' element."); - if (!AX_surfxml_cluster_radical) FAIL("Required attribute `radical' not set for `cluster' element."); - if (!AX_surfxml_cluster_power) FAIL("Required attribute `power' not set for `cluster' element."); - if (!AX_surfxml_cluster_bw) FAIL("Required attribute `bw' not set for `cluster' element."); - if (!AX_surfxml_cluster_lat) FAIL("Required attribute `lat' not set for `cluster' element."); - LEAVE; STag_surfxml_cluster();surfxml_pcdata_ix = 0; ENTER(S_surfxml_cluster); + if (!AX_surfxml_link_bandwidth) FAIL("Required attribute `bandwidth' not set for `link' element."); + if (!AX_surfxml_link_id) FAIL("Required attribute `id' not set for `link' element."); + LEAVE; STag_surfxml_link();surfxml_pcdata_ix = 0; ENTER(S_surfxml_link); } - YY_BREAK -case 307: + YY_BREAK +case 306: YY_RULE_SETUP { - if (!AX_surfxml_cluster_id) FAIL("Required attribute `id' not set for `cluster' element."); - if (!AX_surfxml_cluster_prefix) FAIL("Required attribute `prefix' not set for `cluster' element."); - if (!AX_surfxml_cluster_suffix) FAIL("Required attribute `suffix' not set for `cluster' element."); - if (!AX_surfxml_cluster_radical) FAIL("Required attribute `radical' not set for `cluster' element."); - if (!AX_surfxml_cluster_power) FAIL("Required attribute `power' not set for `cluster' element."); - if (!AX_surfxml_cluster_bw) FAIL("Required attribute `bw' not set for `cluster' element."); - if (!AX_surfxml_cluster_lat) FAIL("Required attribute `lat' not set for `cluster' element."); - LEAVE; STag_surfxml_cluster(); surfxml_pcdata_ix = 0; ETag_surfxml_cluster(); popbuffer(); /* attribute */ + if (!AX_surfxml_link_bandwidth) FAIL("Required attribute `bandwidth' not set for `link' element."); + if (!AX_surfxml_link_id) FAIL("Required attribute `id' not set for `link' element."); + LEAVE; STag_surfxml_link(); surfxml_pcdata_ix = 0; ETag_surfxml_link(); popbuffer(); /* attribute */ switch (YY_START) { case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; - case S_surfxml_include: case S_surfxml_include_1: case S_surfxml_include_2: SET(S_surfxml_include_2); break; - case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_5: case S_surfxml_platform_6: SET(S_surfxml_platform_6); break; } } - YY_BREAK -case 308: + YY_BREAK +case 307: YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of cluster element.", surf_parse_text[0]); - YY_BREAK -case 309: +FAIL("Unexpected character `%c' in attribute list of link element.", surf_parse_text[0]); + YY_BREAK +case 308: YY_RULE_SETUP -FAIL("Bad attribute `%s' in `cluster' element start tag.",surf_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_surfxml_cluster): -FAIL("EOF in attribute list of `cluster' element."); - YY_BREAK +FAIL("Bad attribute `%s' in `link' element start tag.",surf_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_surfxml_link): +FAIL("EOF in attribute list of `link' element."); + YY_BREAK -case 310: -/* rule 310 can match eol */ +case 309: +/* rule 309 can match eol */ YY_RULE_SETUP { LEAVE; - ETag_surfxml_cluster(); + ETag_surfxml_link(); popbuffer(); /* attribute */ switch (YY_START) { case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; - case S_surfxml_include: case S_surfxml_include_1: case S_surfxml_include_2: SET(S_surfxml_include_2); break; - case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_5: case S_surfxml_platform_6: SET(S_surfxml_platform_6); break; } } - YY_BREAK + YY_BREAK +case 310: +/* rule 310 can match eol */ +YY_RULE_SETUP +FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); + YY_BREAK case 311: -/* rule 311 can match eol */ YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); - YY_BREAK +FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); + YY_BREAK +case YY_STATE_EOF(E_surfxml_link): +case YY_STATE_EOF(S_surfxml_link): +case YY_STATE_EOF(S_surfxml_link_2): +if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); + YY_BREAK + case 312: +/* rule 312 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(S_surfxml_cluster): -case YY_STATE_EOF(S_surfxml_cluster_2): -case YY_STATE_EOF(E_surfxml_cluster): -if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); - YY_BREAK - +FAIL("Starting tag is not allowed here."); + YY_BREAK case 313: /* rule 313 can match eol */ YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK -case 314: -/* rule 314 can match eol */ -YY_RULE_SETUP { - AX_surfxml_cabinet_id = 0; - surfxml_cabinet_id_isset = 0; - AX_surfxml_cabinet_prefix = 0; - surfxml_cabinet_prefix_isset = 0; - AX_surfxml_cabinet_suffix = 0; - surfxml_cabinet_suffix_isset = 0; - AX_surfxml_cabinet_radical = 0; - surfxml_cabinet_radical_isset = 0; - AX_surfxml_cabinet_power = 0; - surfxml_cabinet_power_isset = 0; - AX_surfxml_cabinet_bw = 0; - surfxml_cabinet_bw_isset = 0; - AX_surfxml_cabinet_lat = 0; - surfxml_cabinet_lat_isset = 0; - ENTER(AL_surfxml_cabinet); pushbuffer(0); + AX_surfxml_link___ctn_direction = A_surfxml_link___ctn_direction_NONE; + surfxml_link___ctn_direction_isset = 0; + AX_surfxml_link___ctn_id = 0; + surfxml_link___ctn_id_isset = 0; + ENTER(AL_surfxml_link___ctn); pushbuffer(0); } - YY_BREAK + YY_BREAK +case 314: +/* rule 314 can match eol */ case 315: /* rule 315 can match eol */ YY_RULE_SETUP -if (surfxml_cabinet_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_cabinet_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cabinet_id); - YY_BREAK +A_surfxml_link___ctn_direction = A_surfxml_link___ctn_direction_UP; + YY_BREAK case 316: /* rule 316 can match eol */ -YY_RULE_SETUP -if (surfxml_cabinet_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_cabinet_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cabinet_id); - YY_BREAK case 317: /* rule 317 can match eol */ YY_RULE_SETUP -if (surfxml_cabinet_prefix_isset != 0) {FAIL("Multiple definition of attribute prefix in ");} surfxml_cabinet_prefix_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cabinet_prefix); - YY_BREAK +A_surfxml_link___ctn_direction = A_surfxml_link___ctn_direction_DOWN; + YY_BREAK case 318: /* rule 318 can match eol */ -YY_RULE_SETUP -if (surfxml_cabinet_prefix_isset != 0) {FAIL("Multiple definition of attribute prefix in ");} surfxml_cabinet_prefix_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cabinet_prefix); - YY_BREAK case 319: /* rule 319 can match eol */ YY_RULE_SETUP -if (surfxml_cabinet_suffix_isset != 0) {FAIL("Multiple definition of attribute suffix in ");} surfxml_cabinet_suffix_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cabinet_suffix); - YY_BREAK +A_surfxml_link___ctn_direction = A_surfxml_link___ctn_direction_NONE; + YY_BREAK case 320: /* rule 320 can match eol */ YY_RULE_SETUP -if (surfxml_cabinet_suffix_isset != 0) {FAIL("Multiple definition of attribute suffix in ");} surfxml_cabinet_suffix_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cabinet_suffix); - YY_BREAK +if (surfxml_link___ctn_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_link___ctn_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_link___ctn_id); + YY_BREAK case 321: /* rule 321 can match eol */ YY_RULE_SETUP -if (surfxml_cabinet_radical_isset != 0) {FAIL("Multiple definition of attribute radical in ");} surfxml_cabinet_radical_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cabinet_radical); - YY_BREAK +if (surfxml_link___ctn_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_link___ctn_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_link___ctn_id); + YY_BREAK case 322: -/* rule 322 can match eol */ YY_RULE_SETUP -if (surfxml_cabinet_radical_isset != 0) {FAIL("Multiple definition of attribute radical in ");} surfxml_cabinet_radical_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cabinet_radical); - YY_BREAK +{ + if (!AX_surfxml_link___ctn_id) FAIL("Required attribute `id' not set for `link_ctn' element."); + LEAVE; STag_surfxml_link___ctn();surfxml_pcdata_ix = 0; ENTER(E_surfxml_link___ctn); + } + YY_BREAK case 323: -/* rule 323 can match eol */ YY_RULE_SETUP -if (surfxml_cabinet_power_isset != 0) {FAIL("Multiple definition of attribute power in ");} surfxml_cabinet_power_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cabinet_power); - YY_BREAK +{ + if (!AX_surfxml_link___ctn_id) FAIL("Required attribute `id' not set for `link_ctn' element."); + LEAVE; STag_surfxml_link___ctn(); surfxml_pcdata_ix = 0; ETag_surfxml_link___ctn(); popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_ASroute: case S_surfxml_ASroute_1: case S_surfxml_ASroute_2: SET(S_surfxml_ASroute_2); break; + case S_surfxml_bypassASroute: case S_surfxml_bypassASroute_1: case S_surfxml_bypassASroute_2: SET(S_surfxml_bypassASroute_2); break; + case S_surfxml_bypassRoute: case S_surfxml_bypassRoute_1: case S_surfxml_bypassRoute_2: SET(S_surfxml_bypassRoute_2); break; + case S_surfxml_route: case S_surfxml_route_1: case S_surfxml_route_2: SET(S_surfxml_route_2); break; + } + } + YY_BREAK case 324: -/* rule 324 can match eol */ YY_RULE_SETUP -if (surfxml_cabinet_power_isset != 0) {FAIL("Multiple definition of attribute power in ");} surfxml_cabinet_power_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cabinet_power); - YY_BREAK +FAIL("Unexpected character `%c' in attribute list of link_ctn element.", surf_parse_text[0]); + YY_BREAK case 325: -/* rule 325 can match eol */ YY_RULE_SETUP -if (surfxml_cabinet_bw_isset != 0) {FAIL("Multiple definition of attribute bw in ");} surfxml_cabinet_bw_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cabinet_bw); - YY_BREAK +FAIL("Bad attribute `%s' in `link_ctn' element start tag.",surf_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_surfxml_link___ctn): +FAIL("EOF in attribute list of `link_ctn' element."); + YY_BREAK + case 326: /* rule 326 can match eol */ YY_RULE_SETUP -if (surfxml_cabinet_bw_isset != 0) {FAIL("Multiple definition of attribute bw in ");} surfxml_cabinet_bw_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cabinet_bw); - YY_BREAK +{ + LEAVE; + ETag_surfxml_link___ctn(); + popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_ASroute: case S_surfxml_ASroute_1: case S_surfxml_ASroute_2: SET(S_surfxml_ASroute_2); break; + case S_surfxml_bypassASroute: case S_surfxml_bypassASroute_1: case S_surfxml_bypassASroute_2: SET(S_surfxml_bypassASroute_2); break; + case S_surfxml_bypassRoute: case S_surfxml_bypassRoute_1: case S_surfxml_bypassRoute_2: SET(S_surfxml_bypassRoute_2); break; + case S_surfxml_route: case S_surfxml_route_1: case S_surfxml_route_2: SET(S_surfxml_route_2); break; + } + } + YY_BREAK case 327: /* rule 327 can match eol */ YY_RULE_SETUP -if (surfxml_cabinet_lat_isset != 0) {FAIL("Multiple definition of attribute lat in ");} surfxml_cabinet_lat_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_cabinet_lat); - YY_BREAK +FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); + YY_BREAK case 328: -/* rule 328 can match eol */ YY_RULE_SETUP -if (surfxml_cabinet_lat_isset != 0) {FAIL("Multiple definition of attribute lat in ");} surfxml_cabinet_lat_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_cabinet_lat); - YY_BREAK +FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); + YY_BREAK +case YY_STATE_EOF(E_surfxml_link___ctn): +if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); + YY_BREAK + +/* + * */ case 329: -YY_RULE_SETUP -{ - if (!AX_surfxml_cabinet_id) FAIL("Required attribute `id' not set for `cabinet' element."); - if (!AX_surfxml_cabinet_prefix) FAIL("Required attribute `prefix' not set for `cabinet' element."); - if (!AX_surfxml_cabinet_suffix) FAIL("Required attribute `suffix' not set for `cabinet' element."); - if (!AX_surfxml_cabinet_radical) FAIL("Required attribute `radical' not set for `cabinet' element."); - if (!AX_surfxml_cabinet_power) FAIL("Required attribute `power' not set for `cabinet' element."); - if (!AX_surfxml_cabinet_bw) FAIL("Required attribute `bw' not set for `cabinet' element."); - if (!AX_surfxml_cabinet_lat) FAIL("Required attribute `lat' not set for `cabinet' element."); - LEAVE; STag_surfxml_cabinet();surfxml_pcdata_ix = 0; ENTER(E_surfxml_cabinet); - } - YY_BREAK +/* rule 329 can match eol */ +YY_RULE_SETUP +FAIL("Starting tag is not allowed here."); + YY_BREAK case 330: +/* rule 330 can match eol */ YY_RULE_SETUP { - if (!AX_surfxml_cabinet_id) FAIL("Required attribute `id' not set for `cabinet' element."); - if (!AX_surfxml_cabinet_prefix) FAIL("Required attribute `prefix' not set for `cabinet' element."); - if (!AX_surfxml_cabinet_suffix) FAIL("Required attribute `suffix' not set for `cabinet' element."); - if (!AX_surfxml_cabinet_radical) FAIL("Required attribute `radical' not set for `cabinet' element."); - if (!AX_surfxml_cabinet_power) FAIL("Required attribute `power' not set for `cabinet' element."); - if (!AX_surfxml_cabinet_bw) FAIL("Required attribute `bw' not set for `cabinet' element."); - if (!AX_surfxml_cabinet_lat) FAIL("Required attribute `lat' not set for `cabinet' element."); - LEAVE; STag_surfxml_cabinet(); surfxml_pcdata_ix = 0; ETag_surfxml_cabinet(); popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; - case S_surfxml_include: case S_surfxml_include_1: case S_surfxml_include_2: SET(S_surfxml_include_2); break; - case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_5: case S_surfxml_platform_6: SET(S_surfxml_platform_6); break; + AX_surfxml_model___prop_id = 0; + surfxml_model___prop_id_isset = 0; + AX_surfxml_model___prop_value = 0; + surfxml_model___prop_value_isset = 0; + ENTER(AL_surfxml_model___prop); pushbuffer(0); } - } - YY_BREAK + YY_BREAK + case 331: +/* rule 331 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of cabinet element.", surf_parse_text[0]); - YY_BREAK +if (surfxml_model___prop_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_model___prop_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_model___prop_id); + YY_BREAK case 332: +/* rule 332 can match eol */ YY_RULE_SETUP -FAIL("Bad attribute `%s' in `cabinet' element start tag.",surf_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_surfxml_cabinet): -FAIL("EOF in attribute list of `cabinet' element."); - YY_BREAK - +if (surfxml_model___prop_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_model___prop_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_model___prop_id); + YY_BREAK case 333: /* rule 333 can match eol */ YY_RULE_SETUP -{ - LEAVE; - ETag_surfxml_cabinet(); - popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; - case S_surfxml_include: case S_surfxml_include_1: case S_surfxml_include_2: SET(S_surfxml_include_2); break; - case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_5: case S_surfxml_platform_6: SET(S_surfxml_platform_6); break; - } - } - YY_BREAK +if (surfxml_model___prop_value_isset != 0) {FAIL("Multiple definition of attribute value in ");} surfxml_model___prop_value_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_model___prop_value); + YY_BREAK case 334: /* rule 334 can match eol */ YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); - YY_BREAK +if (surfxml_model___prop_value_isset != 0) {FAIL("Multiple definition of attribute value in ");} surfxml_model___prop_value_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_model___prop_value); + YY_BREAK case 335: YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(E_surfxml_cabinet): -if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); - YY_BREAK - +{ + if (!AX_surfxml_model___prop_id) FAIL("Required attribute `id' not set for `model_prop' element."); + if (!AX_surfxml_model___prop_value) FAIL("Required attribute `value' not set for `model_prop' element."); + LEAVE; STag_surfxml_model___prop();surfxml_pcdata_ix = 0; ENTER(E_surfxml_model___prop); + } + YY_BREAK case 336: -/* rule 336 can match eol */ -YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK -case 337: -/* rule 337 can match eol */ YY_RULE_SETUP { - AX_surfxml_peer_id = 0; - surfxml_peer_id_isset = 0; - AX_surfxml_peer_power = 0; - surfxml_peer_power_isset = 0; - AX_surfxml_peer_bw___in = 0; - surfxml_peer_bw___in_isset = 0; - AX_surfxml_peer_bw___out = 0; - surfxml_peer_bw___out_isset = 0; - AX_surfxml_peer_lat = 0; - surfxml_peer_lat_isset = 0; - AX_surfxml_peer_coordinates = 0; - surfxml_peer_coordinates_isset = 0; - AX_surfxml_peer_availability___file = 0; - surfxml_peer_availability___file_isset = 0; - AX_surfxml_peer_state___file = 0; - surfxml_peer_state___file_isset = 0; - ENTER(AL_surfxml_peer); pushbuffer(0); + if (!AX_surfxml_model___prop_id) FAIL("Required attribute `id' not set for `model_prop' element."); + if (!AX_surfxml_model___prop_value) FAIL("Required attribute `value' not set for `model_prop' element."); + LEAVE; STag_surfxml_model___prop(); surfxml_pcdata_ix = 0; ETag_surfxml_model___prop(); popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_storage___type: case S_surfxml_storage___type_1: case S_surfxml_storage___type_2: SET(S_surfxml_storage___type_2); break; } - YY_BREAK - + } + YY_BREAK +case 337: +YY_RULE_SETUP +FAIL("Unexpected character `%c' in attribute list of model_prop element.", surf_parse_text[0]); + YY_BREAK case 338: -/* rule 338 can match eol */ YY_RULE_SETUP -if (surfxml_peer_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_peer_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_peer_id); - YY_BREAK +FAIL("Bad attribute `%s' in `model_prop' element start tag.",surf_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_surfxml_model___prop): +FAIL("EOF in attribute list of `model_prop' element."); + YY_BREAK + case 339: /* rule 339 can match eol */ YY_RULE_SETUP -if (surfxml_peer_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_peer_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_peer_id); - YY_BREAK +{ + LEAVE; + ETag_surfxml_model___prop(); + popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_storage___type: case S_surfxml_storage___type_1: case S_surfxml_storage___type_2: SET(S_surfxml_storage___type_2); break; + } + } + YY_BREAK case 340: /* rule 340 can match eol */ YY_RULE_SETUP -if (surfxml_peer_power_isset != 0) {FAIL("Multiple definition of attribute power in ");} surfxml_peer_power_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_peer_power); - YY_BREAK +FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); + YY_BREAK case 341: -/* rule 341 can match eol */ YY_RULE_SETUP -if (surfxml_peer_power_isset != 0) {FAIL("Multiple definition of attribute power in ");} surfxml_peer_power_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_peer_power); - YY_BREAK +FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); + YY_BREAK +case YY_STATE_EOF(E_surfxml_model___prop): +if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); + YY_BREAK + case 342: /* rule 342 can match eol */ YY_RULE_SETUP -if (surfxml_peer_bw___in_isset != 0) {FAIL("Multiple definition of attribute bw_in in ");} surfxml_peer_bw___in_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_peer_bw___in); - YY_BREAK +FAIL("Starting tag is not allowed here."); + YY_BREAK case 343: /* rule 343 can match eol */ YY_RULE_SETUP -if (surfxml_peer_bw___in_isset != 0) {FAIL("Multiple definition of attribute bw_in in ");} surfxml_peer_bw___in_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_peer_bw___in); - YY_BREAK +{ + AX_surfxml_mount_name = 0; + surfxml_mount_name_isset = 0; + AX_surfxml_mount_storageId = 0; + surfxml_mount_storageId_isset = 0; + ENTER(AL_surfxml_mount); pushbuffer(0); + } + YY_BREAK + case 344: /* rule 344 can match eol */ YY_RULE_SETUP -if (surfxml_peer_bw___out_isset != 0) {FAIL("Multiple definition of attribute bw_out in ");} surfxml_peer_bw___out_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_peer_bw___out); - YY_BREAK +if (surfxml_mount_name_isset != 0) {FAIL("Multiple definition of attribute name in ");} surfxml_mount_name_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_mount_name); + YY_BREAK case 345: /* rule 345 can match eol */ YY_RULE_SETUP -if (surfxml_peer_bw___out_isset != 0) {FAIL("Multiple definition of attribute bw_out in ");} surfxml_peer_bw___out_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_peer_bw___out); - YY_BREAK +if (surfxml_mount_name_isset != 0) {FAIL("Multiple definition of attribute name in ");} surfxml_mount_name_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_mount_name); + YY_BREAK case 346: /* rule 346 can match eol */ YY_RULE_SETUP -if (surfxml_peer_lat_isset != 0) {FAIL("Multiple definition of attribute lat in ");} surfxml_peer_lat_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_peer_lat); - YY_BREAK +if (surfxml_mount_storageId_isset != 0) {FAIL("Multiple definition of attribute storageId in ");} surfxml_mount_storageId_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_mount_storageId); + YY_BREAK case 347: /* rule 347 can match eol */ YY_RULE_SETUP -if (surfxml_peer_lat_isset != 0) {FAIL("Multiple definition of attribute lat in ");} surfxml_peer_lat_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_peer_lat); - YY_BREAK +if (surfxml_mount_storageId_isset != 0) {FAIL("Multiple definition of attribute storageId in ");} surfxml_mount_storageId_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_mount_storageId); + YY_BREAK case 348: -/* rule 348 can match eol */ YY_RULE_SETUP -if (surfxml_peer_coordinates_isset != 0) {FAIL("Multiple definition of attribute coordinates in ");} surfxml_peer_coordinates_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_peer_coordinates); - YY_BREAK +{ + if (!AX_surfxml_mount_name) FAIL("Required attribute `name' not set for `mount' element."); + if (!AX_surfxml_mount_storageId) FAIL("Required attribute `storageId' not set for `mount' element."); + LEAVE; STag_surfxml_mount();surfxml_pcdata_ix = 0; ENTER(E_surfxml_mount); + } + YY_BREAK case 349: -/* rule 349 can match eol */ YY_RULE_SETUP -if (surfxml_peer_coordinates_isset != 0) {FAIL("Multiple definition of attribute coordinates in ");} surfxml_peer_coordinates_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_peer_coordinates); - YY_BREAK +{ + if (!AX_surfxml_mount_name) FAIL("Required attribute `name' not set for `mount' element."); + if (!AX_surfxml_mount_storageId) FAIL("Required attribute `storageId' not set for `mount' element."); + LEAVE; STag_surfxml_mount(); surfxml_pcdata_ix = 0; ETag_surfxml_mount(); popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_host: case S_surfxml_host_1: case S_surfxml_host_2: SET(S_surfxml_host_2); break; + } + } + YY_BREAK case 350: -/* rule 350 can match eol */ YY_RULE_SETUP -if (surfxml_peer_availability___file_isset != 0) {FAIL("Multiple definition of attribute availability_file in ");} surfxml_peer_availability___file_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_peer_availability___file); - YY_BREAK +FAIL("Unexpected character `%c' in attribute list of mount element.", surf_parse_text[0]); + YY_BREAK case 351: -/* rule 351 can match eol */ YY_RULE_SETUP -if (surfxml_peer_availability___file_isset != 0) {FAIL("Multiple definition of attribute availability_file in ");} surfxml_peer_availability___file_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_peer_availability___file); - YY_BREAK +FAIL("Bad attribute `%s' in `mount' element start tag.",surf_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_surfxml_mount): +FAIL("EOF in attribute list of `mount' element."); + YY_BREAK + case 352: /* rule 352 can match eol */ YY_RULE_SETUP -if (surfxml_peer_state___file_isset != 0) {FAIL("Multiple definition of attribute state_file in ");} surfxml_peer_state___file_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_peer_state___file); - YY_BREAK +{ + LEAVE; + ETag_surfxml_mount(); + popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_host: case S_surfxml_host_1: case S_surfxml_host_2: SET(S_surfxml_host_2); break; + } + } + YY_BREAK case 353: /* rule 353 can match eol */ YY_RULE_SETUP -if (surfxml_peer_state___file_isset != 0) {FAIL("Multiple definition of attribute state_file in ");} surfxml_peer_state___file_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_peer_state___file); - YY_BREAK +FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); + YY_BREAK case 354: YY_RULE_SETUP -{ - if (!AX_surfxml_peer_id) FAIL("Required attribute `id' not set for `peer' element."); - if (!AX_surfxml_peer_power) FAIL("Required attribute `power' not set for `peer' element."); - if (!AX_surfxml_peer_bw___in) FAIL("Required attribute `bw_in' not set for `peer' element."); - if (!AX_surfxml_peer_bw___out) FAIL("Required attribute `bw_out' not set for `peer' element."); - if (!AX_surfxml_peer_lat) FAIL("Required attribute `lat' not set for `peer' element."); - LEAVE; STag_surfxml_peer();surfxml_pcdata_ix = 0; ENTER(E_surfxml_peer); - } - YY_BREAK +FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); + YY_BREAK +case YY_STATE_EOF(E_surfxml_mount): +if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); + YY_BREAK + case 355: +/* rule 355 can match eol */ YY_RULE_SETUP -{ - if (!AX_surfxml_peer_id) FAIL("Required attribute `id' not set for `peer' element."); - if (!AX_surfxml_peer_power) FAIL("Required attribute `power' not set for `peer' element."); - if (!AX_surfxml_peer_bw___in) FAIL("Required attribute `bw_in' not set for `peer' element."); - if (!AX_surfxml_peer_bw___out) FAIL("Required attribute `bw_out' not set for `peer' element."); - if (!AX_surfxml_peer_lat) FAIL("Required attribute `lat' not set for `peer' element."); - LEAVE; STag_surfxml_peer(); surfxml_pcdata_ix = 0; ETag_surfxml_peer(); popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; - case S_surfxml_include: case S_surfxml_include_1: case S_surfxml_include_2: SET(S_surfxml_include_2); break; - case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_5: case S_surfxml_platform_6: SET(S_surfxml_platform_6); break; - } - } - YY_BREAK +FAIL("Starting tag is not allowed here."); + YY_BREAK case 356: +/* rule 356 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of peer element.", surf_parse_text[0]); - YY_BREAK +{ + AX_surfxml_mstorage_name = 0; + surfxml_mstorage_name_isset = 0; + AX_surfxml_mstorage_typeId = 0; + surfxml_mstorage_typeId_isset = 0; + ENTER(AL_surfxml_mstorage); pushbuffer(0); + } + YY_BREAK + case 357: +/* rule 357 can match eol */ YY_RULE_SETUP -FAIL("Bad attribute `%s' in `peer' element start tag.",surf_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_surfxml_peer): -FAIL("EOF in attribute list of `peer' element."); - YY_BREAK - +if (surfxml_mstorage_name_isset != 0) {FAIL("Multiple definition of attribute name in ");} surfxml_mstorage_name_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_mstorage_name); + YY_BREAK case 358: /* rule 358 can match eol */ YY_RULE_SETUP -{ - LEAVE; - ETag_surfxml_peer(); - popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; - case S_surfxml_include: case S_surfxml_include_1: case S_surfxml_include_2: SET(S_surfxml_include_2); break; - case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_5: case S_surfxml_platform_6: SET(S_surfxml_platform_6); break; - } - } - YY_BREAK +if (surfxml_mstorage_name_isset != 0) {FAIL("Multiple definition of attribute name in ");} surfxml_mstorage_name_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_mstorage_name); + YY_BREAK case 359: /* rule 359 can match eol */ YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); - YY_BREAK +if (surfxml_mstorage_typeId_isset != 0) {FAIL("Multiple definition of attribute typeId in ");} surfxml_mstorage_typeId_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_mstorage_typeId); + YY_BREAK case 360: +/* rule 360 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(E_surfxml_peer): -if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); - YY_BREAK - +if (surfxml_mstorage_typeId_isset != 0) {FAIL("Multiple definition of attribute typeId in ");} surfxml_mstorage_typeId_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_mstorage_typeId); + YY_BREAK case 361: -/* rule 361 can match eol */ YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK +{ + if (!AX_surfxml_mstorage_name) FAIL("Required attribute `name' not set for `mstorage' element."); + if (!AX_surfxml_mstorage_typeId) FAIL("Required attribute `typeId' not set for `mstorage' element."); + LEAVE; STag_surfxml_mstorage();surfxml_pcdata_ix = 0; ENTER(E_surfxml_mstorage); + } + YY_BREAK case 362: -/* rule 362 can match eol */ YY_RULE_SETUP { - AX_surfxml_router_id = 0; - surfxml_router_id_isset = 0; - AX_surfxml_router_coordinates = 0; - surfxml_router_coordinates_isset = 0; - ENTER(AL_surfxml_router); pushbuffer(0); + if (!AX_surfxml_mstorage_name) FAIL("Required attribute `name' not set for `mstorage' element."); + if (!AX_surfxml_mstorage_typeId) FAIL("Required attribute `typeId' not set for `mstorage' element."); + LEAVE; STag_surfxml_mstorage(); surfxml_pcdata_ix = 0; ETag_surfxml_mstorage(); popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_host: case S_surfxml_host_1: case S_surfxml_host_2: SET(S_surfxml_host_2); break; } - YY_BREAK - + } + YY_BREAK case 363: -/* rule 363 can match eol */ YY_RULE_SETUP -if (surfxml_router_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_router_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_router_id); - YY_BREAK +FAIL("Unexpected character `%c' in attribute list of mstorage element.", surf_parse_text[0]); + YY_BREAK case 364: -/* rule 364 can match eol */ YY_RULE_SETUP -if (surfxml_router_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_router_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_router_id); - YY_BREAK +FAIL("Bad attribute `%s' in `mstorage' element start tag.",surf_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_surfxml_mstorage): +FAIL("EOF in attribute list of `mstorage' element."); + YY_BREAK + case 365: /* rule 365 can match eol */ YY_RULE_SETUP -if (surfxml_router_coordinates_isset != 0) {FAIL("Multiple definition of attribute coordinates in ");} surfxml_router_coordinates_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_router_coordinates); - YY_BREAK +{ + LEAVE; + ETag_surfxml_mstorage(); + popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_host: case S_surfxml_host_1: case S_surfxml_host_2: SET(S_surfxml_host_2); break; + } + } + YY_BREAK case 366: /* rule 366 can match eol */ YY_RULE_SETUP -if (surfxml_router_coordinates_isset != 0) {FAIL("Multiple definition of attribute coordinates in ");} surfxml_router_coordinates_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_router_coordinates); - YY_BREAK +FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); + YY_BREAK case 367: YY_RULE_SETUP -{ - if (!AX_surfxml_router_id) FAIL("Required attribute `id' not set for `router' element."); - LEAVE; STag_surfxml_router();surfxml_pcdata_ix = 0; ENTER(E_surfxml_router); - } - YY_BREAK +FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); + YY_BREAK +case YY_STATE_EOF(E_surfxml_mstorage): +if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); + YY_BREAK + case 368: +/* rule 368 can match eol */ +YY_RULE_SETUP +FAIL("Starting tag is not allowed here."); + YY_BREAK +case 369: +/* rule 369 can match eol */ YY_RULE_SETUP { - if (!AX_surfxml_router_id) FAIL("Required attribute `id' not set for `router' element."); - LEAVE; STag_surfxml_router(); surfxml_pcdata_ix = 0; ETag_surfxml_router(); popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; + AX_surfxml_peer_availability___file = 0; + surfxml_peer_availability___file_isset = 0; + AX_surfxml_peer_bw___in = 0; + surfxml_peer_bw___in_isset = 0; + AX_surfxml_peer_bw___out = 0; + surfxml_peer_bw___out_isset = 0; + AX_surfxml_peer_coordinates = 0; + surfxml_peer_coordinates_isset = 0; + AX_surfxml_peer_id = 0; + surfxml_peer_id_isset = 0; + AX_surfxml_peer_lat = 0; + surfxml_peer_lat_isset = 0; + AX_surfxml_peer_power = 0; + surfxml_peer_power_isset = 0; + AX_surfxml_peer_state___file = 0; + surfxml_peer_state___file_isset = 0; + ENTER(AL_surfxml_peer); pushbuffer(0); } - } - YY_BREAK -case 369: -YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of router element.", surf_parse_text[0]); - YY_BREAK + YY_BREAK + case 370: +/* rule 370 can match eol */ YY_RULE_SETUP -FAIL("Bad attribute `%s' in `router' element start tag.",surf_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_surfxml_router): -FAIL("EOF in attribute list of `router' element."); - YY_BREAK - +if (surfxml_peer_availability___file_isset != 0) {FAIL("Multiple definition of attribute availability_file in ");} surfxml_peer_availability___file_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_peer_availability___file); + YY_BREAK case 371: /* rule 371 can match eol */ YY_RULE_SETUP -{ - LEAVE; - ETag_surfxml_router(); - popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; - } - } - YY_BREAK +if (surfxml_peer_availability___file_isset != 0) {FAIL("Multiple definition of attribute availability_file in ");} surfxml_peer_availability___file_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_peer_availability___file); + YY_BREAK case 372: /* rule 372 can match eol */ YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); - YY_BREAK +if (surfxml_peer_bw___in_isset != 0) {FAIL("Multiple definition of attribute bw_in in ");} surfxml_peer_bw___in_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_peer_bw___in); + YY_BREAK case 373: +/* rule 373 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(E_surfxml_router): -if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); - YY_BREAK - +if (surfxml_peer_bw___in_isset != 0) {FAIL("Multiple definition of attribute bw_in in ");} surfxml_peer_bw___in_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_peer_bw___in); + YY_BREAK case 374: /* rule 374 can match eol */ YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK +if (surfxml_peer_bw___out_isset != 0) {FAIL("Multiple definition of attribute bw_out in ");} surfxml_peer_bw___out_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_peer_bw___out); + YY_BREAK case 375: /* rule 375 can match eol */ YY_RULE_SETUP -{ - AX_surfxml_backbone_id = 0; - surfxml_backbone_id_isset = 0; - AX_surfxml_backbone_bandwidth = 0; - surfxml_backbone_bandwidth_isset = 0; - AX_surfxml_backbone_latency = 0; - surfxml_backbone_latency_isset = 0; - ENTER(AL_surfxml_backbone); pushbuffer(0); - } - YY_BREAK - +if (surfxml_peer_bw___out_isset != 0) {FAIL("Multiple definition of attribute bw_out in ");} surfxml_peer_bw___out_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_peer_bw___out); + YY_BREAK case 376: /* rule 376 can match eol */ YY_RULE_SETUP -if (surfxml_backbone_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_backbone_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_backbone_id); - YY_BREAK +if (surfxml_peer_coordinates_isset != 0) {FAIL("Multiple definition of attribute coordinates in ");} surfxml_peer_coordinates_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_peer_coordinates); + YY_BREAK case 377: /* rule 377 can match eol */ YY_RULE_SETUP -if (surfxml_backbone_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_backbone_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_backbone_id); - YY_BREAK +if (surfxml_peer_coordinates_isset != 0) {FAIL("Multiple definition of attribute coordinates in ");} surfxml_peer_coordinates_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_peer_coordinates); + YY_BREAK case 378: /* rule 378 can match eol */ YY_RULE_SETUP -if (surfxml_backbone_bandwidth_isset != 0) {FAIL("Multiple definition of attribute bandwidth in ");} surfxml_backbone_bandwidth_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_backbone_bandwidth); - YY_BREAK +if (surfxml_peer_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_peer_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_peer_id); + YY_BREAK case 379: /* rule 379 can match eol */ YY_RULE_SETUP -if (surfxml_backbone_bandwidth_isset != 0) {FAIL("Multiple definition of attribute bandwidth in ");} surfxml_backbone_bandwidth_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_backbone_bandwidth); - YY_BREAK +if (surfxml_peer_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_peer_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_peer_id); + YY_BREAK case 380: /* rule 380 can match eol */ YY_RULE_SETUP -if (surfxml_backbone_latency_isset != 0) {FAIL("Multiple definition of attribute latency in ");} surfxml_backbone_latency_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_backbone_latency); - YY_BREAK +if (surfxml_peer_lat_isset != 0) {FAIL("Multiple definition of attribute lat in ");} surfxml_peer_lat_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_peer_lat); + YY_BREAK case 381: /* rule 381 can match eol */ YY_RULE_SETUP -if (surfxml_backbone_latency_isset != 0) {FAIL("Multiple definition of attribute latency in ");} surfxml_backbone_latency_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_backbone_latency); - YY_BREAK +if (surfxml_peer_lat_isset != 0) {FAIL("Multiple definition of attribute lat in ");} surfxml_peer_lat_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_peer_lat); + YY_BREAK case 382: +/* rule 382 can match eol */ YY_RULE_SETUP -{ - if (!AX_surfxml_backbone_id) FAIL("Required attribute `id' not set for `backbone' element."); - if (!AX_surfxml_backbone_bandwidth) FAIL("Required attribute `bandwidth' not set for `backbone' element."); - if (!AX_surfxml_backbone_latency) FAIL("Required attribute `latency' not set for `backbone' element."); - LEAVE; STag_surfxml_backbone();surfxml_pcdata_ix = 0; ENTER(E_surfxml_backbone); - } - YY_BREAK +if (surfxml_peer_power_isset != 0) {FAIL("Multiple definition of attribute power in ");} surfxml_peer_power_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_peer_power); + YY_BREAK case 383: +/* rule 383 can match eol */ YY_RULE_SETUP -{ - if (!AX_surfxml_backbone_id) FAIL("Required attribute `id' not set for `backbone' element."); - if (!AX_surfxml_backbone_bandwidth) FAIL("Required attribute `bandwidth' not set for `backbone' element."); - if (!AX_surfxml_backbone_latency) FAIL("Required attribute `latency' not set for `backbone' element."); - LEAVE; STag_surfxml_backbone(); surfxml_pcdata_ix = 0; ETag_surfxml_backbone(); popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; - } - } - YY_BREAK +if (surfxml_peer_power_isset != 0) {FAIL("Multiple definition of attribute power in ");} surfxml_peer_power_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_peer_power); + YY_BREAK case 384: +/* rule 384 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of backbone element.", surf_parse_text[0]); - YY_BREAK +if (surfxml_peer_state___file_isset != 0) {FAIL("Multiple definition of attribute state_file in ");} surfxml_peer_state___file_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_peer_state___file); + YY_BREAK case 385: +/* rule 385 can match eol */ YY_RULE_SETUP -FAIL("Bad attribute `%s' in `backbone' element start tag.",surf_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_surfxml_backbone): -FAIL("EOF in attribute list of `backbone' element."); - YY_BREAK - +if (surfxml_peer_state___file_isset != 0) {FAIL("Multiple definition of attribute state_file in ");} surfxml_peer_state___file_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_peer_state___file); + YY_BREAK case 386: -/* rule 386 can match eol */ YY_RULE_SETUP { - LEAVE; - ETag_surfxml_backbone(); - popbuffer(); /* attribute */ + if (!AX_surfxml_peer_bw___in) FAIL("Required attribute `bw_in' not set for `peer' element."); + if (!AX_surfxml_peer_bw___out) FAIL("Required attribute `bw_out' not set for `peer' element."); + if (!AX_surfxml_peer_id) FAIL("Required attribute `id' not set for `peer' element."); + if (!AX_surfxml_peer_lat) FAIL("Required attribute `lat' not set for `peer' element."); + if (!AX_surfxml_peer_power) FAIL("Required attribute `power' not set for `peer' element."); + LEAVE; STag_surfxml_peer();surfxml_pcdata_ix = 0; ENTER(E_surfxml_peer); + } + YY_BREAK +case 387: +YY_RULE_SETUP +{ + if (!AX_surfxml_peer_bw___in) FAIL("Required attribute `bw_in' not set for `peer' element."); + if (!AX_surfxml_peer_bw___out) FAIL("Required attribute `bw_out' not set for `peer' element."); + if (!AX_surfxml_peer_id) FAIL("Required attribute `id' not set for `peer' element."); + if (!AX_surfxml_peer_lat) FAIL("Required attribute `lat' not set for `peer' element."); + if (!AX_surfxml_peer_power) FAIL("Required attribute `power' not set for `peer' element."); + LEAVE; STag_surfxml_peer(); surfxml_pcdata_ix = 0; ETag_surfxml_peer(); popbuffer(); /* attribute */ switch (YY_START) { case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; + case S_surfxml_include: case S_surfxml_include_1: case S_surfxml_include_2: SET(S_surfxml_include_2); break; + case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_5: case S_surfxml_platform_6: SET(S_surfxml_platform_6); break; } } - YY_BREAK -case 387: -/* rule 387 can match eol */ -YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); - YY_BREAK + YY_BREAK case 388: YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(E_surfxml_backbone): -if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); - YY_BREAK - +FAIL("Unexpected character `%c' in attribute list of peer element.", surf_parse_text[0]); + YY_BREAK case 389: -/* rule 389 can match eol */ YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK +FAIL("Bad attribute `%s' in `peer' element start tag.",surf_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_surfxml_peer): +FAIL("EOF in attribute list of `peer' element."); + YY_BREAK + case 390: /* rule 390 can match eol */ YY_RULE_SETUP { - AX_surfxml_link_id = 0; - surfxml_link_id_isset = 0; - AX_surfxml_link_bandwidth = 0; - surfxml_link_bandwidth_isset = 0; - AX_surfxml_link_bandwidth___file = 0; - surfxml_link_bandwidth___file_isset = 0; - AX_surfxml_link_latency = 46; - surfxml_link_latency_isset = 0; - AX_surfxml_link_latency___file = 0; - surfxml_link_latency___file_isset = 0; - AX_surfxml_link_state = A_surfxml_link_state_ON; - surfxml_link_state_isset = 0; - AX_surfxml_link_state___file = 0; - surfxml_link_state___file_isset = 0; - AX_surfxml_link_sharing___policy = A_surfxml_link_sharing___policy_SHARED; - surfxml_link_sharing___policy_isset = 0; - ENTER(AL_surfxml_link); pushbuffer(0); + LEAVE; + ETag_surfxml_peer(); + popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; + case S_surfxml_include: case S_surfxml_include_1: case S_surfxml_include_2: SET(S_surfxml_include_2); break; + case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_5: case S_surfxml_platform_6: SET(S_surfxml_platform_6); break; } - YY_BREAK - + } + YY_BREAK case 391: /* rule 391 can match eol */ YY_RULE_SETUP -if (surfxml_link_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_link_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_link_id); - YY_BREAK +FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); + YY_BREAK case 392: -/* rule 392 can match eol */ YY_RULE_SETUP -if (surfxml_link_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_link_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_link_id); - YY_BREAK +FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); + YY_BREAK +case YY_STATE_EOF(E_surfxml_peer): +if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); + YY_BREAK + +/* */ case 393: /* rule 393 can match eol */ YY_RULE_SETUP -if (surfxml_link_bandwidth_isset != 0) {FAIL("Multiple definition of attribute bandwidth in ");} surfxml_link_bandwidth_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_link_bandwidth); - YY_BREAK +FAIL("Starting tag is not allowed here."); + YY_BREAK case 394: /* rule 394 can match eol */ YY_RULE_SETUP -if (surfxml_link_bandwidth_isset != 0) {FAIL("Multiple definition of attribute bandwidth in ");} surfxml_link_bandwidth_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_link_bandwidth); - YY_BREAK +{ + AX_surfxml_platform_version = 1; + surfxml_platform_version_isset = 0; + ENTER(AL_surfxml_platform); pushbuffer(0); + } + YY_BREAK + case 395: /* rule 395 can match eol */ YY_RULE_SETUP -if (surfxml_link_bandwidth___file_isset != 0) {FAIL("Multiple definition of attribute bandwidth_file in ");} surfxml_link_bandwidth___file_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_link_bandwidth___file); - YY_BREAK +if (surfxml_platform_version_isset != 0) {FAIL("Multiple definition of attribute version in ");} surfxml_platform_version_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_platform_version); + YY_BREAK case 396: /* rule 396 can match eol */ YY_RULE_SETUP -if (surfxml_link_bandwidth___file_isset != 0) {FAIL("Multiple definition of attribute bandwidth_file in ");} surfxml_link_bandwidth___file_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_link_bandwidth___file); - YY_BREAK +if (surfxml_platform_version_isset != 0) {FAIL("Multiple definition of attribute version in ");} surfxml_platform_version_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_platform_version); + YY_BREAK case 397: -/* rule 397 can match eol */ YY_RULE_SETUP -if (surfxml_link_latency_isset != 0) {FAIL("Multiple definition of attribute latency in ");} surfxml_link_latency_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_link_latency); - YY_BREAK +{ + LEAVE; STag_surfxml_platform();surfxml_pcdata_ix = 0; ENTER(S_surfxml_platform); + } + YY_BREAK case 398: -/* rule 398 can match eol */ YY_RULE_SETUP -if (surfxml_link_latency_isset != 0) {FAIL("Multiple definition of attribute latency in ");} surfxml_link_latency_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_link_latency); - YY_BREAK +{ + LEAVE; STag_surfxml_platform(); surfxml_pcdata_ix = 0; ETag_surfxml_platform(); popbuffer(); /* attribute */ + switch (YY_START) { + case ROOT_surfxml_platform: SET(EPILOG); break; + } + } + YY_BREAK case 399: -/* rule 399 can match eol */ YY_RULE_SETUP -if (surfxml_link_latency___file_isset != 0) {FAIL("Multiple definition of attribute latency_file in ");} surfxml_link_latency___file_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_link_latency___file); - YY_BREAK +FAIL("Unexpected character `%c' in attribute list of platform element.", surf_parse_text[0]); + YY_BREAK case 400: -/* rule 400 can match eol */ YY_RULE_SETUP -if (surfxml_link_latency___file_isset != 0) {FAIL("Multiple definition of attribute latency_file in ");} surfxml_link_latency___file_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_link_latency___file); - YY_BREAK +FAIL("Bad attribute `%s' in `platform' element start tag.",surf_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_surfxml_platform): +FAIL("EOF in attribute list of `platform' element."); + YY_BREAK + case 401: /* rule 401 can match eol */ +YY_RULE_SETUP +{ + LEAVE; + ETag_surfxml_platform(); + popbuffer(); /* attribute */ + switch (YY_START) { + case ROOT_surfxml_platform: SET(EPILOG); break; + } + } + YY_BREAK case 402: /* rule 402 can match eol */ YY_RULE_SETUP -A_surfxml_link_state = A_surfxml_link_state_ON; - YY_BREAK +FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); + YY_BREAK case 403: -/* rule 403 can match eol */ +YY_RULE_SETUP +FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); + YY_BREAK +case YY_STATE_EOF(E_surfxml_platform): +case YY_STATE_EOF(S_surfxml_platform): +case YY_STATE_EOF(S_surfxml_platform_1): +case YY_STATE_EOF(S_surfxml_platform_3): +case YY_STATE_EOF(S_surfxml_platform_4): +case YY_STATE_EOF(S_surfxml_platform_6): +case YY_STATE_EOF(S_surfxml_platform_8): +if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); + YY_BREAK + case 404: /* rule 404 can match eol */ YY_RULE_SETUP -A_surfxml_link_state = A_surfxml_link_state_OFF; - YY_BREAK +FAIL("Starting tag is not allowed here."); + YY_BREAK case 405: /* rule 405 can match eol */ YY_RULE_SETUP -if (surfxml_link_state___file_isset != 0) {FAIL("Multiple definition of attribute state_file in ");} surfxml_link_state___file_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_link_state___file); - YY_BREAK +{ + AX_surfxml_process_function = 0; + surfxml_process_function_isset = 0; + AX_surfxml_process_host = 0; + surfxml_process_host_isset = 0; + AX_surfxml_process_kill___time = 55; + surfxml_process_kill___time_isset = 0; + AX_surfxml_process_on___failure = A_surfxml_process_on___failure_DIE; + surfxml_process_on___failure_isset = 0; + AX_surfxml_process_start___time = 50; + surfxml_process_start___time_isset = 0; + ENTER(AL_surfxml_process); pushbuffer(0); + } + YY_BREAK + case 406: /* rule 406 can match eol */ YY_RULE_SETUP -if (surfxml_link_state___file_isset != 0) {FAIL("Multiple definition of attribute state_file in ");} surfxml_link_state___file_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_link_state___file); - YY_BREAK +if (surfxml_process_function_isset != 0) {FAIL("Multiple definition of attribute function in ");} surfxml_process_function_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_process_function); + YY_BREAK case 407: /* rule 407 can match eol */ +YY_RULE_SETUP +if (surfxml_process_function_isset != 0) {FAIL("Multiple definition of attribute function in ");} surfxml_process_function_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_process_function); + YY_BREAK case 408: /* rule 408 can match eol */ YY_RULE_SETUP -A_surfxml_link_sharing___policy = A_surfxml_link_sharing___policy_SHARED; - YY_BREAK +if (surfxml_process_host_isset != 0) {FAIL("Multiple definition of attribute host in ");} surfxml_process_host_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_process_host); + YY_BREAK case 409: /* rule 409 can match eol */ +YY_RULE_SETUP +if (surfxml_process_host_isset != 0) {FAIL("Multiple definition of attribute host in ");} surfxml_process_host_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_process_host); + YY_BREAK case 410: /* rule 410 can match eol */ YY_RULE_SETUP -A_surfxml_link_sharing___policy = A_surfxml_link_sharing___policy_FATPIPE; - YY_BREAK +if (surfxml_process_kill___time_isset != 0) {FAIL("Multiple definition of attribute kill_time in ");} surfxml_process_kill___time_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_process_kill___time); + YY_BREAK case 411: /* rule 411 can match eol */ +YY_RULE_SETUP +if (surfxml_process_kill___time_isset != 0) {FAIL("Multiple definition of attribute kill_time in ");} surfxml_process_kill___time_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_process_kill___time); + YY_BREAK case 412: /* rule 412 can match eol */ -YY_RULE_SETUP -A_surfxml_link_sharing___policy = A_surfxml_link_sharing___policy_FULLDUPLEX; - YY_BREAK case 413: +/* rule 413 can match eol */ YY_RULE_SETUP -{ - if (!AX_surfxml_link_id) FAIL("Required attribute `id' not set for `link' element."); - if (!AX_surfxml_link_bandwidth) FAIL("Required attribute `bandwidth' not set for `link' element."); - LEAVE; STag_surfxml_link();surfxml_pcdata_ix = 0; ENTER(S_surfxml_link); - } - YY_BREAK +A_surfxml_process_on___failure = A_surfxml_process_on___failure_DIE; + YY_BREAK case 414: -YY_RULE_SETUP -{ - if (!AX_surfxml_link_id) FAIL("Required attribute `id' not set for `link' element."); - if (!AX_surfxml_link_bandwidth) FAIL("Required attribute `bandwidth' not set for `link' element."); - LEAVE; STag_surfxml_link(); surfxml_pcdata_ix = 0; ETag_surfxml_link(); popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; - } - } - YY_BREAK +/* rule 414 can match eol */ case 415: +/* rule 415 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of link element.", surf_parse_text[0]); - YY_BREAK +A_surfxml_process_on___failure = A_surfxml_process_on___failure_RESTART; + YY_BREAK case 416: +/* rule 416 can match eol */ YY_RULE_SETUP -FAIL("Bad attribute `%s' in `link' element start tag.",surf_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_surfxml_link): -FAIL("EOF in attribute list of `link' element."); - YY_BREAK - +if (surfxml_process_start___time_isset != 0) {FAIL("Multiple definition of attribute start_time in ");} surfxml_process_start___time_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_process_start___time); + YY_BREAK case 417: /* rule 417 can match eol */ YY_RULE_SETUP -{ - LEAVE; - ETag_surfxml_link(); - popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; - } - } - YY_BREAK +if (surfxml_process_start___time_isset != 0) {FAIL("Multiple definition of attribute start_time in ");} surfxml_process_start___time_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_process_start___time); + YY_BREAK case 418: -/* rule 418 can match eol */ YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); - YY_BREAK +{ + if (!AX_surfxml_process_function) FAIL("Required attribute `function' not set for `process' element."); + if (!AX_surfxml_process_host) FAIL("Required attribute `host' not set for `process' element."); + LEAVE; STag_surfxml_process();surfxml_pcdata_ix = 0; ENTER(S_surfxml_process); + } + YY_BREAK case 419: YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(S_surfxml_link): -case YY_STATE_EOF(S_surfxml_link_2): -case YY_STATE_EOF(E_surfxml_link): -if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); - YY_BREAK - +{ + if (!AX_surfxml_process_function) FAIL("Required attribute `function' not set for `process' element."); + if (!AX_surfxml_process_host) FAIL("Required attribute `host' not set for `process' element."); + LEAVE; STag_surfxml_process(); surfxml_pcdata_ix = 0; ETag_surfxml_process(); popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_4: case S_surfxml_platform_6: case S_surfxml_platform_7: case S_surfxml_platform_8: SET(S_surfxml_platform_8); break; + } + } + YY_BREAK case 420: -/* rule 420 can match eol */ YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK +FAIL("Unexpected character `%c' in attribute list of process element.", surf_parse_text[0]); + YY_BREAK case 421: -/* rule 421 can match eol */ YY_RULE_SETUP -{ - AX_surfxml_route_src = 0; - surfxml_route_src_isset = 0; - AX_surfxml_route_dst = 0; - surfxml_route_dst_isset = 0; - AX_surfxml_route_symmetrical = A_surfxml_route_symmetrical_YES; - surfxml_route_symmetrical_isset = 0; - ENTER(AL_surfxml_route); pushbuffer(0); - } - YY_BREAK +FAIL("Bad attribute `%s' in `process' element start tag.",surf_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_surfxml_process): +FAIL("EOF in attribute list of `process' element."); + YY_BREAK case 422: /* rule 422 can match eol */ YY_RULE_SETUP -if (surfxml_route_src_isset != 0) {FAIL("Multiple definition of attribute src in ");} surfxml_route_src_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_route_src); - YY_BREAK +{ + LEAVE; + ETag_surfxml_process(); + popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_4: case S_surfxml_platform_6: case S_surfxml_platform_7: case S_surfxml_platform_8: SET(S_surfxml_platform_8); break; + } + } + YY_BREAK case 423: /* rule 423 can match eol */ YY_RULE_SETUP -if (surfxml_route_src_isset != 0) {FAIL("Multiple definition of attribute src in ");} surfxml_route_src_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_route_src); - YY_BREAK +FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); + YY_BREAK case 424: -/* rule 424 can match eol */ YY_RULE_SETUP -if (surfxml_route_dst_isset != 0) {FAIL("Multiple definition of attribute dst in ");} surfxml_route_dst_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_route_dst); - YY_BREAK +FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); + YY_BREAK +case YY_STATE_EOF(E_surfxml_process): +case YY_STATE_EOF(S_surfxml_process): +case YY_STATE_EOF(S_surfxml_process_2): +if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); + YY_BREAK + +/* + * */ case 425: /* rule 425 can match eol */ YY_RULE_SETUP -if (surfxml_route_dst_isset != 0) {FAIL("Multiple definition of attribute dst in ");} surfxml_route_dst_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_route_dst); - YY_BREAK +FAIL("Starting tag is not allowed here."); + YY_BREAK case 426: /* rule 426 can match eol */ +YY_RULE_SETUP +{ + AX_surfxml_prop_id = 0; + surfxml_prop_id_isset = 0; + AX_surfxml_prop_value = 0; + surfxml_prop_value_isset = 0; + ENTER(AL_surfxml_prop); pushbuffer(0); + } + YY_BREAK + case 427: /* rule 427 can match eol */ YY_RULE_SETUP -A_surfxml_route_symmetrical = A_surfxml_route_symmetrical_YES; - YY_BREAK +if (surfxml_prop_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_prop_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_prop_id); + YY_BREAK case 428: /* rule 428 can match eol */ +YY_RULE_SETUP +if (surfxml_prop_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_prop_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_prop_id); + YY_BREAK case 429: /* rule 429 can match eol */ YY_RULE_SETUP -A_surfxml_route_symmetrical = A_surfxml_route_symmetrical_NO; - YY_BREAK +if (surfxml_prop_value_isset != 0) {FAIL("Multiple definition of attribute value in ");} surfxml_prop_value_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_prop_value); + YY_BREAK case 430: +/* rule 430 can match eol */ +YY_RULE_SETUP +if (surfxml_prop_value_isset != 0) {FAIL("Multiple definition of attribute value in ");} surfxml_prop_value_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_prop_value); + YY_BREAK +case 431: YY_RULE_SETUP { - if (!AX_surfxml_route_src) FAIL("Required attribute `src' not set for `route' element."); - if (!AX_surfxml_route_dst) FAIL("Required attribute `dst' not set for `route' element."); - LEAVE; STag_surfxml_route();surfxml_pcdata_ix = 0; ENTER(S_surfxml_route); + if (!AX_surfxml_prop_id) FAIL("Required attribute `id' not set for `prop' element."); + if (!AX_surfxml_prop_value) FAIL("Required attribute `value' not set for `prop' element."); + LEAVE; STag_surfxml_prop();surfxml_pcdata_ix = 0; ENTER(E_surfxml_prop); } - YY_BREAK -case 431: + YY_BREAK +case 432: YY_RULE_SETUP { - if (!AX_surfxml_route_src) FAIL("Required attribute `src' not set for `route' element."); - if (!AX_surfxml_route_dst) FAIL("Required attribute `dst' not set for `route' element."); - LEAVE; STag_surfxml_route(); surfxml_pcdata_ix = 0; ETag_surfxml_route(); popbuffer(); /* attribute */ + if (!AX_surfxml_prop_id) FAIL("Required attribute `id' not set for `prop' element."); + if (!AX_surfxml_prop_value) FAIL("Required attribute `value' not set for `prop' element."); + LEAVE; STag_surfxml_prop(); surfxml_pcdata_ix = 0; ETag_surfxml_prop(); popbuffer(); /* attribute */ switch (YY_START) { - case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_4: case S_surfxml_AS_6: case S_surfxml_AS_7: case S_surfxml_AS_8: SET(S_surfxml_AS_8); break; + case S_surfxml_AS: case S_surfxml_AS_2: case S_surfxml_AS_3: SET(S_surfxml_AS_3); break; + case S_surfxml_cluster: case S_surfxml_cluster_1: case S_surfxml_cluster_2: SET(S_surfxml_cluster_2); break; + case S_surfxml_config: case S_surfxml_config_1: case S_surfxml_config_2: SET(S_surfxml_config_2); break; + case S_surfxml_host: case S_surfxml_host_1: case S_surfxml_host_2: SET(S_surfxml_host_2); break; + case S_surfxml_link: case S_surfxml_link_1: case S_surfxml_link_2: SET(S_surfxml_link_2); break; + case S_surfxml_process: case S_surfxml_process_1: case S_surfxml_process_2: SET(S_surfxml_process_2); break; + case S_surfxml_storage: case S_surfxml_storage_1: case S_surfxml_storage_2: SET(S_surfxml_storage_2); break; + case S_surfxml_storage___type: case S_surfxml_storage___type_1: case S_surfxml_storage___type_2: SET(S_surfxml_storage___type_2); break; } } - YY_BREAK -case 432: -YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of route element.", surf_parse_text[0]); - YY_BREAK + YY_BREAK case 433: YY_RULE_SETUP -FAIL("Bad attribute `%s' in `route' element start tag.",surf_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_surfxml_route): -FAIL("EOF in attribute list of `route' element."); - YY_BREAK - +FAIL("Unexpected character `%c' in attribute list of prop element.", surf_parse_text[0]); + YY_BREAK case 434: -/* rule 434 can match eol */ +YY_RULE_SETUP +FAIL("Bad attribute `%s' in `prop' element start tag.",surf_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_surfxml_prop): +FAIL("EOF in attribute list of `prop' element."); + YY_BREAK + +case 435: +/* rule 435 can match eol */ YY_RULE_SETUP { LEAVE; - ETag_surfxml_route(); + ETag_surfxml_prop(); popbuffer(); /* attribute */ switch (YY_START) { - case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_4: case S_surfxml_AS_6: case S_surfxml_AS_7: case S_surfxml_AS_8: SET(S_surfxml_AS_8); break; + case S_surfxml_AS: case S_surfxml_AS_2: case S_surfxml_AS_3: SET(S_surfxml_AS_3); break; + case S_surfxml_cluster: case S_surfxml_cluster_1: case S_surfxml_cluster_2: SET(S_surfxml_cluster_2); break; + case S_surfxml_config: case S_surfxml_config_1: case S_surfxml_config_2: SET(S_surfxml_config_2); break; + case S_surfxml_host: case S_surfxml_host_1: case S_surfxml_host_2: SET(S_surfxml_host_2); break; + case S_surfxml_link: case S_surfxml_link_1: case S_surfxml_link_2: SET(S_surfxml_link_2); break; + case S_surfxml_process: case S_surfxml_process_1: case S_surfxml_process_2: SET(S_surfxml_process_2); break; + case S_surfxml_storage: case S_surfxml_storage_1: case S_surfxml_storage_2: SET(S_surfxml_storage_2); break; + case S_surfxml_storage___type: case S_surfxml_storage___type_1: case S_surfxml_storage___type_2: SET(S_surfxml_storage___type_2); break; } } - YY_BREAK -case 435: -/* rule 435 can match eol */ -YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); - YY_BREAK + YY_BREAK case 436: +/* rule 436 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(S_surfxml_route_2): -case YY_STATE_EOF(E_surfxml_route): -case YY_STATE_EOF(S_surfxml_route): -if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); - YY_BREAK - +FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); + YY_BREAK case 437: -/* rule 437 can match eol */ YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK +FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); + YY_BREAK +case YY_STATE_EOF(E_surfxml_prop): +if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); + YY_BREAK + case 438: /* rule 438 can match eol */ YY_RULE_SETUP -{ - AX_surfxml_ASroute_src = 0; - surfxml_ASroute_src_isset = 0; - AX_surfxml_ASroute_dst = 0; - surfxml_ASroute_dst_isset = 0; - AX_surfxml_ASroute_gw___src = 0; - surfxml_ASroute_gw___src_isset = 0; - AX_surfxml_ASroute_gw___dst = 0; - surfxml_ASroute_gw___dst_isset = 0; - AX_surfxml_ASroute_symmetrical = A_surfxml_ASroute_symmetrical_YES; - surfxml_ASroute_symmetrical_isset = 0; - ENTER(AL_surfxml_ASroute); pushbuffer(0); - } - YY_BREAK - +FAIL("Starting tag is not allowed here."); + YY_BREAK case 439: /* rule 439 can match eol */ YY_RULE_SETUP -if (surfxml_ASroute_src_isset != 0) {FAIL("Multiple definition of attribute src in ");} surfxml_ASroute_src_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_ASroute_src); - YY_BREAK +{ + AX_surfxml_random_generator = A_surfxml_random_generator_DRAND48; + surfxml_random_generator_isset = 0; + AX_surfxml_random_id = 0; + surfxml_random_id_isset = 0; + AX_surfxml_random_max = 0; + surfxml_random_max_isset = 0; + AX_surfxml_random_mean = 0; + surfxml_random_mean_isset = 0; + AX_surfxml_random_min = 0; + surfxml_random_min_isset = 0; + AX_surfxml_random_radical = 0; + surfxml_random_radical_isset = 0; + AX_surfxml_random_seed = 5; + surfxml_random_seed_isset = 0; + AX_surfxml_random_std___deviation = 0; + surfxml_random_std___deviation_isset = 0; + ENTER(AL_surfxml_random); pushbuffer(0); + } + YY_BREAK + case 440: /* rule 440 can match eol */ -YY_RULE_SETUP -if (surfxml_ASroute_src_isset != 0) {FAIL("Multiple definition of attribute src in ");} surfxml_ASroute_src_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_ASroute_src); - YY_BREAK case 441: /* rule 441 can match eol */ YY_RULE_SETUP -if (surfxml_ASroute_dst_isset != 0) {FAIL("Multiple definition of attribute dst in ");} surfxml_ASroute_dst_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_ASroute_dst); - YY_BREAK +A_surfxml_random_generator = A_surfxml_random_generator_DRAND48; + YY_BREAK case 442: /* rule 442 can match eol */ -YY_RULE_SETUP -if (surfxml_ASroute_dst_isset != 0) {FAIL("Multiple definition of attribute dst in ");} surfxml_ASroute_dst_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_ASroute_dst); - YY_BREAK case 443: /* rule 443 can match eol */ YY_RULE_SETUP -if (surfxml_ASroute_gw___src_isset != 0) {FAIL("Multiple definition of attribute gw_src in ");} surfxml_ASroute_gw___src_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_ASroute_gw___src); - YY_BREAK +A_surfxml_random_generator = A_surfxml_random_generator_RAND; + YY_BREAK case 444: /* rule 444 can match eol */ -YY_RULE_SETUP -if (surfxml_ASroute_gw___src_isset != 0) {FAIL("Multiple definition of attribute gw_src in ");} surfxml_ASroute_gw___src_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_ASroute_gw___src); - YY_BREAK case 445: /* rule 445 can match eol */ YY_RULE_SETUP -if (surfxml_ASroute_gw___dst_isset != 0) {FAIL("Multiple definition of attribute gw_dst in ");} surfxml_ASroute_gw___dst_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_ASroute_gw___dst); - YY_BREAK +A_surfxml_random_generator = A_surfxml_random_generator_RNGSTREAM; + YY_BREAK case 446: /* rule 446 can match eol */ -YY_RULE_SETUP -if (surfxml_ASroute_gw___dst_isset != 0) {FAIL("Multiple definition of attribute gw_dst in ");} surfxml_ASroute_gw___dst_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_ASroute_gw___dst); - YY_BREAK case 447: /* rule 447 can match eol */ +YY_RULE_SETUP +A_surfxml_random_generator = A_surfxml_random_generator_NONE; + YY_BREAK case 448: /* rule 448 can match eol */ YY_RULE_SETUP -A_surfxml_ASroute_symmetrical = A_surfxml_ASroute_symmetrical_YES; - YY_BREAK +if (surfxml_random_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_random_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_random_id); + YY_BREAK case 449: /* rule 449 can match eol */ +YY_RULE_SETUP +if (surfxml_random_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_random_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_random_id); + YY_BREAK case 450: /* rule 450 can match eol */ YY_RULE_SETUP -A_surfxml_ASroute_symmetrical = A_surfxml_ASroute_symmetrical_NO; - YY_BREAK +if (surfxml_random_max_isset != 0) {FAIL("Multiple definition of attribute max in ");} surfxml_random_max_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_random_max); + YY_BREAK case 451: +/* rule 451 can match eol */ YY_RULE_SETUP -{ - if (!AX_surfxml_ASroute_src) FAIL("Required attribute `src' not set for `ASroute' element."); - if (!AX_surfxml_ASroute_dst) FAIL("Required attribute `dst' not set for `ASroute' element."); - if (!AX_surfxml_ASroute_gw___src) FAIL("Required attribute `gw_src' not set for `ASroute' element."); - if (!AX_surfxml_ASroute_gw___dst) FAIL("Required attribute `gw_dst' not set for `ASroute' element."); - LEAVE; STag_surfxml_ASroute();surfxml_pcdata_ix = 0; ENTER(S_surfxml_ASroute); - } - YY_BREAK +if (surfxml_random_max_isset != 0) {FAIL("Multiple definition of attribute max in ");} surfxml_random_max_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_random_max); + YY_BREAK case 452: +/* rule 452 can match eol */ YY_RULE_SETUP -{ - if (!AX_surfxml_ASroute_src) FAIL("Required attribute `src' not set for `ASroute' element."); - if (!AX_surfxml_ASroute_dst) FAIL("Required attribute `dst' not set for `ASroute' element."); - if (!AX_surfxml_ASroute_gw___src) FAIL("Required attribute `gw_src' not set for `ASroute' element."); - if (!AX_surfxml_ASroute_gw___dst) FAIL("Required attribute `gw_dst' not set for `ASroute' element."); - LEAVE; STag_surfxml_ASroute(); surfxml_pcdata_ix = 0; ETag_surfxml_ASroute(); popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: SET(S_surfxml_AS_6); break; - case S_surfxml_AS: case S_surfxml_AS_4: case S_surfxml_AS_6: case S_surfxml_AS_7: case S_surfxml_AS_8: SET(S_surfxml_AS_8); break; - } - } - YY_BREAK +if (surfxml_random_mean_isset != 0) {FAIL("Multiple definition of attribute mean in ");} surfxml_random_mean_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_random_mean); + YY_BREAK case 453: +/* rule 453 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of ASroute element.", surf_parse_text[0]); - YY_BREAK +if (surfxml_random_mean_isset != 0) {FAIL("Multiple definition of attribute mean in ");} surfxml_random_mean_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_random_mean); + YY_BREAK case 454: +/* rule 454 can match eol */ YY_RULE_SETUP -FAIL("Bad attribute `%s' in `ASroute' element start tag.",surf_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_surfxml_ASroute): -FAIL("EOF in attribute list of `ASroute' element."); - YY_BREAK - +if (surfxml_random_min_isset != 0) {FAIL("Multiple definition of attribute min in ");} surfxml_random_min_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_random_min); + YY_BREAK case 455: /* rule 455 can match eol */ YY_RULE_SETUP -{ - LEAVE; - ETag_surfxml_ASroute(); - popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: SET(S_surfxml_AS_6); break; - case S_surfxml_AS: case S_surfxml_AS_4: case S_surfxml_AS_6: case S_surfxml_AS_7: case S_surfxml_AS_8: SET(S_surfxml_AS_8); break; - } - } - YY_BREAK +if (surfxml_random_min_isset != 0) {FAIL("Multiple definition of attribute min in ");} surfxml_random_min_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_random_min); + YY_BREAK case 456: /* rule 456 can match eol */ YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); - YY_BREAK +if (surfxml_random_radical_isset != 0) {FAIL("Multiple definition of attribute radical in ");} surfxml_random_radical_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_random_radical); + YY_BREAK case 457: +/* rule 457 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(S_surfxml_ASroute_2): -case YY_STATE_EOF(S_surfxml_ASroute): -case YY_STATE_EOF(E_surfxml_ASroute): -if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); - YY_BREAK - +if (surfxml_random_radical_isset != 0) {FAIL("Multiple definition of attribute radical in ");} surfxml_random_radical_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_random_radical); + YY_BREAK case 458: /* rule 458 can match eol */ YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK +if (surfxml_random_seed_isset != 0) {FAIL("Multiple definition of attribute seed in ");} surfxml_random_seed_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_random_seed); + YY_BREAK case 459: /* rule 459 can match eol */ YY_RULE_SETUP -{ - AX_surfxml_link___ctn_id = 0; - surfxml_link___ctn_id_isset = 0; - AX_surfxml_link___ctn_direction = A_surfxml_link___ctn_direction_NONE; - surfxml_link___ctn_direction_isset = 0; - ENTER(AL_surfxml_link___ctn); pushbuffer(0); - } - YY_BREAK - +if (surfxml_random_seed_isset != 0) {FAIL("Multiple definition of attribute seed in ");} surfxml_random_seed_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_random_seed); + YY_BREAK case 460: /* rule 460 can match eol */ YY_RULE_SETUP -if (surfxml_link___ctn_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_link___ctn_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_link___ctn_id); - YY_BREAK +if (surfxml_random_std___deviation_isset != 0) {FAIL("Multiple definition of attribute std_deviation in ");} surfxml_random_std___deviation_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_random_std___deviation); + YY_BREAK case 461: /* rule 461 can match eol */ YY_RULE_SETUP -if (surfxml_link___ctn_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_link___ctn_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_link___ctn_id); - YY_BREAK +if (surfxml_random_std___deviation_isset != 0) {FAIL("Multiple definition of attribute std_deviation in ");} surfxml_random_std___deviation_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_random_std___deviation); + YY_BREAK case 462: -/* rule 462 can match eol */ +YY_RULE_SETUP +{ + if (!AX_surfxml_random_id) FAIL("Required attribute `id' not set for `random' element."); + if (!AX_surfxml_random_max) FAIL("Required attribute `max' not set for `random' element."); + if (!AX_surfxml_random_mean) FAIL("Required attribute `mean' not set for `random' element."); + if (!AX_surfxml_random_min) FAIL("Required attribute `min' not set for `random' element."); + if (!AX_surfxml_random_std___deviation) FAIL("Required attribute `std_deviation' not set for `random' element."); + LEAVE; STag_surfxml_random();surfxml_pcdata_ix = 0; ENTER(E_surfxml_random); + } + YY_BREAK case 463: -/* rule 463 can match eol */ YY_RULE_SETUP -A_surfxml_link___ctn_direction = A_surfxml_link___ctn_direction_UP; - YY_BREAK +{ + if (!AX_surfxml_random_id) FAIL("Required attribute `id' not set for `random' element."); + if (!AX_surfxml_random_max) FAIL("Required attribute `max' not set for `random' element."); + if (!AX_surfxml_random_mean) FAIL("Required attribute `mean' not set for `random' element."); + if (!AX_surfxml_random_min) FAIL("Required attribute `min' not set for `random' element."); + if (!AX_surfxml_random_std___deviation) FAIL("Required attribute `std_deviation' not set for `random' element."); + LEAVE; STag_surfxml_random(); surfxml_pcdata_ix = 0; ETag_surfxml_random(); popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_platform: case S_surfxml_platform_2: case S_surfxml_platform_3: SET(S_surfxml_platform_3); break; + } + } + YY_BREAK case 464: -/* rule 464 can match eol */ +YY_RULE_SETUP +FAIL("Unexpected character `%c' in attribute list of random element.", surf_parse_text[0]); + YY_BREAK case 465: -/* rule 465 can match eol */ YY_RULE_SETUP -A_surfxml_link___ctn_direction = A_surfxml_link___ctn_direction_DOWN; - YY_BREAK +FAIL("Bad attribute `%s' in `random' element start tag.",surf_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_surfxml_random): +FAIL("EOF in attribute list of `random' element."); + YY_BREAK + case 466: /* rule 466 can match eol */ +YY_RULE_SETUP +{ + LEAVE; + ETag_surfxml_random(); + popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_platform: case S_surfxml_platform_2: case S_surfxml_platform_3: SET(S_surfxml_platform_3); break; + } + } + YY_BREAK case 467: /* rule 467 can match eol */ YY_RULE_SETUP -A_surfxml_link___ctn_direction = A_surfxml_link___ctn_direction_NONE; - YY_BREAK +FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); + YY_BREAK case 468: YY_RULE_SETUP -{ - if (!AX_surfxml_link___ctn_id) FAIL("Required attribute `id' not set for `link_ctn' element."); - LEAVE; STag_surfxml_link___ctn();surfxml_pcdata_ix = 0; ENTER(E_surfxml_link___ctn); - } - YY_BREAK +FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); + YY_BREAK +case YY_STATE_EOF(E_surfxml_random): +if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); + YY_BREAK + case 469: +/* rule 469 can match eol */ YY_RULE_SETUP -{ - if (!AX_surfxml_link___ctn_id) FAIL("Required attribute `id' not set for `link_ctn' element."); - LEAVE; STag_surfxml_link___ctn(); surfxml_pcdata_ix = 0; ETag_surfxml_link___ctn(); popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_ASroute: case S_surfxml_ASroute_1: case S_surfxml_ASroute_2: SET(S_surfxml_ASroute_2); break; - case S_surfxml_bypassASroute: case S_surfxml_bypassASroute_1: case S_surfxml_bypassASroute_2: SET(S_surfxml_bypassASroute_2); break; - case S_surfxml_bypassRoute: case S_surfxml_bypassRoute_1: case S_surfxml_bypassRoute_2: SET(S_surfxml_bypassRoute_2); break; - case S_surfxml_route: case S_surfxml_route_1: case S_surfxml_route_2: SET(S_surfxml_route_2); break; - } - } - YY_BREAK +FAIL("Starting tag is not allowed here."); + YY_BREAK case 470: +/* rule 470 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of link_ctn element.", surf_parse_text[0]); - YY_BREAK +{ + AX_surfxml_route_dst = 0; + surfxml_route_dst_isset = 0; + AX_surfxml_route_src = 0; + surfxml_route_src_isset = 0; + AX_surfxml_route_symmetrical = A_surfxml_route_symmetrical_YES; + surfxml_route_symmetrical_isset = 0; + ENTER(AL_surfxml_route); pushbuffer(0); + } + YY_BREAK + case 471: +/* rule 471 can match eol */ YY_RULE_SETUP -FAIL("Bad attribute `%s' in `link_ctn' element start tag.",surf_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_surfxml_link___ctn): -FAIL("EOF in attribute list of `link_ctn' element."); - YY_BREAK - +if (surfxml_route_dst_isset != 0) {FAIL("Multiple definition of attribute dst in ");} surfxml_route_dst_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_route_dst); + YY_BREAK case 472: /* rule 472 can match eol */ YY_RULE_SETUP -{ - LEAVE; - ETag_surfxml_link___ctn(); - popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_ASroute: case S_surfxml_ASroute_1: case S_surfxml_ASroute_2: SET(S_surfxml_ASroute_2); break; - case S_surfxml_bypassASroute: case S_surfxml_bypassASroute_1: case S_surfxml_bypassASroute_2: SET(S_surfxml_bypassASroute_2); break; - case S_surfxml_bypassRoute: case S_surfxml_bypassRoute_1: case S_surfxml_bypassRoute_2: SET(S_surfxml_bypassRoute_2); break; - case S_surfxml_route: case S_surfxml_route_1: case S_surfxml_route_2: SET(S_surfxml_route_2); break; - } - } - YY_BREAK +if (surfxml_route_dst_isset != 0) {FAIL("Multiple definition of attribute dst in ");} surfxml_route_dst_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_route_dst); + YY_BREAK case 473: /* rule 473 can match eol */ YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); - YY_BREAK +if (surfxml_route_src_isset != 0) {FAIL("Multiple definition of attribute src in ");} surfxml_route_src_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_route_src); + YY_BREAK case 474: +/* rule 474 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(E_surfxml_link___ctn): -if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); - YY_BREAK - +if (surfxml_route_src_isset != 0) {FAIL("Multiple definition of attribute src in ");} surfxml_route_src_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_route_src); + YY_BREAK case 475: /* rule 475 can match eol */ -YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK case 476: /* rule 476 can match eol */ YY_RULE_SETUP -{ - AX_surfxml_bypassRoute_src = 0; - surfxml_bypassRoute_src_isset = 0; - AX_surfxml_bypassRoute_dst = 0; - surfxml_bypassRoute_dst_isset = 0; - ENTER(AL_surfxml_bypassRoute); pushbuffer(0); - } - YY_BREAK - +A_surfxml_route_symmetrical = A_surfxml_route_symmetrical_YES; + YY_BREAK case 477: /* rule 477 can match eol */ -YY_RULE_SETUP -if (surfxml_bypassRoute_src_isset != 0) {FAIL("Multiple definition of attribute src in ");} surfxml_bypassRoute_src_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_bypassRoute_src); - YY_BREAK case 478: /* rule 478 can match eol */ YY_RULE_SETUP -if (surfxml_bypassRoute_src_isset != 0) {FAIL("Multiple definition of attribute src in ");} surfxml_bypassRoute_src_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_bypassRoute_src); - YY_BREAK +A_surfxml_route_symmetrical = A_surfxml_route_symmetrical_NO; + YY_BREAK case 479: -/* rule 479 can match eol */ -YY_RULE_SETUP -if (surfxml_bypassRoute_dst_isset != 0) {FAIL("Multiple definition of attribute dst in ");} surfxml_bypassRoute_dst_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_bypassRoute_dst); - YY_BREAK -case 480: -/* rule 480 can match eol */ -YY_RULE_SETUP -if (surfxml_bypassRoute_dst_isset != 0) {FAIL("Multiple definition of attribute dst in ");} surfxml_bypassRoute_dst_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_bypassRoute_dst); - YY_BREAK -case 481: YY_RULE_SETUP { - if (!AX_surfxml_bypassRoute_src) FAIL("Required attribute `src' not set for `bypassRoute' element."); - if (!AX_surfxml_bypassRoute_dst) FAIL("Required attribute `dst' not set for `bypassRoute' element."); - LEAVE; STag_surfxml_bypassRoute();surfxml_pcdata_ix = 0; ENTER(S_surfxml_bypassRoute); + if (!AX_surfxml_route_dst) FAIL("Required attribute `dst' not set for `route' element."); + if (!AX_surfxml_route_src) FAIL("Required attribute `src' not set for `route' element."); + LEAVE; STag_surfxml_route();surfxml_pcdata_ix = 0; ENTER(S_surfxml_route); } - YY_BREAK -case 482: + YY_BREAK +case 480: YY_RULE_SETUP { - if (!AX_surfxml_bypassRoute_src) FAIL("Required attribute `src' not set for `bypassRoute' element."); - if (!AX_surfxml_bypassRoute_dst) FAIL("Required attribute `dst' not set for `bypassRoute' element."); - LEAVE; STag_surfxml_bypassRoute(); surfxml_pcdata_ix = 0; ETag_surfxml_bypassRoute(); popbuffer(); /* attribute */ + if (!AX_surfxml_route_dst) FAIL("Required attribute `dst' not set for `route' element."); + if (!AX_surfxml_route_src) FAIL("Required attribute `src' not set for `route' element."); + LEAVE; STag_surfxml_route(); surfxml_pcdata_ix = 0; ETag_surfxml_route(); popbuffer(); /* attribute */ switch (YY_START) { case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_4: case S_surfxml_AS_6: case S_surfxml_AS_7: case S_surfxml_AS_8: SET(S_surfxml_AS_8); break; } } - YY_BREAK -case 483: + YY_BREAK +case 481: YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of bypassRoute element.", surf_parse_text[0]); - YY_BREAK -case 484: +FAIL("Unexpected character `%c' in attribute list of route element.", surf_parse_text[0]); + YY_BREAK +case 482: YY_RULE_SETUP -FAIL("Bad attribute `%s' in `bypassRoute' element start tag.",surf_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_surfxml_bypassRoute): -FAIL("EOF in attribute list of `bypassRoute' element."); - YY_BREAK +FAIL("Bad attribute `%s' in `route' element start tag.",surf_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_surfxml_route): +FAIL("EOF in attribute list of `route' element."); + YY_BREAK -case 485: -/* rule 485 can match eol */ +case 483: +/* rule 483 can match eol */ YY_RULE_SETUP { LEAVE; - ETag_surfxml_bypassRoute(); + ETag_surfxml_route(); popbuffer(); /* attribute */ switch (YY_START) { case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_4: case S_surfxml_AS_6: case S_surfxml_AS_7: case S_surfxml_AS_8: SET(S_surfxml_AS_8); break; } } - YY_BREAK + YY_BREAK +case 484: +/* rule 484 can match eol */ +YY_RULE_SETUP +FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); + YY_BREAK +case 485: +YY_RULE_SETUP +FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); + YY_BREAK +case YY_STATE_EOF(E_surfxml_route): +case YY_STATE_EOF(S_surfxml_route): +case YY_STATE_EOF(S_surfxml_route_2): +if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); + YY_BREAK + case 486: /* rule 486 can match eol */ YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); - YY_BREAK +FAIL("Starting tag is not allowed here."); + YY_BREAK case 487: +/* rule 487 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(S_surfxml_bypassRoute_2): -case YY_STATE_EOF(E_surfxml_bypassRoute): -case YY_STATE_EOF(S_surfxml_bypassRoute): -if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); - YY_BREAK +{ + AX_surfxml_router_coordinates = 0; + surfxml_router_coordinates_isset = 0; + AX_surfxml_router_id = 0; + surfxml_router_id_isset = 0; + ENTER(AL_surfxml_router); pushbuffer(0); + } + YY_BREAK case 488: /* rule 488 can match eol */ YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK +if (surfxml_router_coordinates_isset != 0) {FAIL("Multiple definition of attribute coordinates in ");} surfxml_router_coordinates_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_router_coordinates); + YY_BREAK case 489: /* rule 489 can match eol */ YY_RULE_SETUP -{ - AX_surfxml_bypassASroute_src = 0; - surfxml_bypassASroute_src_isset = 0; - AX_surfxml_bypassASroute_dst = 0; - surfxml_bypassASroute_dst_isset = 0; - AX_surfxml_bypassASroute_gw___src = 0; - surfxml_bypassASroute_gw___src_isset = 0; - AX_surfxml_bypassASroute_gw___dst = 0; - surfxml_bypassASroute_gw___dst_isset = 0; - ENTER(AL_surfxml_bypassASroute); pushbuffer(0); - } - YY_BREAK - +if (surfxml_router_coordinates_isset != 0) {FAIL("Multiple definition of attribute coordinates in ");} surfxml_router_coordinates_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_router_coordinates); + YY_BREAK case 490: /* rule 490 can match eol */ YY_RULE_SETUP -if (surfxml_bypassASroute_src_isset != 0) {FAIL("Multiple definition of attribute src in ");} surfxml_bypassASroute_src_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_bypassASroute_src); - YY_BREAK +if (surfxml_router_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_router_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_router_id); + YY_BREAK case 491: /* rule 491 can match eol */ YY_RULE_SETUP -if (surfxml_bypassASroute_src_isset != 0) {FAIL("Multiple definition of attribute src in ");} surfxml_bypassASroute_src_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_bypassASroute_src); - YY_BREAK +if (surfxml_router_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_router_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_router_id); + YY_BREAK case 492: -/* rule 492 can match eol */ YY_RULE_SETUP -if (surfxml_bypassASroute_dst_isset != 0) {FAIL("Multiple definition of attribute dst in ");} surfxml_bypassASroute_dst_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_bypassASroute_dst); - YY_BREAK +{ + if (!AX_surfxml_router_id) FAIL("Required attribute `id' not set for `router' element."); + LEAVE; STag_surfxml_router();surfxml_pcdata_ix = 0; ENTER(E_surfxml_router); + } + YY_BREAK case 493: -/* rule 493 can match eol */ YY_RULE_SETUP -if (surfxml_bypassASroute_dst_isset != 0) {FAIL("Multiple definition of attribute dst in ");} surfxml_bypassASroute_dst_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_bypassASroute_dst); - YY_BREAK +{ + if (!AX_surfxml_router_id) FAIL("Required attribute `id' not set for `router' element."); + LEAVE; STag_surfxml_router(); surfxml_pcdata_ix = 0; ETag_surfxml_router(); popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; + } + } + YY_BREAK case 494: -/* rule 494 can match eol */ YY_RULE_SETUP -if (surfxml_bypassASroute_gw___src_isset != 0) {FAIL("Multiple definition of attribute gw_src in ");} surfxml_bypassASroute_gw___src_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_bypassASroute_gw___src); - YY_BREAK +FAIL("Unexpected character `%c' in attribute list of router element.", surf_parse_text[0]); + YY_BREAK case 495: -/* rule 495 can match eol */ YY_RULE_SETUP -if (surfxml_bypassASroute_gw___src_isset != 0) {FAIL("Multiple definition of attribute gw_src in ");} surfxml_bypassASroute_gw___src_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_bypassASroute_gw___src); - YY_BREAK +FAIL("Bad attribute `%s' in `router' element start tag.",surf_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_surfxml_router): +FAIL("EOF in attribute list of `router' element."); + YY_BREAK + case 496: /* rule 496 can match eol */ YY_RULE_SETUP -if (surfxml_bypassASroute_gw___dst_isset != 0) {FAIL("Multiple definition of attribute gw_dst in ");} surfxml_bypassASroute_gw___dst_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_bypassASroute_gw___dst); - YY_BREAK -case 497: -/* rule 497 can match eol */ -YY_RULE_SETUP -if (surfxml_bypassASroute_gw___dst_isset != 0) {FAIL("Multiple definition of attribute gw_dst in ");} surfxml_bypassASroute_gw___dst_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_bypassASroute_gw___dst); - YY_BREAK -case 498: -YY_RULE_SETUP -{ - if (!AX_surfxml_bypassASroute_src) FAIL("Required attribute `src' not set for `bypassASroute' element."); - if (!AX_surfxml_bypassASroute_dst) FAIL("Required attribute `dst' not set for `bypassASroute' element."); - if (!AX_surfxml_bypassASroute_gw___src) FAIL("Required attribute `gw_src' not set for `bypassASroute' element."); - if (!AX_surfxml_bypassASroute_gw___dst) FAIL("Required attribute `gw_dst' not set for `bypassASroute' element."); - LEAVE; STag_surfxml_bypassASroute();surfxml_pcdata_ix = 0; ENTER(S_surfxml_bypassASroute); - } - YY_BREAK -case 499: -YY_RULE_SETUP { - if (!AX_surfxml_bypassASroute_src) FAIL("Required attribute `src' not set for `bypassASroute' element."); - if (!AX_surfxml_bypassASroute_dst) FAIL("Required attribute `dst' not set for `bypassASroute' element."); - if (!AX_surfxml_bypassASroute_gw___src) FAIL("Required attribute `gw_src' not set for `bypassASroute' element."); - if (!AX_surfxml_bypassASroute_gw___dst) FAIL("Required attribute `gw_dst' not set for `bypassASroute' element."); - LEAVE; STag_surfxml_bypassASroute(); surfxml_pcdata_ix = 0; ETag_surfxml_bypassASroute(); popbuffer(); /* attribute */ + LEAVE; + ETag_surfxml_router(); + popbuffer(); /* attribute */ switch (YY_START) { - case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_4: case S_surfxml_AS_6: case S_surfxml_AS_7: case S_surfxml_AS_8: SET(S_surfxml_AS_8); break; + case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; } } - YY_BREAK + YY_BREAK +case 497: +/* rule 497 can match eol */ +YY_RULE_SETUP +FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); + YY_BREAK +case 498: +YY_RULE_SETUP +FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); + YY_BREAK +case YY_STATE_EOF(E_surfxml_router): +if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); + YY_BREAK + +case 499: +/* rule 499 can match eol */ +YY_RULE_SETUP +FAIL("Starting tag is not allowed here."); + YY_BREAK case 500: +/* rule 500 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of bypassASroute element.", surf_parse_text[0]); - YY_BREAK +{ + AX_surfxml_storage_attach = 0; + surfxml_storage_attach_isset = 0; + AX_surfxml_storage_content = 0; + surfxml_storage_content_isset = 0; + AX_surfxml_storage_content___type = 35; + surfxml_storage_content___type_isset = 0; + AX_surfxml_storage_id = 0; + surfxml_storage_id_isset = 0; + AX_surfxml_storage_typeId = 0; + surfxml_storage_typeId_isset = 0; + ENTER(AL_surfxml_storage); pushbuffer(0); + } + YY_BREAK + case 501: +/* rule 501 can match eol */ YY_RULE_SETUP -FAIL("Bad attribute `%s' in `bypassASroute' element start tag.",surf_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_surfxml_bypassASroute): -FAIL("EOF in attribute list of `bypassASroute' element."); - YY_BREAK - +if (surfxml_storage_attach_isset != 0) {FAIL("Multiple definition of attribute attach in ");} surfxml_storage_attach_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_storage_attach); + YY_BREAK case 502: /* rule 502 can match eol */ YY_RULE_SETUP -{ - LEAVE; - ETag_surfxml_bypassASroute(); - popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_4: case S_surfxml_AS_6: case S_surfxml_AS_7: case S_surfxml_AS_8: SET(S_surfxml_AS_8); break; - } - } - YY_BREAK +if (surfxml_storage_attach_isset != 0) {FAIL("Multiple definition of attribute attach in ");} surfxml_storage_attach_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_storage_attach); + YY_BREAK case 503: /* rule 503 can match eol */ YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); - YY_BREAK +if (surfxml_storage_content_isset != 0) {FAIL("Multiple definition of attribute content in ");} surfxml_storage_content_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_storage_content); + YY_BREAK case 504: +/* rule 504 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(E_surfxml_bypassASroute): -case YY_STATE_EOF(S_surfxml_bypassASroute_2): -case YY_STATE_EOF(S_surfxml_bypassASroute): -if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); - YY_BREAK - +if (surfxml_storage_content_isset != 0) {FAIL("Multiple definition of attribute content in ");} surfxml_storage_content_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_storage_content); + YY_BREAK case 505: /* rule 505 can match eol */ YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK +if (surfxml_storage_content___type_isset != 0) {FAIL("Multiple definition of attribute content_type in ");} surfxml_storage_content___type_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_storage_content___type); + YY_BREAK case 506: /* rule 506 can match eol */ YY_RULE_SETUP -{ - AX_surfxml_process_host = 0; - surfxml_process_host_isset = 0; - AX_surfxml_process_function = 0; - surfxml_process_function_isset = 0; - AX_surfxml_process_start___time = 50; - surfxml_process_start___time_isset = 0; - AX_surfxml_process_kill___time = 55; - surfxml_process_kill___time_isset = 0; - AX_surfxml_process_on___failure = A_surfxml_process_on___failure_DIE; - surfxml_process_on___failure_isset = 0; - ENTER(AL_surfxml_process); pushbuffer(0); - } - YY_BREAK - +if (surfxml_storage_content___type_isset != 0) {FAIL("Multiple definition of attribute content_type in ");} surfxml_storage_content___type_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_storage_content___type); + YY_BREAK case 507: /* rule 507 can match eol */ YY_RULE_SETUP -if (surfxml_process_host_isset != 0) {FAIL("Multiple definition of attribute host in ");} surfxml_process_host_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_process_host); - YY_BREAK +if (surfxml_storage_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_storage_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_storage_id); + YY_BREAK case 508: /* rule 508 can match eol */ YY_RULE_SETUP -if (surfxml_process_host_isset != 0) {FAIL("Multiple definition of attribute host in ");} surfxml_process_host_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_process_host); - YY_BREAK +if (surfxml_storage_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_storage_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_storage_id); + YY_BREAK case 509: /* rule 509 can match eol */ YY_RULE_SETUP -if (surfxml_process_function_isset != 0) {FAIL("Multiple definition of attribute function in ");} surfxml_process_function_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_process_function); - YY_BREAK +if (surfxml_storage_typeId_isset != 0) {FAIL("Multiple definition of attribute typeId in ");} surfxml_storage_typeId_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_storage_typeId); + YY_BREAK case 510: /* rule 510 can match eol */ YY_RULE_SETUP -if (surfxml_process_function_isset != 0) {FAIL("Multiple definition of attribute function in ");} surfxml_process_function_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_process_function); - YY_BREAK +if (surfxml_storage_typeId_isset != 0) {FAIL("Multiple definition of attribute typeId in ");} surfxml_storage_typeId_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_storage_typeId); + YY_BREAK case 511: -/* rule 511 can match eol */ YY_RULE_SETUP -if (surfxml_process_start___time_isset != 0) {FAIL("Multiple definition of attribute start_time in ");} surfxml_process_start___time_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_process_start___time); - YY_BREAK +{ + if (!AX_surfxml_storage_attach) FAIL("Required attribute `attach' not set for `storage' element."); + if (!AX_surfxml_storage_id) FAIL("Required attribute `id' not set for `storage' element."); + if (!AX_surfxml_storage_typeId) FAIL("Required attribute `typeId' not set for `storage' element."); + LEAVE; STag_surfxml_storage();surfxml_pcdata_ix = 0; ENTER(S_surfxml_storage); + } + YY_BREAK case 512: -/* rule 512 can match eol */ YY_RULE_SETUP -if (surfxml_process_start___time_isset != 0) {FAIL("Multiple definition of attribute start_time in ");} surfxml_process_start___time_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_process_start___time); - YY_BREAK +{ + if (!AX_surfxml_storage_attach) FAIL("Required attribute `attach' not set for `storage' element."); + if (!AX_surfxml_storage_id) FAIL("Required attribute `id' not set for `storage' element."); + if (!AX_surfxml_storage_typeId) FAIL("Required attribute `typeId' not set for `storage' element."); + LEAVE; STag_surfxml_storage(); surfxml_pcdata_ix = 0; ETag_surfxml_storage(); popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; + } + } + YY_BREAK case 513: -/* rule 513 can match eol */ YY_RULE_SETUP -if (surfxml_process_kill___time_isset != 0) {FAIL("Multiple definition of attribute kill_time in ");} surfxml_process_kill___time_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_process_kill___time); - YY_BREAK +FAIL("Unexpected character `%c' in attribute list of storage element.", surf_parse_text[0]); + YY_BREAK case 514: -/* rule 514 can match eol */ YY_RULE_SETUP -if (surfxml_process_kill___time_isset != 0) {FAIL("Multiple definition of attribute kill_time in ");} surfxml_process_kill___time_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_process_kill___time); - YY_BREAK +FAIL("Bad attribute `%s' in `storage' element start tag.",surf_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_surfxml_storage): +FAIL("EOF in attribute list of `storage' element."); + YY_BREAK + case 515: /* rule 515 can match eol */ +YY_RULE_SETUP +{ + LEAVE; + ETag_surfxml_storage(); + popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; + } + } + YY_BREAK case 516: /* rule 516 can match eol */ YY_RULE_SETUP -A_surfxml_process_on___failure = A_surfxml_process_on___failure_DIE; - YY_BREAK +FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); + YY_BREAK case 517: -/* rule 517 can match eol */ +YY_RULE_SETUP +FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); + YY_BREAK +case YY_STATE_EOF(E_surfxml_storage): +case YY_STATE_EOF(S_surfxml_storage): +case YY_STATE_EOF(S_surfxml_storage_2): +if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); + YY_BREAK + case 518: /* rule 518 can match eol */ YY_RULE_SETUP -A_surfxml_process_on___failure = A_surfxml_process_on___failure_RESTART; - YY_BREAK +FAIL("Starting tag is not allowed here."); + YY_BREAK case 519: +/* rule 519 can match eol */ YY_RULE_SETUP { - if (!AX_surfxml_process_host) FAIL("Required attribute `host' not set for `process' element."); - if (!AX_surfxml_process_function) FAIL("Required attribute `function' not set for `process' element."); - LEAVE; STag_surfxml_process();surfxml_pcdata_ix = 0; ENTER(S_surfxml_process); - } - YY_BREAK + AX_surfxml_storage___type_content = 0; + surfxml_storage___type_content_isset = 0; + AX_surfxml_storage___type_content___type = 16; + surfxml_storage___type_content___type_isset = 0; + AX_surfxml_storage___type_id = 0; + surfxml_storage___type_id_isset = 0; + AX_surfxml_storage___type_model = 0; + surfxml_storage___type_model_isset = 0; + AX_surfxml_storage___type_size = 0; + surfxml_storage___type_size_isset = 0; + ENTER(AL_surfxml_storage___type); pushbuffer(0); + } + YY_BREAK + case 520: +/* rule 520 can match eol */ YY_RULE_SETUP -{ - if (!AX_surfxml_process_host) FAIL("Required attribute `host' not set for `process' element."); - if (!AX_surfxml_process_function) FAIL("Required attribute `function' not set for `process' element."); - LEAVE; STag_surfxml_process(); surfxml_pcdata_ix = 0; ETag_surfxml_process(); popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_4: case S_surfxml_platform_6: case S_surfxml_platform_7: case S_surfxml_platform_8: SET(S_surfxml_platform_8); break; - } - } - YY_BREAK +if (surfxml_storage___type_content_isset != 0) {FAIL("Multiple definition of attribute content in ");} surfxml_storage___type_content_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_storage___type_content); + YY_BREAK case 521: +/* rule 521 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of process element.", surf_parse_text[0]); - YY_BREAK +if (surfxml_storage___type_content_isset != 0) {FAIL("Multiple definition of attribute content in ");} surfxml_storage___type_content_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_storage___type_content); + YY_BREAK case 522: +/* rule 522 can match eol */ YY_RULE_SETUP -FAIL("Bad attribute `%s' in `process' element start tag.",surf_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_surfxml_process): -FAIL("EOF in attribute list of `process' element."); - YY_BREAK - +if (surfxml_storage___type_content___type_isset != 0) {FAIL("Multiple definition of attribute content_type in ");} surfxml_storage___type_content___type_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_storage___type_content___type); + YY_BREAK case 523: /* rule 523 can match eol */ YY_RULE_SETUP -{ - LEAVE; - ETag_surfxml_process(); - popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_4: case S_surfxml_platform_6: case S_surfxml_platform_7: case S_surfxml_platform_8: SET(S_surfxml_platform_8); break; - } - } - YY_BREAK +if (surfxml_storage___type_content___type_isset != 0) {FAIL("Multiple definition of attribute content_type in ");} surfxml_storage___type_content___type_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_storage___type_content___type); + YY_BREAK case 524: /* rule 524 can match eol */ YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); - YY_BREAK +if (surfxml_storage___type_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_storage___type_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_storage___type_id); + YY_BREAK case 525: +/* rule 525 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(S_surfxml_process): -case YY_STATE_EOF(E_surfxml_process): -case YY_STATE_EOF(S_surfxml_process_2): -if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); - YY_BREAK - +if (surfxml_storage___type_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_storage___type_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_storage___type_id); + YY_BREAK case 526: /* rule 526 can match eol */ YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK +if (surfxml_storage___type_model_isset != 0) {FAIL("Multiple definition of attribute model in ");} surfxml_storage___type_model_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_storage___type_model); + YY_BREAK case 527: /* rule 527 can match eol */ YY_RULE_SETUP -{ - AX_surfxml_argument_value = 0; - surfxml_argument_value_isset = 0; - ENTER(AL_surfxml_argument); pushbuffer(0); - } - YY_BREAK - +if (surfxml_storage___type_model_isset != 0) {FAIL("Multiple definition of attribute model in ");} surfxml_storage___type_model_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_storage___type_model); + YY_BREAK case 528: /* rule 528 can match eol */ YY_RULE_SETUP -if (surfxml_argument_value_isset != 0) {FAIL("Multiple definition of attribute value in ");} surfxml_argument_value_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_argument_value); - YY_BREAK +if (surfxml_storage___type_size_isset != 0) {FAIL("Multiple definition of attribute size in ");} surfxml_storage___type_size_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_storage___type_size); + YY_BREAK case 529: /* rule 529 can match eol */ YY_RULE_SETUP -if (surfxml_argument_value_isset != 0) {FAIL("Multiple definition of attribute value in ");} surfxml_argument_value_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_argument_value); - YY_BREAK +if (surfxml_storage___type_size_isset != 0) {FAIL("Multiple definition of attribute size in ");} surfxml_storage___type_size_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_storage___type_size); + YY_BREAK case 530: YY_RULE_SETUP { - if (!AX_surfxml_argument_value) FAIL("Required attribute `value' not set for `argument' element."); - LEAVE; STag_surfxml_argument();surfxml_pcdata_ix = 0; ENTER(E_surfxml_argument); + if (!AX_surfxml_storage___type_id) FAIL("Required attribute `id' not set for `storage_type' element."); + if (!AX_surfxml_storage___type_model) FAIL("Required attribute `model' not set for `storage_type' element."); + if (!AX_surfxml_storage___type_size) FAIL("Required attribute `size' not set for `storage_type' element."); + LEAVE; STag_surfxml_storage___type();surfxml_pcdata_ix = 0; ENTER(S_surfxml_storage___type); } - YY_BREAK + YY_BREAK case 531: YY_RULE_SETUP { - if (!AX_surfxml_argument_value) FAIL("Required attribute `value' not set for `argument' element."); - LEAVE; STag_surfxml_argument(); surfxml_pcdata_ix = 0; ETag_surfxml_argument(); popbuffer(); /* attribute */ + if (!AX_surfxml_storage___type_id) FAIL("Required attribute `id' not set for `storage_type' element."); + if (!AX_surfxml_storage___type_model) FAIL("Required attribute `model' not set for `storage_type' element."); + if (!AX_surfxml_storage___type_size) FAIL("Required attribute `size' not set for `storage_type' element."); + LEAVE; STag_surfxml_storage___type(); surfxml_pcdata_ix = 0; ETag_surfxml_storage___type(); popbuffer(); /* attribute */ switch (YY_START) { - case S_surfxml_process: case S_surfxml_process_1: case S_surfxml_process_2: SET(S_surfxml_process_2); break; + case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; } } - YY_BREAK + YY_BREAK case 532: YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of argument element.", surf_parse_text[0]); - YY_BREAK +FAIL("Unexpected character `%c' in attribute list of storage_type element.", surf_parse_text[0]); + YY_BREAK case 533: YY_RULE_SETUP -FAIL("Bad attribute `%s' in `argument' element start tag.",surf_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_surfxml_argument): -FAIL("EOF in attribute list of `argument' element."); - YY_BREAK +FAIL("Bad attribute `%s' in `storage_type' element start tag.",surf_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_surfxml_storage___type): +FAIL("EOF in attribute list of `storage_type' element."); + YY_BREAK case 534: /* rule 534 can match eol */ YY_RULE_SETUP { LEAVE; - ETag_surfxml_argument(); + ETag_surfxml_storage___type(); popbuffer(); /* attribute */ switch (YY_START) { - case S_surfxml_process: case S_surfxml_process_1: case S_surfxml_process_2: SET(S_surfxml_process_2); break; + case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_5: case S_surfxml_AS_6: SET(S_surfxml_AS_6); break; } } - YY_BREAK + YY_BREAK case 535: /* rule 535 can match eol */ YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); - YY_BREAK +FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); + YY_BREAK case 536: YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(E_surfxml_argument): -if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); - YY_BREAK +FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); + YY_BREAK +case YY_STATE_EOF(E_surfxml_storage___type): +case YY_STATE_EOF(S_surfxml_storage___type): +case YY_STATE_EOF(S_surfxml_storage___type_2): +if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); + YY_BREAK case 537: /* rule 537 can match eol */ YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK +FAIL("Starting tag is not allowed here."); + YY_BREAK case 538: /* rule 538 can match eol */ YY_RULE_SETUP { - AX_surfxml_config_id = 0; - surfxml_config_id_isset = 0; - ENTER(AL_surfxml_config); pushbuffer(0); + AX_surfxml_trace_file = 0; + surfxml_trace_file_isset = 0; + AX_surfxml_trace_id = 0; + surfxml_trace_id_isset = 0; + AX_surfxml_trace_periodicity = 0; + surfxml_trace_periodicity_isset = 0; + ENTER(AL_surfxml_trace); pushbuffer(0); } - YY_BREAK + YY_BREAK case 539: /* rule 539 can match eol */ YY_RULE_SETUP -if (surfxml_config_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_config_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_config_id); - YY_BREAK +if (surfxml_trace_file_isset != 0) {FAIL("Multiple definition of attribute file in ");} surfxml_trace_file_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_trace_file); + YY_BREAK case 540: /* rule 540 can match eol */ YY_RULE_SETUP -if (surfxml_config_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_config_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_config_id); - YY_BREAK +if (surfxml_trace_file_isset != 0) {FAIL("Multiple definition of attribute file in ");} surfxml_trace_file_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_trace_file); + YY_BREAK case 541: +/* rule 541 can match eol */ YY_RULE_SETUP -{ - LEAVE; STag_surfxml_config();surfxml_pcdata_ix = 0; ENTER(S_surfxml_config); - } - YY_BREAK +if (surfxml_trace_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_trace_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_trace_id); + YY_BREAK case 542: +/* rule 542 can match eol */ YY_RULE_SETUP -{ - LEAVE; STag_surfxml_config(); surfxml_pcdata_ix = 0; ETag_surfxml_config(); popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_platform: case S_surfxml_platform_2: case S_surfxml_platform_3: SET(S_surfxml_platform_3); break; - } - } - YY_BREAK +if (surfxml_trace_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_trace_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_trace_id); + YY_BREAK case 543: +/* rule 543 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of config element.", surf_parse_text[0]); - YY_BREAK +if (surfxml_trace_periodicity_isset != 0) {FAIL("Multiple definition of attribute periodicity in ");} surfxml_trace_periodicity_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_trace_periodicity); + YY_BREAK case 544: +/* rule 544 can match eol */ YY_RULE_SETUP -FAIL("Bad attribute `%s' in `config' element start tag.",surf_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_surfxml_config): -FAIL("EOF in attribute list of `config' element."); - YY_BREAK - +if (surfxml_trace_periodicity_isset != 0) {FAIL("Multiple definition of attribute periodicity in ");} surfxml_trace_periodicity_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_trace_periodicity); + YY_BREAK case 545: -/* rule 545 can match eol */ YY_RULE_SETUP { - LEAVE; - ETag_surfxml_config(); - popbuffer(); /* attribute */ + if (!AX_surfxml_trace_id) FAIL("Required attribute `id' not set for `trace' element."); + if (!AX_surfxml_trace_periodicity) FAIL("Required attribute `periodicity' not set for `trace' element."); + LEAVE; STag_surfxml_trace();pushbuffer(surfxml_pcdata_ix); BUFFERSET(surfxml_pcdata_ix);; ENTER(IN_trace); + } + YY_BREAK +case 546: +YY_RULE_SETUP +{ + if (!AX_surfxml_trace_id) FAIL("Required attribute `id' not set for `trace' element."); + if (!AX_surfxml_trace_periodicity) FAIL("Required attribute `periodicity' not set for `trace' element."); + LEAVE; STag_surfxml_trace(); surfxml_pcdata_ix = 0; ETag_surfxml_trace(); popbuffer(); /* attribute */ switch (YY_START) { - case S_surfxml_platform: case S_surfxml_platform_2: case S_surfxml_platform_3: SET(S_surfxml_platform_3); break; + case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_4: case S_surfxml_AS_6: case S_surfxml_AS_7: case S_surfxml_AS_8: SET(S_surfxml_AS_8); break; + case S_surfxml_include: case S_surfxml_include_1: case S_surfxml_include_2: SET(S_surfxml_include_2); break; + case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_5: case S_surfxml_platform_6: SET(S_surfxml_platform_6); break; } } - YY_BREAK -case 546: -/* rule 546 can match eol */ -YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); - YY_BREAK + YY_BREAK case 547: YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(S_surfxml_config): -case YY_STATE_EOF(S_surfxml_config_2): -case YY_STATE_EOF(E_surfxml_config): -if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); - YY_BREAK - -/* - * */ +FAIL("Unexpected character `%c' in attribute list of trace element.", surf_parse_text[0]); + YY_BREAK case 548: -/* rule 548 can match eol */ YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK +FAIL("Bad attribute `%s' in `trace' element start tag.",surf_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_surfxml_trace): +FAIL("EOF in attribute list of `trace' element."); + YY_BREAK + case 549: /* rule 549 can match eol */ YY_RULE_SETUP { - AX_surfxml_prop_id = 0; - surfxml_prop_id_isset = 0; - AX_surfxml_prop_value = 0; - surfxml_prop_value_isset = 0; - ENTER(AL_surfxml_prop); pushbuffer(0); + LEAVE; + BUFFERDONE; + ETag_surfxml_trace(); + surfxml_pcdata_ix = popbuffer(); + popbuffer(); /* attribute */ + switch (YY_START) { + case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_4: case S_surfxml_AS_6: case S_surfxml_AS_7: case S_surfxml_AS_8: SET(S_surfxml_AS_8); break; + case S_surfxml_include: case S_surfxml_include_1: case S_surfxml_include_2: SET(S_surfxml_include_2); break; + case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_5: case S_surfxml_platform_6: SET(S_surfxml_platform_6); break; } - YY_BREAK - + } + YY_BREAK case 550: /* rule 550 can match eol */ YY_RULE_SETUP -if (surfxml_prop_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_prop_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_prop_id); - YY_BREAK +FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); + YY_BREAK +case YY_STATE_EOF(IN_trace): +if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); + YY_BREAK + case 551: /* rule 551 can match eol */ YY_RULE_SETUP -if (surfxml_prop_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_prop_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_prop_id); - YY_BREAK +FAIL("Starting tag is not allowed here."); + YY_BREAK case 552: /* rule 552 can match eol */ YY_RULE_SETUP -if (surfxml_prop_value_isset != 0) {FAIL("Multiple definition of attribute value in ");} surfxml_prop_value_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_prop_value); - YY_BREAK +{ + AX_surfxml_trace___connect_element = 0; + surfxml_trace___connect_element_isset = 0; + AX_surfxml_trace___connect_kind = A_surfxml_trace___connect_kind_HOST___AVAIL; + surfxml_trace___connect_kind_isset = 0; + AX_surfxml_trace___connect_trace = 0; + surfxml_trace___connect_trace_isset = 0; + ENTER(AL_surfxml_trace___connect); pushbuffer(0); + } + YY_BREAK + case 553: /* rule 553 can match eol */ YY_RULE_SETUP -if (surfxml_prop_value_isset != 0) {FAIL("Multiple definition of attribute value in ");} surfxml_prop_value_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_prop_value); - YY_BREAK +if (surfxml_trace___connect_element_isset != 0) {FAIL("Multiple definition of attribute element in ");} surfxml_trace___connect_element_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_trace___connect_element); + YY_BREAK case 554: +/* rule 554 can match eol */ YY_RULE_SETUP -{ - if (!AX_surfxml_prop_id) FAIL("Required attribute `id' not set for `prop' element."); - if (!AX_surfxml_prop_value) FAIL("Required attribute `value' not set for `prop' element."); - LEAVE; STag_surfxml_prop();surfxml_pcdata_ix = 0; ENTER(E_surfxml_prop); - } - YY_BREAK +if (surfxml_trace___connect_element_isset != 0) {FAIL("Multiple definition of attribute element in ");} surfxml_trace___connect_element_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_trace___connect_element); + YY_BREAK case 555: -YY_RULE_SETUP -{ - if (!AX_surfxml_prop_id) FAIL("Required attribute `id' not set for `prop' element."); - if (!AX_surfxml_prop_value) FAIL("Required attribute `value' not set for `prop' element."); - LEAVE; STag_surfxml_prop(); surfxml_pcdata_ix = 0; ETag_surfxml_prop(); popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_AS: case S_surfxml_AS_2: case S_surfxml_AS_3: SET(S_surfxml_AS_3); break; - case S_surfxml_cluster: case S_surfxml_cluster_1: case S_surfxml_cluster_2: SET(S_surfxml_cluster_2); break; - case S_surfxml_config: case S_surfxml_config_1: case S_surfxml_config_2: SET(S_surfxml_config_2); break; - case S_surfxml_host: case S_surfxml_host_1: case S_surfxml_host_2: SET(S_surfxml_host_2); break; - case S_surfxml_link: case S_surfxml_link_1: case S_surfxml_link_2: SET(S_surfxml_link_2); break; - case S_surfxml_process: case S_surfxml_process_1: case S_surfxml_process_2: SET(S_surfxml_process_2); break; - case S_surfxml_storage: case S_surfxml_storage_1: case S_surfxml_storage_2: SET(S_surfxml_storage_2); break; - case S_surfxml_storage___type: case S_surfxml_storage___type_1: case S_surfxml_storage___type_2: SET(S_surfxml_storage___type_2); break; - } - } - YY_BREAK +/* rule 555 can match eol */ case 556: +/* rule 556 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of prop element.", surf_parse_text[0]); - YY_BREAK +A_surfxml_trace___connect_kind = A_surfxml_trace___connect_kind_HOST___AVAIL; + YY_BREAK case 557: -YY_RULE_SETUP -FAIL("Bad attribute `%s' in `prop' element start tag.",surf_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_surfxml_prop): -FAIL("EOF in attribute list of `prop' element."); - YY_BREAK - +/* rule 557 can match eol */ case 558: /* rule 558 can match eol */ YY_RULE_SETUP -{ - LEAVE; - ETag_surfxml_prop(); - popbuffer(); /* attribute */ - switch (YY_START) { - case S_surfxml_AS: case S_surfxml_AS_2: case S_surfxml_AS_3: SET(S_surfxml_AS_3); break; - case S_surfxml_cluster: case S_surfxml_cluster_1: case S_surfxml_cluster_2: SET(S_surfxml_cluster_2); break; - case S_surfxml_config: case S_surfxml_config_1: case S_surfxml_config_2: SET(S_surfxml_config_2); break; - case S_surfxml_host: case S_surfxml_host_1: case S_surfxml_host_2: SET(S_surfxml_host_2); break; - case S_surfxml_link: case S_surfxml_link_1: case S_surfxml_link_2: SET(S_surfxml_link_2); break; - case S_surfxml_process: case S_surfxml_process_1: case S_surfxml_process_2: SET(S_surfxml_process_2); break; - case S_surfxml_storage: case S_surfxml_storage_1: case S_surfxml_storage_2: SET(S_surfxml_storage_2); break; - case S_surfxml_storage___type: case S_surfxml_storage___type_1: case S_surfxml_storage___type_2: SET(S_surfxml_storage___type_2); break; - } - } - YY_BREAK +A_surfxml_trace___connect_kind = A_surfxml_trace___connect_kind_POWER; + YY_BREAK case 559: /* rule 559 can match eol */ -YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); - YY_BREAK case 560: +/* rule 560 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(E_surfxml_prop): -if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); - YY_BREAK - -/* - * */ +A_surfxml_trace___connect_kind = A_surfxml_trace___connect_kind_LINK___AVAIL; + YY_BREAK case 561: /* rule 561 can match eol */ -YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK case 562: /* rule 562 can match eol */ YY_RULE_SETUP -{ - AX_surfxml_model___prop_id = 0; - surfxml_model___prop_id_isset = 0; - AX_surfxml_model___prop_value = 0; - surfxml_model___prop_value_isset = 0; - ENTER(AL_surfxml_model___prop); pushbuffer(0); - } - YY_BREAK - +A_surfxml_trace___connect_kind = A_surfxml_trace___connect_kind_BANDWIDTH; + YY_BREAK case 563: /* rule 563 can match eol */ -YY_RULE_SETUP -if (surfxml_model___prop_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_model___prop_id_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_model___prop_id); - YY_BREAK case 564: /* rule 564 can match eol */ YY_RULE_SETUP -if (surfxml_model___prop_id_isset != 0) {FAIL("Multiple definition of attribute id in ");} surfxml_model___prop_id_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_model___prop_id); - YY_BREAK +A_surfxml_trace___connect_kind = A_surfxml_trace___connect_kind_LATENCY; + YY_BREAK case 565: /* rule 565 can match eol */ YY_RULE_SETUP -if (surfxml_model___prop_value_isset != 0) {FAIL("Multiple definition of attribute value in ");} surfxml_model___prop_value_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_model___prop_value); - YY_BREAK +if (surfxml_trace___connect_trace_isset != 0) {FAIL("Multiple definition of attribute trace in ");} surfxml_trace___connect_trace_isset = 1; ENTER(VALUE1); BUFFERSET(AX_surfxml_trace___connect_trace); + YY_BREAK case 566: /* rule 566 can match eol */ YY_RULE_SETUP -if (surfxml_model___prop_value_isset != 0) {FAIL("Multiple definition of attribute value in ");} surfxml_model___prop_value_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_model___prop_value); - YY_BREAK +if (surfxml_trace___connect_trace_isset != 0) {FAIL("Multiple definition of attribute trace in ");} surfxml_trace___connect_trace_isset = 1; ENTER(VALUE2); BUFFERSET(AX_surfxml_trace___connect_trace); + YY_BREAK case 567: YY_RULE_SETUP { - if (!AX_surfxml_model___prop_id) FAIL("Required attribute `id' not set for `model_prop' element."); - if (!AX_surfxml_model___prop_value) FAIL("Required attribute `value' not set for `model_prop' element."); - LEAVE; STag_surfxml_model___prop();surfxml_pcdata_ix = 0; ENTER(E_surfxml_model___prop); + if (!AX_surfxml_trace___connect_element) FAIL("Required attribute `element' not set for `trace_connect' element."); + if (!AX_surfxml_trace___connect_trace) FAIL("Required attribute `trace' not set for `trace_connect' element."); + LEAVE; STag_surfxml_trace___connect();surfxml_pcdata_ix = 0; ENTER(E_surfxml_trace___connect); } - YY_BREAK + YY_BREAK case 568: YY_RULE_SETUP { - if (!AX_surfxml_model___prop_id) FAIL("Required attribute `id' not set for `model_prop' element."); - if (!AX_surfxml_model___prop_value) FAIL("Required attribute `value' not set for `model_prop' element."); - LEAVE; STag_surfxml_model___prop(); surfxml_pcdata_ix = 0; ETag_surfxml_model___prop(); popbuffer(); /* attribute */ + if (!AX_surfxml_trace___connect_element) FAIL("Required attribute `element' not set for `trace_connect' element."); + if (!AX_surfxml_trace___connect_trace) FAIL("Required attribute `trace' not set for `trace_connect' element."); + LEAVE; STag_surfxml_trace___connect(); surfxml_pcdata_ix = 0; ETag_surfxml_trace___connect(); popbuffer(); /* attribute */ switch (YY_START) { - case S_surfxml_storage___type: case S_surfxml_storage___type_1: case S_surfxml_storage___type_2: SET(S_surfxml_storage___type_2); break; + case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_4: case S_surfxml_AS_6: case S_surfxml_AS_7: case S_surfxml_AS_8: SET(S_surfxml_AS_8); break; + case S_surfxml_include: case S_surfxml_include_1: case S_surfxml_include_2: SET(S_surfxml_include_2); break; + case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_5: case S_surfxml_platform_6: SET(S_surfxml_platform_6); break; } } - YY_BREAK + YY_BREAK case 569: YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of model_prop element.", surf_parse_text[0]); - YY_BREAK +FAIL("Unexpected character `%c' in attribute list of trace_connect element.", surf_parse_text[0]); + YY_BREAK case 570: YY_RULE_SETUP -FAIL("Bad attribute `%s' in `model_prop' element start tag.",surf_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_surfxml_model___prop): -FAIL("EOF in attribute list of `model_prop' element."); - YY_BREAK +FAIL("Bad attribute `%s' in `trace_connect' element start tag.",surf_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_surfxml_trace___connect): +FAIL("EOF in attribute list of `trace_connect' element."); + YY_BREAK case 571: /* rule 571 can match eol */ YY_RULE_SETUP { LEAVE; - ETag_surfxml_model___prop(); + ETag_surfxml_trace___connect(); popbuffer(); /* attribute */ switch (YY_START) { - case S_surfxml_storage___type: case S_surfxml_storage___type_1: case S_surfxml_storage___type_2: SET(S_surfxml_storage___type_2); break; + case S_surfxml_AS: case S_surfxml_AS_1: case S_surfxml_AS_3: case S_surfxml_AS_4: case S_surfxml_AS_6: case S_surfxml_AS_7: case S_surfxml_AS_8: SET(S_surfxml_AS_8); break; + case S_surfxml_include: case S_surfxml_include_1: case S_surfxml_include_2: SET(S_surfxml_include_2); break; + case S_surfxml_platform: case S_surfxml_platform_1: case S_surfxml_platform_3: case S_surfxml_platform_5: case S_surfxml_platform_6: SET(S_surfxml_platform_6); break; } } - YY_BREAK + YY_BREAK case 572: /* rule 572 can match eol */ YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); - YY_BREAK +FAIL("Unexpected end-tag `%s': `' expected.",surf_parse_text); + YY_BREAK case 573: YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(E_surfxml_model___prop): -if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); - YY_BREAK +FAIL("Unexpected character `%c': `' expected.",surf_parse_text[0]); + YY_BREAK +case YY_STATE_EOF(E_surfxml_trace___connect): +if(!ETag_surfxml_include_state()) FAIL("Premature EOF: `' expected."); + YY_BREAK /* EPILOG: after the root element. */ case 574: YY_RULE_SETUP {SET(PROLOG); yyless(0); CLEANUP; return -1;} - YY_BREAK + YY_BREAK case YY_STATE_EOF(EPILOG): SUCCEED; - YY_BREAK + YY_BREAK /* CHARACTER DATA. */ @@ -9532,32 +9532,32 @@ SUCCEED; case 575: YY_RULE_SETUP BUFFERPUTC('&'); - YY_BREAK + YY_BREAK case 576: YY_RULE_SETUP BUFFERPUTC('<'); - YY_BREAK + YY_BREAK case 577: YY_RULE_SETUP BUFFERPUTC('>'); - YY_BREAK + YY_BREAK case 578: YY_RULE_SETUP BUFFERPUTC('\''); - YY_BREAK + YY_BREAK case 579: YY_RULE_SETUP BUFFERPUTC('"'); - YY_BREAK + YY_BREAK /* Character entities. */ case 580: YY_RULE_SETUP BUFFERPUTC((unsigned char)atoi(surf_parse_text+2)); - YY_BREAK + YY_BREAK case 581: YY_RULE_SETUP BUFFERPUTC((unsigned char)strtol(surf_parse_text+3,NULL,16)); - YY_BREAK + YY_BREAK case 582: /* rule 582 can match eol */ @@ -9569,55 +9569,55 @@ case 585: /* rule 585 can match eol */ YY_RULE_SETUP BUFFERPUTC('\n'); - YY_BREAK + YY_BREAK case 586: YY_RULE_SETUP ENTER(CDATA); - YY_BREAK + YY_BREAK case 587: YY_RULE_SETUP FAIL("Unexpected `]""]>' in character data."); - YY_BREAK + YY_BREAK case 588: YY_RULE_SETUP BUFFERDONE; LEAVE; - YY_BREAK + YY_BREAK case YY_STATE_EOF(VALUE1): FAIL("EOF in literal (\"'\" expected)."); - YY_BREAK + YY_BREAK case 589: YY_RULE_SETUP BUFFERDONE; LEAVE; - YY_BREAK + YY_BREAK case YY_STATE_EOF(VALUE2): FAIL("EOF in literal (`\"' expected)."); - YY_BREAK + YY_BREAK case 590: /* rule 590 can match eol */ YY_RULE_SETUP BUFFERPUTC(surf_parse_text[0]); - YY_BREAK + YY_BREAK case 591: YY_RULE_SETUP FAIL("Spurious `%c' in character data.",surf_parse_text[0]); - YY_BREAK + YY_BREAK case 592: YY_RULE_SETUP LEAVE; - YY_BREAK -/* "]""]" BUFFERPUTC(surf_parse_text[0]); BUFFERPUTC(surf_parse_text[1]); */ + YY_BREAK +/* "]""]" BUFFERPUTC(surf_parse_text[0]); BUFFERPUTC(surf_parse_text[1]); */ case 593: YY_RULE_SETUP BUFFERPUTC(surf_parse_text[0]); - YY_BREAK + YY_BREAK case YY_STATE_EOF(CDATA): FAIL("EOF in CDATA section."); - YY_BREAK + YY_BREAK /* Impossible rules to avoid warnings from flex(1). */ /* Ideally, this should be replaced by code in flexml.pl that @@ -9627,12 +9627,12 @@ case 594: /* rule 594 can match eol */ YY_RULE_SETUP FAIL("Syntax error on character `%c'.", surf_parse_text[0]); - YY_BREAK + YY_BREAK case 595: YY_RULE_SETUP ECHO; - YY_BREAK + YY_BREAK case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(S_surfxml_AS_2): case YY_STATE_EOF(S_surfxml_AS_5): @@ -9654,332 +9654,332 @@ case YY_STATE_EOF(S_surfxml_route_1): case YY_STATE_EOF(S_surfxml_storage_1): case YY_STATE_EOF(S_surfxml_storage___type_1): case YY_STATE_EOF(IMPOSSIBLE): - yyterminate(); - - case YY_END_OF_BUFFER: - { - /* Amount of text matched not including the EOB char. */ - int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; - - /* Undo the effects of YY_DO_BEFORE_ACTION. */ - *yy_cp = (yy_hold_char); - YY_RESTORE_YY_MORE_OFFSET - - if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) - { - /* We're scanning a new file or input source. It's - * possible that this happened because the user - * just pointed surf_parse_in at a new source and called - * surf_parse_lex(). If so, then we have to assure - * consistency between YY_CURRENT_BUFFER and our - * globals. Here is the right place to do so, because - * this is the first action (other than possibly a - * back-up) that will match for the new input source. - */ - (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; - YY_CURRENT_BUFFER_LVALUE->yy_input_file = surf_parse_in; - YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; - } - - /* Note that here we test for yy_c_buf_p "<=" to the position - * of the first EOB in the buffer, since yy_c_buf_p will - * already have been incremented past the NUL character - * (since all states make transitions on EOB to the - * end-of-buffer state). Contrast this with the test - * in input(). - */ - if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) - { /* This was really a NUL. */ - yy_state_type yy_next_state; - - (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state( ); - - /* Okay, we're now positioned to make the NUL - * transition. We couldn't have - * yy_get_previous_state() go ahead and do it - * for us because it doesn't know how to deal - * with the possibility of jamming (and we don't - * want to build jamming into it because then it - * will run more slowly). - */ - - yy_next_state = yy_try_NUL_trans( yy_current_state ); - - yy_bp = (yytext_ptr) + YY_MORE_ADJ; - - if ( yy_next_state ) - { - /* Consume the NUL. */ - yy_cp = ++(yy_c_buf_p); - yy_current_state = yy_next_state; - goto yy_match; - } - - else - { - yy_cp = (yy_c_buf_p); - goto yy_find_action; - } - } - - else switch ( yy_get_next_buffer( ) ) - { - case EOB_ACT_END_OF_FILE: - { - (yy_did_buffer_switch_on_eof) = 0; - - if ( surf_parse_wrap( ) ) - { - /* Note: because we've taken care in - * yy_get_next_buffer() to have set up - * surf_parse_text, we can now set up - * yy_c_buf_p so that if some total - * hoser (like flex itself) wants to - * call the scanner after we return the - * YY_NULL, it'll still work - another - * YY_NULL will get returned. - */ - (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; - - yy_act = YY_STATE_EOF(YY_START); - goto do_action; - } - - else - { - if ( ! (yy_did_buffer_switch_on_eof) ) - YY_NEW_FILE; - } - break; - } - - case EOB_ACT_CONTINUE_SCAN: - (yy_c_buf_p) = - (yytext_ptr) + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state( ); - - yy_cp = (yy_c_buf_p); - yy_bp = (yytext_ptr) + YY_MORE_ADJ; - goto yy_match; - - case EOB_ACT_LAST_MATCH: - (yy_c_buf_p) = - &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; - - yy_current_state = yy_get_previous_state( ); - - yy_cp = (yy_c_buf_p); - yy_bp = (yytext_ptr) + YY_MORE_ADJ; - goto yy_find_action; - } - break; - } - - default: - YY_FATAL_ERROR( - "fatal flex scanner internal error--no action found" ); - } /* end of action switch */ - } /* end of scanning one token */ - } /* end of user's declarations */ + yyterminate(); + + case YY_END_OF_BUFFER: + { + /* Amount of text matched not including the EOB char. */ + int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; + + /* Undo the effects of YY_DO_BEFORE_ACTION. */ + *yy_cp = (yy_hold_char); + YY_RESTORE_YY_MORE_OFFSET + + if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) + { + /* We're scanning a new file or input source. It's + * possible that this happened because the user + * just pointed surf_parse_in at a new source and called + * surf_parse_lex(). If so, then we have to assure + * consistency between YY_CURRENT_BUFFER and our + * globals. Here is the right place to do so, because + * this is the first action (other than possibly a + * back-up) that will match for the new input source. + */ + (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; + YY_CURRENT_BUFFER_LVALUE->yy_input_file = surf_parse_in; + YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; + } + + /* Note that here we test for yy_c_buf_p "<=" to the position + * of the first EOB in the buffer, since yy_c_buf_p will + * already have been incremented past the NUL character + * (since all states make transitions on EOB to the + * end-of-buffer state). Contrast this with the test + * in input(). + */ + if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) + { /* This was really a NUL. */ + yy_state_type yy_next_state; + + (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; + + yy_current_state = yy_get_previous_state( ); + + /* Okay, we're now positioned to make the NUL + * transition. We couldn't have + * yy_get_previous_state() go ahead and do it + * for us because it doesn't know how to deal + * with the possibility of jamming (and we don't + * want to build jamming into it because then it + * will run more slowly). + */ + + yy_next_state = yy_try_NUL_trans( yy_current_state ); + + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + + if ( yy_next_state ) + { + /* Consume the NUL. */ + yy_cp = ++(yy_c_buf_p); + yy_current_state = yy_next_state; + goto yy_match; + } + + else + { + yy_cp = (yy_c_buf_p); + goto yy_find_action; + } + } + + else switch ( yy_get_next_buffer( ) ) + { + case EOB_ACT_END_OF_FILE: + { + (yy_did_buffer_switch_on_eof) = 0; + + if ( surf_parse_wrap( ) ) + { + /* Note: because we've taken care in + * yy_get_next_buffer() to have set up + * surf_parse_text, we can now set up + * yy_c_buf_p so that if some total + * hoser (like flex itself) wants to + * call the scanner after we return the + * YY_NULL, it'll still work - another + * YY_NULL will get returned. + */ + (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; + + yy_act = YY_STATE_EOF(YY_START); + goto do_action; + } + + else + { + if ( ! (yy_did_buffer_switch_on_eof) ) + YY_NEW_FILE; + } + break; + } + + case EOB_ACT_CONTINUE_SCAN: + (yy_c_buf_p) = + (yytext_ptr) + yy_amount_of_matched_text; + + yy_current_state = yy_get_previous_state( ); + + yy_cp = (yy_c_buf_p); + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + goto yy_match; + + case EOB_ACT_LAST_MATCH: + (yy_c_buf_p) = + &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; + + yy_current_state = yy_get_previous_state( ); + + yy_cp = (yy_c_buf_p); + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + goto yy_find_action; + } + break; + } + + default: + YY_FATAL_ERROR( + "fatal flex scanner internal error--no action found" ); + } /* end of action switch */ + } /* end of scanning one token */ + } /* end of user's declarations */ } /* end of surf_parse_lex */ /* yy_get_next_buffer - try to read in a new buffer * * Returns a code representing an action: - * EOB_ACT_LAST_MATCH - - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position - * EOB_ACT_END_OF_FILE - end of file + * EOB_ACT_LAST_MATCH - + * EOB_ACT_CONTINUE_SCAN - continue scanning from current position + * EOB_ACT_END_OF_FILE - end of file */ static int yy_get_next_buffer (void) { - 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] ) - YY_FATAL_ERROR( - "fatal flex scanner internal error--end of buffer missed" ); - - if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) - { /* Don't try to fill the buffer, so this is an EOF. */ - if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) - { - /* We matched a single character, the EOB, so - * treat this as a final EOF. - */ - return EOB_ACT_END_OF_FILE; - } - - else - { - /* We matched some text prior to the EOB, first - * process it. - */ - return EOB_ACT_LAST_MATCH; - } - } + 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] ) + YY_FATAL_ERROR( + "fatal flex scanner internal error--end of buffer missed" ); + + if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) + { /* Don't try to fill the buffer, so this is an EOF. */ + if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) + { + /* We matched a single character, the EOB, so + * treat this as a final EOF. + */ + return EOB_ACT_END_OF_FILE; + } + + else + { + /* We matched some text prior to the EOB, first + * process it. + */ + return EOB_ACT_LAST_MATCH; + } + } + + /* Try to read more data. */ + + /* First move last chars to start of buffer. */ + number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; + + for ( i = 0; i < number_to_move; ++i ) + *(dest++) = *(source++); + + if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) + /* don't do the read, it's not guaranteed to return an EOF, + * just force an EOF + */ + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; + + else + { + 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_LVALUE; + + int yy_c_buf_p_offset = + (int) ((yy_c_buf_p) - b->yy_ch_buf); + + if ( b->yy_is_our_buffer ) + { + yy_size_t new_size = b->yy_buf_size * 2; + + if ( new_size <= 0 ) + b->yy_buf_size += b->yy_buf_size / 8; + else + b->yy_buf_size *= 2; + + b->yy_ch_buf = (char *) + /* Include room in for 2 EOB chars. */ + surf_parse_realloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); + } + else + /* Can't grow it, we don't own it. */ + b->yy_ch_buf = 0; + + if ( ! b->yy_ch_buf ) + YY_FATAL_ERROR( + "fatal error - scanner input buffer overflow" ); + + (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; + + num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - + number_to_move - 1; + + } + + if ( num_to_read > YY_READ_BUF_SIZE ) + num_to_read = YY_READ_BUF_SIZE; + + /* Read in more data. */ + YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), + (yy_n_chars), num_to_read ); + + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } + + if ( (yy_n_chars) == 0 ) + { + if ( number_to_move == YY_MORE_ADJ ) + { + ret_val = EOB_ACT_END_OF_FILE; + surf_parse_restart(surf_parse_in ); + } + + else + { + ret_val = EOB_ACT_LAST_MATCH; + YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = + YY_BUFFER_EOF_PENDING; + } + } + + 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 *) surf_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; + + (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; - /* Try to read more data. */ - - /* First move last chars to start of buffer. */ - number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; - - for ( i = 0; i < number_to_move; ++i ) - *(dest++) = *(source++); - - if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) - /* don't do the read, it's not guaranteed to return an EOF, - * just force an EOF - */ - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; - - else - { - 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_LVALUE; - - int yy_c_buf_p_offset = - (int) ((yy_c_buf_p) - b->yy_ch_buf); - - if ( b->yy_is_our_buffer ) - { - yy_size_t new_size = b->yy_buf_size * 2; - - if ( new_size <= 0 ) - b->yy_buf_size += b->yy_buf_size / 8; - else - b->yy_buf_size *= 2; - - b->yy_ch_buf = (char *) - /* Include room in for 2 EOB chars. */ - surf_parse_realloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); - } - else - /* Can't grow it, we don't own it. */ - b->yy_ch_buf = 0; - - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( - "fatal error - scanner input buffer overflow" ); - - (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; - - num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - - number_to_move - 1; - - } - - if ( num_to_read > YY_READ_BUF_SIZE ) - num_to_read = YY_READ_BUF_SIZE; - - /* Read in more data. */ - YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), - (yy_n_chars), num_to_read ); - - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); - } - - if ( (yy_n_chars) == 0 ) - { - if ( number_to_move == YY_MORE_ADJ ) - { - ret_val = EOB_ACT_END_OF_FILE; - surf_parse_restart(surf_parse_in ); - } - - else - { - ret_val = EOB_ACT_LAST_MATCH; - YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = - YY_BUFFER_EOF_PENDING; - } - } - - 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 *) surf_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; - - (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; - - return ret_val; + return ret_val; } /* yy_get_previous_state - get the state just before the EOB char was reached */ static yy_state_type yy_get_previous_state (void) { - yy_state_type yy_current_state; - 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 ) - { - 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; - (yy_last_accepting_cpos) = yy_cp; - } - 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 >= 3466 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - } - - return yy_current_state; + yy_current_state = (yy_start); + + for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) + { + 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; + (yy_last_accepting_cpos) = yy_cp; + } + 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 >= 3466 ) + yy_c = yy_meta[(unsigned int) yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; + } + + return yy_current_state; } /* yy_try_NUL_trans - try to make a transition on the NUL character * * synopsis - * next_state = yy_try_NUL_trans( current_state ); + * next_state = yy_try_NUL_trans( current_state ); */ static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) { - int yy_is_jam; - char *yy_cp = (yy_c_buf_p); - - YY_CHAR yy_c = 1; - if ( yy_accept[yy_current_state] ) - { - (yy_last_accepting_state) = yy_current_state; - (yy_last_accepting_cpos) = yy_cp; - } - 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 >= 3466 ) - 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 == 3465); - - return yy_is_jam ? 0 : yy_current_state; + int yy_is_jam; + char *yy_cp = (yy_c_buf_p); + + YY_CHAR yy_c = 1; + if ( yy_accept[yy_current_state] ) + { + (yy_last_accepting_state) = yy_current_state; + (yy_last_accepting_cpos) = yy_cp; + } + 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 >= 3466 ) + 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 == 3465); + + return yy_is_jam ? 0 : yy_current_state; } #ifndef YY_NO_INPUT @@ -9990,76 +9990,76 @@ static int yy_get_next_buffer (void) #endif { - int c; + int c; - *(yy_c_buf_p) = (yy_hold_char); - - if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) - { - /* yy_c_buf_p now points to the character we want to return. - * If this occurs *before* the EOB characters, then it's a - * valid NUL; if not, then we've hit the end of the buffer. - */ - if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) - /* This was really a NUL. */ - *(yy_c_buf_p) = '\0'; - - else - { /* need more input */ - yy_size_t offset = (yy_c_buf_p) - (yytext_ptr); - ++(yy_c_buf_p); - - switch ( yy_get_next_buffer( ) ) - { - case EOB_ACT_LAST_MATCH: - /* This happens because yy_g_n_b() - * sees that we've accumulated a - * token and flags that we need to - * try matching the token before - * proceeding. But for input(), - * there's no matching to consider. - * So convert the EOB_ACT_LAST_MATCH - * to EOB_ACT_END_OF_FILE. - */ - - /* Reset buffer status. */ - surf_parse_restart(surf_parse_in ); - - /*FALLTHROUGH*/ - - case EOB_ACT_END_OF_FILE: - { - if ( surf_parse_wrap( ) ) - return EOF; - - if ( ! (yy_did_buffer_switch_on_eof) ) - YY_NEW_FILE; + *(yy_c_buf_p) = (yy_hold_char); + + if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) + { + /* yy_c_buf_p now points to the character we want to return. + * If this occurs *before* the EOB characters, then it's a + * valid NUL; if not, then we've hit the end of the buffer. + */ + if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) + /* This was really a NUL. */ + *(yy_c_buf_p) = '\0'; + + else + { /* need more input */ + yy_size_t offset = (yy_c_buf_p) - (yytext_ptr); + ++(yy_c_buf_p); + + switch ( yy_get_next_buffer( ) ) + { + case EOB_ACT_LAST_MATCH: + /* This happens because yy_g_n_b() + * sees that we've accumulated a + * token and flags that we need to + * try matching the token before + * proceeding. But for input(), + * there's no matching to consider. + * So convert the EOB_ACT_LAST_MATCH + * to EOB_ACT_END_OF_FILE. + */ + + /* Reset buffer status. */ + surf_parse_restart(surf_parse_in ); + + /*FALLTHROUGH*/ + + case EOB_ACT_END_OF_FILE: + { + if ( surf_parse_wrap( ) ) + return EOF; + + if ( ! (yy_did_buffer_switch_on_eof) ) + YY_NEW_FILE; #ifdef __cplusplus - return yyinput(); + return yyinput(); #else - return input(); + return input(); #endif - } + } - case EOB_ACT_CONTINUE_SCAN: - (yy_c_buf_p) = (yytext_ptr) + offset; - break; - } - } - } + case EOB_ACT_CONTINUE_SCAN: + (yy_c_buf_p) = (yytext_ptr) + offset; + break; + } + } + } - c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ - *(yy_c_buf_p) = '\0'; /* preserve surf_parse_text */ - (yy_hold_char) = *++(yy_c_buf_p); + c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ + *(yy_c_buf_p) = '\0'; /* preserve surf_parse_text */ + (yy_hold_char) = *++(yy_c_buf_p); - if ( c == '\n' ) - + if ( c == '\n' ) + surf_parse_lineno++; ; - return c; + return c; } -#endif /* ifndef YY_NO_INPUT */ +#endif /* ifndef YY_NO_INPUT */ /** Immediately switch to a different input stream. * @param input_file A readable stream. @@ -10069,14 +10069,14 @@ static int yy_get_next_buffer (void) void surf_parse_restart (FILE * input_file ) { - if ( ! YY_CURRENT_BUFFER ){ + if ( ! YY_CURRENT_BUFFER ){ surf_parse_ensure_buffer_stack (); - YY_CURRENT_BUFFER_LVALUE = + YY_CURRENT_BUFFER_LVALUE = surf_parse__create_buffer(surf_parse_in,YY_BUF_SIZE ); - } + } - surf_parse__init_buffer(YY_CURRENT_BUFFER,input_file ); - surf_parse__load_buffer_state( ); + surf_parse__init_buffer(YY_CURRENT_BUFFER,input_file ); + surf_parse__load_buffer_state( ); } /** Switch to a different input buffer. @@ -10086,40 +10086,40 @@ static int yy_get_next_buffer (void) void surf_parse__switch_to_buffer (YY_BUFFER_STATE new_buffer ) { - /* TODO. We should be able to replace this entire function body - * with - * surf_parse_pop_buffer_state(); - * surf_parse_push_buffer_state(new_buffer); + /* TODO. We should be able to replace this entire function body + * with + * surf_parse_pop_buffer_state(); + * surf_parse_push_buffer_state(new_buffer); */ - surf_parse_ensure_buffer_stack (); - if ( YY_CURRENT_BUFFER == new_buffer ) - return; - - if ( YY_CURRENT_BUFFER ) - { - /* Flush out information for old buffer. */ - *(yy_c_buf_p) = (yy_hold_char); - YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); - } - - YY_CURRENT_BUFFER_LVALUE = new_buffer; - surf_parse__load_buffer_state( ); - - /* We don't actually know whether we did this switch during - * EOF (surf_parse_wrap()) processing, but the only time this flag - * is looked at is after surf_parse_wrap() is called, so it's safe - * to go ahead and always set it. - */ - (yy_did_buffer_switch_on_eof) = 1; + surf_parse_ensure_buffer_stack (); + if ( YY_CURRENT_BUFFER == new_buffer ) + return; + + if ( YY_CURRENT_BUFFER ) + { + /* Flush out information for old buffer. */ + *(yy_c_buf_p) = (yy_hold_char); + YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } + + YY_CURRENT_BUFFER_LVALUE = new_buffer; + surf_parse__load_buffer_state( ); + + /* We don't actually know whether we did this switch during + * EOF (surf_parse_wrap()) processing, but the only time this flag + * is looked at is after surf_parse_wrap() is called, so it's safe + * to go ahead and always set it. + */ + (yy_did_buffer_switch_on_eof) = 1; } static void surf_parse__load_buffer_state (void) { - (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; - (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; - surf_parse_in = YY_CURRENT_BUFFER_LVALUE->yy_input_file; - (yy_hold_char) = *(yy_c_buf_p); + (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; + (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; + surf_parse_in = YY_CURRENT_BUFFER_LVALUE->yy_input_file; + (yy_hold_char) = *(yy_c_buf_p); } /** Allocate and initialize an input buffer state. @@ -10130,26 +10130,26 @@ static void surf_parse__load_buffer_state (void) */ YY_BUFFER_STATE surf_parse__create_buffer (FILE * file, int size ) { - YY_BUFFER_STATE b; + YY_BUFFER_STATE b; - b = (YY_BUFFER_STATE) surf_parse_alloc(sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in surf_parse__create_buffer()" ); + b = (YY_BUFFER_STATE) surf_parse_alloc(sizeof( struct yy_buffer_state ) ); + if ( ! b ) + YY_FATAL_ERROR( "out of dynamic memory in surf_parse__create_buffer()" ); - b->yy_buf_size = size; + b->yy_buf_size = size; - /* yy_ch_buf has to be 2 characters longer than the size given because - * we need to put in 2 end-of-buffer characters. - */ - b->yy_ch_buf = (char *) surf_parse_alloc(b->yy_buf_size + 2 ); - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( "out of dynamic memory in surf_parse__create_buffer()" ); + /* yy_ch_buf has to be 2 characters longer than the size given because + * we need to put in 2 end-of-buffer characters. + */ + b->yy_ch_buf = (char *) surf_parse_alloc(b->yy_buf_size + 2 ); + if ( ! b->yy_ch_buf ) + YY_FATAL_ERROR( "out of dynamic memory in surf_parse__create_buffer()" ); - b->yy_is_our_buffer = 1; + b->yy_is_our_buffer = 1; - surf_parse__init_buffer(b,file ); + surf_parse__init_buffer(b,file ); - return b; + return b; } /** Destroy the buffer. @@ -10159,16 +10159,16 @@ static void surf_parse__load_buffer_state (void) void surf_parse__delete_buffer (YY_BUFFER_STATE b ) { - if ( ! b ) - return; + if ( ! b ) + return; - if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ - YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; + if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ + YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; - if ( b->yy_is_our_buffer ) - surf_parse_free((void *) b->yy_ch_buf ); + if ( b->yy_is_our_buffer ) + surf_parse_free((void *) b->yy_ch_buf ); - surf_parse_free((void *) b ); + surf_parse_free((void *) b ); } /* Initializes or reinitializes a buffer. @@ -10178,12 +10178,12 @@ static void surf_parse__load_buffer_state (void) static void surf_parse__init_buffer (YY_BUFFER_STATE b, FILE * file ) { - int oerrno = errno; + int oerrno = errno; - surf_parse__flush_buffer(b ); + surf_parse__flush_buffer(b ); - b->yy_input_file = file; - b->yy_fill_buffer = 1; + b->yy_input_file = file; + b->yy_fill_buffer = 1; /* If b is the current buffer, then surf_parse__init_buffer was _probably_ * called from surf_parse_restart() or through yy_get_next_buffer. @@ -10196,7 +10196,7 @@ static void surf_parse__load_buffer_state (void) b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; - errno = oerrno; + errno = oerrno; } /** Discard all buffered characters. On the next scan, YY_INPUT will be called. @@ -10205,25 +10205,25 @@ static void surf_parse__load_buffer_state (void) */ void surf_parse__flush_buffer (YY_BUFFER_STATE b ) { - if ( ! b ) - return; + if ( ! b ) + return; - b->yy_n_chars = 0; + b->yy_n_chars = 0; - /* We always need two end-of-buffer characters. The first causes - * a transition to the end-of-buffer state. The second causes - * a jam in that state. - */ - b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; - b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; + /* We always need two end-of-buffer characters. The first causes + * a transition to the end-of-buffer state. The second causes + * a jam in that state. + */ + b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; + b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; - b->yy_buf_pos = &b->yy_ch_buf[0]; + b->yy_buf_pos = &b->yy_ch_buf[0]; - b->yy_at_bol = 1; - b->yy_buffer_status = YY_BUFFER_NEW; + b->yy_at_bol = 1; + b->yy_buffer_status = YY_BUFFER_NEW; - if ( b == YY_CURRENT_BUFFER ) - surf_parse__load_buffer_state( ); + if ( b == YY_CURRENT_BUFFER ) + surf_parse__load_buffer_state( ); } /** Pushes the new state onto the stack. The new state becomes @@ -10234,28 +10234,28 @@ static void surf_parse__load_buffer_state (void) */ void surf_parse_push_buffer_state (YY_BUFFER_STATE new_buffer ) { - if (new_buffer == NULL) - return; + if (new_buffer == NULL) + return; - surf_parse_ensure_buffer_stack(); + surf_parse_ensure_buffer_stack(); - /* This block is copied from surf_parse__switch_to_buffer. */ - if ( YY_CURRENT_BUFFER ) - { - /* Flush out information for old buffer. */ - *(yy_c_buf_p) = (yy_hold_char); - YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); - } + /* This block is copied from surf_parse__switch_to_buffer. */ + if ( YY_CURRENT_BUFFER ) + { + /* Flush out information for old buffer. */ + *(yy_c_buf_p) = (yy_hold_char); + YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } - /* Only push if top exists. Otherwise, replace top. */ - if (YY_CURRENT_BUFFER) - (yy_buffer_stack_top)++; - YY_CURRENT_BUFFER_LVALUE = new_buffer; + /* Only push if top exists. Otherwise, replace top. */ + if (YY_CURRENT_BUFFER) + (yy_buffer_stack_top)++; + YY_CURRENT_BUFFER_LVALUE = new_buffer; - /* copied from surf_parse__switch_to_buffer. */ - surf_parse__load_buffer_state( ); - (yy_did_buffer_switch_on_eof) = 1; + /* copied from surf_parse__switch_to_buffer. */ + surf_parse__load_buffer_state( ); + (yy_did_buffer_switch_on_eof) = 1; } /** Removes and deletes the top of the stack, if present. @@ -10264,18 +10264,18 @@ void surf_parse_push_buffer_state (YY_BUFFER_STATE new_buffer ) */ void surf_parse_pop_buffer_state (void) { - if (!YY_CURRENT_BUFFER) - return; + if (!YY_CURRENT_BUFFER) + return; - surf_parse__delete_buffer(YY_CURRENT_BUFFER ); - YY_CURRENT_BUFFER_LVALUE = NULL; - if ((yy_buffer_stack_top) > 0) - --(yy_buffer_stack_top); + surf_parse__delete_buffer(YY_CURRENT_BUFFER ); + YY_CURRENT_BUFFER_LVALUE = NULL; + if ((yy_buffer_stack_top) > 0) + --(yy_buffer_stack_top); - if (YY_CURRENT_BUFFER) { - surf_parse__load_buffer_state( ); - (yy_did_buffer_switch_on_eof) = 1; - } + if (YY_CURRENT_BUFFER) { + surf_parse__load_buffer_state( ); + (yy_did_buffer_switch_on_eof) = 1; + } } /* Allocates the stack if it does not exist. @@ -10283,45 +10283,45 @@ void surf_parse_pop_buffer_state (void) */ static void surf_parse_ensure_buffer_stack (void) { - yy_size_t num_to_alloc; + yy_size_t num_to_alloc; - if (!(yy_buffer_stack)) { + if (!(yy_buffer_stack)) { - /* First allocation is just for 2 elements, since we don't know if this - * scanner will even need a stack. We use 2 instead of 1 to avoid an - * immediate realloc on the next call. + /* First allocation is just for 2 elements, since we don't know if this + * scanner will even need a stack. We use 2 instead of 1 to avoid an + * immediate realloc on the next call. */ - num_to_alloc = 1; - (yy_buffer_stack) = (struct yy_buffer_state**)surf_parse_alloc - (num_to_alloc * sizeof(struct yy_buffer_state*) - ); - if ( ! (yy_buffer_stack) ) - YY_FATAL_ERROR( "out of dynamic memory in surf_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_top) = 0; - return; - } - - if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ - - /* Increase the buffer to prepare for a possible push. */ - int grow_size = 8 /* arbitrary grow size */; - - num_to_alloc = (yy_buffer_stack_max) + grow_size; - (yy_buffer_stack) = (struct yy_buffer_state**)surf_parse_realloc - ((yy_buffer_stack), - num_to_alloc * sizeof(struct yy_buffer_state*) - ); - if ( ! (yy_buffer_stack) ) - YY_FATAL_ERROR( "out of dynamic memory in surf_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*)); - (yy_buffer_stack_max) = num_to_alloc; - } + num_to_alloc = 1; + (yy_buffer_stack) = (struct yy_buffer_state**)surf_parse_alloc + (num_to_alloc * sizeof(struct yy_buffer_state*) + ); + if ( ! (yy_buffer_stack) ) + YY_FATAL_ERROR( "out of dynamic memory in surf_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_top) = 0; + return; + } + + if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ + + /* Increase the buffer to prepare for a possible push. */ + int grow_size = 8 /* arbitrary grow size */; + + num_to_alloc = (yy_buffer_stack_max) + grow_size; + (yy_buffer_stack) = (struct yy_buffer_state**)surf_parse_realloc + ((yy_buffer_stack), + num_to_alloc * sizeof(struct yy_buffer_state*) + ); + if ( ! (yy_buffer_stack) ) + YY_FATAL_ERROR( "out of dynamic memory in surf_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*)); + (yy_buffer_stack_max) = num_to_alloc; + } } /** Setup the input buffer state to scan directly from a user-specified character buffer. @@ -10332,31 +10332,31 @@ static void surf_parse_ensure_buffer_stack (void) */ YY_BUFFER_STATE surf_parse__scan_buffer (char * base, yy_size_t size ) { - YY_BUFFER_STATE b; + YY_BUFFER_STATE b; - if ( size < 2 || - base[size-2] != YY_END_OF_BUFFER_CHAR || - base[size-1] != YY_END_OF_BUFFER_CHAR ) - /* They forgot to leave room for the EOB's. */ - return 0; - - b = (YY_BUFFER_STATE) surf_parse_alloc(sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in surf_parse__scan_buffer()" ); - - b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ - b->yy_buf_pos = b->yy_ch_buf = base; - b->yy_is_our_buffer = 0; - b->yy_input_file = 0; - b->yy_n_chars = b->yy_buf_size; - b->yy_is_interactive = 0; - b->yy_at_bol = 1; - b->yy_fill_buffer = 0; - b->yy_buffer_status = YY_BUFFER_NEW; - - surf_parse__switch_to_buffer(b ); - - return b; + if ( size < 2 || + base[size-2] != YY_END_OF_BUFFER_CHAR || + base[size-1] != YY_END_OF_BUFFER_CHAR ) + /* They forgot to leave room for the EOB's. */ + return 0; + + b = (YY_BUFFER_STATE) surf_parse_alloc(sizeof( struct yy_buffer_state ) ); + if ( ! b ) + YY_FATAL_ERROR( "out of dynamic memory in surf_parse__scan_buffer()" ); + + b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ + b->yy_buf_pos = b->yy_ch_buf = base; + b->yy_is_our_buffer = 0; + b->yy_input_file = 0; + b->yy_n_chars = b->yy_buf_size; + b->yy_is_interactive = 0; + b->yy_at_bol = 1; + b->yy_fill_buffer = 0; + b->yy_buffer_status = YY_BUFFER_NEW; + + surf_parse__switch_to_buffer(b ); + + return b; } /** Setup the input buffer state to scan a string. The next call to surf_parse_lex() will @@ -10370,7 +10370,7 @@ YY_BUFFER_STATE surf_parse__scan_buffer (char * base, yy_size_t size ) YY_BUFFER_STATE surf_parse__scan_string (yyconst char * yystr ) { - return surf_parse__scan_bytes(yystr,strlen(yystr) ); + return surf_parse__scan_bytes(yystr,strlen(yystr) ); } /** Setup the input buffer state to scan the given bytes. The next call to surf_parse_lex() will @@ -10382,64 +10382,64 @@ YY_BUFFER_STATE surf_parse__scan_string (yyconst char * yystr ) */ YY_BUFFER_STATE surf_parse__scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len ) { - YY_BUFFER_STATE b; - char *buf; - yy_size_t n; - yy_size_t i; + YY_BUFFER_STATE b; + char *buf; + yy_size_t n; + yy_size_t i; - /* Get memory for full buffer, including space for trailing EOB's. */ - n = _yybytes_len + 2; - buf = (char *) surf_parse_alloc(n ); - if ( ! buf ) - YY_FATAL_ERROR( "out of dynamic memory in surf_parse__scan_bytes()" ); + /* Get memory for full buffer, including space for trailing EOB's. */ + n = _yybytes_len + 2; + buf = (char *) surf_parse_alloc(n ); + if ( ! buf ) + YY_FATAL_ERROR( "out of dynamic memory in surf_parse__scan_bytes()" ); - for ( i = 0; i < _yybytes_len; ++i ) - buf[i] = yybytes[i]; + for ( i = 0; i < _yybytes_len; ++i ) + buf[i] = yybytes[i]; - buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; + buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; - b = surf_parse__scan_buffer(buf,n ); - if ( ! b ) - YY_FATAL_ERROR( "bad buffer in surf_parse__scan_bytes()" ); + b = surf_parse__scan_buffer(buf,n ); + if ( ! b ) + YY_FATAL_ERROR( "bad buffer in surf_parse__scan_bytes()" ); - /* It's okay to grow etc. this buffer, and we should throw it - * away when we're done. - */ - b->yy_is_our_buffer = 1; + /* It's okay to grow etc. this buffer, and we should throw it + * away when we're done. + */ + b->yy_is_our_buffer = 1; - return b; + return b; } static void yy_push_state (int new_state ) { - if ( (yy_start_stack_ptr) >= (yy_start_stack_depth) ) - { - yy_size_t new_size; + if ( (yy_start_stack_ptr) >= (yy_start_stack_depth) ) + { + yy_size_t new_size; - (yy_start_stack_depth) += YY_START_STACK_INCR; - new_size = (yy_start_stack_depth) * sizeof( int ); + (yy_start_stack_depth) += YY_START_STACK_INCR; + new_size = (yy_start_stack_depth) * sizeof( int ); - if ( ! (yy_start_stack) ) - (yy_start_stack) = (int *) surf_parse_alloc(new_size ); + if ( ! (yy_start_stack) ) + (yy_start_stack) = (int *) surf_parse_alloc(new_size ); - else - (yy_start_stack) = (int *) surf_parse_realloc((void *) (yy_start_stack),new_size ); + else + (yy_start_stack) = (int *) surf_parse_realloc((void *) (yy_start_stack),new_size ); - if ( ! (yy_start_stack) ) - YY_FATAL_ERROR( "out of memory expanding start-condition stack" ); - } + if ( ! (yy_start_stack) ) + YY_FATAL_ERROR( "out of memory expanding start-condition stack" ); + } - (yy_start_stack)[(yy_start_stack_ptr)++] = YY_START; + (yy_start_stack)[(yy_start_stack_ptr)++] = YY_START; - BEGIN(new_state); + BEGIN(new_state); } static void yy_pop_state (void) { - if ( --(yy_start_stack_ptr) < 0 ) - YY_FATAL_ERROR( "start-condition stack underflow" ); + if ( --(yy_start_stack_ptr) < 0 ) + YY_FATAL_ERROR( "start-condition stack underflow" ); - BEGIN((yy_start_stack)[(yy_start_stack_ptr)]); + BEGIN((yy_start_stack)[(yy_start_stack_ptr)]); } #ifndef YY_EXIT_FAILURE @@ -10448,26 +10448,26 @@ YY_BUFFER_STATE surf_parse__scan_bytes (yyconst char * yybytes, yy_size_t _yyb static void yy_fatal_error (yyconst char* msg ) { - (void) fprintf( stderr, "%s\n", msg ); - exit( YY_EXIT_FAILURE ); + (void) fprintf( stderr, "%s\n", msg ); + exit( YY_EXIT_FAILURE ); } /* Redefine yyless() so it works in section 3 code. */ #undef yyless #define yyless(n) \ - do \ - { \ - /* Undo effects of setting up surf_parse_text. */ \ + do \ + { \ + /* Undo effects of setting up surf_parse_text. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ - surf_parse_text[surf_parse_leng] = (yy_hold_char); \ - (yy_c_buf_p) = surf_parse_text + yyless_macro_arg; \ - (yy_hold_char) = *(yy_c_buf_p); \ - *(yy_c_buf_p) = '\0'; \ - surf_parse_leng = yyless_macro_arg; \ - } \ - while ( 0 ) + surf_parse_text[surf_parse_leng] = (yy_hold_char); \ + (yy_c_buf_p) = surf_parse_text + yyless_macro_arg; \ + (yy_hold_char) = *(yy_c_buf_p); \ + *(yy_c_buf_p) = '\0'; \ + surf_parse_leng = yyless_macro_arg; \ + } \ + while ( 0 ) /* Accessor methods (get/set functions) to struct members. */ @@ -10589,15 +10589,15 @@ int surf_parse_lex_destroy (void) { /* Pop the buffer stack, destroying each element. */ - while(YY_CURRENT_BUFFER){ - surf_parse__delete_buffer(YY_CURRENT_BUFFER ); - YY_CURRENT_BUFFER_LVALUE = NULL; - surf_parse_pop_buffer_state(); - } + while(YY_CURRENT_BUFFER){ + surf_parse__delete_buffer(YY_CURRENT_BUFFER ); + YY_CURRENT_BUFFER_LVALUE = NULL; + surf_parse_pop_buffer_state(); + } - /* Destroy the stack itself. */ - surf_parse_free((yy_buffer_stack) ); - (yy_buffer_stack) = NULL; + /* Destroy the stack itself. */ + surf_parse_free((yy_buffer_stack) ); + (yy_buffer_stack) = NULL; /* Destroy the start condition stack. */ surf_parse_free((yy_start_stack) ); @@ -10617,43 +10617,43 @@ int surf_parse_lex_destroy (void) #ifndef yytext_ptr static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) { - int i; - for ( i = 0; i < n; ++i ) - s1[i] = s2[i]; + int i; + for ( i = 0; i < n; ++i ) + s1[i] = s2[i]; } #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * s ) { - int n; - for ( n = 0; s[n]; ++n ) - ; + int n; + for ( n = 0; s[n]; ++n ) + ; - return n; + return n; } #endif void *surf_parse_alloc (yy_size_t size ) { - return (void *) malloc( size ); + return (void *) malloc( size ); } void *surf_parse_realloc (void * ptr, yy_size_t size ) { - /* The cast to (char *) in the following accommodates both - * implementations that use char* generic pointers, and those - * that use void* generic pointers. It works with the latter - * because both ANSI C and C++ allow castless assignment from - * any pointer type to void*, and deal with argument conversions - * as though doing an assignment. - */ - return (void *) realloc( (char *) ptr, size ); + /* The cast to (char *) in the following accommodates both + * implementations that use char* generic pointers, and those + * that use void* generic pointers. It works with the latter + * because both ANSI C and C++ allow castless assignment from + * any pointer type to void*, and deal with argument conversions + * as though doing an assignment. + */ + return (void *) realloc( (char *) ptr, size ); } void surf_parse_free (void * ptr ) { - free( (char *) ptr ); /* see surf_parse_realloc() for (char *) cast */ + free( (char *) ptr ); /* see surf_parse_realloc() for (char *) cast */ } #define YYTABLES_NAME "yytables" @@ -10662,8 +10662,8 @@ void surf_parse_free (void * ptr ) int surfxml_element_context(int i) { return (0= 199901L /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, - * if you want the limit (max/min) macros for int types. + * if you want the limit (max/min) macros for int types. */ #ifndef __STDC_LIMIT_MACROS #define __STDC_LIMIT_MACROS 1 @@ -69,7 +69,7 @@ typedef uint32_t flex_uint32_t; typedef signed char flex_int8_t; typedef short int flex_int16_t; typedef int flex_int32_t; -typedef unsigned char flex_uint8_t; +typedef unsigned char flex_uint8_t; typedef unsigned short int flex_uint16_t; typedef unsigned int flex_uint32_t; @@ -111,15 +111,15 @@ typedef unsigned int flex_uint32_t; /* The "const" storage-class-modifier is valid. */ #define YY_USE_CONST -#else /* ! __cplusplus */ +#else /* ! __cplusplus */ /* C99 requires __STDC__ to be defined as 1. */ #if defined (__STDC__) #define YY_USE_CONST -#endif /* defined (__STDC__) */ -#endif /* ! __cplusplus */ +#endif /* defined (__STDC__) */ +#endif /* ! __cplusplus */ #ifdef YY_USE_CONST #define yyconst const @@ -195,14 +195,14 @@ extern FILE *xbt_graph_parse_in, *xbt_graph_parse_out; /* Note: We specifically omit the test for yy_rule_can_match_eol because it requires * access to the local variable yy_act. Since yyless() is a macro, it would break - * existing scanners that call yyless() from OUTSIDE xbt_graph_parse_lex. + * 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;\ @@ -214,86 +214,86 @@ extern FILE *xbt_graph_parse_in, *xbt_graph_parse_out; 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) \ - do \ - { \ - /* Undo effects of setting up xbt_graph_parse_text. */ \ + do \ + { \ + /* Undo effects of setting up xbt_graph_parse_text. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ - *yy_cp = (yy_hold_char); \ - YY_RESTORE_YY_MORE_OFFSET \ - (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ - YY_DO_BEFORE_ACTION; /* set up xbt_graph_parse_text again */ \ - } \ - while ( 0 ) + *yy_cp = (yy_hold_char); \ + YY_RESTORE_YY_MORE_OFFSET \ + (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ + YY_DO_BEFORE_ACTION; /* set up xbt_graph_parse_text again */ \ + } \ + while ( 0 ) #define unput(c) yyunput( c, (yytext_ptr) ) #ifndef YY_STRUCT_YY_BUFFER_STATE #define YY_STRUCT_YY_BUFFER_STATE struct yy_buffer_state - { - FILE *yy_input_file; - - char *yy_ch_buf; /* input buffer */ - char *yy_buf_pos; /* current position in input buffer */ - - /* Size of input buffer in bytes, not including room for EOB - * characters. - */ - yy_size_t yy_buf_size; - - /* Number of characters read into yy_ch_buf, not including EOB - * characters. - */ - 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 - * delete it. - */ - int yy_is_our_buffer; - - /* Whether this is an "interactive" input source; if so, and - * if we're using stdio for input, then we want to use getc() - * instead of fread(), to make sure we stop fetching input after - * each newline. - */ - int yy_is_interactive; - - /* Whether we're considered to be at the beginning of a line. - * If so, '^' rules will be active on the next match, otherwise - * not. - */ - int yy_at_bol; + { + FILE *yy_input_file; + + char *yy_ch_buf; /* input buffer */ + char *yy_buf_pos; /* current position in input buffer */ + + /* Size of input buffer in bytes, not including room for EOB + * characters. + */ + yy_size_t yy_buf_size; + + /* Number of characters read into yy_ch_buf, not including EOB + * characters. + */ + 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 + * delete it. + */ + int yy_is_our_buffer; + + /* Whether this is an "interactive" input source; if so, and + * if we're using stdio for input, then we want to use getc() + * instead of fread(), to make sure we stop fetching input after + * each newline. + */ + int yy_is_interactive; + + /* Whether we're considered to be at the beginning of a line. + * If so, '^' rules will be active on the next match, otherwise + * not. + */ + int yy_at_bol; int yy_bs_lineno; /**< The line count. */ int yy_bs_column; /**< The column count. */ + + /* Whether to try to fill the input buffer when we reach the + * end of it. + */ + int yy_fill_buffer; - /* Whether to try to fill the input buffer when we reach the - * end of it. - */ - int yy_fill_buffer; - - int yy_buffer_status; + int yy_buffer_status; #define YY_BUFFER_NEW 0 #define YY_BUFFER_NORMAL 1 - /* When an EOF's been seen but there's still some text to process - * then we mark the buffer as YY_EOF_PENDING, to indicate that we - * shouldn't try reading from the input source any more. We might - * still have a bunch of tokens to match, though, because of - * possible backing-up. - * - * When we actually see the EOF, we change the status to "new" - * (via xbt_graph_parse_restart()), so that the user can continue scanning by - * just pointing xbt_graph_parse_in at a new input file. - */ + /* When an EOF's been seen but there's still some text to process + * then we mark the buffer as YY_EOF_PENDING, to indicate that we + * shouldn't try reading from the input source any more. We might + * still have a bunch of tokens to match, though, because of + * possible backing-up. + * + * When we actually see the EOF, we change the status to "new" + * (via xbt_graph_parse_restart()), so that the user can continue scanning by + * just pointing xbt_graph_parse_in at a new input file. + */ #define YY_BUFFER_EOF_PENDING 2 - }; + }; #endif /* !YY_STRUCT_YY_BUFFER_STATE */ /* Stack of input buffers. */ @@ -318,13 +318,13 @@ static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ /* yy_hold_char holds the character lost when xbt_graph_parse_text is formed. */ static char yy_hold_char; -static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */ +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; -static int yy_init = 0; /* whether we need to initialize */ -static int yy_start = 0; /* start state number */ +static int yy_init = 0; /* whether we need to initialize */ +static int yy_start = 0; /* start state number */ /* Flag which is used to allow xbt_graph_parse_wrap()'s to do buffer switches * instead of setting up a fresh xbt_graph_parse_in. A bit of a hack ... @@ -356,24 +356,24 @@ void xbt_graph_parse_free (void * ); #define yy_new_buffer xbt_graph_parse__create_buffer #define yy_set_interactive(is_interactive) \ - { \ - if ( ! YY_CURRENT_BUFFER ){ \ + { \ + if ( ! YY_CURRENT_BUFFER ){ \ xbt_graph_parse_ensure_buffer_stack (); \ - YY_CURRENT_BUFFER_LVALUE = \ + YY_CURRENT_BUFFER_LVALUE = \ xbt_graph_parse__create_buffer(xbt_graph_parse_in,YY_BUF_SIZE ); \ - } \ - YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ - } + } \ + YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ + } #define yy_set_bol(at_bol) \ - { \ - if ( ! YY_CURRENT_BUFFER ){\ + { \ + if ( ! YY_CURRENT_BUFFER ){\ xbt_graph_parse_ensure_buffer_stack (); \ - YY_CURRENT_BUFFER_LVALUE = \ + YY_CURRENT_BUFFER_LVALUE = \ xbt_graph_parse__create_buffer(xbt_graph_parse_in,YY_BUF_SIZE ); \ - } \ - YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ - } + } \ + YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ + } #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) @@ -404,21 +404,21 @@ static void yy_fatal_error (yyconst char msg[] ); * corresponding action - sets up xbt_graph_parse_text. */ #define YY_DO_BEFORE_ACTION \ - (yytext_ptr) = yy_bp; \ - xbt_graph_parse_leng = (size_t) (yy_cp - yy_bp); \ - (yy_hold_char) = *yy_cp; \ - *yy_cp = '\0'; \ - (yy_c_buf_p) = yy_cp; + (yytext_ptr) = yy_bp; \ + xbt_graph_parse_leng = (size_t) (yy_cp - yy_bp); \ + (yy_hold_char) = *yy_cp; \ + *yy_cp = '\0'; \ + (yy_c_buf_p) = yy_cp; #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; - }; + { + flex_int32_t yy_verify; + flex_int32_t yy_nxt; + }; static yyconst flex_int16_t yy_accept[564] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -428,49 +428,49 @@ static yyconst flex_int16_t yy_accept[564] = 0, 0, 0, 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, 26, 10, - 26, 26, 26, 24, 26, 30, 10, 30, 30, 91, - 91, 30, 91, 45, 10, 45, 45, 45, 43, 45, + 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, - 45, 45, 45, 49, 10, 49, 91, 66, 10, 66, - 66, 66, 64, 66, 66, 66, 66, 66, 70, 10, + 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, 25, - 27, 27, 0, 0, 0, 0, 0, 0, 44, 46, - 46, 46, 46, 46, 0, 65, 67, 67, 67, 67, + 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, - 27, 0, 0, 0, 0, 0, 0, 0, 46, 46, - 46, 46, 0, 0, 67, 67, 67, 67, 67, 67, + 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, 27, 0, 0, - 29, 0, 0, 0, 0, 0, 0, 46, 46, 46, - 46, 0, 0, 48, 0, 67, 67, 67, 67, 67, + 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, 0, 27, 0, 51, 0, 32, 31, 50, - 0, 0, 46, 0, 0, 46, 0, 0, 0, 67, - 67, 0, 0, 67, 67, 0, 0, 0, 0, 0, - 12, 0, 75, 76, 19, 27, 0, 51, 18, 32, - 31, 50, 0, 38, 37, 0, 0, 0, 36, 35, - - 46, 0, 0, 63, 62, 0, 0, 67, 0, 55, - 54, 67, 67, 0, 0, 0, 0, 0, 11, 19, - 27, 0, 18, 0, 34, 33, 46, 0, 47, 0, - 53, 52, 0, 0, 0, 0, 0, 0, 0, 68, - 0, 0, 0, 0, 27, 0, 28, 46, 0, 61, - 60, 0, 57, 56, 0, 59, 58, 0, 0, 0, - 0, 27, 46, 83, 0, 0, 0, 27, 46, 46, + 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, - 40, 39, 0, 42, 41, 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, 0, 0, 0, 0, - 0, 0, 0, 12, 0, 12, 0, 0, 21, 0, - 20, 0, 0, 0, 0, 0, 0, 0, 23, 22, + 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, @@ -481,8 +481,8 @@ 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, 14, 0, 0, 15, - 0, 13, 0 + 0, 0, 0, 0, 0, 0, 13, 0, 0, 15, + 0, 14, 0 } ; static yyconst flex_int32_t yy_ec[256] = @@ -531,69 +531,69 @@ 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, 135, 73, 76, 111, 114, 117, 153, 156, 159, - 176, 179, 182, 185, 200, 203, 206, 209, 225, 0, - 279, 282, 285, 288, 304, 0, 358, 361, 363, 365, - 1585, 1586, 1586, 380, 383, 47, 62, 1586, 386, 171, - 1586, 1586, 1574, 1586, 1586, 1565, 1586, 1578, 1578, 365, - 1586, 1586, 1586, 1586, 1576, 1576, 1546, 375, 1586, 389, - 1559, 0, 195, 1586, 1526, 1586, 398, 391, 399, 402, - 411, 414, 393, 1586, 420, 1557, 0, 401, 1586, 1540, - - 1539, 1538, 1525, 1586, 458, 422, 427, 1586, 464, 1552, - 0, 409, 1586, 1535, 1, 1534, 1521, 1532, 1586, 467, - 438, 1560, 1532, 470, 34, 1509, 1586, 1552, 1543, 1586, - 1586, 1586, 69, 40, 1509, 1508, 1506, 1539, 1507, 1586, - 0, 1532, 1514, 1516, 1503, 1505, 1504, 1512, 1586, 0, - 1497, 1512, 1502, 1495, 1499, 1586, 0, 1492, 1507, 1496, - 1496, 1487, 1489, 1499, 1505, 1517, 1516, 1523, 108, 1488, - 1586, 75, 0, 1484, 1484, 1514, 1513, 1481, 1586, 1492, - 1483, 473, 476, 1484, 1489, 1485, 1484, 1480, 1485, 1480, - 1479, 1474, 479, 482, 1481, 1476, 1473, 1474, 1462, 1470, - - 485, 502, 1487, 1586, 1490, 1586, 1586, 110, 1464, 1586, - 1491, 1490, 1454, 1586, 1586, 1452, 1455, 1452, 505, 508, - 1586, 511, 1462, 1452, 1460, 1459, 1458, 514, 1452, 530, - 1443, 533, 538, 1586, 546, 550, 1450, 1373, 555, 1387, - 1375, 558, 566, 1586, 571, 1387, 435, 575, 1586, 1586, - 1392, 1389, 1356, 1354, 578, 583, 1346, 588, 595, 598, - 601, 604, 612, 617, 624, 1263, 620, 633, 637, 645, - 1263, 649, 661, 1264, 1250, 653, 1280, 472, 1280, 657, - 1586, 1279, 1586, 1586, 670, 1260, 674, 677, 680, 683, - 686, 694, 697, 1586, 1586, 705, 710, 721, 1586, 1586, - - 1248, 729, 732, 1586, 1586, 740, 746, 756, 759, 1586, - 1586, 767, 772, 775, 1264, 32, 104, 153, 1586, 778, - 1226, 783, 788, 793, 1586, 1586, 1230, 801, 1586, 804, - 1586, 1586, 812, 818, 828, 831, 839, 844, 855, 1586, - 1234, 146, 179, 147, 1212, 858, 1586, 1215, 861, 1586, - 1586, 875, 1586, 1586, 883, 1586, 1586, 1111, 891, 175, - 445, 1066, 119, 1586, 894, 181, 89, 897, 900, 903, - 501, 360, 399, 480, 475, 919, 922, 938, 941, 949, - 954, 506, 509, 526, 599, 624, 965, 654, 678, 973, - 1586, 1586, 981, 1586, 1586, 417, 176, 594, 548, 989, - - 1058, 1003, 1016, 937, 992, 407, 995, 998, 1001, 1018, - 930, 918, 922, 910, 1026, 1029, 1035, 1038, 1055, 1063, - 1081, 1113, 819, 790, 733, 616, 710, 1073, 721, 1131, - 748, 284, 1149, 1181, 557, 565, 458, 449, 537, 770, - 676, 805, 278, 369, 285, 291, 1076, 293, 1586, 211, - 1586, 708, 693, 727, 162, 110, 76, 1105, 1586, 1586, - 352, 735, 794, 5, 199, 820, 474, 1586, 1144, 850, - 1173, 1199, 1207, 1212, 591, 754, 1220, 799, 831, 749, - 833, 834, 848, 862, 897, 684, 791, 900, 912, 895, - 901, 483, 808, 920, 930, 836, 890, 627, 892, 941, - - 962, 971, 993, 818, 873, 1005, 1007, 954, 960, 702, - 872, 963, 1008, 1027, 1092, 1017, 1025, 1151, 1160, 1031, - 1084, 1093, 1152, 1176, 1188, 1161, 1209, 1033, 1087, 1217, - 1221, 1123, 1155, 1088, 1108, 1215, 1216, 1120, 1156, 1218, - 1219, 1222, 1223, 1224, 1225, 1239, 1240, 1226, 1228, 1241, - 1242, 1264, 1258, 1260, 1268, 1277, 1586, 1281, 1285, 1586, - 1288, 1586, 1586, 1306, 1313, 1320, 1327, 1334, 1341, 1348, - 1355, 1362, 1369, 1376, 1381, 1386, 1391, 1398, 1401, 1404, - 1407, 1414, 1418, 1424, 1430, 1436, 1443, 1450, 1457, 1464, - 1471, 1478, 1485 + 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 } ; @@ -601,44 +601,44 @@ static yyconst flex_int16_t yy_def[594] = { 0, 564, 564, 565, 565, 565, 565, 566, 566, 567, 567, 568, 568, 569, 569, 569, 569, 570, 570, 564, 564, - 571, 571, 572, 572, 572, 572, 564, 564, 572, 572, - 564, 564, 572, 572, 572, 572, 564, 564, 563, 39, + 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, 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, - 576, 576, 576, 563, 563, 563, 563, 563, 563, 563, - 577, 563, 563, 577, 577, 577, 577, 577, 563, 563, + 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, 579, 563, 563, 563, 563, 563, 563, 576, - 576, 576, 576, 576, 580, 563, 577, 577, 577, 577, + 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, 584, 584, 563, 563, 563, 563, 563, 576, 576, - 576, 576, 585, 585, 577, 577, 577, 577, 577, 577, + 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, 563, 584, - 563, 584, 563, 563, 563, 563, 563, 576, 576, 576, - 576, 563, 585, 563, 585, 577, 577, 577, 577, 577, + 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, 575, 584, 563, 563, 563, 563, 563, - 563, 563, 576, 563, 563, 576, 585, 563, 563, 577, - 577, 563, 563, 577, 577, 586, 563, 582, 587, 587, - 563, 587, 563, 563, 563, 575, 584, 563, 563, 563, - 563, 563, 563, 563, 563, 563, 563, 563, 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, - 576, 585, 563, 563, 563, 563, 563, 577, 563, 563, - 563, 577, 577, 586, 563, 582, 587, 587, 563, 563, - 575, 584, 563, 563, 563, 563, 576, 563, 563, 563, 563, 563, 563, 563, 563, 563, 563, 563, 563, 563, - 563, 582, 587, 587, 575, 563, 563, 576, 563, 563, - 563, 563, 563, 563, 563, 563, 563, 563, 582, 587, - 587, 575, 576, 563, 582, 587, 587, 575, 576, 576, + 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, @@ -672,176 +672,176 @@ static yyconst flex_int16_t yy_nxt[1642] = 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, 159, 66, 70, 71, 160, 60, + 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, 87, 55, 87, 87, 55, 87, - 127, 172, 78, 174, 456, 78, 175, 172, 88, 210, - 77, 88, 77, 79, 80, 55, 80, 79, 79, 79, - - 79, 79, 79, 79, 81, 79, 281, 79, 83, 79, - 84, 79, 87, 55, 87, 87, 55, 87, 55, 55, - 55, 281, 173, 79, 79, 206, 89, 206, 464, 89, - 375, 247, 90, 208, 85, 79, 80, 55, 80, 79, - 79, 79, 79, 79, 79, 79, 81, 79, 343, 79, - 83, 79, 84, 79, 55, 55, 55, 87, 55, 87, - 87, 55, 87, 206, 281, 79, 79, 456, 90, 359, - 281, 88, 369, 370, 88, 128, 85, 55, 55, 55, - 55, 55, 55, 87, 55, 87, 87, 55, 87, 127, - 344, 91, 281, 206, 91, 361, 281, 89, 281, 128, - - 89, 87, 55, 87, 87, 55, 87, 55, 55, 55, - 55, 55, 55, 127, 360, 92, 206, 374, 92, 460, - 366, 93, 406, 469, 93, 94, 95, 55, 95, 94, - 94, 94, 94, 94, 94, 94, 96, 94, 97, 94, - 98, 94, 99, 94, 97, 97, 97, 97, 97, 97, - 97, 97, 97, 97, 97, 94, 94, 97, 97, 97, - 97, 100, 97, 97, 97, 97, 97, 101, 97, 102, - 97, 103, 97, 97, 97, 97, 97, 97, 97, 97, - 105, 55, 105, 105, 55, 105, 55, 55, 55, 55, - 55, 55, 443, 443, 106, 281, 282, 106, 459, 456, - - 107, 446, 446, 107, 108, 109, 55, 109, 108, 108, - 108, 108, 108, 108, 108, 110, 108, 111, 108, 112, - 108, 113, 108, 111, 111, 111, 111, 111, 111, 111, - 111, 111, 111, 111, 108, 108, 111, 111, 111, 111, - 114, 111, 111, 111, 111, 111, 115, 111, 116, 111, - 111, 111, 111, 117, 118, 111, 111, 111, 111, 120, - 55, 120, 120, 55, 120, 68, 69, 68, 69, 206, - 70, 133, 70, 121, 456, 465, 121, 206, 122, 128, - 122, 124, 124, 124, 124, 124, 124, 124, 124, 124, - 124, 124, 124, 127, 123, 128, 123, 128, 134, 124, - - 124, 124, 143, 128, 135, 128, 128, 136, 383, 127, - 143, 127, 137, 128, 139, 128, 206, 127, 128, 127, - 127, 124, 124, 124, 206, 143, 128, 127, 144, 127, - 145, 128, 127, 155, 206, 146, 144, 146, 145, 148, - 127, 145, 128, 147, 384, 127, 146, 416, 144, 164, - 145, 148, 206, 145, 405, 147, 127, 451, 147, 124, - 124, 124, 281, 278, 144, 124, 124, 124, 124, 124, - 124, 124, 124, 124, 219, 219, 219, 219, 219, 219, - 232, 232, 232, 232, 232, 232, 242, 242, 242, 206, - 221, 206, 281, 221, 367, 450, 234, 281, 471, 234, - - 206, 316, 244, 242, 242, 242, 219, 219, 219, 219, - 219, 219, 219, 219, 219, 261, 261, 261, 206, 244, - 386, 385, 221, 206, 222, 221, 206, 235, 221, 498, - 262, 264, 264, 264, 232, 232, 232, 382, 245, 232, - 232, 232, 397, 206, 255, 396, 265, 232, 232, 232, - 234, 268, 268, 268, 206, 234, 272, 272, 272, 242, - 242, 242, 398, 234, 452, 281, 269, 242, 242, 242, - 449, 273, 242, 242, 242, 244, 280, 280, 280, 219, - 219, 219, 267, 244, 288, 288, 288, 408, 244, 290, - 290, 290, 281, 282, 448, 221, 291, 291, 291, 292, - - 292, 292, 261, 261, 261, 293, 293, 293, 206, 294, - 276, 206, 295, 296, 296, 296, 281, 262, 264, 264, - 264, 232, 232, 232, 287, 298, 298, 298, 297, 299, - 480, 407, 300, 265, 268, 268, 268, 234, 303, 303, - 303, 281, 304, 399, 206, 305, 306, 306, 306, 269, - 272, 272, 272, 438, 242, 242, 242, 302, 280, 280, - 280, 307, 309, 309, 309, 273, 310, 504, 400, 311, - 244, 320, 320, 320, 281, 219, 219, 219, 288, 288, - 288, 323, 323, 323, 290, 290, 290, 291, 291, 291, - 314, 221, 401, 206, 317, 292, 292, 292, 293, 293, - - 293, 206, 294, 454, 402, 295, 296, 296, 296, 318, - 206, 324, 324, 324, 322, 325, 403, 492, 326, 206, - 462, 297, 298, 298, 298, 206, 299, 206, 404, 300, - 328, 328, 328, 303, 303, 303, 461, 304, 206, 439, - 305, 306, 306, 306, 206, 516, 329, 330, 330, 330, - 441, 331, 206, 443, 332, 463, 307, 333, 333, 333, - 309, 309, 309, 466, 310, 444, 206, 311, 335, 335, - 335, 206, 334, 337, 337, 337, 339, 339, 339, 320, - 320, 320, 437, 336, 346, 346, 346, 206, 338, 323, - 323, 323, 340, 481, 324, 324, 324, 486, 325, 453, - - 347, 326, 328, 328, 328, 330, 330, 330, 206, 331, - 443, 206, 332, 333, 333, 333, 206, 467, 329, 349, - 349, 349, 444, 350, 493, 206, 351, 436, 334, 335, - 335, 335, 352, 352, 352, 206, 353, 206, 484, 354, - 337, 337, 337, 470, 336, 355, 355, 355, 206, 356, - 206, 206, 357, 206, 499, 338, 339, 339, 339, 346, - 346, 346, 349, 349, 349, 206, 350, 206, 435, 351, - 485, 510, 340, 488, 473, 347, 352, 352, 352, 206, - 353, 487, 502, 354, 355, 355, 355, 489, 356, 206, - 206, 357, 365, 365, 365, 365, 365, 365, 376, 376, - - 376, 378, 378, 378, 380, 380, 380, 206, 206, 206, - 490, 206, 206, 377, 206, 517, 379, 206, 206, 381, - 376, 376, 376, 387, 387, 387, 511, 388, 496, 206, - 389, 371, 505, 372, 497, 377, 503, 206, 373, 378, - 378, 378, 390, 390, 390, 491, 391, 206, 494, 392, - 380, 380, 380, 500, 379, 393, 393, 393, 206, 394, - 495, 426, 395, 501, 425, 381, 387, 387, 387, 424, - 388, 206, 423, 389, 390, 390, 390, 206, 391, 206, - 206, 392, 393, 393, 393, 414, 394, 506, 206, 395, - 409, 409, 409, 415, 415, 415, 417, 417, 417, 418, - - 418, 418, 409, 409, 409, 410, 281, 514, 507, 206, - 206, 508, 206, 515, 419, 281, 518, 410, 281, 420, - 420, 420, 206, 421, 206, 206, 422, 415, 415, 415, - 428, 428, 428, 509, 206, 281, 417, 417, 417, 418, - 418, 418, 206, 206, 206, 512, 206, 513, 206, 413, - 206, 412, 206, 427, 419, 281, 430, 430, 430, 522, - 431, 519, 429, 432, 420, 420, 420, 523, 421, 534, - 520, 422, 281, 526, 428, 428, 428, 458, 458, 458, - 281, 279, 279, 279, 279, 279, 279, 279, 279, 279, - 206, 411, 279, 281, 282, 279, 279, 279, 281, 279, - - 440, 206, 368, 528, 206, 206, 458, 458, 458, 206, - 206, 279, 279, 279, 279, 279, 279, 279, 279, 279, - 279, 279, 281, 535, 279, 206, 527, 279, 279, 279, - 281, 279, 430, 430, 430, 521, 431, 206, 540, 432, - 206, 364, 317, 279, 279, 472, 472, 472, 281, 279, - 279, 279, 279, 279, 447, 279, 279, 279, 541, 538, - 279, 206, 529, 279, 279, 279, 281, 279, 206, 206, - 544, 532, 206, 206, 474, 474, 474, 206, 206, 279, - 279, 279, 279, 279, 279, 279, 279, 279, 279, 447, - 206, 539, 279, 206, 524, 279, 279, 279, 281, 279, - - 472, 472, 472, 525, 475, 206, 545, 476, 477, 477, - 477, 279, 279, 474, 474, 474, 206, 478, 530, 533, - 479, 477, 477, 477, 206, 482, 206, 536, 483, 206, - 531, 537, 206, 206, 206, 206, 206, 206, 206, 206, - 206, 206, 206, 206, 552, 206, 555, 363, 552, 362, - 555, 542, 543, 358, 546, 547, 206, 206, 206, 206, - 550, 551, 553, 558, 554, 556, 556, 556, 558, 559, - 559, 559, 548, 549, 348, 206, 345, 206, 556, 556, - 556, 557, 561, 561, 561, 560, 559, 559, 559, 561, - 561, 561, 341, 327, 557, 321, 319, 281, 562, 315, - - 313, 312, 560, 308, 301, 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, 82, 82, 82, 82, 82, - 82, 82, 86, 86, 86, 86, 86, 86, 86, 104, - 104, 104, 104, 104, 104, 104, 119, 119, 119, 119, - 119, 119, 119, 141, 141, 141, 289, 141, 150, 150, - 150, 286, 150, 157, 157, 157, 285, 157, 167, 167, - - 167, 167, 167, 284, 167, 182, 283, 182, 193, 277, - 193, 201, 275, 201, 205, 205, 205, 205, 205, 205, - 205, 211, 274, 271, 211, 220, 220, 220, 220, 220, - 220, 233, 233, 233, 233, 233, 233, 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, 270, 266, 263, 260, 259, 258, 257, 256, - - 254, 253, 252, 251, 250, 249, 248, 206, 246, 241, - 240, 239, 238, 237, 236, 231, 230, 229, 228, 227, - 226, 225, 224, 223, 218, 217, 216, 215, 214, 213, + 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, 192, 191, 190, 189, 188, 187, - 186, 185, 184, 183, 181, 180, 179, 178, 177, 176, - 171, 168, 170, 166, 165, 163, 162, 161, 158, 156, - 154, 153, 152, 151, 149, 142, 140, 138, 132, 131, + 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, @@ -857,176 +857,176 @@ static yyconst flex_int16_t yy_chk[1642] = 0, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 9, 0, 3, 10, 11, 4, 12, 9, 5, 464, 10, 6, 7, 7, 7, 8, 8, - 8, 13, 13, 11, 115, 12, 13, 13, 115, 7, + 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, 133, 19, 134, 457, 20, 134, 172, 23, 172, + 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, 367, 21, 21, 21, - 21, 21, 25, 25, 25, 26, 26, 26, 27, 27, - 27, 317, 133, 21, 21, 169, 25, 208, 456, 26, - 367, 208, 27, 169, 21, 22, 22, 22, 22, 22, - 22, 22, 22, 22, 22, 22, 22, 22, 317, 22, - 22, 22, 22, 22, 28, 28, 28, 29, 29, 29, - 30, 30, 30, 342, 344, 22, 22, 455, 28, 342, - 318, 29, 363, 363, 30, 60, 22, 31, 31, 31, - 32, 32, 32, 33, 33, 33, 34, 34, 34, 60, - 318, 31, 360, 397, 32, 344, 343, 33, 366, 83, - - 34, 35, 35, 35, 36, 36, 36, 37, 37, 37, - 38, 38, 38, 83, 343, 35, 465, 366, 36, 450, - 360, 37, 397, 465, 38, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 41, 41, 41, 42, 42, 42, 43, 43, 43, 44, - 44, 44, 432, 445, 41, 443, 443, 42, 448, 446, - - 43, 432, 445, 44, 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, 45, 45, 45, 45, 45, 47, - 47, 47, 48, 48, 48, 49, 49, 50, 50, 461, - 49, 70, 50, 47, 444, 461, 48, 372, 49, 78, - 50, 54, 54, 54, 55, 55, 55, 59, 59, 59, - 80, 80, 80, 78, 49, 88, 50, 93, 70, 87, - - 87, 87, 88, 89, 70, 98, 90, 70, 372, 88, - 89, 93, 70, 112, 78, 91, 373, 89, 92, 98, - 90, 95, 95, 95, 406, 92, 106, 112, 88, 91, - 88, 107, 92, 106, 396, 88, 89, 93, 89, 90, - 106, 90, 121, 89, 373, 107, 90, 406, 91, 121, - 91, 92, 247, 92, 396, 91, 121, 438, 92, 105, - 105, 105, 361, 247, 107, 109, 109, 109, 120, 120, - 120, 124, 124, 124, 182, 182, 182, 183, 183, 183, - 193, 193, 193, 194, 194, 194, 201, 201, 201, 278, - 182, 467, 375, 183, 361, 437, 193, 374, 467, 194, - - 492, 278, 201, 202, 202, 202, 219, 219, 219, 220, - 220, 220, 222, 222, 222, 228, 228, 228, 371, 202, - 375, 374, 219, 382, 183, 220, 383, 194, 222, 492, - 228, 230, 230, 230, 232, 232, 232, 371, 202, 233, - 233, 233, 383, 384, 222, 382, 230, 235, 235, 235, - 232, 236, 236, 236, 439, 233, 239, 239, 239, 242, - 242, 242, 384, 235, 439, 399, 236, 243, 243, 243, - 436, 239, 245, 245, 245, 242, 248, 248, 248, 255, - 255, 255, 235, 243, 256, 256, 256, 399, 245, 258, - 258, 258, 248, 248, 435, 255, 259, 259, 259, 260, - - 260, 260, 261, 261, 261, 262, 262, 262, 475, 262, - 245, 398, 262, 263, 263, 263, 385, 261, 264, 264, - 264, 267, 267, 267, 255, 265, 265, 265, 263, 265, - 475, 398, 265, 264, 268, 268, 268, 267, 269, 269, - 269, 386, 269, 385, 498, 269, 270, 270, 270, 268, - 272, 272, 272, 426, 276, 276, 276, 267, 280, 280, - 280, 270, 273, 273, 273, 272, 273, 498, 386, 273, - 276, 285, 285, 285, 280, 287, 287, 287, 288, 288, - 288, 289, 289, 289, 290, 290, 290, 291, 291, 291, - 276, 287, 388, 441, 280, 292, 292, 292, 293, 293, - - 293, 486, 293, 441, 388, 293, 296, 296, 296, 280, - 453, 297, 297, 297, 287, 297, 389, 486, 297, 510, - 453, 296, 298, 298, 298, 452, 298, 427, 389, 298, - 302, 302, 302, 303, 303, 303, 452, 303, 429, 427, - 303, 306, 306, 306, 454, 510, 302, 307, 307, 307, - 429, 307, 462, 431, 307, 454, 306, 308, 308, 308, - 309, 309, 309, 462, 309, 431, 480, 309, 312, 312, - 312, 476, 308, 313, 313, 313, 314, 314, 314, 320, - 320, 320, 425, 312, 322, 322, 322, 440, 313, 323, - 323, 323, 314, 476, 324, 324, 324, 480, 324, 440, - - 322, 324, 328, 328, 328, 330, 330, 330, 487, 330, - 442, 463, 330, 333, 333, 333, 478, 463, 328, 334, - 334, 334, 442, 334, 487, 493, 334, 424, 333, 335, - 335, 335, 336, 336, 336, 504, 336, 466, 478, 336, - 337, 337, 337, 466, 335, 338, 338, 338, 479, 338, - 481, 482, 338, 496, 493, 337, 339, 339, 339, 346, - 346, 346, 349, 349, 349, 483, 349, 470, 423, 349, - 479, 504, 339, 482, 470, 346, 352, 352, 352, 484, - 352, 481, 496, 352, 355, 355, 355, 483, 355, 511, - 505, 355, 359, 359, 359, 365, 365, 365, 368, 368, - - 368, 369, 369, 369, 370, 370, 370, 497, 359, 499, - 484, 365, 490, 368, 485, 511, 369, 488, 491, 370, - 376, 376, 376, 377, 377, 377, 505, 377, 490, 489, - 377, 365, 499, 365, 491, 376, 497, 494, 365, 378, - 378, 378, 379, 379, 379, 485, 379, 495, 488, 379, - 380, 380, 380, 494, 378, 381, 381, 381, 500, 381, - 489, 414, 381, 495, 413, 380, 387, 387, 387, 412, - 387, 508, 411, 387, 390, 390, 390, 509, 390, 501, - 512, 390, 393, 393, 393, 404, 393, 500, 502, 393, - 400, 400, 400, 405, 405, 405, 407, 407, 407, 408, - - 408, 408, 409, 409, 409, 400, 400, 508, 501, 405, - 503, 502, 407, 509, 408, 408, 512, 409, 409, 410, - 410, 410, 506, 410, 507, 513, 410, 415, 415, 415, - 416, 416, 416, 503, 516, 410, 417, 417, 417, 418, - 418, 418, 517, 415, 514, 506, 416, 507, 520, 403, - 528, 402, 417, 415, 418, 418, 419, 419, 419, 516, - 419, 513, 417, 419, 420, 420, 420, 517, 420, 528, - 514, 420, 419, 520, 428, 428, 428, 447, 447, 447, - 420, 421, 421, 421, 421, 421, 421, 421, 421, 421, - 428, 401, 421, 447, 447, 421, 421, 421, 421, 421, - - 428, 521, 362, 522, 529, 534, 458, 458, 458, 515, - 522, 421, 421, 422, 422, 422, 422, 422, 422, 422, - 422, 422, 458, 529, 422, 535, 521, 422, 422, 422, - 422, 422, 430, 430, 430, 515, 430, 538, 534, 430, - 532, 358, 458, 422, 422, 469, 469, 469, 430, 433, - 433, 433, 433, 433, 433, 433, 433, 433, 535, 532, - 433, 469, 523, 433, 433, 433, 433, 433, 518, 523, - 538, 526, 533, 539, 471, 471, 471, 519, 526, 433, - 433, 434, 434, 434, 434, 434, 434, 434, 434, 434, - 471, 533, 434, 524, 518, 434, 434, 434, 434, 434, - - 472, 472, 472, 519, 472, 525, 539, 472, 473, 473, - 473, 434, 434, 474, 474, 474, 472, 474, 524, 527, - 474, 477, 477, 477, 473, 477, 527, 530, 477, 474, - 525, 531, 536, 537, 530, 540, 541, 477, 531, 542, - 543, 544, 545, 548, 546, 549, 550, 348, 547, 345, - 551, 536, 537, 341, 540, 541, 546, 547, 550, 551, - 544, 545, 548, 553, 549, 552, 552, 552, 554, 555, - 555, 555, 542, 543, 327, 553, 321, 554, 556, 556, - 556, 552, 558, 558, 558, 555, 559, 559, 559, 561, - 561, 561, 315, 301, 556, 286, 282, 279, 558, 277, - - 275, 274, 559, 271, 266, 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, 257, 575, 576, 576, - 576, 254, 576, 577, 577, 577, 253, 577, 578, 578, - - 578, 578, 578, 252, 578, 579, 251, 579, 580, 246, - 580, 581, 241, 581, 582, 582, 582, 582, 582, 582, - 582, 583, 240, 238, 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, 237, 231, 229, 227, 226, 225, 224, 223, - - 218, 217, 216, 213, 212, 211, 209, 205, 203, 200, - 199, 198, 197, 196, 195, 192, 191, 190, 189, 188, - 187, 186, 185, 184, 181, 180, 178, 177, 176, 175, + 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, 159, 158, 155, 154, 153, 152, 151, 148, 147, + 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, 114, 110, - 103, 102, 101, 100, 96, 85, 81, 77, 76, 75, + 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, @@ -1040,10 +1040,10 @@ static yyconst flex_int16_t yy_chk[1642] = /* Table of booleans, true if rule could match eol. */ 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, 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, 1, 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, +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; @@ -1066,13 +1066,13 @@ char *xbt_graph_parse_text; * 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. * * Part A * ------ - * - * Some parts, here collectively called "Part A", are found in the + * + * Some parts, here collectively called "Part A", are found in the * FleXML package. They are Copyright (C) 1999-2005 Kristoffer Rose * and Copyright (C) 2003-2013 Martin Quinson. All rights reserved. * @@ -1090,20 +1090,20 @@ char *xbt_graph_parse_text; * Notice that these are explicit rights granted to you for files * generated by the FleXML system. For your rights in connection with * the FleXML system itself please consult the GNU General Public License. - * + * * Part B * ------ - * - * The other parts, here collectively called "Part B", and which came - * from the DTD used by FleXML to generate this program, can be + * + * The other parts, here collectively called "Part B", and which came + * from the DTD used by FleXML to generate this program, can be * distributed (or not, as the case may be) under the terms of whoever - * wrote them, provided these terms respect and obey the two conditions + * wrote them, provided these terms respect and obey the two conditions * above under the heading "Part A". * * The author of and contributors to FleXML specifically disclaim - * any copyright interest in "Part B", unless "Part B" was written + * any copyright interest in "Part B", unless "Part B" was written * by the author of or contributors to FleXML. - * + * */ /* Version strings. */ @@ -1116,7 +1116,7 @@ const char graphxml_flexml_version[] = "1.9.6"; #include #include #include - + #if defined(_XBT_WIN32) || defined(__WIN32__) || defined(WIN32) || defined(__TOS_WIN__) # ifndef __STRICT_ANSI__ # include @@ -1125,7 +1125,7 @@ const char graphxml_flexml_version[] = "1.9.6"; #else # include #endif - + #ifndef FLEXML_INDEXSTACKSIZE #define FLEXML_INDEXSTACKSIZE 1000 #endif @@ -1142,62 +1142,62 @@ const char graphxml_flexml_version[] = "1.9.6"; int graphxml_pcdata_ix; extern char *graphxml_bufferstack; #define graphxml_pcdata (graphxml_bufferstack + graphxml_pcdata_ix) -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; +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_graph_isDirected AX_graphxml_graph_isDirected; -#define A_graphxml_graph_isDirected AX_graphxml_graph_isDirected -short int graphxml_graph_isDirected_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_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_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_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_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_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_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 ENTER(state) debug_enter(state,#state) -# define LEAVE debug_leave() -# define SET(state) debug_set(state,#state) +# define ENTER(state) debug_enter(state,#state) +# define LEAVE debug_leave() +# define SET(state) debug_set(state,#state) static void debug_enter(int, const char*); static void debug_leave(void); static void debug_set(int, const char*); #else -# define ENTER(state) (yy_push_state(state)) -# define LEAVE (yy_pop_state()) -# define SET(state) BEGIN(state) +# define ENTER(state) (yy_push_state(state)) +# define LEAVE (yy_pop_state()) +# define SET(state) BEGIN(state) #endif /* Generic actions. */ -#define SKIP /*skip*/ +#define SKIP /*skip*/ #define SUCCEED CLEANUP; return 0 -#define FAIL return fail +#define FAIL return fail static int fail(const char*, ...); enum {flexml_max_err_msg_size = 512}; @@ -1234,12 +1234,12 @@ static int inext = 1; static int ck_blimit() { if (bnext >= blimit) { - blimit += FLEXML_BUFFERSTACKSIZE + 2; - { - char *temp = (char *) realloc(graphxml_bufferstack, blimit); - assert(temp); - graphxml_bufferstack = temp; - } + blimit += FLEXML_BUFFERSTACKSIZE + 2; + { + char *temp = (char *) realloc(graphxml_bufferstack, blimit); + assert(temp); + graphxml_bufferstack = temp; + } } return 0; } @@ -1248,12 +1248,12 @@ static int ck_blimit() static int ck_ilimit() { if (inext >= ilimit) { - ilimit += FLEXML_INDEXSTACKSIZE + 2; - { - int *temp = (int *) realloc(indexstack, ilimit); - assert(temp); - indexstack = temp; - } + ilimit += FLEXML_INDEXSTACKSIZE + 2; + { + int *temp = (int *) realloc(indexstack, ilimit); + assert(temp); + indexstack = temp; + } } return 0; } @@ -1267,16 +1267,16 @@ static void graphxml_bufferliteral(char c, int* pp, const char* text) assert(s && e && s <= e); ++s; while (s < e) { - if (isspace(*s)) { - BUFFERPUTC(' '); - do ++s; while (s < e && isspace(*s)); - } else - BUFFERPUTC(*s++); + if (isspace(*s)) { + BUFFERPUTC(' '); + do ++s; while (s < e && isspace(*s)); + } else + BUFFERPUTC(*s++); } } else { const char *s = text; while (*s) - BUFFERPUTC(*s++); + BUFFERPUTC(*s++); } BUFFERDONE; } @@ -1286,7 +1286,7 @@ static void pushbuffer(int p) { ck_ilimit(); indexstack[inext++] = p; - indexstack[inext++] = bnext; + indexstack[inext++] = bnext; } static int popbuffer(void) @@ -1310,18 +1310,18 @@ static int popbuffer(void) /* Miscellaneous. */ /* Parser states (flex `exclusive start conditions'): * - * PROLOG the XML prolog of the document before - * DOCTYPE the XML prolog of the document after - * EPILOG after the root element - * INCOMMENT inside an XML comment - * INPI inside an XML PI - * VALUE1 inside a '...'-delimited literal - * VALUE2 inside a "..."-delimited literal - * CDATA inside a section. - * ROOT_ expect root element - * AL_ inside the attribute list for - * IN_ inside a with element contents (ready for end tag) - * IMPOSSIBLE dummy to permit disabling rules; must be last + * PROLOG the XML prolog of the document before + * DOCTYPE the XML prolog of the document after + * EPILOG after the root element + * INCOMMENT inside an XML comment + * INPI inside an XML PI + * VALUE1 inside a '...'-delimited literal + * VALUE2 inside a "..."-delimited literal + * CDATA inside a section. + * ROOT_ expect root element + * AL_ inside the attribute list for + * IN_ inside a with element contents (ready for end tag) + * IMPOSSIBLE dummy to permit disabling rules; must be last */ /* State names. */ @@ -1336,21 +1336,21 @@ const char* *graphxml_statenames=NULL; #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 @@ -1436,11 +1436,11 @@ static int input (void ); static int yy_start_stack_ptr = 0; static int yy_start_stack_depth = 0; static int *yy_start_stack = NULL; - + static void yy_push_state (int new_state ); - + static void yy_pop_state (void ); - + /* Amount of stuff to slurp up with each read. */ #ifndef YY_READ_BUF_SIZE #ifdef __ia64__ @@ -1464,33 +1464,33 @@ static int input (void ); */ #ifndef YY_INPUT #define YY_INPUT(buf,result,max_size) \ - if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ - { \ - int c = '*'; \ - size_t n; \ - for ( n = 0; n < max_size && \ - (c = getc( xbt_graph_parse_in )) != EOF && c != '\n'; ++n ) \ - buf[n] = (char) c; \ - if ( c == '\n' ) \ - buf[n++] = (char) c; \ - if ( c == EOF && ferror( xbt_graph_parse_in ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); \ - result = n; \ - } \ - else \ - { \ - errno=0; \ - while ( (result = fread(buf, 1, max_size, xbt_graph_parse_in))==0 && ferror(xbt_graph_parse_in)) \ - { \ - if( errno != EINTR) \ - { \ - YY_FATAL_ERROR( "input in flex scanner failed" ); \ - break; \ - } \ - errno=0; \ - clearerr(xbt_graph_parse_in); \ - } \ - }\ + if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ + { \ + int c = '*'; \ + size_t n; \ + for ( n = 0; n < max_size && \ + (c = getc( xbt_graph_parse_in )) != EOF && c != '\n'; ++n ) \ + buf[n] = (char) c; \ + if ( c == '\n' ) \ + buf[n++] = (char) c; \ + if ( c == EOF && ferror( xbt_graph_parse_in ) ) \ + YY_FATAL_ERROR( "input in flex scanner failed" ); \ + result = n; \ + } \ + else \ + { \ + errno=0; \ + while ( (result = fread(buf, 1, max_size, xbt_graph_parse_in))==0 && ferror(xbt_graph_parse_in)) \ + { \ + if( errno != EINTR) \ + { \ + YY_FATAL_ERROR( "input in flex scanner failed" ); \ + break; \ + } \ + errno=0; \ + clearerr(xbt_graph_parse_in); \ + } \ + }\ \ #endif @@ -1539,43 +1539,43 @@ extern int xbt_graph_parse_lex (void); #endif #define YY_RULE_SETUP \ - YY_USER_ACTION + YY_USER_ACTION /** The main scanner function which does all the work. */ YY_DECL { - yy_state_type yy_current_state; - char *yy_cp, *yy_bp; - int yy_act; - - if ( !(yy_init) ) - { - (yy_init) = 1; + yy_state_type yy_current_state; + char *yy_cp, *yy_bp; + int yy_act; + + if ( !(yy_init) ) + { + (yy_init) = 1; #ifdef YY_USER_INIT - YY_USER_INIT; + YY_USER_INIT; #endif - if ( ! (yy_start) ) - (yy_start) = 1; /* first start state */ + if ( ! (yy_start) ) + (yy_start) = 1; /* first start state */ - if ( ! xbt_graph_parse_in ) - xbt_graph_parse_in = stdin; + if ( ! xbt_graph_parse_in ) + xbt_graph_parse_in = stdin; - if ( ! xbt_graph_parse_out ) - xbt_graph_parse_out = stdout; + 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 ); - } + 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( ); - } + xbt_graph_parse__load_buffer_state( ); + } - { + { /* Bypass Flex's default INITIAL state and begin by parsing the XML prolog. */ SET(PROLOG); @@ -1609,6 +1609,9 @@ YY_DECL 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"; @@ -1621,547 +1624,544 @@ YY_DECL 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. */ - while ( 1 ) /* loops until end-of-file is reached */ - { - yy_cp = (yy_c_buf_p); + while ( 1 ) /* loops until end-of-file is reached */ + { + yy_cp = (yy_c_buf_p); - /* Support of xbt_graph_parse_text. */ - *yy_cp = (yy_hold_char); + /* Support of xbt_graph_parse_text. */ + *yy_cp = (yy_hold_char); - /* yy_bp points to the position in yy_ch_buf of the start of - * the current run. - */ - yy_bp = yy_cp; + /* yy_bp points to the position in yy_ch_buf of the start of + * the current run. + */ + yy_bp = yy_cp; - yy_current_state = (yy_start); + yy_current_state = (yy_start); yy_match: - do - { - 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; - (yy_last_accepting_cpos) = yy_cp; - } - 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 >= 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] != 1586 ); + do + { + 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; + (yy_last_accepting_cpos) = yy_cp; + } + 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 >= 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] != 1586 ); yy_find_action: - yy_act = yy_accept[yy_current_state]; - if ( yy_act == 0 ) - { /* have to back up */ - yy_cp = (yy_last_accepting_cpos); - yy_current_state = (yy_last_accepting_state); - yy_act = yy_accept[yy_current_state]; - } - - YY_DO_BEFORE_ACTION; - - if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] ) - { - yy_size_t yyl; - for ( yyl = 0; yyl < xbt_graph_parse_leng; ++yyl ) - if ( xbt_graph_parse_text[yyl] == '\n' ) - + yy_act = yy_accept[yy_current_state]; + if ( yy_act == 0 ) + { /* have to back up */ + yy_cp = (yy_last_accepting_cpos); + yy_current_state = (yy_last_accepting_state); + yy_act = yy_accept[yy_current_state]; + } + + YY_DO_BEFORE_ACTION; + + if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] ) + { + yy_size_t yyl; + for ( yyl = 0; yyl < xbt_graph_parse_leng; ++yyl ) + if ( xbt_graph_parse_text[yyl] == '\n' ) + xbt_graph_parse_lineno++; ; - } + } -do_action: /* This label is used only to access EOF actions. */ +do_action: /* This label is used only to access EOF actions. */ - switch ( yy_act ) - { /* beginning of action switch */ - case 0: /* must back up */ - /* undo the effects of YY_DO_BEFORE_ACTION */ - *yy_cp = (yy_hold_char); - yy_cp = (yy_last_accepting_cpos); - yy_current_state = (yy_last_accepting_state); - goto yy_find_action; + switch ( yy_act ) + { /* beginning of action switch */ + case 0: /* must back up */ + /* undo the effects of YY_DO_BEFORE_ACTION */ + *yy_cp = (yy_hold_char); + yy_cp = (yy_last_accepting_cpos); + yy_current_state = (yy_last_accepting_state); + goto yy_find_action; case 1: YY_RULE_SETUP ENTER(INCOMMENT); - YY_BREAK + YY_BREAK case 2: YY_RULE_SETUP ENTER(INPI); - YY_BREAK + YY_BREAK case 3: YY_RULE_SETUP LEAVE; - YY_BREAK + YY_BREAK case 4: case 5: case 6: /* rule 6 can match eol */ YY_RULE_SETUP SKIP; - YY_BREAK + YY_BREAK case YY_STATE_EOF(INCOMMENT): FAIL("EOF in comment."); - YY_BREAK + YY_BREAK case 7: YY_RULE_SETUP LEAVE; - YY_BREAK + YY_BREAK case 8: case 9: /* rule 9 can match eol */ YY_RULE_SETUP SKIP; - YY_BREAK + YY_BREAK case YY_STATE_EOF(INPI): FAIL("EOF in PI (processing instruction)."); - YY_BREAK + YY_BREAK /* SPACES: skipped uniformly */ case 10: /* rule 10 can match eol */ YY_RULE_SETUP SKIP; - YY_BREAK + YY_BREAK /* PROLOG: determine root element and process it. */ case 11: /* rule 11 can match eol */ YY_RULE_SETUP -SET(DOCTYPE); - YY_BREAK +SET(DOCTYPE); + YY_BREAK case 12: /* rule 12 can match eol */ YY_RULE_SETUP FAIL("Bad declaration %s.",xbt_graph_parse_text); - YY_BREAK + YY_BREAK case 13: /* rule 13 can match eol */ YY_RULE_SETUP -SET(ROOT_graphxml_graph); - YY_BREAK +SET(ROOT_graphxml_edge); + YY_BREAK case 14: /* rule 14 can match eol */ YY_RULE_SETUP -SET(ROOT_graphxml_edge); - YY_BREAK +SET(ROOT_graphxml_graph); + YY_BREAK case 15: /* rule 15 can match eol */ YY_RULE_SETUP SET(ROOT_graphxml_node); - YY_BREAK + YY_BREAK case 16: /* rule 16 can match eol */ YY_RULE_SETUP FAIL("Bad declaration %s.",xbt_graph_parse_text); - YY_BREAK + YY_BREAK case 17: YY_RULE_SETUP FAIL("Unexpected character `%c' in prolog.", xbt_graph_parse_text[0]); - YY_BREAK + YY_BREAK case YY_STATE_EOF(PROLOG): case YY_STATE_EOF(DOCTYPE): FAIL("EOF in prolog."); - YY_BREAK + YY_BREAK /* RULES DERIVED FROM DTD. */ -/* */ -/* isDirected (true|false) "true" +/* 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 -FAIL("Starting tag is not allowed here."); - YY_BREAK +FAIL("Starting tag is not allowed here."); + YY_BREAK case 19: /* rule 19 can match eol */ YY_RULE_SETUP { - AX_graphxml_graph_isDirected = A_graphxml_graph_isDirected_true; - graphxml_graph_isDirected_isset = 0; - ENTER(AL_graphxml_graph); pushbuffer(0); + 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 + YY_BREAK case 20: /* rule 20 can match eol */ +YY_RULE_SETUP +if (graphxml_edge_data_isset != 0) {FAIL("Multiple definition of attribute data in ");} graphxml_edge_data_isset = 1; ENTER(VALUE1); BUFFERSET(AX_graphxml_edge_data); + YY_BREAK case 21: /* rule 21 can match eol */ YY_RULE_SETUP -A_graphxml_graph_isDirected = A_graphxml_graph_isDirected_true; - YY_BREAK +if (graphxml_edge_data_isset != 0) {FAIL("Multiple definition of attribute data in ");} graphxml_edge_data_isset = 1; ENTER(VALUE2); BUFFERSET(AX_graphxml_edge_data); + YY_BREAK case 22: /* rule 22 can match eol */ +YY_RULE_SETUP +if (graphxml_edge_label_isset != 0) {FAIL("Multiple definition of attribute label in ");} graphxml_edge_label_isset = 1; ENTER(VALUE1); BUFFERSET(AX_graphxml_edge_label); + YY_BREAK case 23: /* rule 23 can match eol */ YY_RULE_SETUP -A_graphxml_graph_isDirected = A_graphxml_graph_isDirected_false; - YY_BREAK +if (graphxml_edge_label_isset != 0) {FAIL("Multiple definition of attribute label in ");} graphxml_edge_label_isset = 1; ENTER(VALUE2); BUFFERSET(AX_graphxml_edge_label); + YY_BREAK case 24: +/* rule 24 can match eol */ YY_RULE_SETUP -{ - LEAVE; STag_graphxml_graph();graphxml_pcdata_ix = 0; ENTER(S_graphxml_graph); - } - YY_BREAK +if (graphxml_edge_length_isset != 0) {FAIL("Multiple definition of attribute length in ");} graphxml_edge_length_isset = 1; ENTER(VALUE1); BUFFERSET(AX_graphxml_edge_length); + YY_BREAK case 25: +/* rule 25 can match eol */ YY_RULE_SETUP -{ - 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 +if (graphxml_edge_length_isset != 0) {FAIL("Multiple definition of attribute length in ");} graphxml_edge_length_isset = 1; ENTER(VALUE2); BUFFERSET(AX_graphxml_edge_length); + YY_BREAK case 26: +/* rule 26 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of graph element.", xbt_graph_parse_text[0]); - YY_BREAK +if (graphxml_edge_name_isset != 0) {FAIL("Multiple definition of attribute name in ");} graphxml_edge_name_isset = 1; ENTER(VALUE1); BUFFERSET(AX_graphxml_edge_name); + YY_BREAK case 27: +/* rule 27 can match eol */ YY_RULE_SETUP -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 - +if (graphxml_edge_name_isset != 0) {FAIL("Multiple definition of attribute name in ");} graphxml_edge_name_isset = 1; ENTER(VALUE2); BUFFERSET(AX_graphxml_edge_name); + YY_BREAK case 28: /* rule 28 can match eol */ YY_RULE_SETUP -{ - LEAVE; - ETag_graphxml_graph(); - popbuffer(); /* attribute */ - switch (YY_START) { - case ROOT_graphxml_graph: SET(EPILOG); break; - } - } - YY_BREAK +if (graphxml_edge_source_isset != 0) {FAIL("Multiple definition of attribute source in ");} graphxml_edge_source_isset = 1; ENTER(VALUE1); BUFFERSET(AX_graphxml_edge_source); + YY_BREAK case 29: /* rule 29 can match eol */ YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",xbt_graph_parse_text); - YY_BREAK +if (graphxml_edge_source_isset != 0) {FAIL("Multiple definition of attribute source in ");} graphxml_edge_source_isset = 1; ENTER(VALUE2); BUFFERSET(AX_graphxml_edge_source); + YY_BREAK case 30: +/* rule 30 can match eol */ YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",xbt_graph_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(S_graphxml_graph): -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_1): -FAIL("Premature EOF: `' expected."); - YY_BREAK - -/* label CDATA "" - * name CDATA #REQUIRED - * data CDATA "" - * position_x CDATA "-1.0" - * position_y CDATA "-1.0" - * > */ +if (graphxml_edge_target_isset != 0) {FAIL("Multiple definition of attribute target in ");} graphxml_edge_target_isset = 1; ENTER(VALUE1); BUFFERSET(AX_graphxml_edge_target); + YY_BREAK case 31: /* rule 31 can match eol */ YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK +if (graphxml_edge_target_isset != 0) {FAIL("Multiple definition of attribute target in ");} graphxml_edge_target_isset = 1; ENTER(VALUE2); BUFFERSET(AX_graphxml_edge_target); + YY_BREAK case 32: -/* rule 32 can match eol */ YY_RULE_SETUP { - AX_graphxml_node_label = 0; - graphxml_node_label_isset = 0; - AX_graphxml_node_name = 0; - graphxml_node_name_isset = 0; - AX_graphxml_node_data = 0; - graphxml_node_data_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 - + 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 33: -/* rule 33 can match eol */ YY_RULE_SETUP -if (graphxml_node_label_isset != 0) {FAIL("Multiple definition of attribute label in ");} graphxml_node_label_isset = 1; ENTER(VALUE1); BUFFERSET(AX_graphxml_node_label); - YY_BREAK +{ + 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 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 34: -/* rule 34 can match eol */ YY_RULE_SETUP -if (graphxml_node_label_isset != 0) {FAIL("Multiple definition of attribute label in ");} graphxml_node_label_isset = 1; ENTER(VALUE2); BUFFERSET(AX_graphxml_node_label); - YY_BREAK +FAIL("Unexpected character `%c' in attribute list of edge element.", xbt_graph_parse_text[0]); + YY_BREAK case 35: -/* rule 35 can match eol */ YY_RULE_SETUP -if (graphxml_node_name_isset != 0) {FAIL("Multiple definition of attribute name in ");} graphxml_node_name_isset = 1; ENTER(VALUE1); BUFFERSET(AX_graphxml_node_name); - YY_BREAK +FAIL("Bad attribute `%s' in `edge' element start tag.",xbt_graph_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_graphxml_edge): +FAIL("EOF in attribute list of `edge' element."); + YY_BREAK + case 36: /* rule 36 can match eol */ YY_RULE_SETUP -if (graphxml_node_name_isset != 0) {FAIL("Multiple definition of attribute name in ");} graphxml_node_name_isset = 1; ENTER(VALUE2); BUFFERSET(AX_graphxml_node_name); - YY_BREAK +{ + LEAVE; + ETag_graphxml_edge(); + popbuffer(); /* attribute */ + switch (YY_START) { + 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 37: /* rule 37 can match eol */ YY_RULE_SETUP -if (graphxml_node_data_isset != 0) {FAIL("Multiple definition of attribute data in ");} graphxml_node_data_isset = 1; ENTER(VALUE1); BUFFERSET(AX_graphxml_node_data); - YY_BREAK +FAIL("Unexpected end-tag `%s': `' expected.",xbt_graph_parse_text); + YY_BREAK case 38: -/* rule 38 can match eol */ YY_RULE_SETUP -if (graphxml_node_data_isset != 0) {FAIL("Multiple definition of attribute data in ");} graphxml_node_data_isset = 1; ENTER(VALUE2); BUFFERSET(AX_graphxml_node_data); - YY_BREAK +FAIL("Unexpected character `%c': `' expected.",xbt_graph_parse_text[0]); + YY_BREAK +case YY_STATE_EOF(E_graphxml_edge): +FAIL("Premature EOF: `' expected."); + YY_BREAK + +/* */ +/* isDirected (true|false) "true" + * > */ case 39: /* rule 39 can match eol */ YY_RULE_SETUP -if (graphxml_node_position___x_isset != 0) {FAIL("Multiple definition of attribute position_x in ");} graphxml_node_position___x_isset = 1; ENTER(VALUE1); BUFFERSET(AX_graphxml_node_position___x); - YY_BREAK +FAIL("Starting tag is not allowed here."); + YY_BREAK case 40: /* rule 40 can match eol */ YY_RULE_SETUP -if (graphxml_node_position___x_isset != 0) {FAIL("Multiple definition of attribute position_x in ");} graphxml_node_position___x_isset = 1; ENTER(VALUE2); BUFFERSET(AX_graphxml_node_position___x); - YY_BREAK +{ + 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 -if (graphxml_node_position___y_isset != 0) {FAIL("Multiple definition of attribute position_y in ");} graphxml_node_position___y_isset = 1; ENTER(VALUE1); BUFFERSET(AX_graphxml_node_position___y); - YY_BREAK case 42: /* rule 42 can match eol */ YY_RULE_SETUP -if (graphxml_node_position___y_isset != 0) {FAIL("Multiple definition of attribute position_y in ");} graphxml_node_position___y_isset = 1; ENTER(VALUE2); BUFFERSET(AX_graphxml_node_position___y); - YY_BREAK +A_graphxml_graph_isDirected = A_graphxml_graph_isDirected_true; + YY_BREAK case 43: +/* rule 43 can match eol */ +case 44: +/* rule 44 can match eol */ +YY_RULE_SETUP +A_graphxml_graph_isDirected = A_graphxml_graph_isDirected_false; + YY_BREAK +case 45: YY_RULE_SETUP { - 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); + LEAVE; STag_graphxml_graph();graphxml_pcdata_ix = 0; ENTER(S_graphxml_graph); } - YY_BREAK -case 44: + YY_BREAK +case 46: YY_RULE_SETUP { - 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 */ + LEAVE; STag_graphxml_graph(); graphxml_pcdata_ix = 0; ETag_graphxml_graph(); popbuffer(); /* attribute */ switch (YY_START) { - case S_graphxml_graph: case S_graphxml_graph_2: case S_graphxml_graph_3: SET(S_graphxml_graph_3); break; - case ROOT_graphxml_node: SET(EPILOG); break; + case ROOT_graphxml_graph: SET(EPILOG); break; } } - YY_BREAK -case 45: + YY_BREAK +case 47: YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of node element.", xbt_graph_parse_text[0]); - YY_BREAK -case 46: +FAIL("Unexpected character `%c' in attribute list of graph element.", xbt_graph_parse_text[0]); + YY_BREAK +case 48: YY_RULE_SETUP -FAIL("Bad attribute `%s' in `node' element start tag.",xbt_graph_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_graphxml_node): -FAIL("EOF in attribute list of `node' element."); - YY_BREAK +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 47: -/* rule 47 can match eol */ +case 49: +/* rule 49 can match eol */ YY_RULE_SETUP { LEAVE; - ETag_graphxml_node(); + ETag_graphxml_graph(); popbuffer(); /* attribute */ switch (YY_START) { - case S_graphxml_graph: case S_graphxml_graph_2: case S_graphxml_graph_3: SET(S_graphxml_graph_3); break; - case ROOT_graphxml_node: SET(EPILOG); break; + case ROOT_graphxml_graph: SET(EPILOG); break; } } - YY_BREAK -case 48: -/* rule 48 can match eol */ -YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",xbt_graph_parse_text); - YY_BREAK -case 49: -YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",xbt_graph_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(E_graphxml_node): -FAIL("Premature EOF: `' expected."); - YY_BREAK - -/* label CDATA "" - * name CDATA #IMPLIED - * source CDATA #REQUIRED - * target CDATA #REQUIRED - * length CDATA "-1.0" - * data CDATA "" - * > */ + YY_BREAK case 50: /* rule 50 can match eol */ YY_RULE_SETUP -FAIL("Starting tag is not allowed here."); - YY_BREAK +FAIL("Unexpected end-tag `%s': `' expected.",xbt_graph_parse_text); + YY_BREAK case 51: -/* rule 51 can match eol */ YY_RULE_SETUP -{ - AX_graphxml_edge_label = 0; - graphxml_edge_label_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; - AX_graphxml_edge_length = 11; - graphxml_edge_length_isset = 0; - AX_graphxml_edge_data = 0; - graphxml_edge_data_isset = 0; - ENTER(AL_graphxml_edge); pushbuffer(0); - } - YY_BREAK +FAIL("Unexpected character `%c': `' 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: `' 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 -if (graphxml_edge_label_isset != 0) {FAIL("Multiple definition of attribute label in ");} graphxml_edge_label_isset = 1; ENTER(VALUE1); BUFFERSET(AX_graphxml_edge_label); - YY_BREAK +FAIL("Starting tag is not allowed here."); + YY_BREAK case 53: /* rule 53 can match eol */ YY_RULE_SETUP -if (graphxml_edge_label_isset != 0) {FAIL("Multiple definition of attribute label in ");} graphxml_edge_label_isset = 1; ENTER(VALUE2); BUFFERSET(AX_graphxml_edge_label); - YY_BREAK +{ + 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_edge_name_isset != 0) {FAIL("Multiple definition of attribute name in ");} graphxml_edge_name_isset = 1; ENTER(VALUE1); BUFFERSET(AX_graphxml_edge_name); - YY_BREAK +if (graphxml_node_data_isset != 0) {FAIL("Multiple definition of attribute data in ");} 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_edge_name_isset != 0) {FAIL("Multiple definition of attribute name in ");} graphxml_edge_name_isset = 1; ENTER(VALUE2); BUFFERSET(AX_graphxml_edge_name); - YY_BREAK +if (graphxml_node_data_isset != 0) {FAIL("Multiple definition of attribute data in ");} 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_edge_source_isset != 0) {FAIL("Multiple definition of attribute source in ");} graphxml_edge_source_isset = 1; ENTER(VALUE1); BUFFERSET(AX_graphxml_edge_source); - YY_BREAK +if (graphxml_node_label_isset != 0) {FAIL("Multiple definition of attribute label in ");} 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_edge_source_isset != 0) {FAIL("Multiple definition of attribute source in ");} graphxml_edge_source_isset = 1; ENTER(VALUE2); BUFFERSET(AX_graphxml_edge_source); - YY_BREAK +if (graphxml_node_label_isset != 0) {FAIL("Multiple definition of attribute label in ");} 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_edge_target_isset != 0) {FAIL("Multiple definition of attribute target in ");} graphxml_edge_target_isset = 1; ENTER(VALUE1); BUFFERSET(AX_graphxml_edge_target); - YY_BREAK +if (graphxml_node_name_isset != 0) {FAIL("Multiple definition of attribute name in ");} 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_edge_target_isset != 0) {FAIL("Multiple definition of attribute target in ");} graphxml_edge_target_isset = 1; ENTER(VALUE2); BUFFERSET(AX_graphxml_edge_target); - YY_BREAK +if (graphxml_node_name_isset != 0) {FAIL("Multiple definition of attribute name in ");} 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_edge_length_isset != 0) {FAIL("Multiple definition of attribute length in ");} graphxml_edge_length_isset = 1; ENTER(VALUE1); BUFFERSET(AX_graphxml_edge_length); - YY_BREAK +if (graphxml_node_position___x_isset != 0) {FAIL("Multiple definition of attribute position_x in ");} 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_edge_length_isset != 0) {FAIL("Multiple definition of attribute length in ");} graphxml_edge_length_isset = 1; ENTER(VALUE2); BUFFERSET(AX_graphxml_edge_length); - YY_BREAK +if (graphxml_node_position___x_isset != 0) {FAIL("Multiple definition of attribute position_x in ");} 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_edge_data_isset != 0) {FAIL("Multiple definition of attribute data in ");} graphxml_edge_data_isset = 1; ENTER(VALUE1); BUFFERSET(AX_graphxml_edge_data); - YY_BREAK +if (graphxml_node_position___y_isset != 0) {FAIL("Multiple definition of attribute position_y in ");} 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_edge_data_isset != 0) {FAIL("Multiple definition of attribute data in ");} graphxml_edge_data_isset = 1; ENTER(VALUE2); BUFFERSET(AX_graphxml_edge_data); - YY_BREAK +if (graphxml_node_position___y_isset != 0) {FAIL("Multiple definition of attribute position_y in ");} graphxml_node_position___y_isset = 1; ENTER(VALUE2); BUFFERSET(AX_graphxml_node_position___y); + YY_BREAK case 64: YY_RULE_SETUP { - 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); + 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 + YY_BREAK case 65: YY_RULE_SETUP { - 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 */ + 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 ROOT_graphxml_edge: SET(EPILOG); break; - case S_graphxml_graph_5: case S_graphxml_graph_4: case S_graphxml_graph_1: case S_graphxml_graph: case S_graphxml_graph_3: SET(S_graphxml_graph_5); 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 + YY_BREAK case 66: YY_RULE_SETUP -FAIL("Unexpected character `%c' in attribute list of edge element.", xbt_graph_parse_text[0]); - YY_BREAK +FAIL("Unexpected character `%c' in attribute list of node element.", xbt_graph_parse_text[0]); + YY_BREAK case 67: YY_RULE_SETUP -FAIL("Bad attribute `%s' in `edge' element start tag.",xbt_graph_parse_text); - YY_BREAK -case YY_STATE_EOF(AL_graphxml_edge): -FAIL("EOF in attribute list of `edge' element."); - YY_BREAK +FAIL("Bad attribute `%s' in `node' element start tag.",xbt_graph_parse_text); + YY_BREAK +case YY_STATE_EOF(AL_graphxml_node): +FAIL("EOF in attribute list of `node' element."); + YY_BREAK case 68: /* rule 68 can match eol */ YY_RULE_SETUP { LEAVE; - ETag_graphxml_edge(); + ETag_graphxml_node(); popbuffer(); /* attribute */ switch (YY_START) { - case ROOT_graphxml_edge: SET(EPILOG); break; - case S_graphxml_graph_5: case S_graphxml_graph_4: case S_graphxml_graph_1: case S_graphxml_graph: case S_graphxml_graph_3: SET(S_graphxml_graph_5); 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 + YY_BREAK case 69: /* rule 69 can match eol */ YY_RULE_SETUP -FAIL("Unexpected end-tag `%s': `' expected.",xbt_graph_parse_text); - YY_BREAK +FAIL("Unexpected end-tag `%s': `' expected.",xbt_graph_parse_text); + YY_BREAK case 70: YY_RULE_SETUP -FAIL("Unexpected character `%c': `' expected.",xbt_graph_parse_text[0]); - YY_BREAK -case YY_STATE_EOF(E_graphxml_edge): -FAIL("Premature EOF: `' expected."); - YY_BREAK +FAIL("Unexpected character `%c': `' expected.",xbt_graph_parse_text[0]); + YY_BREAK +case YY_STATE_EOF(E_graphxml_node): +FAIL("Premature EOF: `' expected."); + YY_BREAK /* EPILOG: after the root element. */ case 71: YY_RULE_SETUP {SET(PROLOG); yyless(0); CLEANUP; return -1;} - YY_BREAK + YY_BREAK case YY_STATE_EOF(EPILOG): SUCCEED; - YY_BREAK + YY_BREAK /* CHARACTER DATA. */ @@ -2169,32 +2169,32 @@ SUCCEED; case 72: YY_RULE_SETUP BUFFERPUTC('&'); - YY_BREAK + YY_BREAK case 73: YY_RULE_SETUP BUFFERPUTC('<'); - YY_BREAK + YY_BREAK case 74: YY_RULE_SETUP BUFFERPUTC('>'); - YY_BREAK + YY_BREAK case 75: YY_RULE_SETUP BUFFERPUTC('\''); - YY_BREAK + YY_BREAK case 76: YY_RULE_SETUP BUFFERPUTC('"'); - YY_BREAK + YY_BREAK /* Character entities. */ case 77: YY_RULE_SETUP BUFFERPUTC((unsigned char)atoi(xbt_graph_parse_text+2)); - YY_BREAK + YY_BREAK case 78: YY_RULE_SETUP BUFFERPUTC((unsigned char)strtol(xbt_graph_parse_text+3,NULL,16)); - YY_BREAK + YY_BREAK case 79: /* rule 79 can match eol */ @@ -2206,55 +2206,55 @@ case 82: /* rule 82 can match eol */ YY_RULE_SETUP BUFFERPUTC('\n'); - YY_BREAK + YY_BREAK case 83: YY_RULE_SETUP ENTER(CDATA); - YY_BREAK + YY_BREAK case 84: YY_RULE_SETUP FAIL("Unexpected `]""]>' in character data."); - YY_BREAK + YY_BREAK case 85: YY_RULE_SETUP BUFFERDONE; LEAVE; - YY_BREAK + YY_BREAK case YY_STATE_EOF(VALUE1): FAIL("EOF in literal (\"'\" expected)."); - YY_BREAK + YY_BREAK case 86: YY_RULE_SETUP BUFFERDONE; LEAVE; - YY_BREAK + YY_BREAK case YY_STATE_EOF(VALUE2): FAIL("EOF in literal (`\"' expected)."); - YY_BREAK + YY_BREAK case 87: /* rule 87 can match eol */ YY_RULE_SETUP BUFFERPUTC(xbt_graph_parse_text[0]); - YY_BREAK + YY_BREAK case 88: YY_RULE_SETUP FAIL("Spurious `%c' in character data.",xbt_graph_parse_text[0]); - YY_BREAK + YY_BREAK case 89: YY_RULE_SETUP LEAVE; - YY_BREAK -/* "]""]" BUFFERPUTC(xbt_graph_parse_text[0]); BUFFERPUTC(xbt_graph_parse_text[1]); */ + YY_BREAK +/* "]""]" BUFFERPUTC(xbt_graph_parse_text[0]); BUFFERPUTC(xbt_graph_parse_text[1]); */ case 90: YY_RULE_SETUP BUFFERPUTC(xbt_graph_parse_text[0]); - YY_BREAK + YY_BREAK case YY_STATE_EOF(CDATA): FAIL("EOF in CDATA section."); - YY_BREAK + YY_BREAK /* Impossible rules to avoid warnings from flex(1). */ /* Ideally, this should be replaced by code in flexml.pl that @@ -2264,345 +2264,345 @@ case 91: /* rule 91 can match eol */ YY_RULE_SETUP FAIL("Syntax error on character `%c'.", xbt_graph_parse_text[0]); - YY_BREAK + YY_BREAK case 92: YY_RULE_SETUP ECHO; - YY_BREAK + YY_BREAK 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(); - - case YY_END_OF_BUFFER: - { - /* Amount of text matched not including the EOB char. */ - int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; - - /* Undo the effects of YY_DO_BEFORE_ACTION. */ - *yy_cp = (yy_hold_char); - YY_RESTORE_YY_MORE_OFFSET - - if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) - { - /* We're scanning a new file or input source. It's - * possible that this happened because the user - * just pointed xbt_graph_parse_in at a new source and called - * xbt_graph_parse_lex(). If so, then we have to assure - * consistency between YY_CURRENT_BUFFER and our - * globals. Here is the right place to do so, because - * this is the first action (other than possibly a - * back-up) that will match for the new input source. - */ - (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; - YY_CURRENT_BUFFER_LVALUE->yy_input_file = xbt_graph_parse_in; - YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; - } - - /* Note that here we test for yy_c_buf_p "<=" to the position - * of the first EOB in the buffer, since yy_c_buf_p will - * already have been incremented past the NUL character - * (since all states make transitions on EOB to the - * end-of-buffer state). Contrast this with the test - * in input(). - */ - if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) - { /* This was really a NUL. */ - yy_state_type yy_next_state; - - (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state( ); - - /* Okay, we're now positioned to make the NUL - * transition. We couldn't have - * yy_get_previous_state() go ahead and do it - * for us because it doesn't know how to deal - * with the possibility of jamming (and we don't - * want to build jamming into it because then it - * will run more slowly). - */ - - yy_next_state = yy_try_NUL_trans( yy_current_state ); - - yy_bp = (yytext_ptr) + YY_MORE_ADJ; - - if ( yy_next_state ) - { - /* Consume the NUL. */ - yy_cp = ++(yy_c_buf_p); - yy_current_state = yy_next_state; - goto yy_match; - } - - else - { - yy_cp = (yy_c_buf_p); - goto yy_find_action; - } - } - - else switch ( yy_get_next_buffer( ) ) - { - case EOB_ACT_END_OF_FILE: - { - (yy_did_buffer_switch_on_eof) = 0; - - if ( xbt_graph_parse_wrap( ) ) - { - /* Note: because we've taken care in - * yy_get_next_buffer() to have set up - * xbt_graph_parse_text, we can now set up - * yy_c_buf_p so that if some total - * hoser (like flex itself) wants to - * call the scanner after we return the - * YY_NULL, it'll still work - another - * YY_NULL will get returned. - */ - (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; - - yy_act = YY_STATE_EOF(YY_START); - goto do_action; - } - - else - { - if ( ! (yy_did_buffer_switch_on_eof) ) - YY_NEW_FILE; - } - break; - } - - case EOB_ACT_CONTINUE_SCAN: - (yy_c_buf_p) = - (yytext_ptr) + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state( ); - - yy_cp = (yy_c_buf_p); - yy_bp = (yytext_ptr) + YY_MORE_ADJ; - goto yy_match; - - case EOB_ACT_LAST_MATCH: - (yy_c_buf_p) = - &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; - - yy_current_state = yy_get_previous_state( ); - - yy_cp = (yy_c_buf_p); - yy_bp = (yytext_ptr) + YY_MORE_ADJ; - goto yy_find_action; - } - break; - } - - default: - YY_FATAL_ERROR( - "fatal flex scanner internal error--no action found" ); - } /* end of action switch */ - } /* end of scanning one token */ - } /* end of user's declarations */ + yyterminate(); + + case YY_END_OF_BUFFER: + { + /* Amount of text matched not including the EOB char. */ + int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; + + /* Undo the effects of YY_DO_BEFORE_ACTION. */ + *yy_cp = (yy_hold_char); + YY_RESTORE_YY_MORE_OFFSET + + if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) + { + /* We're scanning a new file or input source. It's + * possible that this happened because the user + * just pointed xbt_graph_parse_in at a new source and called + * xbt_graph_parse_lex(). If so, then we have to assure + * consistency between YY_CURRENT_BUFFER and our + * globals. Here is the right place to do so, because + * this is the first action (other than possibly a + * back-up) that will match for the new input source. + */ + (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; + YY_CURRENT_BUFFER_LVALUE->yy_input_file = xbt_graph_parse_in; + YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; + } + + /* Note that here we test for yy_c_buf_p "<=" to the position + * of the first EOB in the buffer, since yy_c_buf_p will + * already have been incremented past the NUL character + * (since all states make transitions on EOB to the + * end-of-buffer state). Contrast this with the test + * in input(). + */ + if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) + { /* This was really a NUL. */ + yy_state_type yy_next_state; + + (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; + + yy_current_state = yy_get_previous_state( ); + + /* Okay, we're now positioned to make the NUL + * transition. We couldn't have + * yy_get_previous_state() go ahead and do it + * for us because it doesn't know how to deal + * with the possibility of jamming (and we don't + * want to build jamming into it because then it + * will run more slowly). + */ + + yy_next_state = yy_try_NUL_trans( yy_current_state ); + + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + + if ( yy_next_state ) + { + /* Consume the NUL. */ + yy_cp = ++(yy_c_buf_p); + yy_current_state = yy_next_state; + goto yy_match; + } + + else + { + yy_cp = (yy_c_buf_p); + goto yy_find_action; + } + } + + else switch ( yy_get_next_buffer( ) ) + { + case EOB_ACT_END_OF_FILE: + { + (yy_did_buffer_switch_on_eof) = 0; + + if ( xbt_graph_parse_wrap( ) ) + { + /* Note: because we've taken care in + * yy_get_next_buffer() to have set up + * xbt_graph_parse_text, we can now set up + * yy_c_buf_p so that if some total + * hoser (like flex itself) wants to + * call the scanner after we return the + * YY_NULL, it'll still work - another + * YY_NULL will get returned. + */ + (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; + + yy_act = YY_STATE_EOF(YY_START); + goto do_action; + } + + else + { + if ( ! (yy_did_buffer_switch_on_eof) ) + YY_NEW_FILE; + } + break; + } + + case EOB_ACT_CONTINUE_SCAN: + (yy_c_buf_p) = + (yytext_ptr) + yy_amount_of_matched_text; + + yy_current_state = yy_get_previous_state( ); + + yy_cp = (yy_c_buf_p); + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + goto yy_match; + + case EOB_ACT_LAST_MATCH: + (yy_c_buf_p) = + &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; + + yy_current_state = yy_get_previous_state( ); + + yy_cp = (yy_c_buf_p); + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + goto yy_find_action; + } + break; + } + + default: + YY_FATAL_ERROR( + "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 * * Returns a code representing an action: - * EOB_ACT_LAST_MATCH - - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position - * EOB_ACT_END_OF_FILE - end of file + * EOB_ACT_LAST_MATCH - + * EOB_ACT_CONTINUE_SCAN - continue scanning from current position + * EOB_ACT_END_OF_FILE - end of file */ static int yy_get_next_buffer (void) { - 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] ) - YY_FATAL_ERROR( - "fatal flex scanner internal error--end of buffer missed" ); - - if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) - { /* Don't try to fill the buffer, so this is an EOF. */ - if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) - { - /* We matched a single character, the EOB, so - * treat this as a final EOF. - */ - return EOB_ACT_END_OF_FILE; - } - - else - { - /* We matched some text prior to the EOB, first - * process it. - */ - return EOB_ACT_LAST_MATCH; - } - } - - /* Try to read more data. */ + 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] ) + YY_FATAL_ERROR( + "fatal flex scanner internal error--end of buffer missed" ); + + if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) + { /* Don't try to fill the buffer, so this is an EOF. */ + if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) + { + /* We matched a single character, the EOB, so + * treat this as a final EOF. + */ + return EOB_ACT_END_OF_FILE; + } + + else + { + /* We matched some text prior to the EOB, first + * process it. + */ + return EOB_ACT_LAST_MATCH; + } + } + + /* Try to read more data. */ + + /* First move last chars to start of buffer. */ + number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; + + for ( i = 0; i < number_to_move; ++i ) + *(dest++) = *(source++); + + if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) + /* don't do the read, it's not guaranteed to return an EOF, + * just force an EOF + */ + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; + + else + { + 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_LVALUE; + + int yy_c_buf_p_offset = + (int) ((yy_c_buf_p) - b->yy_ch_buf); + + if ( b->yy_is_our_buffer ) + { + yy_size_t new_size = b->yy_buf_size * 2; + + if ( new_size <= 0 ) + b->yy_buf_size += b->yy_buf_size / 8; + else + b->yy_buf_size *= 2; + + b->yy_ch_buf = (char *) + /* Include room in for 2 EOB chars. */ + xbt_graph_parse_realloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); + } + else + /* Can't grow it, we don't own it. */ + b->yy_ch_buf = 0; + + if ( ! b->yy_ch_buf ) + YY_FATAL_ERROR( + "fatal error - scanner input buffer overflow" ); + + (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; + + num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - + number_to_move - 1; + + } + + if ( num_to_read > YY_READ_BUF_SIZE ) + num_to_read = YY_READ_BUF_SIZE; + + /* Read in more data. */ + YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), + (yy_n_chars), num_to_read ); + + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } + + if ( (yy_n_chars) == 0 ) + { + if ( number_to_move == YY_MORE_ADJ ) + { + ret_val = EOB_ACT_END_OF_FILE; + xbt_graph_parse_restart(xbt_graph_parse_in ); + } + + else + { + ret_val = EOB_ACT_LAST_MATCH; + YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = + YY_BUFFER_EOF_PENDING; + } + } + + 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; + + (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; - /* First move last chars to start of buffer. */ - number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; - - for ( i = 0; i < number_to_move; ++i ) - *(dest++) = *(source++); - - if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) - /* don't do the read, it's not guaranteed to return an EOF, - * just force an EOF - */ - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; - - else - { - 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_LVALUE; - - int yy_c_buf_p_offset = - (int) ((yy_c_buf_p) - b->yy_ch_buf); - - if ( b->yy_is_our_buffer ) - { - yy_size_t new_size = b->yy_buf_size * 2; - - if ( new_size <= 0 ) - b->yy_buf_size += b->yy_buf_size / 8; - else - b->yy_buf_size *= 2; - - b->yy_ch_buf = (char *) - /* Include room in for 2 EOB chars. */ - xbt_graph_parse_realloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); - } - else - /* Can't grow it, we don't own it. */ - b->yy_ch_buf = 0; - - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( - "fatal error - scanner input buffer overflow" ); - - (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; - - num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - - number_to_move - 1; - - } - - if ( num_to_read > YY_READ_BUF_SIZE ) - num_to_read = YY_READ_BUF_SIZE; - - /* Read in more data. */ - YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), - (yy_n_chars), num_to_read ); - - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); - } - - if ( (yy_n_chars) == 0 ) - { - if ( number_to_move == YY_MORE_ADJ ) - { - ret_val = EOB_ACT_END_OF_FILE; - xbt_graph_parse_restart(xbt_graph_parse_in ); - } - - else - { - ret_val = EOB_ACT_LAST_MATCH; - YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = - YY_BUFFER_EOF_PENDING; - } - } - - 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; - - (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; - - return ret_val; + return ret_val; } /* yy_get_previous_state - get the state just before the EOB char was reached */ static yy_state_type yy_get_previous_state (void) { - 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 ) - { - 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; - (yy_last_accepting_cpos) = yy_cp; - } - 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 >= 564 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - } - - return yy_current_state; + 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 ) + { + 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; + (yy_last_accepting_cpos) = yy_cp; + } + 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 >= 564 ) + yy_c = yy_meta[(unsigned int) yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; + } + + return yy_current_state; } /* yy_try_NUL_trans - try to make a transition on the NUL character * * synopsis - * next_state = yy_try_NUL_trans( current_state ); + * next_state = yy_try_NUL_trans( current_state ); */ static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) { - int yy_is_jam; - char *yy_cp = (yy_c_buf_p); - - YY_CHAR yy_c = 1; - if ( yy_accept[yy_current_state] ) - { - (yy_last_accepting_state) = yy_current_state; - (yy_last_accepting_cpos) = yy_cp; - } - 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 >= 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 == 563); - - return yy_is_jam ? 0 : yy_current_state; + int yy_is_jam; + char *yy_cp = (yy_c_buf_p); + + YY_CHAR yy_c = 1; + if ( yy_accept[yy_current_state] ) + { + (yy_last_accepting_state) = yy_current_state; + (yy_last_accepting_cpos) = yy_cp; + } + 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 >= 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 == 563); + + return yy_is_jam ? 0 : yy_current_state; } #ifndef YY_NO_INPUT @@ -2613,185 +2613,185 @@ static int yy_get_next_buffer (void) #endif { - int c; - - *(yy_c_buf_p) = (yy_hold_char); - - if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) - { - /* yy_c_buf_p now points to the character we want to return. - * If this occurs *before* the EOB characters, then it's a - * valid NUL; if not, then we've hit the end of the buffer. - */ - if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) - /* This was really a NUL. */ - *(yy_c_buf_p) = '\0'; - - else - { /* need more input */ - yy_size_t offset = (yy_c_buf_p) - (yytext_ptr); - ++(yy_c_buf_p); - - switch ( yy_get_next_buffer( ) ) - { - case EOB_ACT_LAST_MATCH: - /* This happens because yy_g_n_b() - * sees that we've accumulated a - * token and flags that we need to - * try matching the token before - * proceeding. But for input(), - * there's no matching to consider. - * So convert the EOB_ACT_LAST_MATCH - * to EOB_ACT_END_OF_FILE. - */ - - /* Reset buffer status. */ - xbt_graph_parse_restart(xbt_graph_parse_in ); - - /*FALLTHROUGH*/ - - case EOB_ACT_END_OF_FILE: - { - if ( xbt_graph_parse_wrap( ) ) - return EOF; - - if ( ! (yy_did_buffer_switch_on_eof) ) - YY_NEW_FILE; + int c; + + *(yy_c_buf_p) = (yy_hold_char); + + if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) + { + /* yy_c_buf_p now points to the character we want to return. + * If this occurs *before* the EOB characters, then it's a + * valid NUL; if not, then we've hit the end of the buffer. + */ + if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) + /* This was really a NUL. */ + *(yy_c_buf_p) = '\0'; + + else + { /* need more input */ + yy_size_t offset = (yy_c_buf_p) - (yytext_ptr); + ++(yy_c_buf_p); + + switch ( yy_get_next_buffer( ) ) + { + case EOB_ACT_LAST_MATCH: + /* This happens because yy_g_n_b() + * sees that we've accumulated a + * token and flags that we need to + * try matching the token before + * proceeding. But for input(), + * there's no matching to consider. + * So convert the EOB_ACT_LAST_MATCH + * to EOB_ACT_END_OF_FILE. + */ + + /* Reset buffer status. */ + xbt_graph_parse_restart(xbt_graph_parse_in ); + + /*FALLTHROUGH*/ + + case EOB_ACT_END_OF_FILE: + { + if ( xbt_graph_parse_wrap( ) ) + return EOF; + + if ( ! (yy_did_buffer_switch_on_eof) ) + YY_NEW_FILE; #ifdef __cplusplus - return yyinput(); + return yyinput(); #else - return input(); + return input(); #endif - } + } - case EOB_ACT_CONTINUE_SCAN: - (yy_c_buf_p) = (yytext_ptr) + offset; - break; - } - } - } + case EOB_ACT_CONTINUE_SCAN: + (yy_c_buf_p) = (yytext_ptr) + offset; + break; + } + } + } - c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ - *(yy_c_buf_p) = '\0'; /* preserve xbt_graph_parse_text */ - (yy_hold_char) = *++(yy_c_buf_p); - - if ( c == '\n' ) + c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ + *(yy_c_buf_p) = '\0'; /* preserve xbt_graph_parse_text */ + (yy_hold_char) = *++(yy_c_buf_p); + if ( c == '\n' ) + xbt_graph_parse_lineno++; ; - return c; + return c; } -#endif /* ifndef YY_NO_INPUT */ +#endif /* ifndef YY_NO_INPUT */ /** Immediately switch to a different input stream. * @param input_file A readable stream. - * + * * @note This function does not reset the start condition to @c INITIAL . */ void xbt_graph_parse_restart (FILE * input_file ) { - - if ( ! YY_CURRENT_BUFFER ){ + + if ( ! YY_CURRENT_BUFFER ){ xbt_graph_parse_ensure_buffer_stack (); - YY_CURRENT_BUFFER_LVALUE = + YY_CURRENT_BUFFER_LVALUE = xbt_graph_parse__create_buffer(xbt_graph_parse_in,YY_BUF_SIZE ); - } + } - xbt_graph_parse__init_buffer(YY_CURRENT_BUFFER,input_file ); - xbt_graph_parse__load_buffer_state( ); + xbt_graph_parse__init_buffer(YY_CURRENT_BUFFER,input_file ); + xbt_graph_parse__load_buffer_state( ); } /** Switch to a different input buffer. * @param new_buffer The new input buffer. - * + * */ void xbt_graph_parse__switch_to_buffer (YY_BUFFER_STATE new_buffer ) { - - /* TODO. We should be able to replace this entire function body - * with - * xbt_graph_parse_pop_buffer_state(); - * xbt_graph_parse_push_buffer_state(new_buffer); + + /* TODO. We should be able to replace this entire function body + * with + * xbt_graph_parse_pop_buffer_state(); + * xbt_graph_parse_push_buffer_state(new_buffer); */ - xbt_graph_parse_ensure_buffer_stack (); - if ( YY_CURRENT_BUFFER == new_buffer ) - return; - - if ( YY_CURRENT_BUFFER ) - { - /* Flush out information for old buffer. */ - *(yy_c_buf_p) = (yy_hold_char); - YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); - } - - YY_CURRENT_BUFFER_LVALUE = new_buffer; - xbt_graph_parse__load_buffer_state( ); - - /* We don't actually know whether we did this switch during - * EOF (xbt_graph_parse_wrap()) processing, but the only time this flag - * is looked at is after xbt_graph_parse_wrap() is called, so it's safe - * to go ahead and always set it. - */ - (yy_did_buffer_switch_on_eof) = 1; + xbt_graph_parse_ensure_buffer_stack (); + if ( YY_CURRENT_BUFFER == new_buffer ) + return; + + if ( YY_CURRENT_BUFFER ) + { + /* Flush out information for old buffer. */ + *(yy_c_buf_p) = (yy_hold_char); + YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } + + YY_CURRENT_BUFFER_LVALUE = new_buffer; + xbt_graph_parse__load_buffer_state( ); + + /* We don't actually know whether we did this switch during + * EOF (xbt_graph_parse_wrap()) processing, but the only time this flag + * is looked at is after xbt_graph_parse_wrap() is called, so it's safe + * to go ahead and always set it. + */ + (yy_did_buffer_switch_on_eof) = 1; } static void xbt_graph_parse__load_buffer_state (void) { - (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; - (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; - xbt_graph_parse_in = YY_CURRENT_BUFFER_LVALUE->yy_input_file; - (yy_hold_char) = *(yy_c_buf_p); + (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; + (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; + xbt_graph_parse_in = YY_CURRENT_BUFFER_LVALUE->yy_input_file; + (yy_hold_char) = *(yy_c_buf_p); } /** Allocate and initialize an input buffer state. * @param file A readable stream. * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. - * + * * @return the allocated buffer state. */ YY_BUFFER_STATE xbt_graph_parse__create_buffer (FILE * file, int size ) { - YY_BUFFER_STATE b; - - b = (YY_BUFFER_STATE) xbt_graph_parse_alloc(sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in xbt_graph_parse__create_buffer()" ); + YY_BUFFER_STATE b; + + b = (YY_BUFFER_STATE) xbt_graph_parse_alloc(sizeof( struct yy_buffer_state ) ); + if ( ! b ) + YY_FATAL_ERROR( "out of dynamic memory in xbt_graph_parse__create_buffer()" ); - b->yy_buf_size = size; + b->yy_buf_size = size; - /* yy_ch_buf has to be 2 characters longer than the size given because - * we need to put in 2 end-of-buffer characters. - */ - b->yy_ch_buf = (char *) xbt_graph_parse_alloc(b->yy_buf_size + 2 ); - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( "out of dynamic memory in xbt_graph_parse__create_buffer()" ); + /* yy_ch_buf has to be 2 characters longer than the size given because + * we need to put in 2 end-of-buffer characters. + */ + b->yy_ch_buf = (char *) xbt_graph_parse_alloc(b->yy_buf_size + 2 ); + if ( ! b->yy_ch_buf ) + YY_FATAL_ERROR( "out of dynamic memory in xbt_graph_parse__create_buffer()" ); - b->yy_is_our_buffer = 1; + b->yy_is_our_buffer = 1; - xbt_graph_parse__init_buffer(b,file ); + xbt_graph_parse__init_buffer(b,file ); - return b; + return b; } /** Destroy the buffer. * @param b a buffer created with xbt_graph_parse__create_buffer() - * + * */ void xbt_graph_parse__delete_buffer (YY_BUFFER_STATE b ) { + + if ( ! b ) + return; - if ( ! b ) - return; - - if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ - YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; + if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ + YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; - if ( b->yy_is_our_buffer ) - xbt_graph_parse_free((void *) b->yy_ch_buf ); + if ( b->yy_is_our_buffer ) + xbt_graph_parse_free((void *) b->yy_ch_buf ); - xbt_graph_parse_free((void *) b ); + xbt_graph_parse_free((void *) b ); } /* Initializes or reinitializes a buffer. @@ -2801,12 +2801,12 @@ static void xbt_graph_parse__load_buffer_state (void) static void xbt_graph_parse__init_buffer (YY_BUFFER_STATE b, FILE * file ) { - int oerrno = errno; + int oerrno = errno; + + xbt_graph_parse__flush_buffer(b ); - xbt_graph_parse__flush_buffer(b ); - - b->yy_input_file = file; - b->yy_fill_buffer = 1; + b->yy_input_file = file; + b->yy_fill_buffer = 1; /* If b is the current buffer, then xbt_graph_parse__init_buffer was _probably_ * called from xbt_graph_parse_restart() or through yy_get_next_buffer. @@ -2818,87 +2818,87 @@ static void xbt_graph_parse__load_buffer_state (void) } b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; - - errno = oerrno; + + errno = oerrno; } /** Discard all buffered characters. On the next scan, YY_INPUT will be called. * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. - * + * */ void xbt_graph_parse__flush_buffer (YY_BUFFER_STATE b ) { - if ( ! b ) - return; + if ( ! b ) + return; - b->yy_n_chars = 0; + b->yy_n_chars = 0; - /* We always need two end-of-buffer characters. The first causes - * a transition to the end-of-buffer state. The second causes - * a jam in that state. - */ - b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; - b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; + /* We always need two end-of-buffer characters. The first causes + * a transition to the end-of-buffer state. The second causes + * a jam in that state. + */ + b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; + b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; - b->yy_buf_pos = &b->yy_ch_buf[0]; + b->yy_buf_pos = &b->yy_ch_buf[0]; - b->yy_at_bol = 1; - b->yy_buffer_status = YY_BUFFER_NEW; + b->yy_at_bol = 1; + b->yy_buffer_status = YY_BUFFER_NEW; - if ( b == YY_CURRENT_BUFFER ) - xbt_graph_parse__load_buffer_state( ); + if ( b == YY_CURRENT_BUFFER ) + xbt_graph_parse__load_buffer_state( ); } /** Pushes the new state onto the stack. The new state becomes * the current state. This function will allocate the stack * if necessary. * @param new_buffer The new state. - * + * */ void xbt_graph_parse_push_buffer_state (YY_BUFFER_STATE new_buffer ) { - if (new_buffer == NULL) - return; - - xbt_graph_parse_ensure_buffer_stack(); - - /* This block is copied from xbt_graph_parse__switch_to_buffer. */ - if ( YY_CURRENT_BUFFER ) - { - /* Flush out information for old buffer. */ - *(yy_c_buf_p) = (yy_hold_char); - YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); - } - - /* Only push if top exists. Otherwise, replace top. */ - if (YY_CURRENT_BUFFER) - (yy_buffer_stack_top)++; - YY_CURRENT_BUFFER_LVALUE = new_buffer; - - /* copied from xbt_graph_parse__switch_to_buffer. */ - xbt_graph_parse__load_buffer_state( ); - (yy_did_buffer_switch_on_eof) = 1; + if (new_buffer == NULL) + return; + + xbt_graph_parse_ensure_buffer_stack(); + + /* This block is copied from xbt_graph_parse__switch_to_buffer. */ + if ( YY_CURRENT_BUFFER ) + { + /* Flush out information for old buffer. */ + *(yy_c_buf_p) = (yy_hold_char); + YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } + + /* Only push if top exists. Otherwise, replace top. */ + if (YY_CURRENT_BUFFER) + (yy_buffer_stack_top)++; + YY_CURRENT_BUFFER_LVALUE = new_buffer; + + /* copied from xbt_graph_parse__switch_to_buffer. */ + xbt_graph_parse__load_buffer_state( ); + (yy_did_buffer_switch_on_eof) = 1; } /** Removes and deletes the top of the stack, if present. * The next element becomes the new top. - * + * */ void xbt_graph_parse_pop_buffer_state (void) { - if (!YY_CURRENT_BUFFER) - return; - - xbt_graph_parse__delete_buffer(YY_CURRENT_BUFFER ); - YY_CURRENT_BUFFER_LVALUE = NULL; - if ((yy_buffer_stack_top) > 0) - --(yy_buffer_stack_top); - - if (YY_CURRENT_BUFFER) { - xbt_graph_parse__load_buffer_state( ); - (yy_did_buffer_switch_on_eof) = 1; - } + if (!YY_CURRENT_BUFFER) + return; + + xbt_graph_parse__delete_buffer(YY_CURRENT_BUFFER ); + YY_CURRENT_BUFFER_LVALUE = NULL; + if ((yy_buffer_stack_top) > 0) + --(yy_buffer_stack_top); + + if (YY_CURRENT_BUFFER) { + xbt_graph_parse__load_buffer_state( ); + (yy_did_buffer_switch_on_eof) = 1; + } } /* Allocates the stack if it does not exist. @@ -2906,163 +2906,163 @@ void xbt_graph_parse_pop_buffer_state (void) */ static void xbt_graph_parse_ensure_buffer_stack (void) { - yy_size_t num_to_alloc; - - if (!(yy_buffer_stack)) { + yy_size_t num_to_alloc; + + if (!(yy_buffer_stack)) { - /* First allocation is just for 2 elements, since we don't know if this - * scanner will even need a stack. We use 2 instead of 1 to avoid an - * immediate realloc on the next call. + /* First allocation is just for 2 elements, since we don't know if this + * scanner will even need a stack. We use 2 instead of 1 to avoid an + * immediate realloc on the next call. */ - num_to_alloc = 1; - (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_top) = 0; - return; - } - - if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ - - /* Increase the buffer to prepare for a possible push. */ - int grow_size = 8 /* arbitrary grow size */; - - num_to_alloc = (yy_buffer_stack_max) + grow_size; - (yy_buffer_stack) = (struct yy_buffer_state**)xbt_graph_parse_realloc - ((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*)); - (yy_buffer_stack_max) = num_to_alloc; - } + num_to_alloc = 1; + (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_top) = 0; + return; + } + + if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ + + /* Increase the buffer to prepare for a possible push. */ + int grow_size = 8 /* arbitrary grow size */; + + num_to_alloc = (yy_buffer_stack_max) + grow_size; + (yy_buffer_stack) = (struct yy_buffer_state**)xbt_graph_parse_realloc + ((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*)); + (yy_buffer_stack_max) = num_to_alloc; + } } /** Setup the input buffer state to scan directly from a user-specified character buffer. * @param base the character buffer * @param size the size in bytes of the character buffer - * - * @return the newly allocated buffer state object. + * + * @return the newly allocated buffer state object. */ YY_BUFFER_STATE xbt_graph_parse__scan_buffer (char * base, yy_size_t size ) { - YY_BUFFER_STATE b; - - if ( size < 2 || - base[size-2] != YY_END_OF_BUFFER_CHAR || - base[size-1] != YY_END_OF_BUFFER_CHAR ) - /* They forgot to leave room for the EOB's. */ - return 0; - - b = (YY_BUFFER_STATE) xbt_graph_parse_alloc(sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in xbt_graph_parse__scan_buffer()" ); - - b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ - b->yy_buf_pos = b->yy_ch_buf = base; - b->yy_is_our_buffer = 0; - b->yy_input_file = 0; - b->yy_n_chars = b->yy_buf_size; - b->yy_is_interactive = 0; - b->yy_at_bol = 1; - b->yy_fill_buffer = 0; - b->yy_buffer_status = YY_BUFFER_NEW; - - xbt_graph_parse__switch_to_buffer(b ); - - return b; + YY_BUFFER_STATE b; + + if ( size < 2 || + base[size-2] != YY_END_OF_BUFFER_CHAR || + base[size-1] != YY_END_OF_BUFFER_CHAR ) + /* They forgot to leave room for the EOB's. */ + return 0; + + b = (YY_BUFFER_STATE) xbt_graph_parse_alloc(sizeof( struct yy_buffer_state ) ); + if ( ! b ) + YY_FATAL_ERROR( "out of dynamic memory in xbt_graph_parse__scan_buffer()" ); + + b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ + b->yy_buf_pos = b->yy_ch_buf = base; + b->yy_is_our_buffer = 0; + b->yy_input_file = 0; + b->yy_n_chars = b->yy_buf_size; + b->yy_is_interactive = 0; + b->yy_at_bol = 1; + b->yy_fill_buffer = 0; + b->yy_buffer_status = YY_BUFFER_NEW; + + xbt_graph_parse__switch_to_buffer(b ); + + return b; } /** Setup the input buffer state to scan a string. The next call to xbt_graph_parse_lex() will * scan from a @e copy of @a str. * @param yystr a NUL-terminated string to scan - * + * * @return the newly allocated buffer state object. * @note If you want to scan bytes that may contain NUL values, then use * xbt_graph_parse__scan_bytes() instead. */ YY_BUFFER_STATE xbt_graph_parse__scan_string (yyconst char * yystr ) { - - return xbt_graph_parse__scan_bytes(yystr,strlen(yystr) ); + + return xbt_graph_parse__scan_bytes(yystr,strlen(yystr) ); } /** 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 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, yy_size_t _yybytes_len ) { - YY_BUFFER_STATE b; - char *buf; - yy_size_t n; - yy_size_t i; - - /* Get memory for full buffer, including space for trailing EOB's. */ - n = _yybytes_len + 2; - buf = (char *) xbt_graph_parse_alloc(n ); - if ( ! buf ) - YY_FATAL_ERROR( "out of dynamic memory in xbt_graph_parse__scan_bytes()" ); - - for ( i = 0; i < _yybytes_len; ++i ) - buf[i] = yybytes[i]; - - buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; - - b = xbt_graph_parse__scan_buffer(buf,n ); - if ( ! b ) - YY_FATAL_ERROR( "bad buffer in xbt_graph_parse__scan_bytes()" ); - - /* It's okay to grow etc. this buffer, and we should throw it - * away when we're done. - */ - b->yy_is_our_buffer = 1; - - return b; + YY_BUFFER_STATE b; + char *buf; + yy_size_t n; + yy_size_t i; + + /* Get memory for full buffer, including space for trailing EOB's. */ + n = _yybytes_len + 2; + buf = (char *) xbt_graph_parse_alloc(n ); + if ( ! buf ) + YY_FATAL_ERROR( "out of dynamic memory in xbt_graph_parse__scan_bytes()" ); + + for ( i = 0; i < _yybytes_len; ++i ) + buf[i] = yybytes[i]; + + buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; + + b = xbt_graph_parse__scan_buffer(buf,n ); + if ( ! b ) + YY_FATAL_ERROR( "bad buffer in xbt_graph_parse__scan_bytes()" ); + + /* It's okay to grow etc. this buffer, and we should throw it + * away when we're done. + */ + b->yy_is_our_buffer = 1; + + return b; } static void yy_push_state (int new_state ) { - if ( (yy_start_stack_ptr) >= (yy_start_stack_depth) ) - { - yy_size_t new_size; + if ( (yy_start_stack_ptr) >= (yy_start_stack_depth) ) + { + yy_size_t new_size; - (yy_start_stack_depth) += YY_START_STACK_INCR; - new_size = (yy_start_stack_depth) * sizeof( int ); + (yy_start_stack_depth) += YY_START_STACK_INCR; + new_size = (yy_start_stack_depth) * sizeof( int ); - if ( ! (yy_start_stack) ) - (yy_start_stack) = (int *) xbt_graph_parse_alloc(new_size ); + if ( ! (yy_start_stack) ) + (yy_start_stack) = (int *) xbt_graph_parse_alloc(new_size ); - else - (yy_start_stack) = (int *) xbt_graph_parse_realloc((void *) (yy_start_stack),new_size ); + else + (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" ); - } + if ( ! (yy_start_stack) ) + YY_FATAL_ERROR( "out of memory expanding start-condition stack" ); + } - (yy_start_stack)[(yy_start_stack_ptr)++] = YY_START; + (yy_start_stack)[(yy_start_stack_ptr)++] = YY_START; - BEGIN(new_state); + BEGIN(new_state); } static void yy_pop_state (void) { - if ( --(yy_start_stack_ptr) < 0 ) - YY_FATAL_ERROR( "start-condition stack underflow" ); + if ( --(yy_start_stack_ptr) < 0 ) + YY_FATAL_ERROR( "start-condition stack underflow" ); - BEGIN((yy_start_stack)[(yy_start_stack_ptr)]); + BEGIN((yy_start_stack)[(yy_start_stack_ptr)]); } #ifndef YY_EXIT_FAILURE @@ -3071,40 +3071,40 @@ YY_BUFFER_STATE xbt_graph_parse__scan_bytes (yyconst char * yybytes, yy_size_t static void yy_fatal_error (yyconst char* msg ) { - (void) fprintf( stderr, "%s\n", msg ); - exit( YY_EXIT_FAILURE ); + (void) fprintf( stderr, "%s\n", msg ); + exit( YY_EXIT_FAILURE ); } /* Redefine yyless() so it works in section 3 code. */ #undef yyless #define yyless(n) \ - do \ - { \ - /* Undo effects of setting up xbt_graph_parse_text. */ \ + do \ + { \ + /* Undo effects of setting up xbt_graph_parse_text. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ - xbt_graph_parse_text[xbt_graph_parse_leng] = (yy_hold_char); \ - (yy_c_buf_p) = xbt_graph_parse_text + yyless_macro_arg; \ - (yy_hold_char) = *(yy_c_buf_p); \ - *(yy_c_buf_p) = '\0'; \ - xbt_graph_parse_leng = yyless_macro_arg; \ - } \ - while ( 0 ) + xbt_graph_parse_text[xbt_graph_parse_leng] = (yy_hold_char); \ + (yy_c_buf_p) = xbt_graph_parse_text + yyless_macro_arg; \ + (yy_hold_char) = *(yy_c_buf_p); \ + *(yy_c_buf_p) = '\0'; \ + xbt_graph_parse_leng = yyless_macro_arg; \ + } \ + while ( 0 ) /* Accessor methods (get/set functions) to struct members. */ /** Get the current line number. - * + * */ int xbt_graph_parse_get_lineno (void) { - + return xbt_graph_parse_lineno; } /** Get the input stream. - * + * */ FILE *xbt_graph_parse_get_in (void) { @@ -3112,7 +3112,7 @@ FILE *xbt_graph_parse_get_in (void) } /** Get the output stream. - * + * */ FILE *xbt_graph_parse_get_out (void) { @@ -3120,7 +3120,7 @@ FILE *xbt_graph_parse_get_out (void) } /** Get the length of the current token. - * + * */ yy_size_t xbt_graph_parse_get_leng (void) { @@ -3128,7 +3128,7 @@ yy_size_t xbt_graph_parse_get_leng (void) } /** Get the current token. - * + * */ char *xbt_graph_parse_get_text (void) @@ -3138,18 +3138,18 @@ char *xbt_graph_parse_get_text (void) /** Set the current line number. * @param line_number - * + * */ void xbt_graph_parse_set_lineno (int line_number ) { - + xbt_graph_parse_lineno = line_number; } /** Set the input stream. This does not discard the current * input buffer. * @param in_str A readable stream. - * + * * @see xbt_graph_parse__switch_to_buffer */ void xbt_graph_parse_set_in (FILE * in_str ) @@ -3180,7 +3180,7 @@ static int yy_init_globals (void) /* We do not touch xbt_graph_parse_lineno unless the option is enabled. */ xbt_graph_parse_lineno = 1; - + (yy_buffer_stack) = 0; (yy_buffer_stack_top) = 0; (yy_buffer_stack_max) = 0; @@ -3210,17 +3210,17 @@ static int yy_init_globals (void) /* xbt_graph_parse_lex_destroy is for both reentrant and non-reentrant scanners. */ int xbt_graph_parse_lex_destroy (void) { - + /* Pop the buffer stack, destroying each element. */ - while(YY_CURRENT_BUFFER){ - xbt_graph_parse__delete_buffer(YY_CURRENT_BUFFER ); - YY_CURRENT_BUFFER_LVALUE = NULL; - xbt_graph_parse_pop_buffer_state(); - } + while(YY_CURRENT_BUFFER){ + xbt_graph_parse__delete_buffer(YY_CURRENT_BUFFER ); + YY_CURRENT_BUFFER_LVALUE = NULL; + xbt_graph_parse_pop_buffer_state(); + } - /* Destroy the stack itself. */ - xbt_graph_parse_free((yy_buffer_stack) ); - (yy_buffer_stack) = NULL; + /* Destroy the stack itself. */ + xbt_graph_parse_free((yy_buffer_stack) ); + (yy_buffer_stack) = NULL; /* Destroy the start condition stack. */ xbt_graph_parse_free((yy_start_stack) ); @@ -3240,43 +3240,43 @@ int xbt_graph_parse_lex_destroy (void) #ifndef yytext_ptr static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) { - int i; - for ( i = 0; i < n; ++i ) - s1[i] = s2[i]; + int i; + for ( i = 0; i < n; ++i ) + s1[i] = s2[i]; } #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * s ) { - int n; - for ( n = 0; s[n]; ++n ) - ; + int n; + for ( n = 0; s[n]; ++n ) + ; - return n; + return n; } #endif void *xbt_graph_parse_alloc (yy_size_t size ) { - return (void *) malloc( size ); + return (void *) malloc( size ); } void *xbt_graph_parse_realloc (void * ptr, yy_size_t size ) { - /* The cast to (char *) in the following accommodates both - * implementations that use char* generic pointers, and those - * that use void* generic pointers. It works with the latter - * because both ANSI C and C++ allow castless assignment from - * any pointer type to void*, and deal with argument conversions - * as though doing an assignment. - */ - return (void *) realloc( (char *) ptr, size ); + /* The cast to (char *) in the following accommodates both + * implementations that use char* generic pointers, and those + * that use void* generic pointers. It works with the latter + * because both ANSI C and C++ allow castless assignment from + * any pointer type to void*, and deal with argument conversions + * as though doing an assignment. + */ + return (void *) realloc( (char *) ptr, size ); } void xbt_graph_parse_free (void * ptr ) { - free( (char *) ptr ); /* see xbt_graph_parse_realloc() for (char *) cast */ + free( (char *) ptr ); /* see xbt_graph_parse_realloc() for (char *) cast */ } #define YYTABLES_NAME "yytables" @@ -3285,8 +3285,8 @@ void xbt_graph_parse_free (void * ptr ) int graphxml_element_context(int i) { return (0