sas Mon Sep 30 00:59:01 2002 EDT
Modified files:
/php4/ext/standard url_scanner_ex.c
Log:
sync
Index: php4/ext/standard/url_scanner_ex.c
diff -u php4/ext/standard/url_scanner_ex.c:1.71 php4/ext/standard/url_scanner_ex.c:1.72
--- php4/ext/standard/url_scanner_ex.c:1.71 Wed Sep 25 08:15:42 2002
+++ php4/ext/standard/url_scanner_ex.c Mon Sep 30 00:59:01 2002
@@ -1,4 +1,4 @@
-/* Generated by re2c 0.5 on Wed Sep 25 14:14:17 2002 */
+/* Generated by re2c 0.5 on Mon Sep 30 06:55:58 2002 */
#line 1 "/home/sas/src/php4/ext/standard/url_scanner_ex.re"
/*
+----------------------------------------------------------------------+
@@ -258,16 +258,16 @@
if (ctx->form_app.len > 0) {
switch (ctx->tag.len) {
+
+#define RECOGNIZE(x) do { \
+ case sizeof(x)-1: \
+ if (strncasecmp(ctx->tag.c, x, sizeof(x)-1) == 0) \
+ doit = 1; \
+ break; \
+} while (0)
- case sizeof("form")-1:
- if (strcasecmp(ctx->tag.c, "form") == 0)
- doit = 1;
- break;
-
- case sizeof("fieldset")-1:
- if (strcasecmp(ctx->tag.c, "fieldset") == 0)
- doit = 1;
- break;
+ RECOGNIZE("form");
+ RECOGNIZE("fieldset");
}
if (doit)
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php