summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-10-04 18:06:20 +0000
committerSascha Schumann <sas@php.net>2000-10-04 18:06:20 +0000
commit5674f1be457e72ae87fd295ba58b240cd99d24c1 (patch)
tree974f046c7448d87038e25030022ee6d8501c5cf8 /ext
parentde527c2379ce1a204aea0d06970a68770ede6e2a (diff)
downloadphp-git-5674f1be457e72ae87fd295ba58b240cd99d24c1.tar.gz
Ignore close tags and use unsigned char type.
Diffstat (limited to 'ext')
-rw-r--r--ext/standard/url_scanner_ex.c6
-rw-r--r--ext/standard/url_scanner_ex.re4
2 files changed, 5 insertions, 5 deletions
diff --git a/ext/standard/url_scanner_ex.c b/ext/standard/url_scanner_ex.c
index d639db30c6..7f8fe2557c 100644
--- a/ext/standard/url_scanner_ex.c
+++ b/ext/standard/url_scanner_ex.c
@@ -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;
diff --git a/ext/standard/url_scanner_ex.re b/ext/standard/url_scanner_ex.re
index 7fe1c38cda..26f7f51f30 100644
--- a/ext/standard/url_scanner_ex.re
+++ b/ext/standard/url_scanner_ex.re
@@ -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;