Parsers for previous patch

This commit is contained in:
Ilia Alshanetsky 2006-02-28 14:46:29 +00:00
parent 1a3bb9f4bd
commit d31641e2d8
2 changed files with 12 additions and 12 deletions

View File

@ -1,4 +1,4 @@
/* Generated by re2c 0.9.11 on Tue Feb 28 09:45:27 2006 */
/* Generated by re2c 0.9.11 on Tue Feb 28 09:46:12 2006 */
#line 1 "ext/standard/url_scanner_ex.re"
/*
+----------------------------------------------------------------------+
@ -515,7 +515,7 @@ yy26:
switch(yych){
case 0x09:
case 0x0A:
case 0x0B: case ' ': goto yy30;
case 0x0B: case 0x0D: case ' ': goto yy30;
case '>': goto yy28;
case 'A':
case 'B':
@ -602,7 +602,7 @@ yy36: ++YYCURSOR;
yy37: switch(yych){
case 0x09:
case 0x0A:
case 0x0B: case ' ': goto yy36;
case 0x0B: case 0x0D: case ' ': goto yy36;
default: goto yy31;
}
}
@ -826,7 +826,7 @@ yy58:
yych = *YYCURSOR;
switch(yych){
case 0x09:
case 0x0A: case ' ': case '>': goto yy64;
case 0x0A: case 0x0D: case ' ': case '>': goto yy64;
case '"': goto yy60;
case '\'': goto yy62;
default: goto yy63;
@ -836,7 +836,7 @@ yy60: yyaccept = 0;
goto yy77;
yy61:
#line 330 "ext/standard/url_scanner_ex.re"
{ handle_val(STD_ARGS, 0, '\0'); goto state_next_arg_begin; }
{ handle_val(STD_ARGS, 0, ' '); goto state_next_arg_begin; }
#line 841 "ext/standard/url_scanner_ex.c"
yy62: yyaccept = 0;
yych = *(YYMARKER = ++YYCURSOR);
@ -855,7 +855,7 @@ yy66: ++YYCURSOR;
goto yy67;
yy67: switch(yych){
case 0x09:
case 0x0A: case ' ': case '>': goto yy61;
case 0x0A: case 0x0D: case ' ': case '>': goto yy61;
default: goto yy66;
}
yy68: yyaccept = 0;
@ -865,7 +865,7 @@ yy68: yyaccept = 0;
goto yy69;
yy69: switch(yych){
case 0x09:
case 0x0A: case ' ': goto yy72;
case 0x0A: case 0x0D: case ' ': goto yy72;
case '\'': goto yy70;
case '>': goto yy61;
default: goto yy68;
@ -873,7 +873,7 @@ yy69: switch(yych){
yy70: ++YYCURSOR;
switch((yych = *YYCURSOR)) {
case 0x09:
case 0x0A: case ' ': case '>': goto yy71;
case 0x0A: case 0x0D: case ' ': case '>': goto yy71;
default: goto yy66;
}
yy71:
@ -902,7 +902,7 @@ yy76: yyaccept = 0;
goto yy77;
yy77: switch(yych){
case 0x09:
case 0x0A: case ' ': goto yy80;
case 0x0A: case 0x0D: case ' ': goto yy80;
case '"': goto yy78;
case '>': goto yy61;
default: goto yy76;
@ -910,7 +910,7 @@ yy77: switch(yych){
yy78: ++YYCURSOR;
switch((yych = *YYCURSOR)) {
case 0x09:
case 0x0A: case ' ': case '>': goto yy79;
case 0x0A: case 0x0D: case ' ': case '>': goto yy79;
default: goto yy66;
}
yy79:

View File

@ -302,7 +302,7 @@ state_next_arg:
start = YYCURSOR;
/*!re2c
">" { passthru(STD_ARGS); handle_form(STD_ARGS); goto state_plain_begin; }
[ \v\t\n]+ { passthru(STD_ARGS); goto state_next_arg; }
[ \v\r\t\n]+ { passthru(STD_ARGS); goto state_next_arg; }
alpha { --YYCURSOR; STATE = STATE_ARG; goto state_arg; }
any { passthru(STD_ARGS); goto state_plain_begin; }
*/
@ -327,7 +327,7 @@ state_val:
/*!re2c
["] (any\[">])* ["] { handle_val(STD_ARGS, 1, '"'); goto state_next_arg_begin; }
['] (any\['>])* ['] { handle_val(STD_ARGS, 1, '\''); goto state_next_arg_begin; }
(any\[ \t\n>])+ { handle_val(STD_ARGS, 0, '\0'); goto state_next_arg_begin; }
(any\[ \r\t\n>])+ { handle_val(STD_ARGS, 0, ' '); goto state_next_arg_begin; }
any { passthru(STD_ARGS); goto state_next_arg_begin; }
*/