1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 19:23:22 +02:00

Ignore close tags and use unsigned char type.

This commit is contained in:
Sascha Schumann
2000-10-04 18:06:20 +00:00
parent de527c2379
commit 5674f1be45
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -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 @@ enum {
};
#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 @@ yy9:
yy10: yych = *++YYCURSOR;
yy11:
#line 218
{ PASSTHRU(); continue; }
{ PASSTHRU(); STATE = STATE_PLAIN; continue; }
yy12: ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
+2 -2
View File
@@ -127,7 +127,7 @@ enum {
};
#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 @@ alpha = [a-zA-Z];
case STATE_TAG:
/*!re2c
alpha+ { HANDLE_TAG() /* Sets STATE */; PASSTHRU(); continue; }
any { PASSTHRU(); continue; }
any { PASSTHRU(); STATE = STATE_PLAIN; continue; }
*/
break;