iliaa Tue Feb 28 14:46:29 2006 UTC
Modified files:
/php-src/ext/standard url_scanner_ex.re url_scanner_ex.c
Log:
Parsers for previous patch
http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/url_scanner_ex.re?r1=1.77&r2=1.78&diff_format=u
Index: php-src/ext/standard/url_scanner_ex.re
diff -u php-src/ext/standard/url_scanner_ex.re:1.77
php-src/ext/standard/url_scanner_ex.re:1.78
--- php-src/ext/standard/url_scanner_ex.re:1.77 Sun Jan 1 13:09:56 2006
+++ php-src/ext/standard/url_scanner_ex.re Tue Feb 28 14:46:29 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: url_scanner_ex.re,v 1.77 2006/01/01 13:09:56 sniper Exp $ */
+/* $Id: url_scanner_ex.re,v 1.78 2006/02/28 14:46:29 iliaa Exp $ */
#include "php.h"
@@ -302,7 +302,7 @@
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 @@
/*!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; }
*/
http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/url_scanner_ex.c?r1=1.100&r2=1.101&diff_format=u
Index: php-src/ext/standard/url_scanner_ex.c
diff -u php-src/ext/standard/url_scanner_ex.c:1.100
php-src/ext/standard/url_scanner_ex.c:1.101
--- php-src/ext/standard/url_scanner_ex.c:1.100 Tue Feb 28 14:45:52 2006
+++ php-src/ext/standard/url_scanner_ex.c Tue Feb 28 14:46:29 2006
@@ -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"
/*
+----------------------------------------------------------------------+
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: url_scanner_ex.c,v 1.100 2006/02/28 14:45:52 iliaa Exp $ */
+/* $Id: url_scanner_ex.c,v 1.101 2006/02/28 14:46:29 iliaa Exp $ */
#include "php.h"
@@ -515,7 +515,7 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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:
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php