diff options
| author | foobar <sniper@php.net> | 2005-12-01 09:34:20 +0000 |
|---|---|---|
| committer | foobar <sniper@php.net> | 2005-12-01 09:34:20 +0000 |
| commit | 8c7f03c8a4157436ffc007e8bd0761f350fd7b91 (patch) | |
| tree | 293f29f04effac42b5cb296049e37cd694d826e5 /ext/standard/var_unserializer.c | |
| parent | 0a1ba06e5dabd7ea6e4085072be005f96314e2f7 (diff) | |
| download | php-git-8c7f03c8a4157436ffc007e8bd0761f350fd7b91.tar.gz | |
MFH: - Fix paths for --enable-gcov
Diffstat (limited to 'ext/standard/var_unserializer.c')
| -rw-r--r-- | ext/standard/var_unserializer.c | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/ext/standard/var_unserializer.c b/ext/standard/var_unserializer.c index 833e83cf50..00e4e64b13 100644 --- a/ext/standard/var_unserializer.c +++ b/ext/standard/var_unserializer.c @@ -1,5 +1,5 @@ -/* Generated by re2c 0.9.10 on Mon Sep 5 19:22:38 2005 */ -#line 1 "/usr/src/php/php_5_1/ext/standard/var_unserializer.re" +/* Generated by re2c 0.9.10 on Thu Dec 1 11:31:25 2005 */ +#line 1 "ext/standard/var_unserializer.re" /* +----------------------------------------------------------------------+ | PHP Version 5 | @@ -147,7 +147,7 @@ PHPAPI void var_destroy(php_unserialize_data_t *var_hashx) #define YYMARKER marker -#line 155 "/usr/src/php/php_5_1/ext/standard/var_unserializer.re" +#line 155 "ext/standard/var_unserializer.re" @@ -390,7 +390,7 @@ PHPAPI int php_var_unserialize(UNSERIALIZE_PARAMETER) 0, 0, 0, 0, 0, 0, 0, 0, }; -#line 394 "<stdout>" +#line 394 "ext/standard/var_unserializer.c" { YYCTYPE yych; unsigned int yyaccept; @@ -418,9 +418,9 @@ yy2: yyaccept = 0; if(yych == ':') goto yy87; goto yy3; yy3: -#line 626 "/usr/src/php/php_5_1/ext/standard/var_unserializer.re" +#line 626 "ext/standard/var_unserializer.re" { return 0; } -#line 424 "<stdout>" +#line 424 "ext/standard/var_unserializer.c" yy4: yyaccept = 0; yych = *(YYMARKER = ++YYCURSOR); if(yych == ':') goto yy81; @@ -459,13 +459,13 @@ yy12: yyaccept = 0; yy13: ++YYCURSOR; goto yy14; yy14: -#line 620 "/usr/src/php/php_5_1/ext/standard/var_unserializer.re" +#line 620 "ext/standard/var_unserializer.re" { /* this is the case where we have less data than planned */ 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 469 "<stdout>" +#line 469 "ext/standard/var_unserializer.c" yy15: yych = *++YYCURSOR; goto yy3; yy16: yych = *++YYCURSOR; @@ -498,7 +498,7 @@ yy21: yych = *++YYCURSOR; yy22: ++YYCURSOR; goto yy23; yy23: -#line 508 "/usr/src/php/php_5_1/ext/standard/var_unserializer.re" +#line 508 "ext/standard/var_unserializer.re" { size_t len, len2, len3, maxlen; long elements; @@ -610,7 +610,7 @@ yy23: return object_common2(UNSERIALIZE_PASSTHRU, elements); } -#line 614 "<stdout>" +#line 614 "ext/standard/var_unserializer.c" yy24: yych = *++YYCURSOR; if(yych <= ','){ if(yych != '+') goto yy17; @@ -639,7 +639,7 @@ yy28: yych = *++YYCURSOR; yy29: ++YYCURSOR; goto yy30; yy30: -#line 500 "/usr/src/php/php_5_1/ext/standard/var_unserializer.re" +#line 500 "ext/standard/var_unserializer.re" { INIT_PZVAL(*rval); @@ -647,7 +647,7 @@ yy30: return object_common2(UNSERIALIZE_PASSTHRU, object_common1(UNSERIALIZE_PASSTHRU, ZEND_STANDARD_CLASS_DEF_PTR)); } -#line 651 "<stdout>" +#line 651 "ext/standard/var_unserializer.c" yy31: yych = *++YYCURSOR; if(yych == '+') goto yy32; if(yych <= '/') goto yy17; @@ -671,7 +671,7 @@ yy35: yych = *++YYCURSOR; yy36: ++YYCURSOR; goto yy37; yy37: -#line 478 "/usr/src/php/php_5_1/ext/standard/var_unserializer.re" +#line 478 "ext/standard/var_unserializer.re" { long elements = parse_iv(start + 2); /* use iv() not uiv() in order to check data range */ @@ -693,7 +693,7 @@ yy37: return finish_nested_data(UNSERIALIZE_PASSTHRU); } -#line 697 "<stdout>" +#line 697 "ext/standard/var_unserializer.c" yy38: yych = *++YYCURSOR; if(yych == '+') goto yy39; if(yych <= '/') goto yy17; @@ -717,7 +717,7 @@ yy42: yych = *++YYCURSOR; yy43: ++YYCURSOR; goto yy44; yy44: -#line 450 "/usr/src/php/php_5_1/ext/standard/var_unserializer.re" +#line 450 "ext/standard/var_unserializer.re" { size_t len, maxlen; char *str; @@ -745,7 +745,7 @@ yy44: ZVAL_STRINGL(*rval, str, len, 1); return 1; } -#line 749 "<stdout>" +#line 749 "ext/standard/var_unserializer.c" yy45: yych = *++YYCURSOR; if(yych <= '/'){ if(yych <= ','){ @@ -834,14 +834,14 @@ yy54: if(yych <= ';'){ yy55: ++YYCURSOR; goto yy56; yy56: -#line 443 "/usr/src/php/php_5_1/ext/standard/var_unserializer.re" +#line 443 "ext/standard/var_unserializer.re" { *p = YYCURSOR; INIT_PZVAL(*rval); ZVAL_DOUBLE(*rval, zend_strtod((const char *)start + 2, NULL)); return 1; } -#line 845 "<stdout>" +#line 845 "ext/standard/var_unserializer.c" yy57: yych = *++YYCURSOR; if(yych <= ','){ if(yych != '+') goto yy17; @@ -901,7 +901,7 @@ yy65: yych = *++YYCURSOR; yy66: ++YYCURSOR; goto yy67; yy67: -#line 428 "/usr/src/php/php_5_1/ext/standard/var_unserializer.re" +#line 428 "ext/standard/var_unserializer.re" { *p = YYCURSOR; INIT_PZVAL(*rval); @@ -916,7 +916,7 @@ yy67: return 1; } -#line 920 "<stdout>" +#line 920 "ext/standard/var_unserializer.c" yy68: yych = *++YYCURSOR; if(yych == 'N') goto yy65; goto yy17; @@ -945,14 +945,14 @@ yy72: if(yych <= '/') goto yy17; yy73: ++YYCURSOR; goto yy74; yy74: -#line 421 "/usr/src/php/php_5_1/ext/standard/var_unserializer.re" +#line 421 "ext/standard/var_unserializer.re" { *p = YYCURSOR; INIT_PZVAL(*rval); ZVAL_LONG(*rval, parse_iv(start + 2)); return 1; } -#line 956 "<stdout>" +#line 956 "ext/standard/var_unserializer.c" yy75: yych = *++YYCURSOR; if(yych <= '/') goto yy17; if(yych >= '2') goto yy17; @@ -963,25 +963,25 @@ yy76: yych = *++YYCURSOR; yy77: ++YYCURSOR; goto yy78; yy78: -#line 414 "/usr/src/php/php_5_1/ext/standard/var_unserializer.re" +#line 414 "ext/standard/var_unserializer.re" { *p = YYCURSOR; INIT_PZVAL(*rval); ZVAL_BOOL(*rval, parse_iv(start + 2)); return 1; } -#line 974 "<stdout>" +#line 974 "ext/standard/var_unserializer.c" yy79: ++YYCURSOR; goto yy80; yy80: -#line 407 "/usr/src/php/php_5_1/ext/standard/var_unserializer.re" +#line 407 "ext/standard/var_unserializer.re" { *p = YYCURSOR; INIT_PZVAL(*rval); ZVAL_NULL(*rval); return 1; } -#line 985 "<stdout>" +#line 985 "ext/standard/var_unserializer.c" yy81: yych = *++YYCURSOR; if(yych <= ','){ if(yych != '+') goto yy17; @@ -1007,7 +1007,7 @@ yy84: if(yych <= '/') goto yy17; yy85: ++YYCURSOR; goto yy86; yy86: -#line 384 "/usr/src/php/php_5_1/ext/standard/var_unserializer.re" +#line 384 "ext/standard/var_unserializer.re" { long id; @@ -1030,7 +1030,7 @@ yy86: return 1; } -#line 1034 "<stdout>" +#line 1034 "ext/standard/var_unserializer.c" yy87: yych = *++YYCURSOR; if(yych <= ','){ if(yych != '+') goto yy17; @@ -1056,7 +1056,7 @@ yy90: if(yych <= '/') goto yy17; yy91: ++YYCURSOR; goto yy92; yy92: -#line 363 "/usr/src/php/php_5_1/ext/standard/var_unserializer.re" +#line 363 "ext/standard/var_unserializer.re" { long id; @@ -1077,10 +1077,10 @@ yy92: return 1; } -#line 1081 "<stdout>" +#line 1081 "ext/standard/var_unserializer.c" } } -#line 628 "/usr/src/php/php_5_1/ext/standard/var_unserializer.re" +#line 628 "ext/standard/var_unserializer.re" return 0; |
