cvs: php4 /ext/standard url_scanner_ex.c url_scanner_ex.re

From: Date: Wed, 04 Oct 2000 18:06:21 +0000
Subject: cvs: php4 /ext/standard url_scanner_ex.c url_scanner_ex.re
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-1934@lists.php.net to get a copy of this message
sas Wed Oct 4 11:06:21 2000 EDT Modified files: /php4/ext/standard url_scanner_ex.c url_scanner_ex.re Log: Ignore close tags and use unsigned char type. Index: php4/ext/standard/url_scanner_ex.c diff -u php4/ext/standard/url_scanner_ex.c:1.15 php4/ext/standard/url_scanner_ex.c:1.16 --- php4/ext/standard/url_scanner_ex.c:1.15 Wed Sep 27 08:26:39 2000 +++ php4/ext/standard/url_scanner_ex.c Wed Oct 4 11:06:20 2000 @@ -1,4 +1,4 @@ -/* Generated by re2c 0.5 on Wed Sep 27 17:09:35 2000 */ +/* Generated by re2c 0.5 on Wed Oct 4 20:04:55 2000 */ #line 1 "/home/sas/src/php4/ext/standard/url_scanner_ex.re" /* +----------------------------------------------------------------------+ @@ -129,7 +129,7 @@ }; #define YYFILL(n) goto stop -#define YYCTYPE char +#define YYCTYPE unsigned char #define YYCURSOR xp #define YYLIMIT end #define YYMARKER q @@ -283,7 +283,7 @@ yy10: yych = *++YYCURSOR; yy11: #line 218 - { PASSTHRU(); continue; } + { PASSTHRU(); STATE = STATE_PLAIN; continue; } yy12: ++YYCURSOR; if(YYLIMIT == YYCURSOR) YYFILL(1); yych = *YYCURSOR; Index: php4/ext/standard/url_scanner_ex.re diff -u php4/ext/standard/url_scanner_ex.re:1.15 php4/ext/standard/url_scanner_ex.re:1.16 --- php4/ext/standard/url_scanner_ex.re:1.15 Wed Sep 27 08:26:39 2000 +++ php4/ext/standard/url_scanner_ex.re Wed Oct 4 11:06:20 2000 @@ -127,7 +127,7 @@ }; #define YYFILL(n) goto stop -#define YYCTYPE char +#define YYCTYPE unsigned char #define YYCURSOR xp #define YYLIMIT end #define YYMARKER q @@ -215,7 +215,7 @@ case STATE_TAG: /*!re2c alpha+ { HANDLE_TAG() /* Sets STATE */; PASSTHRU(); continue; } - any { PASSTHRU(); continue; } + any { PASSTHRU(); STATE = STATE_PLAIN; continue; } */ break;

« previous php.cvs (#1934) next »