diff options
author | Xinchen Hui <laruence@gmail.com> | 2017-07-21 12:02:54 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@gmail.com> | 2017-07-21 12:02:54 +0800 |
commit | 463413db53768d3922ac3703eec5ec3f128484a2 (patch) | |
tree | 811f52e2d5e601e5f4ceefea9053675e87cc801f | |
parent | 0b2c456312f5d318664ca6616a7d9820eaa7d60f (diff) | |
parent | e2b240c164967b5326e41e88d0de45cc57815490 (diff) | |
download | php-git-463413db53768d3922ac3703eec5ec3f128484a2.tar.gz |
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Update NEWS
Fixed bug #74947 (Segfault in scanner on INF number)
Conflicts:
Zend/zend_language_scanner.c
-rw-r--r-- | Zend/tests/bug74947.phpt | 12 | ||||
-rw-r--r-- | Zend/zend_language_scanner.c | 390 | ||||
-rw-r--r-- | Zend/zend_language_scanner.l | 2 | ||||
-rw-r--r-- | Zend/zend_strtod.c | 2 | ||||
-rw-r--r-- | sapi/phpdbg/phpdbg_lexer.c | 2507 |
5 files changed, 1431 insertions, 1482 deletions
diff --git a/Zend/tests/bug74947.phpt b/Zend/tests/bug74947.phpt new file mode 100644 index 0000000000..e66d292971 --- /dev/null +++ b/Zend/tests/bug74947.phpt @@ -0,0 +1,12 @@ +--TEST-- +Bug #74947 (Segfault in scanner on INF number) +--FILE-- +<?php + +echo 200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000; + +echo -200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000; + +?> +--EXPECTF-- +INF-INF diff --git a/Zend/zend_language_scanner.c b/Zend/zend_language_scanner.c index 129b122a05..a70148b461 100644 --- a/Zend/zend_language_scanner.c +++ b/Zend/zend_language_scanner.c @@ -1160,7 +1160,7 @@ yyc_INITIAL: yy4: YYDEBUG(4, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1805 "Zend/zend_language_scanner.l" +#line 1803 "Zend/zend_language_scanner.l" { if (YYCURSOR > YYLIMIT) { RETURN_TOKEN(END); @@ -1221,7 +1221,7 @@ yy5: yy7: YYDEBUG(7, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1796 "Zend/zend_language_scanner.l" +#line 1794 "Zend/zend_language_scanner.l" { if (CG(short_tags)) { BEGIN(ST_IN_SCRIPTING); @@ -1236,7 +1236,7 @@ yy8: ++YYCURSOR; YYDEBUG(9, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1783 "Zend/zend_language_scanner.l" +#line 1781 "Zend/zend_language_scanner.l" { BEGIN(ST_IN_SCRIPTING); RETURN_TOKEN(T_OPEN_TAG_WITH_ECHO); @@ -1272,7 +1272,7 @@ yy14: yy15: YYDEBUG(15, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1789 "Zend/zend_language_scanner.l" +#line 1787 "Zend/zend_language_scanner.l" { HANDLE_NEWLINE(yytext[yyleng-1]); BEGIN(ST_IN_SCRIPTING); @@ -1335,7 +1335,7 @@ yyc_ST_BACKQUOTE: yy20: YYDEBUG(20, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 2218 "Zend/zend_language_scanner.l" +#line 2216 "Zend/zend_language_scanner.l" { if (YYCURSOR > YYLIMIT) { RETURN_TOKEN(END); @@ -1400,7 +1400,7 @@ yy22: ++YYCURSOR; YYDEBUG(23, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 2162 "Zend/zend_language_scanner.l" +#line 2160 "Zend/zend_language_scanner.l" { BEGIN(ST_IN_SCRIPTING); RETURN_TOKEN('`'); @@ -1426,7 +1426,7 @@ yy25: yy27: YYDEBUG(27, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1870 "Zend/zend_language_scanner.l" +#line 1868 "Zend/zend_language_scanner.l" { zend_copy_value(zendlval, (yytext+1), (yyleng-1)); RETURN_TOKEN(T_VARIABLE); @@ -1448,7 +1448,7 @@ yy30: ++YYCURSOR; YYDEBUG(31, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 2149 "Zend/zend_language_scanner.l" +#line 2147 "Zend/zend_language_scanner.l" { Z_LVAL_P(zendlval) = (zend_long) '{'; yy_push_state(ST_IN_SCRIPTING); @@ -1469,7 +1469,7 @@ yy34: ++YYCURSOR; YYDEBUG(35, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1863 "Zend/zend_language_scanner.l" +#line 1861 "Zend/zend_language_scanner.l" { yyless(yyleng - 1); yy_push_state(ST_VAR_OFFSET); @@ -1494,7 +1494,7 @@ yy37: ++YYCURSOR; YYDEBUG(38, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1854 "Zend/zend_language_scanner.l" +#line 1852 "Zend/zend_language_scanner.l" { yyless(yyleng - 3); yy_push_state(ST_LOOKING_FOR_PROPERTY); @@ -1554,7 +1554,7 @@ yyc_ST_DOUBLE_QUOTES: yy42: YYDEBUG(42, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 2168 "Zend/zend_language_scanner.l" +#line 2166 "Zend/zend_language_scanner.l" { if (GET_DOUBLE_QUOTES_SCANNED_LENGTH()) { YYCURSOR += GET_DOUBLE_QUOTES_SCANNED_LENGTH() - 1; @@ -1609,7 +1609,7 @@ yy43: ++YYCURSOR; YYDEBUG(44, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 2157 "Zend/zend_language_scanner.l" +#line 2155 "Zend/zend_language_scanner.l" { BEGIN(ST_IN_SCRIPTING); RETURN_TOKEN('"'); @@ -1653,7 +1653,7 @@ yy47: yy49: YYDEBUG(49, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1870 "Zend/zend_language_scanner.l" +#line 1868 "Zend/zend_language_scanner.l" { zend_copy_value(zendlval, (yytext+1), (yyleng-1)); RETURN_TOKEN(T_VARIABLE); @@ -1675,7 +1675,7 @@ yy52: ++YYCURSOR; YYDEBUG(53, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 2149 "Zend/zend_language_scanner.l" +#line 2147 "Zend/zend_language_scanner.l" { Z_LVAL_P(zendlval) = (zend_long) '{'; yy_push_state(ST_IN_SCRIPTING); @@ -1696,7 +1696,7 @@ yy56: ++YYCURSOR; YYDEBUG(57, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1863 "Zend/zend_language_scanner.l" +#line 1861 "Zend/zend_language_scanner.l" { yyless(yyleng - 1); yy_push_state(ST_VAR_OFFSET); @@ -1721,7 +1721,7 @@ yy59: ++YYCURSOR; YYDEBUG(60, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1854 "Zend/zend_language_scanner.l" +#line 1852 "Zend/zend_language_scanner.l" { yyless(yyleng - 3); yy_push_state(ST_LOOKING_FOR_PROPERTY); @@ -1739,7 +1739,7 @@ yyc_ST_END_HEREDOC: ++YYCURSOR; YYDEBUG(64, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 2135 "Zend/zend_language_scanner.l" +#line 2133 "Zend/zend_language_scanner.l" { zend_heredoc_label *heredoc_label = zend_ptr_stack_pop(&SCNG(heredoc_label_stack)); @@ -1800,7 +1800,7 @@ yyc_ST_HEREDOC: yy68: YYDEBUG(68, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 2260 "Zend/zend_language_scanner.l" +#line 2258 "Zend/zend_language_scanner.l" { int newline = 0; @@ -1912,7 +1912,7 @@ yy71: yy73: YYDEBUG(73, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1870 "Zend/zend_language_scanner.l" +#line 1868 "Zend/zend_language_scanner.l" { zend_copy_value(zendlval, (yytext+1), (yyleng-1)); RETURN_TOKEN(T_VARIABLE); @@ -1934,7 +1934,7 @@ yy76: ++YYCURSOR; YYDEBUG(77, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 2149 "Zend/zend_language_scanner.l" +#line 2147 "Zend/zend_language_scanner.l" { Z_LVAL_P(zendlval) = (zend_long) '{'; yy_push_state(ST_IN_SCRIPTING); @@ -1955,7 +1955,7 @@ yy80: ++YYCURSOR; YYDEBUG(81, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1863 "Zend/zend_language_scanner.l" +#line 1861 "Zend/zend_language_scanner.l" { yyless(yyleng - 1); yy_push_state(ST_VAR_OFFSET); @@ -1980,7 +1980,7 @@ yy83: ++YYCURSOR; YYDEBUG(84, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1854 "Zend/zend_language_scanner.l" +#line 1852 "Zend/zend_language_scanner.l" { yyless(yyleng - 3); yy_push_state(ST_LOOKING_FOR_PROPERTY); @@ -2156,7 +2156,7 @@ yy87: ++YYCURSOR; YYDEBUG(88, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 2391 "Zend/zend_language_scanner.l" +#line 2389 "Zend/zend_language_scanner.l" { if (YYCURSOR > YYLIMIT) { RETURN_TOKEN(END); @@ -2200,7 +2200,7 @@ yy94: ++YYCURSOR; YYDEBUG(95, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 2039 "Zend/zend_language_scanner.l" +#line 2037 "Zend/zend_language_scanner.l" { int bprefix = (yytext[0] != '"') ? 1 : 0; @@ -2247,7 +2247,7 @@ yy96: ++YYCURSOR; YYDEBUG(97, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1899 "Zend/zend_language_scanner.l" +#line 1897 "Zend/zend_language_scanner.l" { while (YYCURSOR < YYLIMIT) { switch (*YYCURSOR++) { @@ -2307,7 +2307,7 @@ yy101: ++YYCURSOR; YYDEBUG(102, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1970 "Zend/zend_language_scanner.l" +#line 1968 "Zend/zend_language_scanner.l" { register char *s, *t; char *end; @@ -2525,7 +2525,6 @@ yy111: if (errno == ERANGE) { /* Overflow */ errno = 0; if (yytext[0] == '0') { /* octal overflow */ - errno = 0; ZVAL_DOUBLE(zendlval, zend_oct_strtod(yytext, (const char **)&end)); } else { ZVAL_DOUBLE(zendlval, zend_strtod(yytext, (const char **)&end)); @@ -2537,7 +2536,6 @@ yy111: ZVAL_UNDEF(zendlval); RETURN_TOKEN(T_DNUMBER); } - ZEND_ASSERT(!errno); RETURN_TOKEN(T_DNUMBER); } /* Also not an assert for the same reason */ @@ -2550,7 +2548,7 @@ yy111: ZEND_ASSERT(!errno); RETURN_TOKEN(T_LNUMBER); } -#line 2554 "Zend/zend_language_scanner.c" +#line 2552 "Zend/zend_language_scanner.c" yy112: YYDEBUG(112, *YYCURSOR); yyaccept = 1; @@ -2631,12 +2629,12 @@ yy119: yy120: YYDEBUG(120, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1893 "Zend/zend_language_scanner.l" +#line 1891 "Zend/zend_language_scanner.l" { zend_copy_value(zendlval, yytext, yyleng); RETURN_TOKEN(T_STRING); } -#line 2640 "Zend/zend_language_scanner.c" +#line 2638 "Zend/zend_language_scanner.c" yy121: YYDEBUG(121, *YYCURSOR); yyaccept = 2; @@ -2925,7 +2923,7 @@ yy142: { RETURN_TOKEN(T_NS_SEPARATOR); } -#line 2929 "Zend/zend_language_scanner.c" +#line 2927 "Zend/zend_language_scanner.c" yy144: YYDEBUG(144, *YYCURSOR); yych = *++YYCURSOR; @@ -2941,12 +2939,12 @@ yy146: ++YYCURSOR; YYDEBUG(147, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 2129 "Zend/zend_language_scanner.l" +#line 2127 "Zend/zend_language_scanner.l" { BEGIN(ST_BACKQUOTE); RETURN_TOKEN('`'); } -#line 2950 "Zend/zend_language_scanner.c" +#line 2948 "Zend/zend_language_scanner.c" yy148: YYDEBUG(148, *YYCURSOR); ++YYCURSOR; @@ -2957,7 +2955,7 @@ yy148: yy_push_state(ST_IN_SCRIPTING); RETURN_TOKEN('{'); } -#line 2961 "Zend/zend_language_scanner.c" +#line 2959 "Zend/zend_language_scanner.c" yy150: YYDEBUG(150, *YYCURSOR); yych = *++YYCURSOR; @@ -2977,7 +2975,7 @@ yy151: } RETURN_TOKEN('}'); } -#line 2981 "Zend/zend_language_scanner.c" +#line 2979 "Zend/zend_language_scanner.c" yy153: YYDEBUG(153, *YYCURSOR); ++YYCURSOR; @@ -2989,7 +2987,7 @@ yy154: { RETURN_TOKEN(T_IS_NOT_EQUAL); } -#line 2993 "Zend/zend_language_scanner.c" +#line 2991 "Zend/zend_language_scanner.c" yy155: YYDEBUG(155, *YYCURSOR); ++YYCURSOR; @@ -3014,12 +3012,12 @@ yy155: yy157: YYDEBUG(157, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1870 "Zend/zend_language_scanner.l" +#line 1868 "Zend/zend_language_scanner.l" { zend_copy_value(zendlval, (yytext+1), (yyleng-1)); RETURN_TOKEN(T_VARIABLE); } -#line 3023 "Zend/zend_language_scanner.c" +#line 3021 "Zend/zend_language_scanner.c" yy158: YYDEBUG(158, *YYCURSOR); ++YYCURSOR; @@ -3029,7 +3027,7 @@ yy158: { RETURN_TOKEN(T_MOD_EQUAL); } -#line 3033 "Zend/zend_language_scanner.c" +#line 3031 "Zend/zend_language_scanner.c" yy160: YYDEBUG(160, *YYCURSOR); ++YYCURSOR; @@ -3039,7 +3037,7 @@ yy160: { RETURN_TOKEN(T_BOOLEAN_AND); } -#line 3043 "Zend/zend_language_scanner.c" +#line 3041 "Zend/zend_language_scanner.c" yy162: YYDEBUG(162, *YYCURSOR); ++YYCURSOR; @@ -3049,7 +3047,7 @@ yy162: { RETURN_TOKEN(T_AND_EQUAL); } -#line 3053 "Zend/zend_language_scanner.c" +#line 3051 "Zend/zend_language_scanner.c" yy164: YYDEBUG(164, *YYCURSOR); ++YYCURSOR; @@ -3183,7 +3181,7 @@ yy176: { RETURN_TOKEN(T_POW); } -#line 3187 "Zend/zend_language_scanner.c" +#line 3185 "Zend/zend_language_scanner.c" yy178: YYDEBUG(178, *YYCURSOR); ++YYCURSOR; @@ -3193,7 +3191,7 @@ yy178: { RETURN_TOKEN(T_MUL_EQUAL); } -#line 3197 "Zend/zend_language_scanner.c" +#line 3195 "Zend/zend_language_scanner.c" yy180: YYDEBUG(180, *YYCURSOR); ++YYCURSOR; @@ -3203,7 +3201,7 @@ yy180: { RETURN_TOKEN(T_INC); } -#line 3207 "Zend/zend_language_scanner.c" +#line 3205 "Zend/zend_language_scanner.c" yy182: YYDEBUG(182, *YYCURSOR); ++YYCURSOR; @@ -3213,7 +3211,7 @@ yy182: { RETURN_TOKEN(T_PLUS_EQUAL); } -#line 3217 "Zend/zend_language_scanner.c" +#line 3215 "Zend/zend_language_scanner.c" yy184: YYDEBUG(184, *YYCURSOR); ++YYCURSOR; @@ -3223,7 +3221,7 @@ yy184: { RETURN_TOKEN(T_DEC); } -#line 3227 "Zend/zend_language_scanner.c" +#line 3225 "Zend/zend_language_scanner.c" yy186: YYDEBUG(186, *YYCURSOR); ++YYCURSOR; @@ -3233,7 +3231,7 @@ yy186: { RETURN_TOKEN(T_MINUS_EQUAL); } -#line 3237 "Zend/zend_language_scanner.c" +#line 3235 "Zend/zend_language_scanner.c" yy188: YYDEBUG(188, *YYCURSOR); ++YYCURSOR; @@ -3244,7 +3242,7 @@ yy188: yy_push_state(ST_LOOKING_FOR_PROPERTY); RETURN_TOKEN(T_OBJECT_OPERATOR); } -#line 3248 "Zend/zend_language_scanner.c" +#line 3246 "Zend/zend_language_scanner.c" yy190: YYDEBUG(190, *YYCURSOR); yych = *++YYCURSOR; @@ -3267,7 +3265,7 @@ yy191: yy193: YYDEBUG(193, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1741 "Zend/zend_language_scanner.l" +#line 1739 "Zend/zend_language_scanner.l" { const char *end; @@ -3276,7 +3274,7 @@ yy193: ZEND_ASSERT(end == yytext + yyleng); RETURN_TOKEN(T_DNUMBER); } -#line 3280 "Zend/zend_language_scanner.c" +#line 3278 "Zend/zend_language_scanner.c" yy194: YYDEBUG(194, *YYCURSOR); ++YYCURSOR; @@ -3286,7 +3284,7 @@ yy194: { RETURN_TOKEN(T_CONCAT_EQUAL); } -#line 3290 "Zend/zend_language_scanner.c" +#line 3288 "Zend/zend_language_scanner.c" yy196: YYDEBUG(196, *YYCURSOR); yyaccept = 4; @@ -3295,7 +3293,7 @@ yy196: yy197: YYDEBUG(197, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1928 "Zend/zend_language_scanner.l" +#line 1926 "Zend/zend_language_scanner.l" { int doc_com; @@ -3328,7 +3326,7 @@ yy197: RETURN_TOKEN(T_COMMENT); } -#line 3332 "Zend/zend_language_scanner.c" +#line 3330 "Zend/zend_language_scanner.c" yy198: YYDEBUG(198, *YYCURSOR); ++YYCURSOR; @@ -3338,7 +3336,7 @@ yy198: { RETURN_TOKEN(T_DIV_EQUAL); } -#line 3342 "Zend/zend_language_scanner.c" +#line 3340 "Zend/zend_language_scanner.c" yy200: YYDEBUG(200, *YYCURSOR); yych = *++YYCURSOR; @@ -3374,7 +3372,7 @@ yy203: { RETURN_TOKEN(T_PAAMAYIM_NEKUDOTAYIM); } -#line 3378 "Zend/zend_language_scanner.c" +#line 3376 "Zend/zend_language_scanner.c" yy205: YYDEBUG(205, *YYCURSOR); yyaccept = 5; @@ -3389,7 +3387,7 @@ yy206: { RETURN_TOKEN(T_SL); } -#line 3393 "Zend/zend_language_scanner.c" +#line 3391 "Zend/zend_language_scanner.c" yy207: YYDEBUG(207, *YYCURSOR); ++YYCURSOR; @@ -3400,7 +3398,7 @@ yy207: { RETURN_TOKEN(T_IS_SMALLER_OR_EQUAL); } -#line 3404 "Zend/zend_language_scanner.c" +#line 3402 "Zend/zend_language_scanner.c" yy209: YYDEBUG(209, *YYCURSOR); yych = *++YYCURSOR; @@ -3415,7 +3413,7 @@ yy210: { RETURN_TOKEN(T_IS_EQUAL); } -#line 3419 "Zend/zend_language_scanner.c" +#line 3417 "Zend/zend_language_scanner.c" yy212: YYDEBUG(212, *YYCURSOR); ++YYCURSOR; @@ -3425,7 +3423,7 @@ yy212: { RETURN_TOKEN(T_DOUBLE_ARROW); } -#line 3429 "Zend/zend_language_scanner.c" +#line 3427 "Zend/zend_language_scanner.c" yy214: YYDEBUG(214, *YYCURSOR); ++YYCURSOR; @@ -3435,7 +3433,7 @@ yy214: { RETURN_TOKEN(T_IS_GREATER_OR_EQUAL); } -#line 3439 "Zend/zend_language_scanner.c" +#line 3437 "Zend/zend_language_scanner.c" yy216: YYDEBUG(216, *YYCURSOR); ++YYCURSOR; @@ -3446,7 +3444,7 @@ yy216: { RETURN_TOKEN(T_SR); } -#line 3450 "Zend/zend_language_scanner.c" +#line 3448 "Zend/zend_language_scanner.c" yy218: YYDEBUG(218, *YYCURSOR); ++YYCURSOR; @@ -3455,7 +3453,7 @@ yy218: yy219: YYDEBUG(219, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1961 "Zend/zend_language_scanner.l" +#line 1959 "Zend/zend_language_scanner.l" { BEGIN(INITIAL); if (yytext[yyleng-1] != '>') { @@ -3463,7 +3461,7 @@ yy219: } RETURN_TOKEN(T_CLOSE_TAG); /* implicit ';' at php-end tag */ } -#line 3467 "Zend/zend_language_scanner.c" +#line 3465 "Zend/zend_language_scanner.c" yy220: YYDEBUG(220, *YYCURSOR); ++YYCURSOR; @@ -3473,7 +3471,7 @@ yy220: { RETURN_TOKEN(T_COALESCE); } -#line 3477 "Zend/zend_language_scanner.c" +#line 3475 "Zend/zend_language_scanner.c" yy222: YYDEBUG(222, *YYCURSOR); yych = *++YYCURSOR; @@ -3504,7 +3502,7 @@ yy225: { RETURN_TOKEN(T_AS); } -#line 3508 "Zend/zend_language_scanner.c" +#line 3506 "Zend/zend_language_scanner.c" yy227: YYDEBUG(227, *YYCURSOR); yych = *++YYCURSOR; @@ -3594,7 +3592,7 @@ yy234: { RETURN_TOKEN(T_DO); } -#line 3598 "Zend/zend_language_scanner.c" +#line 3596 "Zend/zend_language_scanner.c" yy236: YYDEBUG(236, *YYCURSOR); yych = *++YYCURSOR; @@ -3683,7 +3681,7 @@ yy247: { RETURN_TOKEN(T_IF); } -#line 3687 "Zend/zend_language_scanner.c" +#line 3685 "Zend/zend_language_scanner.c" yy249: YYDEBUG(249, *YYCURSOR); yych = *++YYCURSOR; @@ -3748,7 +3746,7 @@ yy255: { RETURN_TOKEN(T_LOGICAL_OR); } -#line 3752 "Zend/zend_language_scanner.c" +#line 3750 "Zend/zend_language_scanner.c" yy257: YYDEBUG(257, *YYCURSOR); yych = *++YYCURSOR; @@ -3866,7 +3864,7 @@ yy270: { RETURN_TOKEN(T_XOR_EQUAL); } -#line 3870 "Zend/zend_language_scanner.c" +#line 3868 "Zend/zend_language_scanner.c" yy272: YYDEBUG(272, *YYCURSOR); yych = *++YYCURSOR; @@ -3898,7 +3896,7 @@ yy273: { RETURN_TOKEN(T_OR_EQUAL); } -#line 3902 "Zend/zend_language_scanner.c" +#line 3900 "Zend/zend_language_scanner.c" yy275: YYDEBUG(275, *YYCURSOR); ++YYCURSOR; @@ -3908,7 +3906,7 @@ yy275: { RETURN_TOKEN(T_BOOLEAN_OR); } -#line 3912 "Zend/zend_language_scanner.c" +#line 3910 "Zend/zend_language_scanner.c" yy277: YYDEBUG(277, *YYCURSOR); ++YYCURSOR; @@ -3918,7 +3916,7 @@ yy277: { RETURN_TOKEN(T_IS_NOT_IDENTICAL); } -#line 3922 "Zend/zend_language_scanner.c" +#line 3920 "Zend/zend_language_scanner.c" yy279: YYDEBUG(279, *YYCURSOR); yych = *++YYCURSOR; @@ -3988,7 +3986,7 @@ yy289: { RETURN_TOKEN(T_POW_EQUAL); } -#line 3992 "Zend/zend_language_scanner.c" +#line 3990 "Zend/zend_language_scanner.c" yy291: YYDEBUG(291, *YYCURSOR); ++YYCURSOR; @@ -3998,7 +3996,7 @@ yy291: { RETURN_TOKEN(T_ELLIPSIS); } -#line 4002 "Zend/zend_language_scanner.c" +#line 4000 "Zend/zend_language_scanner.c" yy293: YYDEBUG(293, *YYCURSOR); yych = *++YYCURSOR; @@ -4050,7 +4048,7 @@ yy294: RETURN_TOKEN(T_DNUMBER); } } -#line 4054 "Zend/zend_language_scanner.c" +#line 4052 "Zend/zend_language_scanner.c" yy297: YYDEBUG(297, *YYCURSOR); yych = *++YYCURSOR; @@ -4076,7 +4074,7 @@ yy300: } YYDEBUG(302, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1692 "Zend/zend_language_scanner.l" +#line 1690 "Zend/zend_language_scanner.l" { char *hex = yytext + 2; /* Skip "0x" */ int len = yyleng - 2; @@ -4104,7 +4102,7 @@ yy300: RETURN_TOKEN(T_DNUMBER); } } -#line 4108 "Zend/zend_language_scanner.c" +#line 4106 "Zend/zend_language_scanner.c" yy303: YYDEBUG(303, *YYCURSOR); ++YYCURSOR; @@ -4143,7 +4141,7 @@ yy305: { RETURN_TOKEN(T_SL_EQUAL); } -#line 4147 "Zend/zend_language_scanner.c" +#line 4145 "Zend/zend_language_scanner.c" yy307: YYDEBUG(307, *YYCURSOR); ++YYCURSOR; @@ -4153,7 +4151,7 @@ yy307: { RETURN_TOKEN(T_SPACESHIP); } -#line 4157 "Zend/zend_language_scanner.c" +#line 4155 "Zend/zend_language_scanner.c" yy309: YYDEBUG(309, *YYCURSOR); ++YYCURSOR; @@ -4163,7 +4161,7 @@ yy309: { RETURN_TOKEN(T_IS_IDENTICAL); } -#line 4167 "Zend/zend_language_scanner.c" +#line 4165 "Zend/zend_language_scanner.c" yy311: YYDEBUG(311, *YYCURSOR); ++YYCURSOR; @@ -4173,7 +4171,7 @@ yy311: { RETURN_TOKEN(T_SR_EQUAL); } -#line 4177 "Zend/zend_language_scanner.c" +#line 4175 "Zend/zend_language_scanner.c" yy313: YYDEBUG(313, *YYCURSOR); yych = *++YYCURSOR; @@ -4201,7 +4199,7 @@ yy316: { RETURN_TOKEN(T_LOGICAL_AND); } -#line 4205 "Zend/zend_language_scanner.c" +#line 4203 "Zend/zend_language_scanner.c" yy318: YYDEBUG(318, *YYCURSOR); yych = *++YYCURSOR; @@ -4286,7 +4284,7 @@ yy329: { RETURN_TOKEN(T_EXIT); } -#line 4290 "Zend/zend_language_scanner.c" +#line 4288 "Zend/zend_language_scanner.c" yy331: YYDEBUG(331, *YYCURSOR); yych = *++YYCURSOR; @@ -4372,7 +4370,7 @@ yy340: { RETURN_TOKEN(T_FOR); } -#line 4376 "Zend/zend_language_scanner.c" +#line 4374 "Zend/zend_language_scanner.c" yy341: YYDEBUG(341, *YYCURSOR); yych = *++YYCURSOR; @@ -4445,7 +4443,7 @@ yy351: { RETURN_TOKEN(T_NEW); } -#line 4449 "Zend/zend_language_scanner.c" +#line 4447 "Zend/zend_language_scanner.c" yy353: YYDEBUG(353, *YYCURSOR); yych = *++YYCURSOR; @@ -4522,7 +4520,7 @@ yy362: { RETURN_TOKEN(T_TRY); } -#line 4526 "Zend/zend_language_scanner.c" +#line 4524 "Zend/zend_language_scanner.c" yy364: YYDEBUG(364, *YYCURSOR); yych = *++YYCURSOR; @@ -4541,7 +4539,7 @@ yy365: { RETURN_TOKEN(T_USE); } -#line 4545 "Zend/zend_language_scanner.c" +#line 4543 "Zend/zend_language_scanner.c" yy367: YYDEBUG(367, *YYCURSOR); ++YYCURSOR; @@ -4554,7 +4552,7 @@ yy367: { RETURN_TOKEN(T_VAR); } -#line 4558 "Zend/zend_language_scanner.c" +#line 4556 "Zend/zend_language_scanner.c" yy369: YYDEBUG(369, *YYCURSOR); yych = *++YYCURSOR; @@ -4573,7 +4571,7 @@ yy370: { RETURN_TOKEN(T_LOGICAL_XOR); } -#line 4577 "Zend/zend_language_scanner.c" +#line 4575 "Zend/zend_language_scanner.c" yy372: YYDEBUG(372, *YYCURSOR); yych = *++YYCURSOR; @@ -4791,7 +4789,7 @@ yy401: { RETURN_TOKEN(T_CASE); } -#line 4795 "Zend/zend_language_scanner.c" +#line 4793 "Zend/zend_language_scanner.c" yy403: YYDEBUG(403, *YYCURSOR); yych = *++YYCURSOR; @@ -4846,7 +4844,7 @@ yy410: { RETURN_TOKEN(T_ECHO); } -#line 4850 "Zend/zend_language_scanner.c" +#line 4848 "Zend/zend_language_scanner.c" yy412: YYDEBUG(412, *YYCURSOR); ++YYCURSOR; @@ -4874,7 +4872,7 @@ yy413: { RETURN_TOKEN(T_ELSE); } -#line 4878 "Zend/zend_language_scanner.c" +#line 4876 "Zend/zend_language_scanner.c" yy414: YYDEBUG(414, *YYCURSOR); yych = *++YYCURSOR; @@ -4923,7 +4921,7 @@ yy420: { RETURN_TOKEN(T_EVAL); } -#line 4927 "Zend/zend_language_scanner.c" +#line 4925 "Zend/zend_language_scanner.c" yy422: YYDEBUG(422, *YYCURSOR); ++YYCURSOR; @@ -4936,7 +4934,7 @@ yy422: { RETURN_TOKEN(T_EXIT); } -#line 4940 "Zend/zend_language_scanner.c" +#line 4938 "Zend/zend_language_scanner.c" yy424: YYDEBUG(424, *YYCURSOR); yych = *++YYCURSOR; @@ -4979,7 +4977,7 @@ yy429: { RETURN_TOKEN(T_GOTO); } -#line 4983 "Zend/zend_language_scanner.c" +#line 4981 "Zend/zend_language_scanner.c" yy431: YYDEBUG(431, *YYCURSOR); yych = *++YYCURSOR; @@ -5032,7 +5030,7 @@ yy436: { RETURN_TOKEN(T_LIST); } -#line 5036 "Zend/zend_language_scanner.c" +#line 5034 "Zend/zend_language_scanner.c" yy438: YYDEBUG(438, *YYCURSOR); yych = *++YYCURSOR; @@ -5223,7 +5221,7 @@ yy467: { RETURN_TOKEN(T_INT_CAST); } -#line 5227 "Zend/zend_language_scanner.c" +#line 5225 "Zend/zend_language_scanner.c" yy470: YYDEBUG(470, *YYCURSOR); yych = *++YYCURSOR; @@ -5320,7 +5318,7 @@ yy480: yy481: YYDEBUG(481, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 2081 "Zend/zend_language_scanner.l" +#line 2079 "Zend/zend_language_scanner.l" { char *s; int bprefix = (yytext[0] != '<') ? 1 : 0; @@ -5367,7 +5365,7 @@ yy481: RETURN_TOKEN(T_START_HEREDOC); } -#line 5371 "Zend/zend_language_scanner.c" +#line 5369 "Zend/zend_language_scanner.c" yy482: YYDEBUG(482, *YYCURSOR); yych = *++YYCURSOR; @@ -5391,7 +5389,7 @@ yy484: { RETURN_TOKEN(T_ARRAY); } -#line 5395 "Zend/zend_language_scanner.c" +#line 5393 "Zend/zend_language_scanner.c" yy486: YYDEBUG(486, *YYCURSOR); ++YYCURSOR; @@ -5404,7 +5402,7 @@ yy486: { RETURN_TOKEN(T_BREAK); } -#line 5408 "Zend/zend_language_scanner.c" +#line 5406 "Zend/zend_language_scanner.c" yy488: YYDEBUG(488, *YYCURSOR); yych = *++YYCURSOR; @@ -5423,7 +5421,7 @@ yy489: { RETURN_TOKEN(T_CATCH); } -#line 5427 "Zend/zend_language_scanner.c" +#line 5425 "Zend/zend_language_scanner.c" yy491: YYDEBUG(491, *YYCURSOR); ++YYCURSOR; @@ -5436,7 +5434,7 @@ yy491: { RETURN_TOKEN(T_CLASS); } -#line 5440 "Zend/zend_language_scanner.c" +#line 5438 "Zend/zend_language_scanner.c" yy493: YYDEBUG(493, *YYCURSOR); ++YYCURSOR; @@ -5449,7 +5447,7 @@ yy493: { RETURN_TOKEN(T_CLONE); } -#line 5453 "Zend/zend_language_scanner.c" +#line 5451 "Zend/zend_language_scanner.c" yy495: YYDEBUG(495, *YYCURSOR); ++YYCURSOR; @@ -5462,7 +5460,7 @@ yy495: { RETURN_TOKEN(T_CONST); } -#line 5466 "Zend/zend_language_scanner.c" +#line 5464 "Zend/zend_language_scanner.c" yy497: YYDEBUG(497, *YYCURSOR); yych = *++YYCURSOR; @@ -5499,7 +5497,7 @@ yy501: { RETURN_TOKEN(T_EMPTY); } -#line 5503 "Zend/zend_language_scanner.c" +#line 5501 "Zend/zend_language_scanner.c" yy503: YYDEBUG(503, *YYCURSOR); yych = *++YYCURSOR; @@ -5524,7 +5522,7 @@ yy505: { RETURN_TOKEN(T_ENDIF); } -#line 5528 "Zend/zend_language_scanner.c" +#line 5526 "Zend/zend_language_scanner.c" yy507: YYDEBUG(507, *YYCURSOR); yych = *++YYCURSOR; @@ -5570,7 +5568,7 @@ yy511: { RETURN_TOKEN(T_FINAL); } -#line 5574 "Zend/zend_language_scanner.c" +#line 5572 "Zend/zend_language_scanner.c" yy512: YYDEBUG(512, *YYCURSOR); yych = *++YYCURSOR; @@ -5631,7 +5629,7 @@ yy520: { RETURN_TOKEN(T_ISSET); } -#line 5635 "Zend/zend_language_scanner.c" +#line 5633 "Zend/zend_language_scanner.c" yy522: YYDEBUG(522, *YYCURSOR); yych = *++YYCURSOR; @@ -5650,7 +5648,7 @@ yy523: { RETURN_TOKEN(T_PRINT); } -#line 5654 "Zend/zend_language_scanner.c" +#line 5652 "Zend/zend_language_scanner.c" yy525: YYDEBUG(525, *YYCURSOR); yych = *++YYCURSOR; @@ -5705,7 +5703,7 @@ yy532: { RETURN_TOKEN(T_THROW); } -#line 5709 "Zend/zend_language_scanner.c" +#line 5707 "Zend/zend_language_scanner.c" yy534: YYDEBUG(534, *YYCURSOR); ++YYCURSOR; @@ -5718,7 +5716,7 @@ yy534: { RETURN_TOKEN(T_TRAIT); } -#line 5722 "Zend/zend_language_scanner.c" +#line 5720 "Zend/zend_language_scanner.c" yy536: YYDEBUG(536, *YYCURSOR); ++YYCURSOR; @@ -5731,7 +5729,7 @@ yy536: { RETURN_TOKEN(T_UNSET); } -#line 5735 "Zend/zend_language_scanner.c" +#line 5733 "Zend/zend_language_scanner.c" yy538: YYDEBUG(538, *YYCURSOR); ++YYCURSOR; @@ -5744,7 +5742,7 @@ yy538: { RETURN_TOKEN(T_WHILE); } -#line 5748 "Zend/zend_language_scanner.c" +#line 5746 "Zend/zend_language_scanner.c" yy540: YYDEBUG(540, *YYCURSOR); yyaccept = 6; @@ -5766,7 +5764,7 @@ yy541: { RETURN_TOKEN(T_YIELD); } -#line 5770 "Zend/zend_language_scanner.c" +#line 5768 "Zend/zend_language_scanner.c" yy542: YYDEBUG(542, *YYCURSOR); yych = *++YYCURSOR; @@ -5862,7 +5860,7 @@ yy555: { RETURN_TOKEN(T_BOOL_CAST); } -#line 5866 "Zend/zend_language_scanner.c" +#line 5864 "Zend/zend_language_scanner.c" yy558: YYDEBUG(558, *YYCURSOR); yych = *++YYCURSOR; @@ -5896,7 +5894,7 @@ yy562: { RETURN_TOKEN(T_DOUBLE_CAST); } -#line 5900 "Zend/zend_language_scanner.c" +#line 5898 "Zend/zend_language_scanner.c" yy564: YYDEBUG(564, *YYCURSOR); yych = *++YYCURSOR; @@ -5965,7 +5963,7 @@ yy573: { RETURN_TOKEN(T_ELSEIF); } -#line 5969 "Zend/zend_language_scanner.c" +#line 5967 "Zend/zend_language_scanner.c" yy575: YYDEBUG(575, *YYCURSOR); yych = *++YYCURSOR; @@ -5999,7 +5997,7 @@ yy577: { RETURN_TOKEN(T_ENDFOR); } -#line 6003 "Zend/zend_language_scanner.c" +#line 6001 "Zend/zend_language_scanner.c" yy578: YYDEBUG(578, *YYCURSOR); yych = *++YYCURSOR; @@ -6048,7 +6046,7 @@ yy584: { RETURN_TOKEN(T_GLOBAL); } -#line 6052 "Zend/zend_language_scanner.c" +#line 6050 "Zend/zend_language_scanner.c" yy586: YYDEBUG(586, *YYCURSOR); yych = *++YYCURSOR; @@ -6109,7 +6107,7 @@ yy594: { RETURN_TOKEN(T_PUBLIC); } -#line 6113 "Zend/zend_language_scanner.c" +#line 6111 "Zend/zend_language_scanner.c" yy596: YYDEBUG(596, *YYCURSOR); yych = *++YYCURSOR; @@ -6128,7 +6126,7 @@ yy597: { RETURN_TOKEN(T_RETURN); } -#line 6132 "Zend/zend_language_scanner.c" +#line 6130 "Zend/zend_language_scanner.c" yy599: YYDEBUG(599, *YYCURSOR); ++YYCURSOR; @@ -6141,7 +6139,7 @@ yy599: { RETURN_TOKEN(T_STATIC); } -#line 6145 "Zend/zend_language_scanner.c" +#line 6143 "Zend/zend_language_scanner.c" yy601: YYDEBUG(601, *YYCURSOR); ++YYCURSOR; @@ -6154,7 +6152,7 @@ yy601: { RETURN_TOKEN(T_SWITCH); } -#line 6158 "Zend/zend_language_scanner.c" +#line 6156 "Zend/zend_language_scanner.c" yy603: YYDEBUG(603, *YYCURSOR); ++YYCURSOR; @@ -6238,7 +6236,7 @@ yy614: { RETURN_TOKEN(T_ARRAY_CAST); } -#line 6242 "Zend/zend_language_scanner.c" +#line 6240 "Zend/zend_language_scanner.c" yy616: YYDEBUG(616, *YYCURSOR); ++YYCURSOR; @@ -6288,7 +6286,7 @@ yy622: { RETURN_TOKEN(T_UNSET_CAST); } -#line 6292 "Zend/zend_language_scanner.c" +#line 6290 "Zend/zend_language_scanner.c" yy624: YYDEBUG(624, *YYCURSOR); yych = *++YYCURSOR; @@ -6319,7 +6317,7 @@ yy627: { RETURN_TOKEN(T_DECLARE); } -#line 6323 "Zend/zend_language_scanner.c" +#line 6321 "Zend/zend_language_scanner.c" yy629: YYDEBUG(629, *YYCURSOR); ++YYCURSOR; @@ -6332,7 +6330,7 @@ yy629: { RETURN_TOKEN(T_DEFAULT); } -#line 6336 "Zend/zend_language_scanner.c" +#line 6334 "Zend/zend_language_scanner.c" yy631: YYDEBUG(631, *YYCURSOR); yych = *++YYCURSOR; @@ -6369,7 +6367,7 @@ yy635: { RETURN_TOKEN(T_EXTENDS); } -#line 6373 "Zend/zend_language_scanner.c" +#line 6371 "Zend/zend_language_scanner.c" yy637: YYDEBUG(637, *YYCURSOR); ++YYCURSOR; @@ -6382,7 +6380,7 @@ yy637: { RETURN_TOKEN(T_FINALLY); } -#line 6386 "Zend/zend_language_scanner.c" +#line 6384 "Zend/zend_language_scanner.c" yy639: YYDEBUG(639, *YYCURSOR); ++YYCURSOR; @@ -6395,7 +6393,7 @@ yy639: { RETURN_TOKEN(T_FOREACH); } -#line 6399 "Zend/zend_language_scanner.c" +#line 6397 "Zend/zend_language_scanner.c" yy641: YYDEBUG(641, *YYCURSOR); yych = *++YYCURSOR; @@ -6433,7 +6431,7 @@ yy644: { RETURN_TOKEN(T_INCLUDE); } -#line 6437 "Zend/zend_language_scanner.c" +#line 6435 "Zend/zend_language_scanner.c" yy645: YYDEBUG(645, *YYCURSOR); yych = *++YYCURSOR; @@ -6470,7 +6468,7 @@ yy649: { RETURN_TOKEN(T_PRIVATE); } -#line 6474 "Zend/zend_language_scanner.c" +#line 6472 "Zend/zend_language_scanner.c" yy651: YYDEBUG(651, *YYCURSOR); yych = *++YYCURSOR; @@ -6502,7 +6500,7 @@ yy653: { RETURN_TOKEN(T_REQUIRE); } -#line 6506 "Zend/zend_language_scanner.c" +#line 6504 "Zend/zend_language_scanner.c" yy654: YYDEBUG(654, *YYCURSOR); yych = *++YYCURSOR; @@ -6522,11 +6520,11 @@ yy656: } YYDEBUG(657, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1774 "Zend/zend_language_scanner.l" +#line 1772 "Zend/zend_language_scanner.l" { RETURN_TOKEN(T_DIR); } -#line 6530 "Zend/zend_language_scanner.c" +#line 6528 "Zend/zend_language_scanner.c" yy658: YYDEBUG(658, *YYCURSOR); yych = *++YYCURSOR; @@ -6575,7 +6573,7 @@ yy665: { RETURN_TOKEN(T_STRING_CAST); } -#line 6579 "Zend/zend_language_scanner.c" +#line 6577 "Zend/zend_language_scanner.c" yy667: YYDEBUG(667, *YYCURSOR); ++YYCURSOR; @@ -6585,7 +6583,7 @@ yy667: { RETURN_TOKEN(T_OBJECT_CAST); } -#line 6589 "Zend/zend_language_scanner.c" +#line 6587 "Zend/zend_language_scanner.c" yy669: YYDEBUG(669, *YYCURSOR); ++YYCURSOR; @@ -6598,7 +6596,7 @@ yy669: { RETURN_TOKEN(T_ABSTRACT); } -#line 6602 "Zend/zend_language_scanner.c" +#line 6600 "Zend/zend_language_scanner.c" yy671: YYDEBUG(671, *YYCURSOR); ++YYCURSOR; @@ -6611,7 +6609,7 @@ yy671: { RETURN_TOKEN(T_CALLABLE); } -#line 6615 "Zend/zend_language_scanner.c" +#line 6613 "Zend/zend_language_scanner.c" yy673: YYDEBUG(673, *YYCURSOR); ++YYCURSOR; @@ -6624,7 +6622,7 @@ yy673: { RETURN_TOKEN(T_CONTINUE); } -#line 6628 "Zend/zend_language_scanner.c" +#line 6626 "Zend/zend_language_scanner.c" yy675: YYDEBUG(675, *YYCURSOR); yych = *++YYCURSOR; @@ -6655,7 +6653,7 @@ yy678: { RETURN_TOKEN(T_ENDWHILE); } -#line 6659 "Zend/zend_language_scanner.c" +#line 6657 "Zend/zend_language_scanner.c" yy680: YYDEBUG(680, *YYCURSOR); ++YYCURSOR; @@ -6668,7 +6666,7 @@ yy680: { RETURN_TOKEN(T_FUNCTION); } -#line 6672 "Zend/zend_language_scanner.c" +#line 6670 "Zend/zend_language_scanner.c" yy682: YYDEBUG(682, *YYCURSOR); yych = *++YYCURSOR; @@ -6736,11 +6734,11 @@ yy692: } YYDEBUG(693, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1770 "Zend/zend_language_scanner.l" +#line 1768 "Zend/zend_language_scanner.l" { RETURN_TOKEN(T_FILE); } -#line 6744 "Zend/zend_language_scanner.c" +#line 6742 "Zend/zend_language_scanner.c" yy694: YYDEBUG(694, *YYCURSOR); yych = *++YYCURSOR; @@ -6761,11 +6759,11 @@ yy696: } YYDEBUG(697, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1766 "Zend/zend_language_scanner.l" +#line 1764 "Zend/zend_language_scanner.l" { RETURN_TOKEN(T_LINE); } -#line 6769 "Zend/zend_language_scanner.c" +#line 6767 "Zend/zend_language_scanner.c" yy698: YYDEBUG(698, *YYCURSOR); yych = *++YYCURSOR; @@ -6806,7 +6804,7 @@ yy703: { RETURN_TOKEN(T_ENDSWITCH); } -#line 6810 "Zend/zend_language_scanner.c" +#line 6808 "Zend/zend_language_scanner.c" yy705: YYDEBUG(705, *YYCURSOR); yych = *++YYCURSOR; @@ -6837,7 +6835,7 @@ yy708: { RETURN_TOKEN(T_INSTEADOF); } -#line 6841 "Zend/zend_language_scanner.c" +#line 6839 "Zend/zend_language_scanner.c" yy710: YYDEBUG(710, *YYCURSOR); ++YYCURSOR; @@ -6850,7 +6848,7 @@ yy710: { RETURN_TOKEN(T_INTERFACE); } -#line 6854 "Zend/zend_language_scanner.c" +#line 6852 "Zend/zend_language_scanner.c" yy712: YYDEBUG(712, *YYCURSOR); ++YYCURSOR; @@ -6863,7 +6861,7 @@ yy712: { RETURN_TOKEN(T_NAMESPACE); } -#line 6867 "Zend/zend_language_scanner.c" +#line 6865 "Zend/zend_language_scanner.c" yy714: YYDEBUG(714, *YYCURSOR); ++YYCURSOR; @@ -6876,7 +6874,7 @@ yy714: { RETURN_TOKEN(T_PROTECTED); } -#line 6880 "Zend/zend_language_scanner.c" +#line 6878 "Zend/zend_language_scanner.c" yy716: YYDEBUG(716, *YYCURSOR); yych = *++YYCURSOR; @@ -6897,11 +6895,11 @@ yy718: } YYDEBUG(719, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1750 "Zend/zend_language_scanner.l" +#line 1748 "Zend/zend_language_scanner.l" { RETURN_TOKEN(T_CLASS_C); } -#line 6905 "Zend/zend_language_scanner.c" +#line 6903 "Zend/zend_language_scanner.c" yy720: YYDEBUG(720, *YYCURSOR); yych = *++YYCURSOR; @@ -6933,11 +6931,11 @@ yy724: } YYDEBUG(725, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1754 "Zend/zend_language_scanner.l" +#line 1752 "Zend/zend_language_scanner.l" { RETURN_TOKEN(T_TRAIT_C); } -#line 6941 "Zend/zend_language_scanner.c" +#line 6939 "Zend/zend_language_scanner.c" yy726: YYDEBUG(726, *YYCURSOR); ++YYCURSOR; @@ -6950,7 +6948,7 @@ yy726: { RETURN_TOKEN(T_ENDDECLARE); } -#line 6954 "Zend/zend_language_scanner.c" +#line 6952 "Zend/zend_language_scanner.c" yy728: YYDEBUG(728, *YYCURSOR); ++YYCURSOR; @@ -6963,7 +6961,7 @@ yy728: { RETURN_TOKEN(T_ENDFOREACH); } -#line 6967 "Zend/zend_language_scanner.c" +#line 6965 "Zend/zend_language_scanner.c" yy730: YYDEBUG(730, *YYCURSOR); ++YYCURSOR; @@ -6976,7 +6974,7 @@ yy730: { RETURN_TOKEN(T_IMPLEMENTS); } -#line 6980 "Zend/zend_language_scanner.c" +#line 6978 "Zend/zend_language_scanner.c" yy732: YYDEBUG(732, *YYCURSOR); yych = *++YYCURSOR; @@ -6995,7 +6993,7 @@ yy733: { RETURN_TOKEN(T_INSTANCEOF); } -#line 6999 "Zend/zend_language_scanner.c" +#line 6997 "Zend/zend_language_scanner.c" yy735: YYDEBUG(735, *YYCURSOR); yych = *++YYCURSOR; @@ -7043,11 +7041,11 @@ yy739: } YYDEBUG(740, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1762 "Zend/zend_language_scanner.l" +#line 1760 "Zend/zend_language_scanner.l" { RETURN_TOKEN(T_METHOD_C); } -#line 7051 "Zend/zend_language_scanner.c" +#line 7049 "Zend/zend_language_scanner.c" yy741: YYDEBUG(741, *YYCURSOR); yych = *++YYCURSOR; @@ -7077,7 +7075,7 @@ yy744: HANDLE_NEWLINES(yytext, yyleng); RETURN_TOKEN(T_YIELD_FROM); } -#line 7081 "Zend/zend_language_scanner.c" +#line 7079 "Zend/zend_language_scanner.c" yy746: YYDEBUG(746, *YYCURSOR); yych = *++YYCURSOR; @@ -7106,7 +7104,7 @@ yy749: { RETURN_TOKEN(T_INCLUDE_ONCE); } -#line 7110 "Zend/zend_language_scanner.c" +#line 7108 "Zend/zend_language_scanner.c" yy751: YYDEBUG(751, *YYCURSOR); ++YYCURSOR; @@ -7119,7 +7117,7 @@ yy751: { RETURN_TOKEN(T_REQUIRE_ONCE); } -#line 7123 "Zend/zend_language_scanner.c" +#line 7121 "Zend/zend_language_scanner.c" yy753: YYDEBUG(753, *YYCURSOR); ++YYCURSOR; @@ -7128,11 +7126,11 @@ yy753: } YYDEBUG(754, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1758 "Zend/zend_language_scanner.l" +#line 1756 "Zend/zend_language_scanner.l" { RETURN_TOKEN(T_FUNC_C); } -#line 7136 "Zend/zend_language_scanner.c" +#line 7134 "Zend/zend_language_scanner.c" yy755: YYDEBUG(755, *YYCURSOR); yych = *++YYCURSOR; @@ -7158,11 +7156,11 @@ yy758: } YYDEBUG(759, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1778 "Zend/zend_language_scanner.l" +#line 1776 "Zend/zend_language_scanner.l" { RETURN_TOKEN(T_NS_C); } -#line 7166 "Zend/zend_language_scanner.c" +#line 7164 "Zend/zend_language_scanner.c" yy760: YYDEBUG(760, *YYCURSOR); yych = *++YYCURSOR; @@ -7180,7 +7178,7 @@ yy761: { RETURN_TOKEN(T_HALT_COMPILER); } -#line 7184 "Zend/zend_language_scanner.c" +#line 7182 "Zend/zend_language_scanner.c" } /* *********************************** */ yyc_ST_LOOKING_FOR_PROPERTY: @@ -7252,7 +7250,7 @@ yy766: yy_pop_state(); goto restart; } -#line 7256 "Zend/zend_language_scanner.c" +#line 7254 "Zend/zend_language_scanner.c" yy767: YYDEBUG(767, *YYCURSOR); ++YYCURSOR; @@ -7269,7 +7267,7 @@ yy767: HANDLE_NEWLINES(yytext, yyleng); RETURN_TOKEN(T_WHITESPACE); } -#line 7273 "Zend/zend_language_scanner.c" +#line 7271 "Zend/zend_language_scanner.c" yy770: YYDEBUG(770, *YYCURSOR); yych = *++YYCURSOR; @@ -7292,7 +7290,7 @@ yy771: zend_copy_value(zendlval, yytext, yyleng); RETURN_TOKEN(T_STRING); } -#line 7296 "Zend/zend_language_scanner.c" +#line 7294 "Zend/zend_language_scanner.c" yy774: YYDEBUG(774, *YYCURSOR); ++YYCURSOR; @@ -7302,7 +7300,7 @@ yy774: { RETURN_TOKEN(T_OBJECT_OPERATOR); } -#line 7306 "Zend/zend_language_scanner.c" +#line 7304 "Zend/zend_language_scanner.c" } /* *********************************** */ yyc_ST_LOOKING_FOR_VARNAME: @@ -7366,7 +7364,7 @@ yy779: yy_push_state(ST_IN_SCRIPTING); goto restart; } -#line 7370 "Zend/zend_language_scanner.c" +#line 7368 "Zend/zend_language_scanner.c" yy780: YYDEBUG(780, *YYCURSOR); yych = *(YYMARKER = ++YYCURSOR); @@ -7421,7 +7419,7 @@ yy784: yy_push_state(ST_IN_SCRIPTING); RETURN_TOKEN(T_STRING_VARNAME); } -#line 7425 "Zend/zend_language_scanner.c" +#line 7423 "Zend/zend_language_scanner.c" } /* *********************************** */ yyc_ST_NOWDOC: @@ -7432,7 +7430,7 @@ yyc_ST_NOWDOC: ++YYCURSOR; YYDEBUG(789, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 2334 "Zend/zend_language_scanner.l" +#line 2332 "Zend/zend_language_scanner.l" { int newline = 0; @@ -7488,7 +7486,7 @@ nowdoc_scan_done: HANDLE_NEWLINES(yytext, yyleng - newline); RETURN_TOKEN(T_ENCAPSED_AND_WHITESPACE); } -#line 7492 "Zend/zend_language_scanner.c" +#line 7490 "Zend/zend_language_scanner.c" /* *********************************** */ yyc_ST_VAR_OFFSET: { @@ -7576,7 +7574,7 @@ yy792: ++YYCURSOR; YYDEBUG(793, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 2391 "Zend/zend_language_scanner.l" +#line 2389 "Zend/zend_language_scanner.l" { if (YYCURSOR > YYLIMIT) { RETURN_TOKEN(END); @@ -7585,13 +7583,13 @@ yy792: zend_error(E_COMPILE_WARNING,"Unexpected character in input: '%c' (ASCII=%d) state=%d", yytext[0], yytext[0], YYSTATE); goto restart; } -#line 7589 "Zend/zend_language_scanner.c" +#line 7587 "Zend/zend_language_scanner.c" yy794: YYDEBUG(794, *YYCURSOR); ++YYCURSOR; YYDEBUG(795, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1885 "Zend/zend_language_scanner.l" +#line 1883 "Zend/zend_language_scanner.l" { /* Invalid rule to return a more explicit parse error with proper line number */ yyless(0); @@ -7599,19 +7597,19 @@ yy794: ZVAL_NULL(zendlval); RETURN_TOKEN(T_ENCAPSED_AND_WHITESPACE); } -#line 7603 "Zend/zend_language_scanner.c" +#line 7601 "Zend/zend_language_scanner.c" yy796: YYDEBUG(796, *YYCURSOR); ++YYCURSOR; yy797: YYDEBUG(797, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1880 "Zend/zend_language_scanner.l" +#line 1878 "Zend/zend_language_scanner.l" { /* Only '[' or '-' can be valid, but returning other tokens will allow a more explicit parse error */ RETURN_TOKEN(yytext[0]); } -#line 7615 "Zend/zend_language_scanner.c" +#line 7613 "Zend/zend_language_scanner.c" yy798: YYDEBUG(798, *YYCURSOR); yych = *++YYCURSOR; @@ -7646,7 +7644,7 @@ yy799: yy800: YYDEBUG(800, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1720 "Zend/zend_language_scanner.l" +#line 1718 "Zend/zend_language_scanner.l" { /* Offset could be treated as a long */ if (yyleng < MAX_LENGTH_OF_LONG - 1 || (yyleng == MAX_LENGTH_OF_LONG - 1 && strcmp(yytext, long_min_digits) < 0)) { char *end; @@ -7662,7 +7660,7 @@ string: } RETURN_TOKEN(T_NUM_STRING); } -#line 7666 "Zend/zend_language_scanner.c" +#line 7664 "Zend/zend_language_scanner.c" yy801: YYDEBUG(801, *YYCURSOR); ++YYCURSOR; @@ -7684,23 +7682,23 @@ yy803: } YYDEBUG(805, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1893 "Zend/zend_language_scanner.l" +#line 1891 "Zend/zend_language_scanner.l" { zend_copy_value(zendlval, yytext, yyleng); RETURN_TOKEN(T_STRING); } -#line 7693 "Zend/zend_language_scanner.c" +#line 7691 "Zend/zend_language_scanner.c" yy806: YYDEBUG(806, *YYCURSOR); ++YYCURSOR; YYDEBUG(807, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1875 "Zend/zend_language_scanner.l" +#line 1873 "Zend/zend_language_scanner.l" { yy_pop_state(); RETURN_TOKEN(']'); } -#line 7704 "Zend/zend_language_scanner.c" +#line 7702 "Zend/zend_language_scanner.c" yy808: YYDEBUG(808, *YYCURSOR); ++YYCURSOR; @@ -7725,12 +7723,12 @@ yy808: yy810: YYDEBUG(810, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1870 "Zend/zend_language_scanner.l" +#line 1868 "Zend/zend_language_scanner.l" { zend_copy_value(zendlval, (yytext+1), (yyleng-1)); RETURN_TOKEN(T_VARIABLE); } -#line 7734 "Zend/zend_language_scanner.c" +#line 7732 "Zend/zend_language_scanner.c" yy811: YYDEBUG(811, *YYCURSOR); ++YYCURSOR; @@ -7742,12 +7740,12 @@ yy811: yy813: YYDEBUG(813, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 1736 "Zend/zend_language_scanner.l" +#line 1734 "Zend/zend_language_scanner.l" { /* Offset must be treated as a string */ ZVAL_STRINGL(zendlval, yytext, yyleng); RETURN_TOKEN(T_NUM_STRING); } -#line 7751 "Zend/zend_language_scanner.c" +#line 7749 "Zend/zend_language_scanner.c" yy814: YYDEBUG(814, *YYCURSOR); yych = *++YYCURSOR; @@ -7787,6 +7785,6 @@ yy819: goto yy813; } } -#line 2400 "Zend/zend_language_scanner.l" +#line 2398 "Zend/zend_language_scanner.l" } diff --git a/Zend/zend_language_scanner.l b/Zend/zend_language_scanner.l index c5149e0d1d..aafca1682d 100644 --- a/Zend/zend_language_scanner.l +++ b/Zend/zend_language_scanner.l @@ -1663,7 +1663,6 @@ NEWLINE ("\r"|"\n"|"\r\n") if (errno == ERANGE) { /* Overflow */ errno = 0; if (yytext[0] == '0') { /* octal overflow */ - errno = 0; ZVAL_DOUBLE(zendlval, zend_oct_strtod(yytext, (const char **)&end)); } else { ZVAL_DOUBLE(zendlval, zend_strtod(yytext, (const char **)&end)); @@ -1675,7 +1674,6 @@ NEWLINE ("\r"|"\n"|"\r\n") ZVAL_UNDEF(zendlval); RETURN_TOKEN(T_DNUMBER); } - ZEND_ASSERT(!errno); RETURN_TOKEN(T_DNUMBER); } /* Also not an assert for the same reason */ diff --git a/Zend/zend_strtod.c b/Zend/zend_strtod.c index 3aa99f8d98..50cdba85de 100644 --- a/Zend/zend_strtod.c +++ b/Zend/zend_strtod.c @@ -206,6 +206,8 @@ static void Bug(const char *message) { #include "stdlib.h" #include "string.h" +#define NO_ERRNO + #ifdef USE_LOCALE #include "locale.h" #endif diff --git a/sapi/phpdbg/phpdbg_lexer.c b/sapi/phpdbg/phpdbg_lexer.c index 74cad5b8f2..55bc3275ac 100644 --- a/sapi/phpdbg/phpdbg_lexer.c +++ b/sapi/phpdbg/phpdbg_lexer.c @@ -1,4 +1,4 @@ -/* Generated by re2c 0.14.3 */ +/* Generated by re2c 0.16 */ #line 1 "sapi/phpdbg/phpdbg_lexer.l" /* * phpdbg_lexer.l @@ -121,52 +121,31 @@ yyc_INITIAL: YYDEBUG(1, *YYCURSOR); YYFILL(4); yych = *YYCURSOR; - if (yych <= '#') { - if (yych <= '\f') { - if (yych <= 0x08) { - if (yych <= 0x00) goto yy9; - goto yy14; - } else { - if (yych <= '\t') goto yy3; - if (yych <= '\n') goto yy9; - goto yy14; - } + if (yych <= 'E') { + if (yych <= '\r') { + if (yych == '\t') goto yy5; + if (yych >= '\r') goto yy5; } else { - if (yych <= 0x1F) { - if (yych >= 0x0E) goto yy14; - } else { - if (yych <= ' ') goto yy5; - if (yych <= '"') goto yy14; - goto yy8; - } + if (yych == ' ') goto yy6; + if (yych >= 'E') goto yy9; } } else { - if (yych <= 'S') { - if (yych <= 'E') { - if (yych <= 'D') goto yy14; - goto yy10; - } else { - if (yych <= 'Q') goto yy14; - if (yych <= 'R') goto yy13; - goto yy11; - } + if (yych <= 'd') { + if (yych <= 'Q') goto yy3; + if (yych <= 'R') goto yy10; + if (yych <= 'S') goto yy11; } else { if (yych <= 'q') { - if (yych == 'e') goto yy10; - goto yy14; + if (yych <= 'e') goto yy9; } else { if (yych <= 'r') goto yy12; if (yych <= 's') goto yy11; - goto yy14; } } } yy3: YYDEBUG(3, *YYCURSOR); ++YYCURSOR; - if (yybm[0+(yych = *YYCURSOR)] & 128) { - goto yy5; - } yy4: YYDEBUG(4, *YYCURSOR); yyleng = (size_t) YYCURSOR - (size_t) yytext; @@ -177,17 +156,24 @@ yy4: YYCURSOR = LEX(text); goto restart; } -#line 181 "sapi/phpdbg/phpdbg_lexer.c" +#line 160 "sapi/phpdbg/phpdbg_lexer.c" yy5: YYDEBUG(5, *YYCURSOR); + yych = *++YYCURSOR; + if (yybm[0+yych] & 128) { + goto yy6; + } + goto yy4; +yy6: + YYDEBUG(6, *YYCURSOR); ++YYCURSOR; YYFILL(1); yych = *YYCURSOR; - YYDEBUG(6, *YYCURSOR); + YYDEBUG(7, *YYCURSOR); if (yybm[0+yych] & 128) { - goto yy5; + goto yy6; } - YYDEBUG(7, *YYCURSOR); + YYDEBUG(8, *YYCURSOR); yyleng = (size_t) YYCURSOR - (size_t) yytext; #line 175 "sapi/phpdbg/phpdbg_lexer.l" { @@ -195,44 +181,39 @@ yy5: goto restart; } -#line 199 "sapi/phpdbg/phpdbg_lexer.c" -yy8: - YYDEBUG(8, *YYCURSOR); - yych = *++YYCURSOR; - goto yy4; +#line 185 "sapi/phpdbg/phpdbg_lexer.c" yy9: YYDEBUG(9, *YYCURSOR); - yych = *++YYCURSOR; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'V') goto yy13; + if (yych == 'v') goto yy13; goto yy4; yy10: YYDEBUG(10, *YYCURSOR); - yyaccept = 0; yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'V') goto yy25; - if (yych == 'v') goto yy25; + if (yych == 'U') goto yy15; + if (yych == 'u') goto yy15; goto yy4; yy11: YYDEBUG(11, *YYCURSOR); - yyaccept = 0; yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'H') goto yy21; - if (yych == 'h') goto yy21; + if (yych == 'H') goto yy16; + if (yych == 'h') goto yy16; goto yy4; yy12: YYDEBUG(12, *YYCURSOR); - yyaccept = 0; yych = *(YYMARKER = ++YYCURSOR); if (yych <= 0x1F) { if (yych <= '\t') { if (yych <= 0x08) goto yy4; - goto yy18; + goto yy17; } else { - if (yych == '\r') goto yy18; + if (yych == '\r') goto yy17; goto yy4; } } else { if (yych <= 'U') { - if (yych <= ' ') goto yy18; + if (yych <= ' ') goto yy17; if (yych <= 'T') goto yy4; goto yy15; } else { @@ -242,46 +223,47 @@ yy12: } yy13: YYDEBUG(13, *YYCURSOR); - yyaccept = 0; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'U') goto yy15; - if (yych == 'u') goto yy15; - goto yy4; + yych = *++YYCURSOR; + if (yych <= '\f') { + if (yych == '\t') goto yy20; + } else { + if (yych <= '\r') goto yy20; + if (yych == ' ') goto yy20; + } yy14: YYDEBUG(14, *YYCURSOR); - yych = *++YYCURSOR; + YYCURSOR = YYMARKER; goto yy4; yy15: YYDEBUG(15, *YYCURSOR); yych = *++YYCURSOR; - if (yych == 'N') goto yy17; - if (yych == 'n') goto yy17; + if (yych == 'N') goto yy23; + if (yych == 'n') goto yy23; + goto yy14; yy16: YYDEBUG(16, *YYCURSOR); - YYCURSOR = YYMARKER; - goto yy4; -yy17: - YYDEBUG(17, *YYCURSOR); yych = *++YYCURSOR; if (yych <= '\f') { - if (yych != '\t') goto yy16; + if (yych == '\t') goto yy24; + goto yy14; } else { - if (yych <= '\r') goto yy18; - if (yych != ' ') goto yy16; + if (yych <= '\r') goto yy24; + if (yych == ' ') goto yy24; + goto yy14; } -yy18: - YYDEBUG(18, *YYCURSOR); +yy17: + YYDEBUG(17, *YYCURSOR); ++YYCURSOR; YYFILL(1); yych = *YYCURSOR; - YYDEBUG(19, *YYCURSOR); + YYDEBUG(18, *YYCURSOR); if (yych <= '\f') { - if (yych == '\t') goto yy18; + if (yych == '\t') goto yy17; } else { - if (yych <= '\r') goto yy18; - if (yych == ' ') goto yy18; + if (yych <= '\r') goto yy17; + if (yych == ' ') goto yy17; } - YYDEBUG(20, *YYCURSOR); + YYDEBUG(19, *YYCURSOR); yyleng = (size_t) YYCURSOR - (size_t) yytext; #line 193 "sapi/phpdbg/phpdbg_lexer.l" { @@ -289,154 +271,146 @@ yy18: phpdbg_init_param(yylval, EMPTY_PARAM); return T_RUN; } -#line 293 "sapi/phpdbg/phpdbg_lexer.c" -yy21: - YYDEBUG(21, *YYCURSOR); - yych = *++YYCURSOR; - if (yych <= '\f') { - if (yych != '\t') goto yy16; - } else { - if (yych <= '\r') goto yy22; - if (yych != ' ') goto yy16; - } -yy22: - YYDEBUG(22, *YYCURSOR); +#line 275 "sapi/phpdbg/phpdbg_lexer.c" +yy20: + YYDEBUG(20, *YYCURSOR); ++YYCURSOR; YYFILL(1); yych = *YYCURSOR; - YYDEBUG(23, *YYCURSOR); + YYDEBUG(21, *YYCURSOR); if (yych <= '\f') { - if (yych == '\t') goto yy22; + if (yych == '\t') goto yy20; } else { - if (yych <= '\r') goto yy22; - if (yych == ' ') goto yy22; + if (yych <= '\r') goto yy20; + if (yych == ' ') goto yy20; } - YYDEBUG(24, *YYCURSOR); + YYDEBUG(22, *YYCURSOR); yyleng = (size_t) YYCURSOR - (size_t) yytext; -#line 187 "sapi/phpdbg/phpdbg_lexer.l" +#line 181 "sapi/phpdbg/phpdbg_lexer.l" { YYSETCONDITION(PRE_RAW); phpdbg_init_param(yylval, EMPTY_PARAM); - return T_SHELL; + return T_EVAL; } -#line 323 "sapi/phpdbg/phpdbg_lexer.c" -yy25: - YYDEBUG(25, *YYCURSOR); +#line 296 "sapi/phpdbg/phpdbg_lexer.c" +yy23: + YYDEBUG(23, *YYCURSOR); yych = *++YYCURSOR; if (yych <= '\f') { - if (yych != '\t') goto yy16; + if (yych == '\t') goto yy17; + goto yy14; } else { - if (yych <= '\r') goto yy26; - if (yych != ' ') goto yy16; + if (yych <= '\r') goto yy17; + if (yych == ' ') goto yy17; + goto yy14; } -yy26: - YYDEBUG(26, *YYCURSOR); +yy24: + YYDEBUG(24, *YYCURSOR); ++YYCURSOR; YYFILL(1); yych = *YYCURSOR; - YYDEBUG(27, *YYCURSOR); + YYDEBUG(25, *YYCURSOR); if (yych <= '\f') { - if (yych == '\t') goto yy26; + if (yych == '\t') goto yy24; } else { - if (yych <= '\r') goto yy26; - if (yych == ' ') goto yy26; + if (yych <= '\r') goto yy24; + if (yych == ' ') goto yy24; } - YYDEBUG(28, *YYCURSOR); + YYDEBUG(26, *YYCURSOR); yyleng = (size_t) YYCURSOR - (size_t) yytext; -#line 181 "sapi/phpdbg/phpdbg_lexer.l" +#line 187 "sapi/phpdbg/phpdbg_lexer.l" { YYSETCONDITION(PRE_RAW); phpdbg_init_param(yylval, EMPTY_PARAM); - return T_EVAL; + return T_SHELL; } -#line 353 "sapi/phpdbg/phpdbg_lexer.c" +#line 328 "sapi/phpdbg/phpdbg_lexer.c" } /* *********************************** */ yyc_NORMAL: { static const unsigned char yybm[] = { /* table 1 .. 8: 0 */ - 0, 242, 242, 242, 242, 242, 242, 242, - 242, 160, 0, 242, 242, 160, 242, 242, - 242, 242, 242, 242, 242, 242, 242, 242, - 242, 242, 242, 242, 242, 242, 242, 242, - 160, 242, 50, 160, 242, 242, 242, 194, - 242, 242, 242, 242, 242, 242, 243, 242, - 251, 251, 251, 251, 251, 251, 251, 251, - 251, 251, 160, 242, 242, 242, 242, 242, - 242, 254, 254, 254, 254, 254, 254, 246, - 246, 246, 246, 246, 246, 246, 246, 246, - 246, 246, 246, 246, 246, 246, 246, 246, - 246, 246, 246, 242, 2, 242, 242, 242, - 242, 254, 254, 254, 254, 254, 254, 246, - 246, 246, 246, 246, 246, 246, 246, 246, - 246, 246, 246, 246, 246, 246, 246, 246, - 246, 246, 246, 242, 242, 242, 242, 242, - 242, 242, 242, 242, 242, 242, 242, 242, - 242, 242, 242, 242, 242, 242, 242, 242, - 242, 242, 242, 242, 242, 242, 242, 242, - 242, 242, 242, 242, 242, 242, 242, 242, - 242, 242, 242, 242, 242, 242, 242, 242, - 242, 242, 242, 242, 242, 242, 242, 242, - 242, 242, 242, 242, 242, 242, 242, 242, - 242, 242, 242, 242, 242, 242, 242, 242, - 242, 242, 242, 242, 242, 242, 242, 242, - 242, 242, 242, 242, 242, 242, 242, 242, - 242, 242, 242, 242, 242, 242, 242, 242, - 242, 242, 242, 242, 242, 242, 242, 242, - 242, 242, 242, 242, 242, 242, 242, 242, - 242, 242, 242, 242, 242, 242, 242, 242, - 242, 242, 242, 242, 242, 242, 242, 242, - 242, 242, 242, 242, 242, 242, 242, 242, + 0, 62, 62, 62, 62, 62, 62, 62, + 62, 40, 0, 62, 62, 40, 62, 62, + 62, 62, 62, 62, 62, 62, 62, 62, + 62, 62, 62, 62, 62, 62, 62, 62, + 40, 62, 50, 40, 62, 62, 62, 14, + 62, 62, 62, 62, 62, 62, 63, 62, + 127, 127, 127, 127, 127, 127, 127, 127, + 127, 127, 40, 62, 62, 62, 62, 62, + 62, 254, 254, 254, 254, 254, 254, 190, + 190, 190, 190, 190, 190, 190, 190, 190, + 190, 190, 190, 190, 190, 190, 190, 190, + 190, 190, 190, 62, 2, 62, 62, 62, + 62, 254, 254, 254, 254, 254, 254, 190, + 190, 190, 190, 190, 190, 190, 190, 190, + 190, 190, 190, 190, 190, 190, 190, 190, + 190, 190, 190, 62, 62, 62, 62, 62, + 62, 62, 62, 62, 62, 62, 62, 62, + 62, 62, 62, 62, 62, 62, 62, 62, + 62, 62, 62, 62, 62, 62, 62, 62, + 62, 62, 62, 62, 62, 62, 62, 62, + 62, 62, 62, 62, 62, 62, 62, 62, + 62, 62, 62, 62, 62, 62, 62, 62, + 62, 62, 62, 62, 62, 62, 62, 62, + 62, 62, 62, 62, 62, 62, 62, 62, + 62, 62, 62, 62, 62, 62, 62, 62, + 62, 62, 62, 62, 62, 62, 62, 62, + 62, 62, 62, 62, 62, 62, 62, 62, + 62, 62, 62, 62, 62, 62, 62, 62, + 62, 62, 62, 62, 62, 62, 62, 62, + 62, 62, 62, 62, 62, 62, 62, 62, + 62, 62, 62, 62, 62, 62, 62, 62, + 62, 62, 62, 62, 62, 62, 62, 62, /* table 9 .. 10: 256 */ - 0, 128, 128, 128, 128, 128, 128, 128, - 128, 64, 0, 128, 128, 64, 128, 128, - 128, 128, 128, 128, 128, 128, 128, 128, - 128, 128, 128, 128, 128, 128, 128, 128, - 64, 128, 0, 0, 128, 128, 128, 0, - 128, 128, 128, 128, 128, 128, 128, 128, - 128, 128, 128, 128, 128, 128, 128, 128, - 128, 128, 0, 128, 128, 128, 128, 128, - 128, 128, 128, 128, 128, 128, 128, 128, - 128, 128, 128, 128, 128, 128, 128, 128, - 128, 128, 128, 128, 128, 128, 128, 128, - 128, 128, 128, 128, 128, 128, 128, 128, - 128, 128, 128, 128, 128, 128, 128, 128, - 128, 128, 128, 128, 128, 128, 128, 128, - 128, 128, 128, 128, 128, 128, 128, 128, - 128, 128, 128, 128, 128, 128, 128, 128, - 128, 128, 128, 128, 128, 128, 128, 128, - 128, 128, 128, 128, 128, 128, 128, 128, - 128, 128, 128, 128, 128, 128, 128, 128, - 128, 128, 128, 128, 128, 128, 128, 128, - 128, 128, 128, 128, 128, 128, 128, 128, - 128, 128, 128, 128, 128, 128, 128, 128, - 128, 128, 128, 128, 128, 128, 128, 128, - 128, 128, 128, 128, 128, 128, 128, 128, - 128, 128, 128, 128, 128, 128, 128, 128, - 128, 128, 128, 128, 128, 128, 128, 128, - 128, 128, 128, 128, 128, 128, 128, 128, - 128, 128, 128, 128, 128, 128, 128, 128, - 128, 128, 128, 128, 128, 128, 128, 128, - 128, 128, 128, 128, 128, 128, 128, 128, - 128, 128, 128, 128, 128, 128, 128, 128, - 128, 128, 128, 128, 128, 128, 128, 128, + 0, 64, 64, 64, 64, 64, 64, 64, + 64, 128, 0, 64, 64, 128, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, + 128, 64, 0, 0, 64, 64, 64, 0, + 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 0, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, }; - YYDEBUG(29, *YYCURSOR); + YYDEBUG(27, *YYCURSOR); YYFILL(11); yych = *YYCURSOR; - if (yybm[256+yych] & 64) { - goto yy31; + if (yybm[256+yych] & 128) { + goto yy34; } - YYDEBUG(-1, yych); switch (yych) { case 0x00: case '\t': - case '\n': goto yy36; - case '"': goto yy44; - case '#': goto yy34; - case '\'': goto yy46; - case '-': goto yy38; + case '\n': goto yy29; + case '"': goto yy37; + case '#': goto yy39; + case '\'': goto yy41; + case '-': goto yy42; case '.': case '1': case '2': @@ -446,91 +420,57 @@ yyc_NORMAL: case '6': case '7': case '8': - case '9': goto yy47; - case '0': goto yy50; - case ':': goto yy41; + case '9': goto yy43; + case '0': goto yy46; + case ':': goto yy47; case 'D': - case 'd': goto yy51; + case 'd': goto yy48; case 'E': - case 'e': goto yy52; + case 'e': goto yy49; case 'F': - case 'f': goto yy53; + case 'f': goto yy50; case 'I': - case 'i': goto yy40; + case 'i': goto yy51; case 'N': - case 'n': goto yy54; + case 'n': goto yy52; case 'O': - case 'o': goto yy55; + case 'o': goto yy53; case 'T': - case 't': goto yy56; + case 't': goto yy54; case 'Y': - case 'y': goto yy57; - case 'Z': goto yy58; - case 'z': goto yy59; - default: goto yy42; + case 'y': goto yy55; + case 'Z': goto yy56; + case 'z': goto yy57; + default: goto yy31; } +yy29: + YYDEBUG(29, *YYCURSOR); + ++YYCURSOR; + YYDEBUG(30, *YYCURSOR); + yyleng = (size_t) YYCURSOR - (size_t) yytext; +#line 89 "sapi/phpdbg/phpdbg_lexer.l" + { + return 0; +} +#line 456 "sapi/phpdbg/phpdbg_lexer.c" yy31: YYDEBUG(31, *YYCURSOR); - ++YYCURSOR; - YYFILL(1); + yyaccept = 0; + YYMARKER = ++YYCURSOR; + YYFILL(3); yych = *YYCURSOR; +yy32: YYDEBUG(32, *YYCURSOR); if (yybm[256+yych] & 64) { goto yy31; } + if (yych <= ' ') goto yy33; + if (yych == '#') goto yy33; + if (yych <= '\'') goto yy58; + goto yy60; +yy33: YYDEBUG(33, *YYCURSOR); yyleng = (size_t) YYCURSOR - (size_t) yytext; -#line 175 "sapi/phpdbg/phpdbg_lexer.l" - { - /* ignore whitespace */ - - goto restart; -} -#line 490 "sapi/phpdbg/phpdbg_lexer.c" -yy34: - YYDEBUG(34, *YYCURSOR); - YYCTXMARKER = YYCURSOR + 1; - yyaccept = 0; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '.') { - if (yych <= ',') goto yy35; - if (yych <= '-') goto yy146; - goto yy147; - } else { - if (yych <= '/') goto yy35; - if (yych <= '9') goto yy147; - } -yy35: - YYDEBUG(35, *YYCURSOR); - yyleng = (size_t) YYCURSOR - (size_t) yytext; -#line 110 "sapi/phpdbg/phpdbg_lexer.l" - { - YYSETCONDITION(INITIAL); - return T_SEPARATOR; -} -#line 512 "sapi/phpdbg/phpdbg_lexer.c" -yy36: - YYDEBUG(36, *YYCURSOR); - ++YYCURSOR; - YYDEBUG(37, *YYCURSOR); - yyleng = (size_t) YYCURSOR - (size_t) yytext; -#line 89 "sapi/phpdbg/phpdbg_lexer.l" - { - return 0; -} -#line 522 "sapi/phpdbg/phpdbg_lexer.c" -yy38: - YYDEBUG(38, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yybm[0+yych] & 1) { - goto yy47; - } - if (yych == 'r') goto yy136; - goto yy43; -yy39: - YYDEBUG(39, *YYCURSOR); - yyleng = (size_t) YYCURSOR - (size_t) yytext; #line 161 "sapi/phpdbg/phpdbg_lexer.l" { phpdbg_init_param(yylval, STR_PARAM); @@ -538,106 +478,126 @@ yy39: yylval->len = yyleng; return T_ID; } -#line 542 "sapi/phpdbg/phpdbg_lexer.c" -yy40: - YYDEBUG(40, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'F') goto yy132; - if (yych == 'f') goto yy132; - goto yy43; -yy41: - YYDEBUG(41, *YYCURSOR); - YYCTXMARKER = YYCURSOR + 1; - yych = *++YYCURSOR; - if (yych == ':') goto yy130; - if (yych == '\\') goto yy68; - goto yy128; -yy42: - YYDEBUG(42, *YYCURSOR); - yyaccept = 1; - YYMARKER = ++YYCURSOR; - YYFILL(3); +#line 482 "sapi/phpdbg/phpdbg_lexer.c" +yy34: + YYDEBUG(34, *YYCURSOR); + ++YYCURSOR; + YYFILL(1); yych = *YYCURSOR; -yy43: - YYDEBUG(43, *YYCURSOR); + YYDEBUG(35, *YYCURSOR); if (yybm[256+yych] & 128) { - goto yy42; + goto yy34; } - if (yych <= ' ') goto yy39; - if (yych == '#') goto yy39; - if (yych <= '\'') goto yy62; - goto yy61; -yy44: - YYDEBUG(44, *YYCURSOR); + YYDEBUG(36, *YYCURSOR); + yyleng = (size_t) YYCURSOR - (size_t) yytext; +#line 175 "sapi/phpdbg/phpdbg_lexer.l" + { + /* ignore whitespace */ + + goto restart; +} +#line 500 "sapi/phpdbg/phpdbg_lexer.c" +yy37: + YYDEBUG(37, *YYCURSOR); yych = *++YYCURSOR; - if (yych == '"') goto yy62; - goto yy120; -yy45: - YYDEBUG(45, *YYCURSOR); + if (yych == '"') goto yy58; + goto yy62; +yy38: + YYDEBUG(38, *YYCURSOR); YYCURSOR = YYMARKER; if (yyaccept <= 3) { if (yyaccept <= 1) { if (yyaccept == 0) { - goto yy35; + goto yy33; } else { - goto yy39; + goto yy40; } } else { if (yyaccept == 2) { - goto yy49; + goto yy45; } else { - goto yy76; + goto yy109; } } } else { if (yyaccept <= 5) { if (yyaccept == 4) { - goto yy107; + goto yy112; } else { - goto yy67; + goto yy128; } } else { - goto yy142; + goto yy145; } } -yy46: - YYDEBUG(46, *YYCURSOR); +yy39: + YYDEBUG(39, *YYCURSOR); + yyaccept = 1; + yych = *(YYMARKER = ++YYCURSOR); + YYCTXMARKER = YYCURSOR; + if (yych <= '.') { + if (yych <= ',') goto yy40; + if (yych <= '-') goto yy67; + goto yy68; + } else { + if (yych <= '/') goto yy40; + if (yych <= '9') goto yy68; + } +yy40: + YYDEBUG(40, *YYCURSOR); + yyleng = (size_t) YYCURSOR - (size_t) yytext; +#line 110 "sapi/phpdbg/phpdbg_lexer.l" + { + YYSETCONDITION(INITIAL); + return T_SEPARATOR; +} +#line 555 "sapi/phpdbg/phpdbg_lexer.c" +yy41: + YYDEBUG(41, *YYCURSOR); yych = *++YYCURSOR; - if (yych == '\'') goto yy62; - goto yy109; -yy47: - YYDEBUG(47, *YYCURSOR); + if (yych == '\'') goto yy58; + goto yy72; +yy42: + YYDEBUG(42, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yybm[0+yych] & 1) { + goto yy43; + } + if (yych == 'r') goto yy77; + goto yy32; +yy43: + YYDEBUG(43, *YYCURSOR); yyaccept = 2; YYMARKER = ++YYCURSOR; YYFILL(3); yych = *YYCURSOR; - YYDEBUG(48, *YYCURSOR); + YYDEBUG(44, *YYCURSOR); if (yybm[0+yych] & 1) { - goto yy47; + goto yy43; } if (yych <= ' ') { if (yych <= '\n') { - if (yych <= 0x00) goto yy49; - if (yych <= 0x08) goto yy42; + if (yych <= 0x00) goto yy45; + if (yych <= 0x08) goto yy31; } else { - if (yych == '\r') goto yy49; - if (yych <= 0x1F) goto yy42; + if (yych == '\r') goto yy45; + if (yych <= 0x1F) goto yy31; } } else { if (yych <= '&') { - if (yych <= '!') goto yy42; - if (yych <= '"') goto yy62; - if (yych >= '$') goto yy42; + if (yych <= '!') goto yy31; + if (yych <= '"') goto yy58; + if (yych >= '$') goto yy31; } else { - if (yych <= '\'') goto yy62; - if (yych <= '/') goto yy42; - if (yych <= ':') goto yy61; - goto yy42; + if (yych <= '\'') goto yy58; + if (yych <= '/') goto yy31; + if (yych <= ':') goto yy60; + goto yy31; } } -yy49: - YYDEBUG(49, *YYCURSOR); +yy45: + YYDEBUG(45, *YYCURSOR); yyleng = (size_t) YYCURSOR - (size_t) yytext; #line 142 "sapi/phpdbg/phpdbg_lexer.l" { @@ -645,454 +605,639 @@ yy49: yylval->num = atoi(yytext); return T_DIGITS; } -#line 649 "sapi/phpdbg/phpdbg_lexer.c" -yy50: - YYDEBUG(50, *YYCURSOR); +#line 609 "sapi/phpdbg/phpdbg_lexer.c" +yy46: + YYDEBUG(46, *YYCURSOR); yyaccept = 2; yych = *(YYMARKER = ++YYCURSOR); if (yybm[0+yych] & 1) { - goto yy47; + goto yy43; } if (yych <= 0x1F) { if (yych <= '\n') { - if (yych <= 0x00) goto yy49; - if (yych <= 0x08) goto yy43; - goto yy49; + if (yych <= 0x00) goto yy45; + if (yych <= 0x08) goto yy32; + goto yy45; } else { - if (yych == '\r') goto yy49; - goto yy43; + if (yych == '\r') goto yy45; + goto yy32; } } else { if (yych <= '#') { - if (yych <= ' ') goto yy49; - if (yych <= '"') goto yy43; - goto yy49; + if (yych <= ' ') goto yy45; + if (yych <= '"') goto yy32; + goto yy45; } else { - if (yych == 'x') goto yy104; - goto yy43; + if (yych == 'x') goto yy78; + goto yy32; } } +yy47: + YYDEBUG(47, *YYCURSOR); + yych = *++YYCURSOR; + YYCTXMARKER = YYCURSOR; + if (yych == ':') goto yy81; + if (yych == '\\') goto yy83; + goto yy79; +yy48: + YYDEBUG(48, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'I') goto yy85; + if (yych == 'i') goto yy85; + goto yy32; +yy49: + YYDEBUG(49, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'N') goto yy86; + if (yych == 'n') goto yy86; + goto yy32; +yy50: + YYDEBUG(50, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'A') goto yy87; + if (yych == 'a') goto yy87; + goto yy32; yy51: YYDEBUG(51, *YYCURSOR); - yyaccept = 1; + yyaccept = 0; yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'I') goto yy98; - if (yych == 'i') goto yy98; - goto yy43; + if (yych == 'F') goto yy88; + if (yych == 'f') goto yy88; + goto yy32; yy52: YYDEBUG(52, *YYCURSOR); - yyaccept = 1; + yyaccept = 0; yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'N') goto yy93; - if (yych == 'n') goto yy93; - goto yy43; + if (yych == 'O') goto yy89; + if (yych == 'o') goto yy89; + goto yy32; yy53: YYDEBUG(53, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'A') goto yy90; - if (yych == 'a') goto yy90; - goto yy43; -yy54: - YYDEBUG(54, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'O') goto yy87; - if (yych == 'o') goto yy87; - goto yy43; -yy55: - YYDEBUG(55, *YYCURSOR); - yyaccept = 1; + yyaccept = 0; yych = *(YYMARKER = ++YYCURSOR); if (yych <= 'N') { - if (yych == 'F') goto yy86; - if (yych <= 'M') goto yy43; - goto yy81; + if (yych == 'F') goto yy90; + if (yych <= 'M') goto yy32; + goto yy91; } else { if (yych <= 'f') { - if (yych <= 'e') goto yy43; - goto yy86; + if (yych <= 'e') goto yy32; + goto yy90; } else { - if (yych == 'n') goto yy81; - goto yy43; + if (yych == 'n') goto yy91; + goto yy32; } } +yy54: + YYDEBUG(54, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'R') goto yy92; + if (yych == 'r') goto yy92; + goto yy32; +yy55: + YYDEBUG(55, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'E') goto yy93; + if (yych == 'e') goto yy93; + goto yy32; yy56: YYDEBUG(56, *YYCURSOR); - yyaccept = 1; + yyaccept = 0; yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'R') goto yy84; - if (yych == 'r') goto yy84; - goto yy43; + if (yych == 'E') goto yy94; + goto yy32; yy57: YYDEBUG(57, *YYCURSOR); - yyaccept = 1; + yyaccept = 0; yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'E') goto yy80; - if (yych == 'e') goto yy80; - goto yy43; + if (yych == 'e') goto yy95; + goto yy32; yy58: YYDEBUG(58, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'E') goto yy77; - goto yy43; + ++YYCURSOR; + YYFILL(3); + yych = *YYCURSOR; yy59: YYDEBUG(59, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yych != 'e') goto yy43; + if (yybm[0+yych] & 2) { + goto yy58; + } + if (yych <= '#') goto yy38; + goto yy96; +yy60: YYDEBUG(60, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'n') goto yy71; - goto yy43; + yych = *++YYCURSOR; + if (yych == '/') goto yy97; + if (yych == '\\') goto yy83; + goto yy38; yy61: YYDEBUG(61, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '/') goto yy65; - if (yych == '\\') goto yy68; - goto yy45; -yy62: - YYDEBUG(62, *YYCURSOR); ++YYCURSOR; - YYFILL(3); + YYFILL(4); yych = *YYCURSOR; +yy62: + YYDEBUG(62, *YYCURSOR); + if (yybm[0+yych] & 4) { + goto yy61; + } + if (yych <= ' ') { + if (yych <= 0x00) goto yy38; + if (yych == '\n') goto yy38; + } else { + if (yych <= '"') goto yy98; + if (yych <= '#') goto yy63; + if (yych <= ':') goto yy65; + goto yy66; + } yy63: YYDEBUG(63, *YYCURSOR); - if (yybm[0+yych] & 2) { - goto yy62; - } - if (yych <= '#') goto yy45; + ++YYCURSOR; + YYFILL(1); + yych = *YYCURSOR; yy64: YYDEBUG(64, *YYCURSOR); - yych = *++YYCURSOR; - if (yych != '/') goto yy45; + if (yybm[0+yych] & 8) { + goto yy63; + } + if (yych <= '\n') goto yy38; + if (yych <= '"') goto yy99; + goto yy100; yy65: YYDEBUG(65, *YYCURSOR); yych = *++YYCURSOR; - if (yych != '/') goto yy45; + if (yych == '/') goto yy101; + goto yy64; +yy66: YYDEBUG(66, *YYCURSOR); ++YYCURSOR; -yy67: - YYDEBUG(67, *YYCURSOR); - yyleng = (size_t) YYCURSOR - (size_t) yytext; -#line 123 "sapi/phpdbg/phpdbg_lexer.l" - { - phpdbg_init_param(yylval, STR_PARAM); - yylval->str = estrndup(yytext, yyleng); - yylval->len = yyleng; - return T_PROTO; -} -#line 788 "sapi/phpdbg/phpdbg_lexer.c" -yy68: - YYDEBUG(68, *YYCURSOR); - yyaccept = 1; - YYMARKER = ++YYCURSOR; - YYFILL(1); + YYFILL(3); yych = *YYCURSOR; - YYDEBUG(69, *YYCURSOR); if (yych <= ' ') { if (yych <= '\n') { - if (yych <= 0x00) goto yy39; - if (yych <= 0x08) goto yy68; - goto yy39; + if (yych <= 0x00) goto yy38; + if (yych <= 0x08) goto yy58; + goto yy38; } else { - if (yych == '\r') goto yy39; - if (yych <= 0x1F) goto yy68; - goto yy39; + if (yych == '\r') goto yy38; + if (yych <= 0x1F) goto yy58; + goto yy38; } } else { - if (yych <= '&') { - if (yych <= '!') goto yy68; - if (yych <= '#') goto yy39; - goto yy68; + if (yych <= '9') { + if (yych <= '!') goto yy58; + if (yych <= '"') goto yy61; + if (yych <= '#') goto yy38; + goto yy58; } else { - if (yych <= '\'') goto yy39; - if (yych != ':') goto yy68; + if (yych <= ':') goto yy96; + if (yych == '\\') goto yy61; + goto yy58; } } - YYDEBUG(70, *YYCURSOR); +yy67: + YYDEBUG(67, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == '.') goto yy68; + if (yych <= '/') goto yy38; + if (yych >= ':') goto yy38; +yy68: + YYDEBUG(68, *YYCURSOR); ++YYCURSOR; YYFILL(1); yych = *YYCURSOR; - if (yych == '\\') goto yy68; - goto yy45; + YYDEBUG(69, *YYCURSOR); + if (yych == '.') goto yy68; + if (yych <= '/') goto yy70; + if (yych <= '9') goto yy68; +yy70: + YYDEBUG(70, *YYCURSOR); + YYCURSOR = YYCTXMARKER; + yyleng = (size_t) YYCURSOR - (size_t) yytext; +#line 106 "sapi/phpdbg/phpdbg_lexer.l" + { + return T_POUND; +} +#line 826 "sapi/phpdbg/phpdbg_lexer.c" yy71: YYDEBUG(71, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yych != 'd') goto yy43; + ++YYCURSOR; + YYFILL(4); + yych = *YYCURSOR; +yy72: YYDEBUG(72, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yych != '_') goto yy43; + if (yybm[0+yych] & 16) { + goto yy71; + } + if (yych <= '\n') { + if (yych <= 0x00) goto yy38; + if (yych >= '\n') goto yy38; + } else { + if (yych <= '#') goto yy73; + if (yych <= '\'') goto yy98; + if (yych <= ':') goto yy75; + goto yy76; + } yy73: YYDEBUG(73, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yybm[0+yych] & 4) { - goto yy74; - } - goto yy43; + ++YYCURSOR; + YYFILL(1); + yych = *YYCURSOR; yy74: YYDEBUG(74, *YYCURSOR); - yyaccept = 3; - YYMARKER = ++YYCURSOR; + if (yybm[0+yych] & 32) { + goto yy73; + } + if (yych <= '\n') goto yy38; + if (yych <= '\'') goto yy99; + goto yy102; +yy75: + YYDEBUG(75, *YYCURSOR); + yych = *++YYCURSOR; + if (yych == '/') goto yy103; + goto yy74; +yy76: + YYDEBUG(76, *YYCURSOR); + ++YYCURSOR; YYFILL(3); yych = *YYCURSOR; - YYDEBUG(75, *YYCURSOR); - if (yybm[0+yych] & 4) { - goto yy74; - } - if (yych <= ' ') { - if (yych <= '\n') { - if (yych <= 0x00) goto yy76; - if (yych <= 0x08) goto yy42; + if (yych <= '"') { + if (yych <= '\f') { + if (yych <= 0x00) goto yy38; + if (yych <= 0x08) goto yy58; + if (yych <= '\n') goto yy38; + goto yy58; } else { - if (yych == '\r') goto yy76; - if (yych <= 0x1F) goto yy42; + if (yych <= '\r') goto yy38; + if (yych == ' ') goto yy38; + goto yy58; } } else { - if (yych <= '&') { - if (yych <= '!') goto yy42; - if (yych <= '"') goto yy62; - if (yych >= '$') goto yy42; + if (yych <= '9') { + if (yych <= '#') goto yy38; + if (yych == '\'') goto yy71; + goto yy58; } else { - if (yych <= '\'') goto yy62; - if (yych == ':') goto yy61; - goto yy42; + if (yych <= ':') goto yy96; + if (yych == '\\') goto yy71; + goto yy58; } } -yy76: - YYDEBUG(76, *YYCURSOR); - yyleng = (size_t) YYCURSOR - (size_t) yytext; -#line 154 "sapi/phpdbg/phpdbg_lexer.l" - { - phpdbg_init_param(yylval, OP_PARAM); - yylval->str = estrndup(yytext, yyleng); - yylval->len = yyleng; - return T_OPCODE; -} -#line 878 "sapi/phpdbg/phpdbg_lexer.c" yy77: YYDEBUG(77, *YYCURSOR); - yyaccept = 1; + yyaccept = 0; yych = *(YYMARKER = ++YYCURSOR); - if (yych != 'N') goto yy43; + if (yych <= ' ') { + if (yych <= '\f') { + if (yych == '\t') goto yy104; + goto yy32; + } else { + if (yych <= '\r') goto yy104; + if (yych <= 0x1F) goto yy32; + goto yy104; + } + } else { + if (yych <= '.') { + if (yych <= ',') goto yy32; + if (yych <= '-') goto yy106; + goto yy107; + } else { + if (yych <= '/') goto yy32; + if (yych <= '9') goto yy107; + goto yy32; + } + } +yy78: YYDEBUG(78, *YYCURSOR); - yyaccept = 1; + yyaccept = 0; yych = *(YYMARKER = ++YYCURSOR); - if (yych != 'D') goto yy43; + if (yybm[0+yych] & 64) { + goto yy110; + } + goto yy32; +yy79: YYDEBUG(79, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == '_') goto yy73; - goto yy43; -yy80: + ++YYCURSOR; YYDEBUG(80, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'S') goto yy81; - if (yych != 's') goto yy43; + YYCURSOR = YYCTXMARKER; + yyleng = (size_t) YYCURSOR - (size_t) yytext; +#line 119 "sapi/phpdbg/phpdbg_lexer.l" + { + return T_COLON; +} +#line 933 "sapi/phpdbg/phpdbg_lexer.c" yy81: YYDEBUG(81, *YYCURSOR); - YYCTXMARKER = YYCURSOR + 1; - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '\f') { - if (yych <= 0x00) goto yy82; - if (yych <= 0x08) goto yy43; - if (yych >= '\v') goto yy43; - } else { - if (yych <= '\r') goto yy82; - if (yych != ' ') goto yy43; - } -yy82: - YYDEBUG(82, *YYCURSOR); ++YYCURSOR; - YYDEBUG(83, *YYCURSOR); - YYCURSOR = YYCTXMARKER; + YYDEBUG(82, *YYCURSOR); yyleng = (size_t) YYCURSOR - (size_t) yytext; -#line 130 "sapi/phpdbg/phpdbg_lexer.l" +#line 115 "sapi/phpdbg/phpdbg_lexer.l" { - phpdbg_init_param(yylval, NUMERIC_PARAM); - yylval->num = 1; - return T_TRUTHY; + return T_DCOLON; } -#line 924 "sapi/phpdbg/phpdbg_lexer.c" -yy84: +#line 943 "sapi/phpdbg/phpdbg_lexer.c" +yy83: + YYDEBUG(83, *YYCURSOR); + yyaccept = 0; + YYMARKER = ++YYCURSOR; + YYFILL(1); + yych = *YYCURSOR; YYDEBUG(84, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'U') goto yy85; - if (yych != 'u') goto yy43; + if (yych <= ' ') { + if (yych <= '\n') { + if (yych <= 0x00) goto yy33; + if (yych <= 0x08) goto yy83; + goto yy33; + } else { + if (yych == '\r') goto yy33; + if (yych <= 0x1F) goto yy83; + goto yy33; + } + } else { + if (yych <= '&') { + if (yych <= '!') goto yy83; + if (yych <= '#') goto yy33; + goto yy83; + } else { + if (yych <= '\'') goto yy33; + if (yych == ':') goto yy113; + goto yy83; + } + } yy85: YYDEBUG(85, *YYCURSOR); - yyaccept = 1; + yyaccept = 0; yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'E') goto yy81; - if (yych == 'e') goto yy81; - goto yy43; + if (yych == 'S') goto yy114; + if (yych == 's') goto yy114; + goto yy32; yy86: YYDEBUG(86, *YYCURSOR); - yyaccept = 1; + yyaccept = 0; yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'F') goto yy87; - if (yych != 'f') goto yy43; + if (yych == 'A') goto yy115; + if (yych == 'a') goto yy115; + goto yy32; yy87: YYDEBUG(87, *YYCURSOR); - YYCTXMARKER = YYCURSOR + 1; - yyaccept = 1; + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'L') goto yy116; + if (yych == 'l') goto yy116; + goto yy32; +yy88: + YYDEBUG(88, *YYCURSOR); + yyaccept = 0; yych = *(YYMARKER = ++YYCURSOR); if (yych <= '\f') { - if (yych <= 0x00) goto yy88; - if (yych <= 0x08) goto yy43; - if (yych >= '\v') goto yy43; + if (yych == '\t') goto yy117; + goto yy32; } else { - if (yych <= '\r') goto yy88; - if (yych != ' ') goto yy43; + if (yych <= '\r') goto yy117; + if (yych == ' ') goto yy117; + goto yy32; } -yy88: - YYDEBUG(88, *YYCURSOR); - ++YYCURSOR; +yy89: YYDEBUG(89, *YYCURSOR); - YYCURSOR = YYCTXMARKER; - yyleng = (size_t) YYCURSOR - (size_t) yytext; -#line 136 "sapi/phpdbg/phpdbg_lexer.l" - { - phpdbg_init_param(yylval, NUMERIC_PARAM); - yylval->num = 0; - return T_FALSY; -} -#line 969 "sapi/phpdbg/phpdbg_lexer.c" + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + YYCTXMARKER = YYCURSOR; + if (yych <= '\f') { + if (yych <= 0x00) goto yy120; + if (yych <= 0x08) goto yy32; + if (yych <= '\n') goto yy120; + goto yy32; + } else { + if (yych <= '\r') goto yy120; + if (yych == ' ') goto yy120; + goto yy32; + } yy90: YYDEBUG(90, *YYCURSOR); - yyaccept = 1; + yyaccept = 0; yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'L') goto yy91; - if (yych != 'l') goto yy43; + if (yych == 'F') goto yy89; + if (yych == 'f') goto yy89; + goto yy32; yy91: YYDEBUG(91, *YYCURSOR); - yyaccept = 1; + yyaccept = 0; yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'S') goto yy92; - if (yych != 's') goto yy43; + YYCTXMARKER = YYCURSOR; + if (yych <= '\f') { + if (yych <= 0x00) goto yy122; + if (yych <= 0x08) goto yy32; + if (yych <= '\n') goto yy122; + goto yy32; + } else { + if (yych <= '\r') goto yy122; + if (yych == ' ') goto yy122; + goto yy32; + } yy92: YYDEBUG(92, *YYCURSOR); - yyaccept = 1; + yyaccept = 0; yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'E') goto yy87; - if (yych == 'e') goto yy87; - goto yy43; + if (yych == 'U') goto yy124; + if (yych == 'u') goto yy124; + goto yy32; yy93: YYDEBUG(93, *YYCURSOR); - yyaccept = 1; + yyaccept = 0; yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'A') goto yy94; - if (yych != 'a') goto yy43; + if (yych == 'S') goto yy91; + if (yych == 's') goto yy91; + goto yy32; yy94: YYDEBUG(94, *YYCURSOR); - yyaccept = 1; + yyaccept = 0; yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'B') goto yy95; - if (yych != 'b') goto yy43; + if (yych == 'N') goto yy125; + goto yy32; yy95: YYDEBUG(95, *YYCURSOR); - yyaccept = 1; + yyaccept = 0; yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'L') goto yy96; - if (yych != 'l') goto yy43; + if (yych == 'n') goto yy126; + goto yy32; yy96: YYDEBUG(96, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'E') goto yy97; - if (yych != 'e') goto yy43; + yych = *++YYCURSOR; + if (yych != '/') goto yy38; yy97: YYDEBUG(97, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'D') goto yy81; - if (yych == 'd') goto yy81; - goto yy43; + yych = *++YYCURSOR; + if (yych == '/') goto yy127; + goto yy38; yy98: YYDEBUG(98, *YYCURSOR); - yyaccept = 1; + yyaccept = 0; yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'S') goto yy99; - if (yych != 's') goto yy43; + if (yych <= '\r') { + if (yych <= 0x08) { + if (yych <= 0x00) goto yy33; + goto yy59; + } else { + if (yych <= '\n') goto yy33; + if (yych <= '\f') goto yy59; + goto yy33; + } + } else { + if (yych <= ' ') { + if (yych <= 0x1F) goto yy59; + goto yy33; + } else { + if (yych == '#') goto yy33; + goto yy59; + } + } yy99: YYDEBUG(99, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'A') goto yy100; - if (yych != 'a') goto yy43; + yych = *++YYCURSOR; + goto yy33; yy100: YYDEBUG(100, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'B') goto yy101; - if (yych != 'b') goto yy43; + ++YYCURSOR; + YYFILL(1); + yych = *YYCURSOR; + if (yych == '"') goto yy63; + if (yych == '\\') goto yy63; + goto yy38; yy101: YYDEBUG(101, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'L') goto yy102; - if (yych != 'l') goto yy43; + yych = *++YYCURSOR; + if (yych == '/') goto yy129; + goto yy64; yy102: YYDEBUG(102, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'E') goto yy103; - if (yych != 'e') goto yy43; + ++YYCURSOR; + YYFILL(1); + yych = *YYCURSOR; + if (yych == '\'') goto yy73; + if (yych == '\\') goto yy73; + goto yy38; yy103: YYDEBUG(103, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'D') goto yy87; - if (yych == 'd') goto yy87; - goto yy43; + yych = *++YYCURSOR; + if (yych == '/') goto yy130; + goto yy74; yy104: YYDEBUG(104, *YYCURSOR); - yyaccept = 1; + ++YYCURSOR; + YYFILL(2); + yych = *YYCURSOR; + YYDEBUG(105, *YYCURSOR); + if (yych <= ' ') { + if (yych <= '\f') { + if (yych == '\t') goto yy104; + goto yy38; + } else { + if (yych <= '\r') goto yy104; + if (yych <= 0x1F) goto yy38; + goto yy104; + } + } else { + if (yych <= '.') { + if (yych <= ',') goto yy38; + if (yych <= '-') goto yy131; + goto yy132; + } else { + if (yych <= '/') goto yy38; + if (yych <= '9') goto yy132; + goto yy38; + } + } +yy106: + YYDEBUG(106, *YYCURSOR); + yyaccept = 0; yych = *(YYMARKER = ++YYCURSOR); - if (yybm[0+yych] & 8) { - goto yy105; + if (yych == '.') goto yy107; + if (yych <= '/') goto yy32; + if (yych >= ':') goto yy32; +yy107: + YYDEBUG(107, *YYCURSOR); + yyaccept = 3; + YYMARKER = ++YYCURSOR; + YYFILL(3); + yych = *YYCURSOR; + YYDEBUG(108, *YYCURSOR); + if (yych <= '"') { + if (yych <= '\f') { + if (yych <= 0x00) goto yy109; + if (yych <= 0x08) goto yy31; + if (yych >= '\v') goto yy31; + } else { + if (yych <= 0x1F) { + if (yych >= 0x0E) goto yy31; + } else { + if (yych <= ' ') goto yy109; + if (yych <= '!') goto yy31; + goto yy58; + } + } + } else { + if (yych <= '-') { + if (yych <= '#') goto yy109; + if (yych == '\'') goto yy58; + goto yy31; + } else { + if (yych <= '/') { + if (yych <= '.') goto yy107; + goto yy31; + } else { + if (yych <= '9') goto yy107; + if (yych <= ':') goto yy60; + goto yy31; + } + } } - goto yy43; -yy105: - YYDEBUG(105, *YYCURSOR); +yy109: + YYDEBUG(109, *YYCURSOR); + yyleng = (size_t) YYCURSOR - (size_t) yytext; +#line 93 "sapi/phpdbg/phpdbg_lexer.l" + { + char *text = yytext + 2; + while (*++text < '0'); + yylval->num = atoi(text); + return T_REQ_ID; +} +#line 1209 "sapi/phpdbg/phpdbg_lexer.c" +yy110: + YYDEBUG(110, *YYCURSOR); yyaccept = 4; YYMARKER = ++YYCURSOR; YYFILL(3); yych = *YYCURSOR; - YYDEBUG(106, *YYCURSOR); - if (yybm[0+yych] & 8) { - goto yy105; + YYDEBUG(111, *YYCURSOR); + if (yybm[0+yych] & 64) { + goto yy110; } if (yych <= ' ') { if (yych <= '\n') { - if (yych <= 0x00) goto yy107; - if (yych <= 0x08) goto yy42; + if (yych <= 0x00) goto yy112; + if (yych <= 0x08) goto yy31; } else { - if (yych == '\r') goto yy107; - if (yych <= 0x1F) goto yy42; + if (yych == '\r') goto yy112; + if (yych <= 0x1F) goto yy31; } } else { if (yych <= '&') { - if (yych <= '!') goto yy42; - if (yych <= '"') goto yy62; - if (yych >= '$') goto yy42; + if (yych <= '!') goto yy31; + if (yych <= '"') goto yy58; + if (yych >= '$') goto yy31; } else { - if (yych <= '\'') goto yy62; - if (yych <= '/') goto yy42; - if (yych <= ':') goto yy61; - goto yy42; + if (yych <= '\'') goto yy58; + if (yych <= '/') goto yy31; + if (yych <= ':') goto yy60; + goto yy31; } } -yy107: - YYDEBUG(107, *YYCURSOR); +yy112: + YYDEBUG(112, *YYCURSOR); yyleng = (size_t) YYCURSOR - (size_t) yytext; #line 148 "sapi/phpdbg/phpdbg_lexer.l" { @@ -1100,396 +1245,255 @@ yy107: yylval->addr = strtoul(yytext, 0, 16); return T_ADDR; } -#line 1104 "sapi/phpdbg/phpdbg_lexer.c" -yy108: - YYDEBUG(108, *YYCURSOR); - ++YYCURSOR; - YYFILL(4); - yych = *YYCURSOR; -yy109: - YYDEBUG(109, *YYCURSOR); - if (yybm[0+yych] & 16) { - goto yy108; - } - if (yych <= '\n') { - if (yych <= 0x00) goto yy45; - if (yych >= '\n') goto yy45; - } else { - if (yych <= '#') goto yy110; - if (yych <= '\'') goto yy118; - if (yych <= ':') goto yy112; - goto yy113; - } -yy110: - YYDEBUG(110, *YYCURSOR); - ++YYCURSOR; - YYFILL(1); - yych = *YYCURSOR; -yy111: - YYDEBUG(111, *YYCURSOR); - if (yybm[0+yych] & 32) { - goto yy110; - } - if (yych <= '\n') goto yy45; - if (yych <= '\'') goto yy115; - goto yy116; -yy112: - YYDEBUG(112, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '/') goto yy114; - goto yy111; +#line 1249 "sapi/phpdbg/phpdbg_lexer.c" yy113: YYDEBUG(113, *YYCURSOR); ++YYCURSOR; - YYFILL(3); + YYFILL(1); yych = *YYCURSOR; - if (yych <= '"') { - if (yych <= '\f') { - if (yych <= 0x00) goto yy45; - if (yych <= 0x08) goto yy62; - if (yych <= '\n') goto yy45; - goto yy62; - } else { - if (yych <= '\r') goto yy45; - if (yych == ' ') goto yy45; - goto yy62; - } - } else { - if (yych <= '9') { - if (yych <= '#') goto yy45; - if (yych == '\'') goto yy108; - goto yy62; - } else { - if (yych <= ':') goto yy64; - if (yych == '\\') goto yy108; - goto yy62; - } - } + if (yych == '\\') goto yy83; + goto yy38; yy114: YYDEBUG(114, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '/') goto yy117; - goto yy111; + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'A') goto yy134; + if (yych == 'a') goto yy134; + goto yy32; yy115: YYDEBUG(115, *YYCURSOR); - yych = *++YYCURSOR; - goto yy39; + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'B') goto yy135; + if (yych == 'b') goto yy135; + goto yy32; yy116: YYDEBUG(116, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'S') goto yy136; + if (yych == 's') goto yy136; + goto yy32; +yy117: + YYDEBUG(117, *YYCURSOR); ++YYCURSOR; YYFILL(1); yych = *YYCURSOR; - if (yych == '\'') goto yy110; - if (yych == '\\') goto yy110; - goto yy45; -yy117: - YYDEBUG(117, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 0x00) goto yy67; - if (yych == '\n') goto yy67; - goto yy111; -yy118: YYDEBUG(118, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '\r') { - if (yych <= 0x08) { - if (yych <= 0x00) goto yy39; - goto yy63; - } else { - if (yych <= '\n') goto yy39; - if (yych <= '\f') goto yy63; - goto yy39; - } + if (yych <= '\f') { + if (yych == '\t') goto yy117; } else { - if (yych <= ' ') { - if (yych <= 0x1F) goto yy63; - goto yy39; - } else { - if (yych == '#') goto yy39; - goto yy63; - } + if (yych <= '\r') goto yy117; + if (yych == ' ') goto yy117; } -yy119: YYDEBUG(119, *YYCURSOR); - ++YYCURSOR; - YYFILL(4); - yych = *YYCURSOR; + yyleng = (size_t) YYCURSOR - (size_t) yytext; +#line 100 "sapi/phpdbg/phpdbg_lexer.l" + { + YYSETCONDITION(RAW); + phpdbg_init_param(yylval, EMPTY_PARAM); + return T_IF; +} +#line 1298 "sapi/phpdbg/phpdbg_lexer.c" yy120: YYDEBUG(120, *YYCURSOR); - if (yybm[0+yych] & 64) { - goto yy119; - } - if (yych <= ' ') { - if (yych <= 0x00) goto yy45; - if (yych == '\n') goto yy45; - } else { - if (yych <= '"') goto yy118; - if (yych <= '#') goto yy121; - if (yych <= ':') goto yy123; - goto yy124; - } -yy121: - YYDEBUG(121, *YYCURSOR); ++YYCURSOR; - YYFILL(1); - yych = *YYCURSOR; + YYDEBUG(121, *YYCURSOR); + YYCURSOR = YYCTXMARKER; + yyleng = (size_t) YYCURSOR - (size_t) yytext; +#line 136 "sapi/phpdbg/phpdbg_lexer.l" + { + phpdbg_init_param(yylval, NUMERIC_PARAM); + yylval->num = 0; + return T_FALSY; +} +#line 1311 "sapi/phpdbg/phpdbg_lexer.c" yy122: YYDEBUG(122, *YYCURSOR); - if (yybm[0+yych] & 128) { - goto yy121; - } - if (yych <= '\n') goto yy45; - if (yych <= '"') goto yy115; - goto yy126; -yy123: + ++YYCURSOR; YYDEBUG(123, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '/') goto yy125; - goto yy122; + YYCURSOR = YYCTXMARKER; + yyleng = (size_t) YYCURSOR - (size_t) yytext; +#line 130 "sapi/phpdbg/phpdbg_lexer.l" + { + phpdbg_init_param(yylval, NUMERIC_PARAM); + yylval->num = 1; + return T_TRUTHY; +} +#line 1324 "sapi/phpdbg/phpdbg_lexer.c" yy124: YYDEBUG(124, *YYCURSOR); - ++YYCURSOR; - YYFILL(3); - yych = *YYCURSOR; - if (yych <= ' ') { - if (yych <= '\n') { - if (yych <= 0x00) goto yy45; - if (yych <= 0x08) goto yy62; - goto yy45; - } else { - if (yych == '\r') goto yy45; - if (yych <= 0x1F) goto yy62; - goto yy45; - } - } else { - if (yych <= '9') { - if (yych <= '!') goto yy62; - if (yych <= '"') goto yy119; - if (yych <= '#') goto yy45; - goto yy62; - } else { - if (yych <= ':') goto yy64; - if (yych == '\\') goto yy119; - goto yy62; - } - } + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'E') goto yy91; + if (yych == 'e') goto yy91; + goto yy32; yy125: YYDEBUG(125, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '/') goto yy127; - goto yy122; + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'D') goto yy137; + goto yy32; yy126: YYDEBUG(126, *YYCURSOR); - ++YYCURSOR; - YYFILL(1); - yych = *YYCURSOR; - if (yych == '"') goto yy121; - if (yych == '\\') goto yy121; - goto yy45; + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'd') goto yy137; + goto yy32; yy127: YYDEBUG(127, *YYCURSOR); - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= 0x00) goto yy67; - if (yych == '\n') goto yy67; - goto yy122; + ++YYCURSOR; yy128: YYDEBUG(128, *YYCURSOR); - ++YYCURSOR; - YYDEBUG(129, *YYCURSOR); - YYCURSOR = YYCTXMARKER; yyleng = (size_t) YYCURSOR - (size_t) yytext; -#line 119 "sapi/phpdbg/phpdbg_lexer.l" +#line 123 "sapi/phpdbg/phpdbg_lexer.l" { - return T_COLON; + phpdbg_init_param(yylval, STR_PARAM); + yylval->str = estrndup(yytext, yyleng); + yylval->len = yyleng; + return T_PROTO; } -#line 1309 "sapi/phpdbg/phpdbg_lexer.c" +#line 1357 "sapi/phpdbg/phpdbg_lexer.c" +yy129: + YYDEBUG(129, *YYCURSOR); + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 0x00) goto yy128; + if (yych == '\n') goto yy128; + goto yy64; yy130: YYDEBUG(130, *YYCURSOR); - ++YYCURSOR; + yyaccept = 5; + yych = *(YYMARKER = ++YYCURSOR); + if (yych <= 0x00) goto yy128; + if (yych == '\n') goto yy128; + goto yy74; +yy131: YYDEBUG(131, *YYCURSOR); - yyleng = (size_t) YYCURSOR - (size_t) yytext; -#line 115 "sapi/phpdbg/phpdbg_lexer.l" - { - return T_DCOLON; -} -#line 1319 "sapi/phpdbg/phpdbg_lexer.c" + yych = *++YYCURSOR; + if (yych == '.') goto yy132; + if (yych <= '/') goto yy38; + if (yych >= ':') goto yy38; yy132: YYDEBUG(132, *YYCURSOR); - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if (yych <= '\f') { - if (yych != '\t') goto yy43; - } else { - if (yych <= '\r') goto yy133; - if (yych != ' ') goto yy43; - } -yy133: - YYDEBUG(133, *YYCURSOR); ++YYCURSOR; YYFILL(1); yych = *YYCURSOR; + YYDEBUG(133, *YYCURSOR); + if (yych == '.') goto yy132; + if (yych <= '/') goto yy109; + if (yych <= '9') goto yy132; + goto yy109; +yy134: YYDEBUG(134, *YYCURSOR); - if (yych <= '\f') { - if (yych == '\t') goto yy133; - } else { - if (yych <= '\r') goto yy133; - if (yych == ' ') goto yy133; - } + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'B') goto yy138; + if (yych == 'b') goto yy138; + goto yy32; +yy135: YYDEBUG(135, *YYCURSOR); - yyleng = (size_t) YYCURSOR - (size_t) yytext; -#line 100 "sapi/phpdbg/phpdbg_lexer.l" - { - YYSETCONDITION(RAW); - phpdbg_init_param(yylval, EMPTY_PARAM); - return T_IF; -} -#line 1350 "sapi/phpdbg/phpdbg_lexer.c" + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'L') goto yy139; + if (yych == 'l') goto yy139; + goto yy32; yy136: YYDEBUG(136, *YYCURSOR); - yyaccept = 1; + yyaccept = 0; yych = *(YYMARKER = ++YYCURSOR); - if (yych <= ' ') { - if (yych <= '\f') { - if (yych != '\t') goto yy43; - } else { - if (yych <= '\r') goto yy137; - if (yych <= 0x1F) goto yy43; - } - } else { - if (yych <= '.') { - if (yych <= ',') goto yy43; - if (yych <= '-') goto yy139; - goto yy140; - } else { - if (yych <= '/') goto yy43; - if (yych <= '9') goto yy140; - goto yy43; - } - } + if (yych == 'E') goto yy89; + if (yych == 'e') goto yy89; + goto yy32; yy137: YYDEBUG(137, *YYCURSOR); - ++YYCURSOR; - YYFILL(2); - yych = *YYCURSOR; + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == '_') goto yy140; + goto yy32; +yy138: YYDEBUG(138, *YYCURSOR); - if (yych <= ' ') { - if (yych <= '\f') { - if (yych == '\t') goto yy137; - goto yy45; - } else { - if (yych <= '\r') goto yy137; - if (yych <= 0x1F) goto yy45; - goto yy137; - } - } else { - if (yych <= '.') { - if (yych <= ',') goto yy45; - if (yych <= '-') goto yy143; - goto yy144; - } else { - if (yych <= '/') goto yy45; - if (yych <= '9') goto yy144; - goto yy45; - } - } + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'L') goto yy141; + if (yych == 'l') goto yy141; + goto yy32; yy139: YYDEBUG(139, *YYCURSOR); - yyaccept = 1; + yyaccept = 0; yych = *(YYMARKER = ++YYCURSOR); - if (yych == '.') goto yy140; - if (yych <= '/') goto yy43; - if (yych >= ':') goto yy43; + if (yych == 'E') goto yy142; + if (yych == 'e') goto yy142; + goto yy32; yy140: YYDEBUG(140, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yybm[0+yych] & 128) { + goto yy143; + } + goto yy32; +yy141: + YYDEBUG(141, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'E') goto yy146; + if (yych == 'e') goto yy146; + goto yy32; +yy142: + YYDEBUG(142, *YYCURSOR); + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'D') goto yy91; + if (yych == 'd') goto yy91; + goto yy32; +yy143: + YYDEBUG(143, *YYCURSOR); yyaccept = 6; YYMARKER = ++YYCURSOR; YYFILL(3); yych = *YYCURSOR; - YYDEBUG(141, *YYCURSOR); - if (yych <= '"') { - if (yych <= '\f') { - if (yych <= 0x00) goto yy142; - if (yych <= 0x08) goto yy42; - if (yych >= '\v') goto yy42; + YYDEBUG(144, *YYCURSOR); + if (yybm[0+yych] & 128) { + goto yy143; + } + if (yych <= ' ') { + if (yych <= '\n') { + if (yych <= 0x00) goto yy145; + if (yych <= 0x08) goto yy31; } else { - if (yych <= 0x1F) { - if (yych >= 0x0E) goto yy42; - } else { - if (yych <= ' ') goto yy142; - if (yych <= '!') goto yy42; - goto yy62; - } + if (yych == '\r') goto yy145; + if (yych <= 0x1F) goto yy31; } } else { - if (yych <= '-') { - if (yych <= '#') goto yy142; - if (yych == '\'') goto yy62; - goto yy42; + if (yych <= '&') { + if (yych <= '!') goto yy31; + if (yych <= '"') goto yy58; + if (yych >= '$') goto yy31; } else { - if (yych <= '/') { - if (yych <= '.') goto yy140; - goto yy42; - } else { - if (yych <= '9') goto yy140; - if (yych <= ':') goto yy61; - goto yy42; - } + if (yych <= '\'') goto yy58; + if (yych == ':') goto yy60; + goto yy31; } } -yy142: - YYDEBUG(142, *YYCURSOR); +yy145: + YYDEBUG(145, *YYCURSOR); yyleng = (size_t) YYCURSOR - (size_t) yytext; -#line 93 "sapi/phpdbg/phpdbg_lexer.l" +#line 154 "sapi/phpdbg/phpdbg_lexer.l" { - char *text = yytext + 2; - while (*++text < '0'); - yylval->num = atoi(text); - return T_REQ_ID; + phpdbg_init_param(yylval, OP_PARAM); + yylval->str = estrndup(yytext, yyleng); + yylval->len = yyleng; + return T_OPCODE; } -#line 1453 "sapi/phpdbg/phpdbg_lexer.c" -yy143: - YYDEBUG(143, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '.') goto yy144; - if (yych <= '/') goto yy45; - if (yych >= ':') goto yy45; -yy144: - YYDEBUG(144, *YYCURSOR); - ++YYCURSOR; - YYFILL(1); - yych = *YYCURSOR; - YYDEBUG(145, *YYCURSOR); - if (yych == '.') goto yy144; - if (yych <= '/') goto yy142; - if (yych <= '9') goto yy144; - goto yy142; +#line 1490 "sapi/phpdbg/phpdbg_lexer.c" yy146: YYDEBUG(146, *YYCURSOR); - yych = *++YYCURSOR; - if (yych == '.') goto yy147; - if (yych <= '/') goto yy45; - if (yych >= ':') goto yy45; -yy147: - YYDEBUG(147, *YYCURSOR); - ++YYCURSOR; - YYFILL(1); - yych = *YYCURSOR; - YYDEBUG(148, *YYCURSOR); - if (yych == '.') goto yy147; - if (yych <= '/') goto yy149; - if (yych <= '9') goto yy147; -yy149: - YYDEBUG(149, *YYCURSOR); - YYCURSOR = YYCTXMARKER; - yyleng = (size_t) YYCURSOR - (size_t) yytext; -#line 106 "sapi/phpdbg/phpdbg_lexer.l" - { - return T_POUND; -} -#line 1493 "sapi/phpdbg/phpdbg_lexer.c" + yyaccept = 0; + yych = *(YYMARKER = ++YYCURSOR); + if (yych == 'D') goto yy89; + if (yych == 'd') goto yy89; + goto yy32; } /* *********************************** */ yyc_PRE_RAW: @@ -1528,34 +1532,23 @@ yyc_PRE_RAW: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; - YYDEBUG(150, *YYCURSOR); + YYDEBUG(147, *YYCURSOR); YYFILL(2); yych = *YYCURSOR; if (yych <= '\r') { - if (yych <= '\t') { - if (yych <= 0x00) goto yy158; - if (yych <= 0x08) goto yy160; - } else { - if (yych <= '\n') goto yy158; - if (yych <= '\f') goto yy160; - } + if (yych == '\t') goto yy151; + if (yych >= '\r') goto yy151; } else { - if (yych <= '"') { - if (yych == ' ') goto yy154; - goto yy160; + if (yych <= ' ') { + if (yych >= ' ') goto yy152; } else { - if (yych <= '#') goto yy157; - if (yych == '-') goto yy159; - goto yy160; + if (yych == '-') goto yy155; } } - YYDEBUG(152, *YYCURSOR); + YYDEBUG(149, *YYCURSOR); ++YYCURSOR; - if (yybm[0+(yych = *YYCURSOR)] & 64) { - goto yy154; - } -yy153: - YYDEBUG(153, *YYCURSOR); +yy150: + YYDEBUG(150, *YYCURSOR); yyleng = (size_t) YYCURSOR - (size_t) yytext; #line 199 "sapi/phpdbg/phpdbg_lexer.l" { @@ -1564,17 +1557,24 @@ yy153: YYCURSOR = LEX(text); goto restart; } -#line 1568 "sapi/phpdbg/phpdbg_lexer.c" -yy154: - YYDEBUG(154, *YYCURSOR); +#line 1561 "sapi/phpdbg/phpdbg_lexer.c" +yy151: + YYDEBUG(151, *YYCURSOR); + yych = *++YYCURSOR; + if (yybm[0+yych] & 64) { + goto yy152; + } + goto yy150; +yy152: + YYDEBUG(152, *YYCURSOR); ++YYCURSOR; YYFILL(1); yych = *YYCURSOR; - YYDEBUG(155, *YYCURSOR); + YYDEBUG(153, *YYCURSOR); if (yybm[0+yych] & 64) { - goto yy154; + goto yy152; } - YYDEBUG(156, *YYCURSOR); + YYDEBUG(154, *YYCURSOR); yyleng = (size_t) YYCURSOR - (size_t) yytext; #line 175 "sapi/phpdbg/phpdbg_lexer.l" { @@ -1583,64 +1583,50 @@ yy154: goto restart; } #line 1586 "sapi/phpdbg/phpdbg_lexer.c" -yy157: - YYDEBUG(157, *YYCURSOR); - yych = *++YYCURSOR; - goto yy153; -yy158: - YYDEBUG(158, *YYCURSOR); - yych = *++YYCURSOR; - goto yy153; -yy159: - YYDEBUG(159, *YYCURSOR); - yyaccept = 0; +yy155: + YYDEBUG(155, *YYCURSOR); yych = *(YYMARKER = ++YYCURSOR); - if (yych == 'r') goto yy161; - goto yy153; -yy160: - YYDEBUG(160, *YYCURSOR); - yych = *++YYCURSOR; - goto yy153; -yy161: - YYDEBUG(161, *YYCURSOR); + if (yych != 'r') goto yy150; +yy156: + YYDEBUG(156, *YYCURSOR); ++YYCURSOR; YYFILL(2); yych = *YYCURSOR; - YYDEBUG(162, *YYCURSOR); + YYDEBUG(157, *YYCURSOR); if (yybm[0+yych] & 128) { - goto yy165; + goto yy160; } if (yych <= '\r') { - if (yych == '\t') goto yy161; - if (yych >= '\r') goto yy161; + if (yych == '\t') goto yy156; + if (yych >= '\r') goto yy156; } else { if (yych <= ' ') { - if (yych >= ' ') goto yy161; + if (yych >= ' ') goto yy156; } else { - if (yych == '-') goto yy164; + if (yych == '-') goto yy159; } } -yy163: - YYDEBUG(163, *YYCURSOR); +yy158: + YYDEBUG(158, *YYCURSOR); YYCURSOR = YYMARKER; - goto yy153; -yy164: - YYDEBUG(164, *YYCURSOR); + goto yy150; +yy159: + YYDEBUG(159, *YYCURSOR); yych = *++YYCURSOR; if (yybm[0+yych] & 128) { - goto yy165; + goto yy160; } - goto yy163; -yy165: - YYDEBUG(165, *YYCURSOR); + goto yy158; +yy160: + YYDEBUG(160, *YYCURSOR); ++YYCURSOR; YYFILL(1); yych = *YYCURSOR; - YYDEBUG(166, *YYCURSOR); + YYDEBUG(161, *YYCURSOR); if (yybm[0+yych] & 128) { - goto yy165; + goto yy160; } - YYDEBUG(167, *YYCURSOR); + YYDEBUG(162, *YYCURSOR); yyleng = (size_t) YYCURSOR - (size_t) yytext; #line 93 "sapi/phpdbg/phpdbg_lexer.l" { @@ -1649,17 +1635,17 @@ yy165: yylval->num = atoi(text); return T_REQ_ID; } -#line 1653 "sapi/phpdbg/phpdbg_lexer.c" +#line 1639 "sapi/phpdbg/phpdbg_lexer.c" } /* *********************************** */ yyc_RAW: { static const unsigned char yybm[] = { 0, 232, 232, 232, 232, 232, 232, 232, - 232, 236, 0, 232, 232, 236, 232, 232, + 232, 232, 0, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, - 236, 232, 32, 224, 232, 232, 232, 128, + 232, 232, 64, 224, 232, 232, 232, 32, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, @@ -1688,61 +1674,43 @@ yyc_RAW: 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, }; - YYDEBUG(168, *YYCURSOR); + YYDEBUG(163, *YYCURSOR); YYFILL(1); yych = *YYCURSOR; - if (yybm[0+yych] & 4) { - goto yy170; - } - if (yych <= '"') { - if (yych <= 0x08) { - if (yych <= 0x00) goto yy175; - goto yy177; - } else { - if (yych <= '\n') goto yy175; - if (yych <= '!') goto yy177; - goto yy181; - } - } else { - if (yych <= '\'') { - if (yych <= '#') goto yy173; - if (yych <= '&') goto yy177; - goto yy183; - } else { - if (yych == '\\') goto yy179; - goto yy177; - } + if (yybm[0+yych] & 8) { + goto yy167; } -yy170: - YYDEBUG(170, *YYCURSOR); - yyaccept = 0; + if (yych <= '\n') goto yy165; + if (yych <= '"') goto yy170; + if (yych <= '#') goto yy172; + if (yych <= '\'') goto yy174; + goto yy175; +yy165: + YYDEBUG(165, *YYCURSOR); + ++YYCURSOR; + YYDEBUG(166, *YYCURSOR); + yyleng = (size_t) YYCURSOR - (size_t) yytext; +#line 89 "sapi/phpdbg/phpdbg_lexer.l" + { + return 0; +} +#line 1698 "sapi/phpdbg/phpdbg_lexer.c" +yy167: + YYDEBUG(167, *YYCURSOR); YYMARKER = ++YYCURSOR; YYFILL(1); yych = *YYCURSOR; - YYDEBUG(171, *YYCURSOR); - if (yybm[0+yych] & 4) { - goto yy170; - } - if (yych <= '"') { - if (yych <= 0x08) { - if (yych >= 0x01) goto yy177; - } else { - if (yych <= '\n') goto yy172; - if (yych <= '!') goto yy177; - goto yy181; - } - } else { - if (yych <= '\'') { - if (yych <= '#') goto yy172; - if (yych <= '&') goto yy177; - goto yy183; - } else { - if (yych == '\\') goto yy179; - goto yy177; - } - } -yy172: - YYDEBUG(172, *YYCURSOR); + YYDEBUG(168, *YYCURSOR); + if (yybm[0+yych] & 8) { + goto yy167; + } + if (yych <= '\n') goto yy169; + if (yych <= '"') goto yy170; + if (yych <= '#') goto yy169; + if (yych <= '\'') goto yy174; + goto yy175; +yy169: + YYDEBUG(169, *YYCURSOR); yyleng = (size_t) YYCURSOR - (size_t) yytext; #line 168 "sapi/phpdbg/phpdbg_lexer.l" { @@ -1751,390 +1719,361 @@ yy172: yylval->len = yyleng; return T_INPUT; } -#line 1755 "sapi/phpdbg/phpdbg_lexer.c" -yy173: - YYDEBUG(173, *YYCURSOR); +#line 1723 "sapi/phpdbg/phpdbg_lexer.c" +yy170: + YYDEBUG(170, *YYCURSOR); ++YYCURSOR; - YYDEBUG(174, *YYCURSOR); + YYFILL(1); + yych = *YYCURSOR; + if (yybm[0+yych] & 32) { + goto yy177; + } + if (yych >= '#') goto yy179; +yy171: + YYDEBUG(171, *YYCURSOR); + YYCURSOR = YYMARKER; + goto yy169; +yy172: + YYDEBUG(172, *YYCURSOR); + ++YYCURSOR; + YYDEBUG(173, *YYCURSOR); yyleng = (size_t) YYCURSOR - (size_t) yytext; #line 110 "sapi/phpdbg/phpdbg_lexer.l" { YYSETCONDITION(INITIAL); return T_SEPARATOR; } -#line 1766 "sapi/phpdbg/phpdbg_lexer.c" +#line 1747 "sapi/phpdbg/phpdbg_lexer.c" +yy174: + YYDEBUG(174, *YYCURSOR); + ++YYCURSOR; + YYFILL(1); + yych = *YYCURSOR; + if (yybm[0+yych] & 64) { + goto yy181; + } + if (yych <= '\'') goto yy171; + goto yy183; yy175: YYDEBUG(175, *YYCURSOR); ++YYCURSOR; + YYFILL(1); + yych = *YYCURSOR; YYDEBUG(176, *YYCURSOR); - yyleng = (size_t) YYCURSOR - (size_t) yytext; -#line 89 "sapi/phpdbg/phpdbg_lexer.l" - { - return 0; -} -#line 1776 "sapi/phpdbg/phpdbg_lexer.c" + if (yybm[0+yych] & 16) { + goto yy175; + } + if (yych <= '!') { + if (yych <= 0x00) goto yy169; + if (yych == '\n') goto yy169; + goto yy167; + } else { + if (yych <= '"') goto yy185; + if (yych == '\'') goto yy186; + goto yy167; + } yy177: YYDEBUG(177, *YYCURSOR); - yyaccept = 0; - YYMARKER = ++YYCURSOR; + ++YYCURSOR; YYFILL(1); yych = *YYCURSOR; YYDEBUG(178, *YYCURSOR); - if (yybm[0+yych] & 8) { + if (yybm[0+yych] & 32) { goto yy177; } - if (yych <= '\n') goto yy172; - if (yych <= '"') goto yy181; - if (yych <= '#') goto yy172; - if (yych <= '\'') goto yy183; + if (yych <= '\n') goto yy171; + if (yych <= '"') goto yy167; yy179: YYDEBUG(179, *YYCURSOR); ++YYCURSOR; YYFILL(1); yych = *YYCURSOR; YYDEBUG(180, *YYCURSOR); - if (yybm[0+yych] & 16) { - goto yy179; - } - if (yych <= '!') { - if (yych <= 0x00) goto yy172; - if (yych == '\n') goto yy172; - goto yy177; - } else { - if (yych <= '"') goto yy211; - if (yych == '\'') goto yy193; + if (yybm[0+yych] & 32) { goto yy177; } + if (yych <= '\n') goto yy171; + if (yych <= '"') goto yy187; + goto yy179; yy181: YYDEBUG(181, *YYCURSOR); ++YYCURSOR; YYFILL(1); yych = *YYCURSOR; - if (yybm[0+yych] & 128) { - goto yy207; - } - if (yych >= '#') goto yy209; -yy182: YYDEBUG(182, *YYCURSOR); - YYCURSOR = YYMARKER; - goto yy172; + if (yybm[0+yych] & 64) { + goto yy181; + } + if (yych <= '\n') goto yy171; + if (yych <= '\'') goto yy167; yy183: YYDEBUG(183, *YYCURSOR); ++YYCURSOR; YYFILL(1); yych = *YYCURSOR; - if (yybm[0+yych] & 32) { - goto yy184; - } - if (yych <= '\'') goto yy182; - goto yy186; -yy184: YYDEBUG(184, *YYCURSOR); - ++YYCURSOR; - YYFILL(1); - yych = *YYCURSOR; - YYDEBUG(185, *YYCURSOR); - if (yybm[0+yych] & 32) { - goto yy184; - } - if (yych <= '\n') goto yy182; - if (yych <= '\'') goto yy177; -yy186: - YYDEBUG(186, *YYCURSOR); - ++YYCURSOR; - YYFILL(1); - yych = *YYCURSOR; - YYDEBUG(187, *YYCURSOR); - if (yybm[0+yych] & 32) { - goto yy184; + if (yybm[0+yych] & 64) { + goto yy181; } - if (yych <= '\n') goto yy182; - if (yych >= '(') goto yy186; -yy188: - YYDEBUG(188, *YYCURSOR); - yyaccept = 0; + if (yych <= '\n') goto yy171; + if (yych <= '\'') goto yy189; + goto yy183; +yy185: + YYDEBUG(185, *YYCURSOR); YYMARKER = ++YYCURSOR; YYFILL(1); yych = *YYCURSOR; - YYDEBUG(189, *YYCURSOR); if (yych <= '"') { if (yych <= '\t') { - if (yych <= 0x00) goto yy172; - goto yy188; + if (yych <= 0x00) goto yy169; + goto yy187; } else { - if (yych <= '\n') goto yy172; - if (yych <= '!') goto yy188; - goto yy192; + if (yych <= '\n') goto yy169; + if (yych <= '!') goto yy187; + goto yy170; } } else { if (yych <= '\'') { - if (yych <= '#') goto yy184; - if (yych <= '&') goto yy188; - goto yy193; + if (yych <= '#') goto yy177; + if (yych <= '&') goto yy187; + goto yy191; } else { - if (yych != '\\') goto yy188; + if (yych == '\\') goto yy192; + goto yy187; } } -yy190: - YYDEBUG(190, *YYCURSOR); - ++YYCURSOR; +yy186: + YYDEBUG(186, *YYCURSOR); + YYMARKER = ++YYCURSOR; YYFILL(1); yych = *YYCURSOR; - YYDEBUG(191, *YYCURSOR); - if (yych <= '!') { - if (yych <= 0x00) goto yy172; - if (yych == '\n') goto yy172; - goto yy188; + if (yych <= '"') { + if (yych <= '\t') { + if (yych <= 0x00) goto yy169; + goto yy189; + } else { + if (yych <= '\n') goto yy169; + if (yych <= '!') goto yy189; + goto yy194; + } } else { - if (yych <= '"') goto yy203; - if (yych == '\\') goto yy190; - goto yy188; - } -yy192: - YYDEBUG(192, *YYCURSOR); - ++YYCURSOR; - YYFILL(1); - yych = *YYCURSOR; - if (yybm[0+yych] & 64) { - goto yy196; + if (yych <= '\'') { + if (yych <= '#') goto yy181; + if (yych <= '&') goto yy189; + goto yy174; + } else { + if (yych == '\\') goto yy195; + goto yy189; + } } - if (yych <= '\n') goto yy182; - if (yych <= '"') goto yy184; - if (yych <= '\'') goto yy194; - goto yy198; -yy193: - YYDEBUG(193, *YYCURSOR); - yyaccept = 0; +yy187: + YYDEBUG(187, *YYCURSOR); YYMARKER = ++YYCURSOR; YYFILL(1); yych = *YYCURSOR; + YYDEBUG(188, *YYCURSOR); if (yych <= '"') { if (yych <= '\t') { - if (yych <= 0x00) goto yy172; - goto yy188; + if (yych <= 0x00) goto yy169; + goto yy187; } else { - if (yych <= '\n') goto yy172; - if (yych <= '!') goto yy188; - goto yy192; + if (yych <= '\n') goto yy169; + if (yych <= '!') goto yy187; + goto yy185; } } else { if (yych <= '\'') { - if (yych <= '#') goto yy184; - if (yych <= '&') goto yy188; - goto yy183; + if (yych <= '#') goto yy177; + if (yych <= '&') goto yy187; + goto yy191; } else { - if (yych == '\\') goto yy190; - goto yy188; + if (yych == '\\') goto yy192; + goto yy187; } } -yy194: - YYDEBUG(194, *YYCURSOR); - yyaccept = 0; +yy189: + YYDEBUG(189, *YYCURSOR); YYMARKER = ++YYCURSOR; YYFILL(1); yych = *YYCURSOR; - YYDEBUG(195, *YYCURSOR); + YYDEBUG(190, *YYCURSOR); if (yych <= '"') { if (yych <= '\t') { - if (yych <= 0x00) goto yy172; - goto yy194; + if (yych <= 0x00) goto yy169; + goto yy189; } else { - if (yych <= '\n') goto yy172; - if (yych <= '!') goto yy194; - goto yy211; + if (yych <= '\n') goto yy169; + if (yych <= '!') goto yy189; + goto yy194; } } else { if (yych <= '\'') { - if (yych <= '#') goto yy207; - if (yych <= '&') goto yy194; - goto yy206; + if (yych <= '#') goto yy181; + if (yych <= '&') goto yy189; + goto yy186; } else { - if (yych == '\\') goto yy212; - goto yy194; + if (yych == '\\') goto yy195; + goto yy189; } } -yy196: - YYDEBUG(196, *YYCURSOR); +yy191: + YYDEBUG(191, *YYCURSOR); ++YYCURSOR; YYFILL(1); yych = *YYCURSOR; - YYDEBUG(197, *YYCURSOR); - if (yybm[0+yych] & 64) { - goto yy196; + if (yybm[0+yych] & 128) { + goto yy197; } - if (yych <= '\n') goto yy182; - if (yych <= '"') goto yy188; - if (yych <= '\'') goto yy194; -yy198: - YYDEBUG(198, *YYCURSOR); + if (yych <= '\n') goto yy171; + if (yych <= '"') goto yy189; + if (yych <= '\'') goto yy177; + goto yy199; +yy192: + YYDEBUG(192, *YYCURSOR); ++YYCURSOR; YYFILL(1); yych = *YYCURSOR; - YYDEBUG(199, *YYCURSOR); - if (yybm[0+yych] & 64) { - goto yy196; + YYDEBUG(193, *YYCURSOR); + if (yych <= '&') { + if (yych <= 0x00) goto yy169; + if (yych == '\n') goto yy169; + goto yy187; + } else { + if (yych <= '\'') goto yy201; + if (yych == '\\') goto yy192; + goto yy187; + } +yy194: + YYDEBUG(194, *YYCURSOR); + ++YYCURSOR; + YYFILL(1); + yych = *YYCURSOR; + if (yybm[0+yych] & 128) { + goto yy197; } - if (yych <= '\n') goto yy182; - if (yych >= '(') goto yy198; -yy200: + if (yych <= '\n') goto yy171; + if (yych <= '"') goto yy181; + if (yych <= '\'') goto yy187; + goto yy199; +yy195: + YYDEBUG(195, *YYCURSOR); + ++YYCURSOR; + YYFILL(1); + yych = *YYCURSOR; + YYDEBUG(196, *YYCURSOR); + if (yych <= '!') { + if (yych <= 0x00) goto yy169; + if (yych == '\n') goto yy169; + goto yy189; + } else { + if (yych <= '"') goto yy202; + if (yych == '\\') goto yy195; + goto yy189; + } +yy197: + YYDEBUG(197, *YYCURSOR); + ++YYCURSOR; + YYFILL(1); + yych = *YYCURSOR; + YYDEBUG(198, *YYCURSOR); + if (yybm[0+yych] & 128) { + goto yy197; + } + if (yych <= '\n') goto yy171; + if (yych <= '"') goto yy189; + if (yych <= '\'') goto yy187; +yy199: + YYDEBUG(199, *YYCURSOR); + ++YYCURSOR; + YYFILL(1); + yych = *YYCURSOR; YYDEBUG(200, *YYCURSOR); - yyaccept = 0; + if (yybm[0+yych] & 128) { + goto yy197; + } + if (yych <= '\n') goto yy171; + if (yych <= '\'') goto yy203; + goto yy199; +yy201: + YYDEBUG(201, *YYCURSOR); YYMARKER = ++YYCURSOR; YYFILL(1); yych = *YYCURSOR; - YYDEBUG(201, *YYCURSOR); if (yych <= '"') { if (yych <= '\t') { - if (yych <= 0x00) goto yy172; - goto yy200; - } else { - if (yych <= '\n') goto yy172; - if (yych <= '!') goto yy200; + if (yych <= 0x00) goto yy169; goto yy203; + } else { + if (yych <= '\n') goto yy169; + if (yych <= '!') goto yy203; } } else { if (yych <= '\'') { - if (yych <= '#') goto yy196; - if (yych <= '&') goto yy200; + if (yych <= '#') goto yy197; + if (yych <= '&') goto yy203; + goto yy191; } else { - if (yych == '\\') goto yy204; - goto yy200; + if (yych == '\\') goto yy205; + goto yy203; } } yy202: YYDEBUG(202, *YYCURSOR); - yyaccept = 0; YYMARKER = ++YYCURSOR; YYFILL(1); yych = *YYCURSOR; if (yych <= '"') { if (yych <= '\t') { - if (yych <= 0x00) goto yy172; - goto yy200; + if (yych <= 0x00) goto yy169; } else { - if (yych <= '\n') goto yy172; - if (yych <= '!') goto yy200; + if (yych <= '\n') goto yy169; + if (yych >= '"') goto yy194; } } else { if (yych <= '\'') { - if (yych <= '#') goto yy196; - if (yych <= '&') goto yy200; - goto yy206; + if (yych <= '#') goto yy197; + if (yych >= '\'') goto yy201; } else { - if (yych == '\\') goto yy204; - goto yy200; + if (yych == '\\') goto yy205; } } yy203: YYDEBUG(203, *YYCURSOR); - yyaccept = 0; YYMARKER = ++YYCURSOR; YYFILL(1); yych = *YYCURSOR; - if (yych <= '"') { - if (yych <= '\t') { - if (yych <= 0x00) goto yy172; - goto yy200; - } else { - if (yych <= '\n') goto yy172; - if (yych <= '!') goto yy200; - goto yy192; - } - } else { - if (yych <= '\'') { - if (yych <= '#') goto yy196; - if (yych <= '&') goto yy200; - goto yy202; - } else { - if (yych != '\\') goto yy200; - } - } -yy204: YYDEBUG(204, *YYCURSOR); - ++YYCURSOR; - YYFILL(1); - yych = *YYCURSOR; - YYDEBUG(205, *YYCURSOR); - if (yych <= '\n') { - if (yych <= 0x00) goto yy172; - if (yych <= '\t') goto yy200; - goto yy172; - } else { - if (yych == '\\') goto yy204; - goto yy200; - } -yy206: - YYDEBUG(206, *YYCURSOR); - ++YYCURSOR; - YYFILL(1); - yych = *YYCURSOR; - if (yybm[0+yych] & 64) { - goto yy196; - } - if (yych <= '\n') goto yy182; - if (yych <= '"') goto yy188; - if (yych >= '(') goto yy198; -yy207: - YYDEBUG(207, *YYCURSOR); - ++YYCURSOR; - YYFILL(1); - yych = *YYCURSOR; - YYDEBUG(208, *YYCURSOR); - if (yybm[0+yych] & 128) { - goto yy207; - } - if (yych <= '\n') goto yy182; - if (yych <= '"') goto yy177; -yy209: - YYDEBUG(209, *YYCURSOR); - ++YYCURSOR; - YYFILL(1); - yych = *YYCURSOR; - YYDEBUG(210, *YYCURSOR); - if (yybm[0+yych] & 128) { - goto yy207; - } - if (yych <= '\n') goto yy182; - if (yych <= '"') goto yy194; - goto yy209; -yy211: - YYDEBUG(211, *YYCURSOR); - yyaccept = 0; - YYMARKER = ++YYCURSOR; - YYFILL(1); - yych = *YYCURSOR; if (yych <= '"') { if (yych <= '\t') { - if (yych <= 0x00) goto yy172; - goto yy194; + if (yych <= 0x00) goto yy169; + goto yy203; } else { - if (yych <= '\n') goto yy172; - if (yych <= '!') goto yy194; - goto yy181; + if (yych <= '\n') goto yy169; + if (yych <= '!') goto yy203; + goto yy202; } } else { if (yych <= '\'') { - if (yych <= '#') goto yy207; - if (yych <= '&') goto yy194; - goto yy206; + if (yych <= '#') goto yy197; + if (yych <= '&') goto yy203; + goto yy201; } else { - if (yych != '\\') goto yy194; + if (yych != '\\') goto yy203; } } -yy212: - YYDEBUG(212, *YYCURSOR); +yy205: + YYDEBUG(205, *YYCURSOR); ++YYCURSOR; YYFILL(1); yych = *YYCURSOR; - YYDEBUG(213, *YYCURSOR); - if (yych <= '&') { - if (yych <= 0x00) goto yy172; - if (yych == '\n') goto yy172; - goto yy194; + YYDEBUG(206, *YYCURSOR); + if (yych <= '\n') { + if (yych <= 0x00) goto yy169; + if (yych <= '\t') goto yy203; + goto yy169; } else { - if (yych <= '\'') goto yy202; - if (yych == '\\') goto yy212; - goto yy194; + if (yych == '\\') goto yy205; + goto yy203; } } } |