diff options
Diffstat (limited to 'util/sconfig')
-rw-r--r-- | util/sconfig/lex.yy.c_shipped | 201 |
1 files changed, 110 insertions, 91 deletions
diff --git a/util/sconfig/lex.yy.c_shipped b/util/sconfig/lex.yy.c_shipped index 64a84bdc66..5b02db843c 100644 --- a/util/sconfig/lex.yy.c_shipped +++ b/util/sconfig/lex.yy.c_shipped @@ -1,5 +1,5 @@ -#line 3 "/home/Patrick/work/coreboot/util/sconfig/lex.yy.c_shipped" +#line 3 "/home/svens/coreboot/coreboot-svn/util/sconfig/lex.yy.c_shipped" #define YY_INT_ALIGNED short int @@ -368,8 +368,8 @@ static void yy_fatal_error (yyconst char msg[] ); *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp; -#define YY_NUM_RULES 25 -#define YY_END_OF_BUFFER 26 +#define YY_NUM_RULES 27 +#define YY_END_OF_BUFFER 28 /* This struct is not used in this scanner, but its presence is necessary. */ struct yy_trans_info @@ -377,17 +377,20 @@ struct yy_trans_info flex_int32_t yy_verify; flex_int32_t yy_nxt; }; -static yyconst flex_int16_t yy_accept[87] = +static yyconst flex_int16_t yy_accept[104] = { 0, - 0, 0, 26, 24, 1, 3, 24, 24, 24, 21, - 21, 19, 22, 22, 22, 22, 24, 24, 24, 24, - 24, 24, 1, 3, 24, 0, 24, 0, 2, 21, - 22, 24, 24, 22, 24, 24, 24, 17, 24, 24, - 24, 7, 24, 24, 24, 23, 23, 20, 24, 24, - 16, 18, 11, 15, 24, 8, 9, 10, 24, 4, - 24, 24, 24, 24, 24, 12, 24, 24, 5, 24, - 24, 24, 24, 24, 24, 24, 24, 6, 24, 24, - 24, 14, 24, 24, 13, 0 + 0, 0, 28, 26, 1, 3, 26, 26, 26, 23, + 23, 21, 24, 24, 24, 24, 26, 26, 26, 26, + 26, 26, 26, 1, 3, 26, 0, 26, 0, 2, + 23, 24, 26, 26, 24, 26, 26, 26, 26, 17, + 26, 26, 26, 7, 26, 26, 26, 26, 25, 25, + 22, 26, 26, 16, 20, 11, 26, 15, 26, 8, + 9, 10, 26, 26, 4, 26, 26, 26, 26, 26, + 26, 26, 26, 12, 26, 26, 26, 5, 26, 26, + 26, 26, 26, 18, 26, 26, 26, 26, 26, 26, + 6, 26, 26, 26, 26, 26, 14, 26, 26, 19, + + 26, 13, 0 } ; static yyconst flex_int32_t yy_ec[256] = @@ -401,11 +404,11 @@ static yyconst flex_int32_t yy_ec[256] = 10, 1, 1, 1, 11, 11, 11, 11, 11, 11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 12, 1, 13, 11, 14, 15, + 1, 1, 1, 1, 12, 1, 13, 14, 15, 16, - 16, 17, 18, 19, 20, 1, 1, 21, 22, 23, - 24, 25, 26, 27, 28, 29, 30, 31, 1, 32, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 17, 18, 19, 20, 21, 1, 1, 22, 23, 24, + 25, 26, 27, 28, 29, 30, 31, 32, 1, 33, + 34, 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, @@ -422,88 +425,96 @@ static yyconst flex_int32_t yy_ec[256] = 1, 1, 1, 1, 1 } ; -static yyconst flex_int32_t yy_meta[33] = +static yyconst flex_int32_t yy_meta[35] = { 0, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1 + 1, 1, 1, 1 } ; -static yyconst flex_int16_t yy_base[92] = +static yyconst flex_int16_t yy_base[109] = { 0, - 0, 0, 144, 0, 141, 145, 139, 31, 35, 32, - 109, 0, 43, 46, 59, 49, 35, 127, 46, 47, - 123, 0, 136, 145, 71, 132, 75, 133, 145, 0, - 72, 80, 115, 75, 108, 118, 118, 0, 105, 105, - 112, 0, 108, 102, 108, 0, 145, 0, 100, 104, - 0, 0, 0, 0, 103, 0, 110, 0, 101, 0, - 106, 105, 103, 89, 100, 103, 81, 75, 0, 89, - 80, 85, 79, 86, 71, 62, 70, 0, 57, 48, - 35, 0, 44, 15, 0, 145, 34, 106, 108, 110, - 112 - + 0, 0, 164, 0, 161, 165, 159, 33, 37, 34, + 128, 0, 46, 49, 53, 56, 50, 147, 48, 22, + 142, 127, 0, 155, 165, 74, 151, 65, 152, 165, + 0, 75, 78, 133, 90, 126, 136, 136, 130, 0, + 122, 122, 129, 0, 125, 119, 125, 129, 0, 165, + 0, 116, 120, 0, 0, 0, 123, 0, 118, 0, + 126, 0, 116, 107, 0, 120, 106, 118, 116, 102, + 87, 103, 98, 106, 92, 86, 86, 0, 84, 98, + 89, 94, 80, 0, 87, 95, 79, 89, 74, 83, + 0, 80, 73, 77, 79, 60, 0, 72, 56, 0, + + 43, 0, 165, 43, 122, 124, 126, 128 } ; -static yyconst flex_int16_t yy_def[92] = +static yyconst flex_int16_t yy_def[109] = { 0, - 86, 1, 86, 87, 86, 86, 87, 88, 89, 87, - 10, 87, 10, 10, 10, 10, 87, 87, 87, 87, - 87, 87, 86, 86, 88, 90, 89, 91, 86, 10, - 10, 10, 87, 10, 87, 87, 87, 87, 87, 87, - 87, 87, 87, 87, 87, 87, 86, 32, 87, 87, - 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, - 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, - 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, - 87, 87, 87, 87, 87, 0, 86, 86, 86, 86, - 86 - + 103, 1, 103, 104, 103, 103, 104, 105, 106, 104, + 10, 104, 10, 10, 10, 10, 104, 104, 104, 104, + 104, 104, 104, 103, 103, 105, 107, 106, 108, 103, + 10, 10, 10, 104, 10, 104, 104, 104, 104, 104, + 104, 104, 104, 104, 104, 104, 104, 104, 104, 103, + 33, 104, 104, 104, 104, 104, 104, 104, 104, 104, + 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, + 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, + 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, + 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, + + 104, 104, 0, 103, 103, 103, 103, 103 } ; -static yyconst flex_int16_t yy_nxt[178] = +static yyconst flex_int16_t yy_nxt[200] = { 0, 4, 5, 6, 7, 8, 9, 10, 11, 10, 12, - 13, 4, 13, 14, 15, 16, 13, 4, 4, 17, - 18, 4, 4, 19, 20, 4, 21, 4, 4, 4, - 4, 4, 26, 26, 22, 22, 28, 29, 30, 30, - 30, 85, 31, 37, 31, 31, 31, 31, 31, 31, - 31, 31, 31, 31, 31, 31, 31, 31, 38, 84, - 43, 39, 41, 83, 33, 31, 31, 31, 42, 44, - 82, 36, 26, 26, 34, 46, 28, 29, 31, 31, - 31, 31, 31, 31, 81, 35, 48, 48, 48, 80, - 48, 79, 48, 48, 48, 48, 48, 78, 77, 76, - - 75, 74, 73, 72, 71, 50, 25, 25, 27, 27, - 26, 26, 28, 28, 70, 69, 68, 67, 66, 65, - 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, - 54, 53, 52, 51, 49, 29, 47, 23, 45, 40, - 32, 24, 23, 86, 3, 86, 86, 86, 86, 86, - 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, - 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, - 86, 86, 86, 86, 86, 86, 86 + 13, 4, 13, 13, 14, 15, 16, 13, 4, 4, + 17, 18, 4, 4, 19, 20, 4, 21, 22, 4, + 4, 4, 4, 4, 27, 27, 45, 23, 29, 30, + 31, 31, 31, 23, 32, 46, 32, 32, 32, 32, + 32, 32, 32, 32, 32, 32, 32, 32, 38, 32, + 32, 32, 32, 32, 32, 43, 29, 30, 34, 35, + 102, 44, 101, 39, 40, 27, 27, 41, 49, 37, + 36, 32, 32, 32, 51, 51, 51, 100, 51, 99, + 51, 51, 51, 51, 51, 51, 32, 32, 32, 98, + + 97, 96, 95, 94, 93, 92, 91, 90, 89, 88, + 87, 86, 85, 84, 83, 82, 81, 80, 79, 78, + 77, 53, 26, 26, 28, 28, 27, 27, 29, 29, + 76, 75, 74, 73, 72, 71, 70, 69, 68, 67, + 66, 65, 64, 63, 62, 61, 60, 59, 58, 57, + 56, 55, 54, 52, 30, 50, 24, 48, 47, 42, + 33, 25, 24, 103, 3, 103, 103, 103, 103, 103, + 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, + 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, + 103, 103, 103, 103, 103, 103, 103, 103, 103 + } ; -static yyconst flex_int16_t yy_chk[178] = +static yyconst flex_int16_t yy_chk[200] = { 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, 8, 8, 87, 8, 9, 9, 10, 10, - 10, 84, 10, 17, 10, 10, 10, 10, 10, 13, - 13, 13, 14, 14, 14, 16, 16, 16, 17, 83, - 20, 17, 19, 81, 14, 15, 15, 15, 19, 20, - 80, 16, 25, 25, 15, 25, 27, 27, 31, 31, - 31, 34, 34, 34, 79, 15, 32, 32, 32, 77, - 32, 76, 32, 32, 32, 32, 32, 75, 74, 73, - - 72, 71, 70, 68, 67, 34, 88, 88, 89, 89, - 90, 90, 91, 91, 66, 65, 64, 63, 62, 61, - 59, 57, 55, 50, 49, 45, 44, 43, 41, 40, - 39, 37, 36, 35, 33, 28, 26, 23, 21, 18, - 11, 7, 5, 3, 86, 86, 86, 86, 86, 86, - 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, - 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, - 86, 86, 86, 86, 86, 86, 86 + 1, 1, 1, 1, 8, 8, 20, 8, 9, 9, + 10, 10, 10, 104, 10, 20, 10, 10, 10, 10, + 10, 10, 13, 13, 13, 14, 14, 14, 17, 15, + 15, 15, 16, 16, 16, 19, 28, 28, 14, 15, + 101, 19, 99, 17, 17, 26, 26, 17, 26, 16, + 15, 32, 32, 32, 33, 33, 33, 98, 33, 96, + 33, 33, 33, 33, 33, 33, 35, 35, 35, 95, + + 94, 93, 92, 90, 89, 88, 87, 86, 85, 83, + 82, 81, 80, 79, 77, 76, 75, 74, 73, 72, + 71, 35, 105, 105, 106, 106, 107, 107, 108, 108, + 70, 69, 68, 67, 66, 64, 63, 61, 59, 57, + 53, 52, 48, 47, 46, 45, 43, 42, 41, 39, + 38, 37, 36, 34, 29, 27, 24, 22, 21, 18, + 11, 7, 5, 3, 103, 103, 103, 103, 103, 103, + 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, + 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, + 103, 103, 103, 103, 103, 103, 103, 103, 103 + } ; static yy_state_type yy_last_accepting_state; @@ -780,13 +791,13 @@ yy_match: while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 87 ) + if ( yy_current_state >= 104 ) 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] != 145 ); + while ( yy_base[yy_current_state] != 165 ); yy_find_action: yy_act = yy_accept[yy_current_state]; @@ -882,34 +893,42 @@ YY_RULE_SETUP YY_BREAK case 18: YY_RULE_SETUP -{return(END);} +{return(INHERIT);} YY_BREAK case 19: YY_RULE_SETUP -{return(EQUALS);} +{return(SUBSYSTEMID);} YY_BREAK case 20: YY_RULE_SETUP -{yylval.string = malloc(yyleng+1); strncpy(yylval.string, yytext, yyleng); yylval.string[yyleng]='\0'; return(NUMBER);} +{return(END);} YY_BREAK case 21: YY_RULE_SETUP -{yylval.string = malloc(yyleng+1); strncpy(yylval.string, yytext, yyleng); yylval.string[yyleng]='\0'; return(NUMBER);} +{return(EQUALS);} YY_BREAK case 22: YY_RULE_SETUP {yylval.string = malloc(yyleng+1); strncpy(yylval.string, yytext, yyleng); yylval.string[yyleng]='\0'; return(NUMBER);} YY_BREAK case 23: -/* rule 23 can match eol */ YY_RULE_SETUP -{yylval.string = malloc(yyleng-1); strncpy(yylval.string, yytext+1, yyleng-2); yylval.string[yyleng-2]='\0'; return(STRING);} +{yylval.string = malloc(yyleng+1); strncpy(yylval.string, yytext, yyleng); yylval.string[yyleng]='\0'; return(NUMBER);} YY_BREAK case 24: YY_RULE_SETUP -{yylval.string = malloc(yyleng+1); strncpy(yylval.string, yytext, yyleng); yylval.string[yyleng]='\0'; return(STRING);} +{yylval.string = malloc(yyleng+1); strncpy(yylval.string, yytext, yyleng); yylval.string[yyleng]='\0'; return(NUMBER);} YY_BREAK case 25: +/* rule 25 can match eol */ +YY_RULE_SETUP +{yylval.string = malloc(yyleng-1); strncpy(yylval.string, yytext+1, yyleng-2); yylval.string[yyleng-2]='\0'; return(STRING);} + YY_BREAK +case 26: +YY_RULE_SETUP +{yylval.string = malloc(yyleng+1); strncpy(yylval.string, yytext, yyleng); yylval.string[yyleng]='\0'; return(STRING);} + YY_BREAK +case 27: YY_RULE_SETUP ECHO; YY_BREAK @@ -1204,7 +1223,7 @@ static int yy_get_next_buffer (void) while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 87 ) + if ( yy_current_state >= 104 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; @@ -1232,11 +1251,11 @@ static int yy_get_next_buffer (void) while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 87 ) + if ( yy_current_state >= 104 ) 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 == 86); + yy_is_jam = (yy_current_state == 103); return yy_is_jam ? 0 : yy_current_state; } |