diff options
author | foobar <sniper@php.net> | 2005-06-11 18:00:37 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2005-06-11 18:00:37 +0000 |
commit | 467db930992497e37e632f3a6f87552d82eea373 (patch) | |
tree | 6975c3c517ec1a4434735baac3988d5bd66a8c17 /ext/standard/url_scanner_ex.c | |
parent | 16bbd70cd5303bb59202167a34fd12ef3f33eeba (diff) | |
download | php-git-467db930992497e37e632f3a6f87552d82eea373.tar.gz |
regenerated with re2c 0.9.7
Diffstat (limited to 'ext/standard/url_scanner_ex.c')
-rw-r--r-- | ext/standard/url_scanner_ex.c | 107 |
1 files changed, 51 insertions, 56 deletions
diff --git a/ext/standard/url_scanner_ex.c b/ext/standard/url_scanner_ex.c index 4569dfaa47..abf8d25020 100644 --- a/ext/standard/url_scanner_ex.c +++ b/ext/standard/url_scanner_ex.c @@ -1,4 +1,4 @@ -/* Generated by re2c 0.9.6 on Fri Apr 15 01:37:31 2005 */ +/* Generated by re2c 0.9.7 on Sat Jun 11 20:58:17 2005 */ #line 1 "/usr/src/php/php5/ext/standard/url_scanner_ex.re" /* +----------------------------------------------------------------------+ @@ -109,11 +109,6 @@ static inline void append_modified_url(smart_str *url, smart_str *dest, smart_st q = (p = url->c) + url->len; scan: - -#line 7 "<stdout>" -{ - YYCTYPE yych; - unsigned int yyaccept; static unsigned char yybm[] = { 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, @@ -148,6 +143,10 @@ scan: 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, }; + +#line 148 "<stdout>" +{ + YYCTYPE yych; goto yy0; ++YYCURSOR; yy0: @@ -164,19 +163,19 @@ yy2: ++YYCURSOR; yy3: #line 115 "/usr/src/php/php5/ext/standard/url_scanner_ex.re" { smart_str_append(dest, url); return; } -#line 61 "<stdout>" +#line 167 "<stdout>" yy4: ++YYCURSOR; goto yy5; yy5: #line 116 "/usr/src/php/php5/ext/standard/url_scanner_ex.re" { sep = separator; goto scan; } -#line 67 "<stdout>" +#line 173 "<stdout>" yy6: ++YYCURSOR; goto yy7; yy7: #line 117 "/usr/src/php/php5/ext/standard/url_scanner_ex.re" { bash = p - 1; goto done; } -#line 73 "<stdout>" +#line 179 "<stdout>" yy8: ++YYCURSOR; if(YYLIMIT == YYCURSOR) YYFILL(1); yych = *YYCURSOR; @@ -188,7 +187,7 @@ yy9: if(yybm[0+yych] & 128) { yy10: #line 118 "/usr/src/php/php5/ext/standard/url_scanner_ex.re" { goto scan; } -#line 86 "<stdout>" +#line 191 "<stdout>" } #line 119 "/usr/src/php/php5/ext/standard/url_scanner_ex.re" @@ -358,11 +357,6 @@ state_plain_begin: state_plain: start = YYCURSOR; - -#line 90 "<stdout>" -{ - YYCTYPE yych; - unsigned int yyaccept; static unsigned char yybm[] = { 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, @@ -397,6 +391,10 @@ state_plain: 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, }; + +#line 396 "<stdout>" +{ + YYCTYPE yych; goto yy11; ++YYCURSOR; yy11: @@ -411,7 +409,7 @@ yy13: ++YYCURSOR; yy14: #line 287 "/usr/src/php/php5/ext/standard/url_scanner_ex.re" { passthru(STD_ARGS); STATE = STATE_TAG; goto state_tag; } -#line 142 "<stdout>" +#line 413 "<stdout>" yy15: ++YYCURSOR; if(YYLIMIT == YYCURSOR) YYFILL(1); yych = *YYCURSOR; @@ -423,18 +421,13 @@ yy16: if(yybm[0+yych] & 128) { yy17: #line 288 "/usr/src/php/php5/ext/standard/url_scanner_ex.re" { passthru(STD_ARGS); goto state_plain; } -#line 155 "<stdout>" +#line 425 "<stdout>" } #line 289 "/usr/src/php/php5/ext/standard/url_scanner_ex.re" state_tag: start = YYCURSOR; - -#line 159 "<stdout>" -{ - YYCTYPE yych; - unsigned int yyaccept; static unsigned char yybm[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -469,6 +462,10 @@ state_tag: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; + +#line 467 "<stdout>" +{ + YYCTYPE yych; goto yy18; ++YYCURSOR; yy18: @@ -485,13 +482,13 @@ yy20: ++YYCURSOR; yy21: #line 294 "/usr/src/php/php5/ext/standard/url_scanner_ex.re" { handle_tag(STD_ARGS); /* Sets STATE */; passthru(STD_ARGS); if (STATE == STATE_PLAIN) goto state_plain; else goto state_next_arg; } -#line 212 "<stdout>" +#line 486 "<stdout>" yy22: ++YYCURSOR; goto yy23; yy23: #line 295 "/usr/src/php/php5/ext/standard/url_scanner_ex.re" { passthru(STD_ARGS); goto state_plain_begin; } -#line 218 "<stdout>" +#line 492 "<stdout>" yy24: ++YYCURSOR; if(YYLIMIT == YYCURSOR) YYFILL(1); yych = *YYCURSOR; @@ -509,11 +506,6 @@ state_next_arg_begin: state_next_arg: start = YYCURSOR; - -#line 231 "<stdout>" -{ - YYCTYPE yych; - unsigned int yyaccept; static unsigned char yybm[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 128, 128, 0, 0, 0, 0, @@ -548,6 +540,10 @@ state_next_arg: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; + +#line 545 "<stdout>" +{ + YYCTYPE yych; goto yy26; ++YYCURSOR; yy26: @@ -577,26 +573,26 @@ yy28: ++YYCURSOR; yy29: #line 304 "/usr/src/php/php5/ext/standard/url_scanner_ex.re" { passthru(STD_ARGS); handle_form(STD_ARGS); goto state_plain_begin; } -#line 298 "<stdout>" +#line 577 "<stdout>" yy30: ++YYCURSOR; yych = *YYCURSOR; goto yy37; yy31: #line 305 "/usr/src/php/php5/ext/standard/url_scanner_ex.re" { passthru(STD_ARGS); goto state_next_arg; } -#line 304 "<stdout>" +#line 584 "<stdout>" yy32: ++YYCURSOR; goto yy33; yy33: #line 306 "/usr/src/php/php5/ext/standard/url_scanner_ex.re" { --YYCURSOR; STATE = STATE_ARG; goto state_arg; } -#line 310 "<stdout>" +#line 590 "<stdout>" yy34: ++YYCURSOR; goto yy35; yy35: #line 307 "/usr/src/php/php5/ext/standard/url_scanner_ex.re" { passthru(STD_ARGS); goto state_plain_begin; } -#line 316 "<stdout>" +#line 596 "<stdout>" yy36: ++YYCURSOR; if(YYLIMIT == YYCURSOR) YYFILL(1); yych = *YYCURSOR; @@ -611,11 +607,6 @@ yy37: if(yybm[0+yych] & 128) { state_arg: start = YYCURSOR; - -#line 329 "<stdout>" -{ - YYCTYPE yych; - unsigned int yyaccept; static unsigned char yybm[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -650,6 +641,10 @@ state_arg: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; + +#line 646 "<stdout>" +{ + YYCTYPE yych; goto yy38; ++YYCURSOR; yy38: @@ -666,13 +661,13 @@ yy40: ++YYCURSOR; yy41: #line 313 "/usr/src/php/php5/ext/standard/url_scanner_ex.re" { passthru(STD_ARGS); handle_arg(STD_ARGS); STATE = STATE_BEFORE_VAL; goto state_before_val; } -#line 382 "<stdout>" +#line 665 "<stdout>" yy42: ++YYCURSOR; goto yy43; yy43: #line 314 "/usr/src/php/php5/ext/standard/url_scanner_ex.re" { passthru(STD_ARGS); STATE = STATE_NEXT_ARG; goto state_next_arg; } -#line 388 "<stdout>" +#line 671 "<stdout>" yy44: ++YYCURSOR; if(YYLIMIT == YYCURSOR) YYFILL(1); yych = *YYCURSOR; @@ -687,11 +682,6 @@ yy45: if(yybm[0+yych] & 128) { state_before_val: start = YYCURSOR; - -#line 401 "<stdout>" -{ - YYCTYPE yych; - unsigned int yyaccept; static unsigned char yybm[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -726,6 +716,11 @@ state_before_val: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; + +#line 721 "<stdout>" +{ + YYCTYPE yych; + unsigned int yyaccept; goto yy46; ++YYCURSOR; yy46: @@ -742,14 +737,14 @@ yy48: yyaccept = 0; yy49: #line 321 "/usr/src/php/php5/ext/standard/url_scanner_ex.re" { --YYCURSOR; goto state_next_arg_begin; } -#line 455 "<stdout>" +#line 741 "<stdout>" yy50: ++YYCURSOR; yych = *YYCURSOR; goto yy54; yy51: #line 320 "/usr/src/php/php5/ext/standard/url_scanner_ex.re" { passthru(STD_ARGS); STATE = STATE_VAL; goto state_val; } -#line 461 "<stdout>" +#line 748 "<stdout>" yy52: yych = *++YYCURSOR; goto yy49; yy53: ++YYCURSOR; @@ -778,11 +773,6 @@ yy57: YYCURSOR = YYMARKER; state_val: start = YYCURSOR; - -#line 488 "<stdout>" -{ - YYCTYPE yych; - unsigned int yyaccept; static unsigned char yybm[] = { 248, 248, 248, 248, 248, 248, 248, 248, 248, 160, 160, 248, 248, 248, 248, 248, @@ -817,6 +807,11 @@ state_val: 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, }; + +#line 812 "<stdout>" +{ + YYCTYPE yych; + unsigned int yyaccept; goto yy58; ++YYCURSOR; yy58: @@ -846,7 +841,7 @@ yy60: yyaccept = 0; yy61: #line 330 "/usr/src/php/php5/ext/standard/url_scanner_ex.re" { handle_val(STD_ARGS, 0, '\0'); goto state_next_arg_begin; } -#line 555 "<stdout>" +#line 845 "<stdout>" yy62: yyaccept = 0; yych = *(YYMARKER = ++YYCURSOR); goto yy69; @@ -857,7 +852,7 @@ yy64: ++YYCURSOR; yy65: #line 331 "/usr/src/php/php5/ext/standard/url_scanner_ex.re" { passthru(STD_ARGS); goto state_next_arg_begin; } -#line 566 "<stdout>" +#line 856 "<stdout>" yy66: ++YYCURSOR; if(YYLIMIT == YYCURSOR) YYFILL(1); yych = *YYCURSOR; @@ -886,7 +881,7 @@ yy70: ++YYCURSOR; yy71: #line 329 "/usr/src/php/php5/ext/standard/url_scanner_ex.re" { handle_val(STD_ARGS, 1, '\''); goto state_next_arg_begin; } -#line 595 "<stdout>" +#line 885 "<stdout>" yy72: ++YYCURSOR; if(YYLIMIT == YYCURSOR) YYFILL(1); yych = *YYCURSOR; @@ -922,7 +917,7 @@ yy78: ++YYCURSOR; yy79: #line 328 "/usr/src/php/php5/ext/standard/url_scanner_ex.re" { handle_val(STD_ARGS, 1, '"'); goto state_next_arg_begin; } -#line 631 "<stdout>" +#line 921 "<stdout>" yy80: ++YYCURSOR; if(YYLIMIT == YYCURSOR) YYFILL(1); yych = *YYCURSOR; |