summaryrefslogtreecommitdiff
path: root/ext/standard/var_unserializer.c
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-06-11 23:53:21 +0000
committerfoobar <sniper@php.net>2005-06-11 23:53:21 +0000
commit803094148539075fab08ef8374177a2a31e211c7 (patch)
tree9266038eec83bc14a92e421c8e23f6e8e3d7c918 /ext/standard/var_unserializer.c
parent7a794caed04f142844d88a6e69b27d9242be32bb (diff)
downloadphp-git-803094148539075fab08ef8374177a2a31e211c7.tar.gz
revert
Diffstat (limited to 'ext/standard/var_unserializer.c')
-rw-r--r--ext/standard/var_unserializer.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/ext/standard/var_unserializer.c b/ext/standard/var_unserializer.c
index 39b6cf2ecc..8ea8fcd781 100644
--- a/ext/standard/var_unserializer.c
+++ b/ext/standard/var_unserializer.c
@@ -1,4 +1,4 @@
-/* Generated by re2c 0.9.7 on Sat Jun 11 20:57:50 2005 */
+/* Generated by re2c 0.9.6 on Sun Jun 12 02:52:01 2005 */
#line 1 "/usr/src/php/php5/ext/standard/var_unserializer.re"
/*
+----------------------------------------------------------------------+
@@ -354,6 +354,11 @@ PHPAPI int php_var_unserialize(UNSERIALIZE_PARAMETER)
+
+#line 7 "<stdout>"
+{
+ YYCTYPE yych;
+ unsigned int yyaccept;
static unsigned char yybm[] = {
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
@@ -388,11 +393,6 @@ PHPAPI int php_var_unserialize(UNSERIALIZE_PARAMETER)
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
};
-
-#line 393 "<stdout>"
-{
- YYCTYPE yych;
- unsigned int yyaccept;
goto yy0;
++YYCURSOR;
yy0:
@@ -451,7 +451,7 @@ yy3: yyaccept = 0;
yy4:
#line 626 "/usr/src/php/php5/ext/standard/var_unserializer.re"
{ return 0; }
-#line 455 "<stdout>"
+#line 103 "<stdout>"
yy5: yyaccept = 0;
yych = *(YYMARKER = ++YYCURSOR);
if(yych == ':') goto yy81;
@@ -496,7 +496,7 @@ yy15:
php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Unexpected end of serialized data");
return 0; /* not sure if it should be 0 or 1 here? */
}
-#line 500 "<stdout>"
+#line 148 "<stdout>"
yy16: yych = *++YYCURSOR;
goto yy4;
yy17: yych = *++YYCURSOR;
@@ -637,7 +637,7 @@ yy23:
return object_common2(UNSERIALIZE_PASSTHRU, elements);
}
-#line 641 "<stdout>"
+#line 290 "<stdout>"
yy24: yych = *++YYCURSOR;
if(yych <= ','){
if(yych != '+') goto yy2;
@@ -674,7 +674,7 @@ yy30:
return object_common2(UNSERIALIZE_PASSTHRU,
object_common1(UNSERIALIZE_PASSTHRU, ZEND_STANDARD_CLASS_DEF_PTR));
}
-#line 678 "<stdout>"
+#line 328 "<stdout>"
yy31: yych = *++YYCURSOR;
if(yych == '+') goto yy32;
if(yych <= '/') goto yy2;
@@ -720,7 +720,7 @@ yy37:
return finish_nested_data(UNSERIALIZE_PASSTHRU);
}
-#line 724 "<stdout>"
+#line 375 "<stdout>"
yy38: yych = *++YYCURSOR;
if(yych == '+') goto yy39;
if(yych <= '/') goto yy2;
@@ -772,7 +772,7 @@ yy44:
ZVAL_STRINGL(*rval, str, len, 1);
return 1;
}
-#line 776 "<stdout>"
+#line 428 "<stdout>"
yy45: yych = *++YYCURSOR;
if(yych <= '/'){
if(yych <= ','){
@@ -868,7 +868,7 @@ yy56:
ZVAL_DOUBLE(*rval, zend_strtod((const char *)start + 2, NULL));
return 1;
}
-#line 872 "<stdout>"
+#line 526 "<stdout>"
yy57: yych = *++YYCURSOR;
if(yych <= ','){
if(yych != '+') goto yy2;
@@ -943,7 +943,7 @@ yy67:
return 1;
}
-#line 947 "<stdout>"
+#line 603 "<stdout>"
yy68: yych = *++YYCURSOR;
if(yych == 'N') goto yy65;
goto yy2;
@@ -979,7 +979,7 @@ yy74:
ZVAL_LONG(*rval, parse_iv(start + 2));
return 1;
}
-#line 983 "<stdout>"
+#line 640 "<stdout>"
yy75: yych = *++YYCURSOR;
if(yych <= '/') goto yy2;
if(yych >= '2') goto yy2;
@@ -997,7 +997,7 @@ yy78:
ZVAL_BOOL(*rval, parse_iv(start + 2));
return 1;
}
-#line 1001 "<stdout>"
+#line 658 "<stdout>"
yy79: ++YYCURSOR;
goto yy80;
yy80:
@@ -1008,7 +1008,7 @@ yy80:
ZVAL_NULL(*rval);
return 1;
}
-#line 1012 "<stdout>"
+#line 669 "<stdout>"
yy81: yych = *++YYCURSOR;
if(yych <= ','){
if(yych != '+') goto yy2;
@@ -1057,7 +1057,7 @@ yy86:
return 1;
}
-#line 1061 "<stdout>"
+#line 719 "<stdout>"
yy87: yych = *++YYCURSOR;
if(yych <= ','){
if(yych != '+') goto yy2;
@@ -1104,7 +1104,7 @@ yy92:
return 1;
}
-#line 1108 "<stdout>"
+#line 767 "<stdout>"
}
#line 628 "/usr/src/php/php5/ext/standard/var_unserializer.re"