]> granicus.if.org Git - php/commitdiff
touch
authorfoobar <sniper@php.net>
Thu, 17 Apr 2003 02:54:23 +0000 (02:54 +0000)
committerfoobar <sniper@php.net>
Thu, 17 Apr 2003 02:54:23 +0000 (02:54 +0000)
ext/standard/url_scanner_ex.c
ext/standard/var_unserializer.c

index 1f97601d59e07a8ba7271d156ce25ef8890a027f..f82dbce2ed32061254d7d8e4f8e548e56b408109 100644 (file)
@@ -1,4 +1,4 @@
-/* Generated by re2c 0.5 on Tue Mar 11 03:26:22 2003 */
+/* Generated by re2c 0.5 on Thu Apr 17 05:49:48 2003 */
 #line 1 "url_scanner_ex.re"
 /*
   +----------------------------------------------------------------------+
@@ -295,7 +295,7 @@ static inline void handle_tag(STD_PARA)
        ctx->tag.len = 0;
        smart_str_appendl(&ctx->tag, start, YYCURSOR - start);
        for (i = 0; i < ctx->tag.len; i++)
-               ctx->tag.c[i] = tolower(ctx->tag.c[i]);
+               ctx->tag.c[i] = tolower((int)(unsigned char)ctx->tag.c[i]);
        if (zend_hash_find(ctx->tags, ctx->tag.c, ctx->tag.len, (void **) &ctx->lookup_data) == SUCCESS)
                ok = 1;
        STATE = ok ? STATE_NEXT_ARG : STATE_PLAIN;
index f6707c6b2ab4e83af52d81b2f3a86d1b3fd34be5..255a9925b703082bd80f20260fe2ecc2c2f9dfb4 100644 (file)
@@ -1,4 +1,25 @@
-/* Generated by re2c 0.5 on Fri Jan 24 11:25:29 2003 */
+/* Generated by re2c 0.5 on Thu Apr 17 05:53:08 2003 */
+#line 1 "var_unserializer.re"
+/*
+  +----------------------------------------------------------------------+
+  | PHP Version 4                                                        |
+  +----------------------------------------------------------------------+
+  | Copyright (c) 1997-2003 The PHP Group                                |
+  +----------------------------------------------------------------------+
+  | This source file is subject to version 2.02 of the PHP license,      |
+  | that is bundled with this package in the file LICENSE, and is        |
+  | available at through the world-wide-web at                           |
+  | http://www.php.net/license/2_02.txt.                                 |
+  | If you did not receive a copy of the PHP license and are unable to   |
+  | obtain it through the world-wide-web, please send a note to          |
+  | license@php.net so we can mail you a copy immediately.               |
+  +----------------------------------------------------------------------+
+  | Author: Sascha Schumann <sascha@schumann.cx>                         |
+  +----------------------------------------------------------------------+
+*/
+
+/* $Id$ */
+
 #include "php.h"
 #include "ext/standard/php_var.h"
 #include "php_incomplete_class.h"
@@ -90,6 +111,7 @@ PHPAPI void var_destroy(php_unserialize_data_t *var_hashx)
 #define YYMARKER marker
 
 
+#line 117
 
 
 
@@ -317,6 +339,7 @@ yy3:        yyaccept = 0;
        yych = *(YYMARKER = ++YYCURSOR);
        if(yych == ':') goto yy75;
 yy4:
+#line 430
        { return 0; }
 yy5:   yych = *++YYCURSOR;
        if(yych == ';') goto yy73;
@@ -351,6 +374,7 @@ yy12:       yyaccept = 0;
        goto yy4;
 yy13:  yych = *++YYCURSOR;
 yy14:
+#line 424
        {
        /* this is the case where we have less data than planned */
        php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Unexpected end of serialized data");
@@ -374,6 +398,7 @@ yy20:       yych = *++YYCURSOR;
        if(yych != '"') goto yy2;
 yy21:  yych = *++YYCURSOR;
 yy22:
+#line 350
        {
        int len;
        int elements;
@@ -469,6 +494,7 @@ yy27:       yych = *++YYCURSOR;
        if(yych != '"') goto yy2;
 yy28:  yych = *++YYCURSOR;
 yy29:
+#line 342
        {
 
        INIT_PZVAL(*rval);
@@ -498,6 +524,7 @@ yy34:       yych = *++YYCURSOR;
        if(yych != '{') goto yy2;
 yy35:  yych = *++YYCURSOR;
 yy36:
+#line 324
        {
        int elements = parse_iv(start + 2);
 
@@ -537,6 +564,7 @@ yy41:       yych = *++YYCURSOR;
        if(yych != '"') goto yy2;
 yy42:  yych = *++YYCURSOR;
 yy43:
+#line 304
        {
        int len;
        char *str;
@@ -613,6 +641,7 @@ yy50:       if(yych <= ';'){
        }
 yy51:  yych = *++YYCURSOR;
 yy52:
+#line 297
        {
        *p = YYCURSOR;
        INIT_PZVAL(*rval);
@@ -688,6 +717,7 @@ yy64:       if(yych <= '/') goto yy2;
        if(yych != ';') goto yy2;
 yy65:  yych = *++YYCURSOR;
 yy66:
+#line 290
        {
        *p = YYCURSOR;
        INIT_PZVAL(*rval);
@@ -714,6 +744,7 @@ yy70:       if(yych <= '/') goto yy2;
        if(yych != ';') goto yy2;
 yy71:  yych = *++YYCURSOR;
 yy72:
+#line 283
        {
        *p = YYCURSOR;
        INIT_PZVAL(*rval);
@@ -722,6 +753,7 @@ yy72:
 }
 yy73:  yych = *++YYCURSOR;
 yy74:
+#line 276
        {
        *p = YYCURSOR;
        INIT_PZVAL(*rval);
@@ -748,6 +780,7 @@ yy78:       if(yych <= '/') goto yy2;
        if(yych != ';') goto yy2;
 yy79:  yych = *++YYCURSOR;
 yy80:
+#line 257
        {
        int id;
 
@@ -767,6 +800,7 @@ yy80:
        return 1;
 }
 }
+#line 432
 
 
        return 0;