php-src/sapi/phpdbg/phpdbg_lexer.c

2144 lines
47 KiB
C

/* Generated by re2c 0.14.3 */
#line 1 "sapi/phpdbg/phpdbg_lexer.l"
/*
* phpdbg_lexer.l
*/
#include "phpdbg.h"
#include "phpdbg_cmd.h"
#include "phpdbg_parser.h"
#define LEX(v) (PHPDBG_G(lexer).v)
#define YYCTYPE unsigned char
#define YYSETCONDITION(x) LEX(state) = x;
#define YYGETCONDITION() LEX(state)
#define YYCURSOR LEX(cursor)
#define YYMARKER LEX(marker)
#define YYCTXMARKER LEX(ctxmarker)
#define yyleng LEX(len)
#define yytext ((char*) LEX(text))
#undef YYDEBUG
#define YYDEBUG(a, b)
#define YYFILL(n)
#define NORMAL 0
#define PRE_RAW 1
#define RAW 2
#define INITIAL 3
ZEND_EXTERN_MODULE_GLOBALS(phpdbg)
void phpdbg_init_lexer (phpdbg_param_t *stack, char *input) {
PHPDBG_G(parser_stack) = stack;
YYSETCONDITION(INITIAL);
LEX(text) = YYCURSOR = (unsigned char *) input;
LEX(len) = strlen(input);
}
static int unescape_string(char *s) {
switch (*s) {
case '\'':
case '\"': {
char start = *s;
size_t off = 1;
do {
if (s[off] == '\\') {
off++;
}
*s = s[off];
} while ((++s)[off] != start);
return off + 1;
}
}
return 0;
}
int phpdbg_lex (phpdbg_param_t* yylval) {
restart:
LEX(text) = YYCURSOR;
#line 68 "sapi/phpdbg/phpdbg_lexer.c"
{
YYCTYPE yych;
unsigned int yyaccept = 0;
if (YYGETCONDITION() < 2) {
if (YYGETCONDITION() < 1) {
goto yyc_NORMAL;
} else {
goto yyc_PRE_RAW;
}
} else {
if (YYGETCONDITION() < 3) {
goto yyc_RAW;
} else {
goto yyc_INITIAL;
}
}
/* *********************************** */
yyc_INITIAL:
{
static const unsigned char yybm[] = {
0, 0, 0, 0, 0, 0, 0, 0,
0, 128, 0, 0, 0, 128, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
128, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
};
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;
}
} else {
if (yych <= 0x1F) {
if (yych >= 0x0E) goto yy14;
} else {
if (yych <= ' ') goto yy5;
if (yych <= '"') goto yy14;
goto yy8;
}
}
} 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;
}
} else {
if (yych <= 'q') {
if (yych == 'e') goto yy10;
goto yy14;
} 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;
#line 206 "sapi/phpdbg/phpdbg_lexer.l"
{
YYSETCONDITION(NORMAL);
YYCURSOR = LEX(text);
goto restart;
}
#line 181 "sapi/phpdbg/phpdbg_lexer.c"
yy5:
YYDEBUG(5, *YYCURSOR);
++YYCURSOR;
YYFILL(1);
yych = *YYCURSOR;
YYDEBUG(6, *YYCURSOR);
if (yybm[0+yych] & 128) {
goto yy5;
}
YYDEBUG(7, *YYCURSOR);
yyleng = (size_t) YYCURSOR - (size_t) yytext;
#line 175 "sapi/phpdbg/phpdbg_lexer.l"
{
/* ignore whitespace */
goto restart;
}
#line 199 "sapi/phpdbg/phpdbg_lexer.c"
yy8:
YYDEBUG(8, *YYCURSOR);
yych = *++YYCURSOR;
goto yy4;
yy9:
YYDEBUG(9, *YYCURSOR);
yych = *++YYCURSOR;
goto yy4;
yy10:
YYDEBUG(10, *YYCURSOR);
yyaccept = 0;
yych = *(YYMARKER = ++YYCURSOR);
if (yych == 'V') goto yy25;
if (yych == 'v') goto yy25;
goto yy4;
yy11:
YYDEBUG(11, *YYCURSOR);
yyaccept = 0;
yych = *(YYMARKER = ++YYCURSOR);
if (yych == 'H') goto yy21;
if (yych == 'h') goto yy21;
goto yy4;
yy12:
YYDEBUG(12, *YYCURSOR);
yyaccept = 0;
yych = *(YYMARKER = ++YYCURSOR);
if (yych <= 0x1F) {
if (yych <= '\t') {
if (yych <= 0x08) goto yy4;
goto yy18;
} else {
if (yych == '\r') goto yy18;
goto yy4;
}
} else {
if (yych <= 'U') {
if (yych <= ' ') goto yy18;
if (yych <= 'T') goto yy4;
goto yy15;
} else {
if (yych == 'u') goto yy15;
goto yy4;
}
}
yy13:
YYDEBUG(13, *YYCURSOR);
yyaccept = 0;
yych = *(YYMARKER = ++YYCURSOR);
if (yych == 'U') goto yy15;
if (yych == 'u') goto yy15;
goto yy4;
yy14:
YYDEBUG(14, *YYCURSOR);
yych = *++YYCURSOR;
goto yy4;
yy15:
YYDEBUG(15, *YYCURSOR);
yych = *++YYCURSOR;
if (yych == 'N') goto yy17;
if (yych == 'n') goto yy17;
yy16:
YYDEBUG(16, *YYCURSOR);
YYCURSOR = YYMARKER;
goto yy4;
yy17:
YYDEBUG(17, *YYCURSOR);
yych = *++YYCURSOR;
if (yych <= '\f') {
if (yych != '\t') goto yy16;
} else {
if (yych <= '\r') goto yy18;
if (yych != ' ') goto yy16;
}
yy18:
YYDEBUG(18, *YYCURSOR);
++YYCURSOR;
YYFILL(1);
yych = *YYCURSOR;
YYDEBUG(19, *YYCURSOR);
if (yych <= '\f') {
if (yych == '\t') goto yy18;
} else {
if (yych <= '\r') goto yy18;
if (yych == ' ') goto yy18;
}
YYDEBUG(20, *YYCURSOR);
yyleng = (size_t) YYCURSOR - (size_t) yytext;
#line 193 "sapi/phpdbg/phpdbg_lexer.l"
{
YYSETCONDITION(PRE_RAW);
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);
++YYCURSOR;
YYFILL(1);
yych = *YYCURSOR;
YYDEBUG(23, *YYCURSOR);
if (yych <= '\f') {
if (yych == '\t') goto yy22;
} else {
if (yych <= '\r') goto yy22;
if (yych == ' ') goto yy22;
}
YYDEBUG(24, *YYCURSOR);
yyleng = (size_t) YYCURSOR - (size_t) yytext;
#line 187 "sapi/phpdbg/phpdbg_lexer.l"
{
YYSETCONDITION(PRE_RAW);
phpdbg_init_param(yylval, EMPTY_PARAM);
return T_SHELL;
}
#line 323 "sapi/phpdbg/phpdbg_lexer.c"
yy25:
YYDEBUG(25, *YYCURSOR);
yych = *++YYCURSOR;
if (yych <= '\f') {
if (yych != '\t') goto yy16;
} else {
if (yych <= '\r') goto yy26;
if (yych != ' ') goto yy16;
}
yy26:
YYDEBUG(26, *YYCURSOR);
++YYCURSOR;
YYFILL(1);
yych = *YYCURSOR;
YYDEBUG(27, *YYCURSOR);
if (yych <= '\f') {
if (yych == '\t') goto yy26;
} else {
if (yych <= '\r') goto yy26;
if (yych == ' ') goto yy26;
}
YYDEBUG(28, *YYCURSOR);
yyleng = (size_t) YYCURSOR - (size_t) yytext;
#line 181 "sapi/phpdbg/phpdbg_lexer.l"
{
YYSETCONDITION(PRE_RAW);
phpdbg_init_param(yylval, EMPTY_PARAM);
return T_EVAL;
}
#line 353 "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,
/* 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,
};
YYDEBUG(29, *YYCURSOR);
YYFILL(11);
yych = *YYCURSOR;
if (yybm[256+yych] & 64) {
goto yy31;
}
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 '.':
case '1':
case '2':
case '3':
case '4':
case '5':
case '6':
case '7':
case '8':
case '9': goto yy47;
case '0': goto yy50;
case ':': goto yy41;
case 'D':
case 'd': goto yy51;
case 'E':
case 'e': goto yy52;
case 'F':
case 'f': goto yy53;
case 'I':
case 'i': goto yy40;
case 'N':
case 'n': goto yy54;
case 'O':
case 'o': goto yy55;
case 'T':
case 't': goto yy56;
case 'Y':
case 'y': goto yy57;
case 'Z': goto yy58;
case 'z': goto yy59;
default: goto yy42;
}
yy31:
YYDEBUG(31, *YYCURSOR);
++YYCURSOR;
YYFILL(1);
yych = *YYCURSOR;
YYDEBUG(32, *YYCURSOR);
if (yybm[256+yych] & 64) {
goto yy31;
}
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);
yylval->str = estrndup(yytext, yyleng - unescape_string(yytext));
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);
yych = *YYCURSOR;
yy43:
YYDEBUG(43, *YYCURSOR);
if (yybm[256+yych] & 128) {
goto yy42;
}
if (yych <= ' ') goto yy39;
if (yych == '#') goto yy39;
if (yych <= '\'') goto yy62;
goto yy61;
yy44:
YYDEBUG(44, *YYCURSOR);
yych = *++YYCURSOR;
if (yych == '"') goto yy62;
goto yy120;
yy45:
YYDEBUG(45, *YYCURSOR);
YYCURSOR = YYMARKER;
if (yyaccept <= 3) {
if (yyaccept <= 1) {
if (yyaccept == 0) {
goto yy35;
} else {
goto yy39;
}
} else {
if (yyaccept == 2) {
goto yy49;
} else {
goto yy76;
}
}
} else {
if (yyaccept <= 5) {
if (yyaccept == 4) {
goto yy107;
} else {
goto yy67;
}
} else {
goto yy142;
}
}
yy46:
YYDEBUG(46, *YYCURSOR);
yych = *++YYCURSOR;
if (yych == '\'') goto yy62;
goto yy109;
yy47:
YYDEBUG(47, *YYCURSOR);
yyaccept = 2;
YYMARKER = ++YYCURSOR;
YYFILL(3);
yych = *YYCURSOR;
YYDEBUG(48, *YYCURSOR);
if (yybm[0+yych] & 1) {
goto yy47;
}
if (yych <= ' ') {
if (yych <= '\n') {
if (yych <= 0x00) goto yy49;
if (yych <= 0x08) goto yy42;
} else {
if (yych == '\r') goto yy49;
if (yych <= 0x1F) goto yy42;
}
} else {
if (yych <= '&') {
if (yych <= '!') goto yy42;
if (yych <= '"') goto yy62;
if (yych >= '$') goto yy42;
} else {
if (yych <= '\'') goto yy62;
if (yych <= '/') goto yy42;
if (yych <= ':') goto yy61;
goto yy42;
}
}
yy49:
YYDEBUG(49, *YYCURSOR);
yyleng = (size_t) YYCURSOR - (size_t) yytext;
#line 142 "sapi/phpdbg/phpdbg_lexer.l"
{
phpdbg_init_param(yylval, NUMERIC_PARAM);
yylval->num = atoi(yytext);
return T_DIGITS;
}
#line 649 "sapi/phpdbg/phpdbg_lexer.c"
yy50:
YYDEBUG(50, *YYCURSOR);
yyaccept = 2;
yych = *(YYMARKER = ++YYCURSOR);
if (yybm[0+yych] & 1) {
goto yy47;
}
if (yych <= 0x1F) {
if (yych <= '\n') {
if (yych <= 0x00) goto yy49;
if (yych <= 0x08) goto yy43;
goto yy49;
} else {
if (yych == '\r') goto yy49;
goto yy43;
}
} else {
if (yych <= '#') {
if (yych <= ' ') goto yy49;
if (yych <= '"') goto yy43;
goto yy49;
} else {
if (yych == 'x') goto yy104;
goto yy43;
}
}
yy51:
YYDEBUG(51, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych == 'I') goto yy98;
if (yych == 'i') goto yy98;
goto yy43;
yy52:
YYDEBUG(52, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych == 'N') goto yy93;
if (yych == 'n') goto yy93;
goto yy43;
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;
yych = *(YYMARKER = ++YYCURSOR);
if (yych <= 'N') {
if (yych == 'F') goto yy86;
if (yych <= 'M') goto yy43;
goto yy81;
} else {
if (yych <= 'f') {
if (yych <= 'e') goto yy43;
goto yy86;
} else {
if (yych == 'n') goto yy81;
goto yy43;
}
}
yy56:
YYDEBUG(56, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych == 'R') goto yy84;
if (yych == 'r') goto yy84;
goto yy43;
yy57:
YYDEBUG(57, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych == 'E') goto yy80;
if (yych == 'e') goto yy80;
goto yy43;
yy58:
YYDEBUG(58, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych == 'E') goto yy77;
goto yy43;
yy59:
YYDEBUG(59, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych != 'e') goto yy43;
YYDEBUG(60, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych == 'n') goto yy71;
goto yy43;
yy61:
YYDEBUG(61, *YYCURSOR);
yych = *++YYCURSOR;
if (yych == '/') goto yy65;
if (yych == '\\') goto yy68;
goto yy45;
yy62:
YYDEBUG(62, *YYCURSOR);
++YYCURSOR;
YYFILL(3);
yych = *YYCURSOR;
yy63:
YYDEBUG(63, *YYCURSOR);
if (yybm[0+yych] & 2) {
goto yy62;
}
if (yych <= '#') goto yy45;
yy64:
YYDEBUG(64, *YYCURSOR);
yych = *++YYCURSOR;
if (yych != '/') goto yy45;
yy65:
YYDEBUG(65, *YYCURSOR);
yych = *++YYCURSOR;
if (yych != '/') goto yy45;
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);
yych = *YYCURSOR;
YYDEBUG(69, *YYCURSOR);
if (yych <= ' ') {
if (yych <= '\n') {
if (yych <= 0x00) goto yy39;
if (yych <= 0x08) goto yy68;
goto yy39;
} else {
if (yych == '\r') goto yy39;
if (yych <= 0x1F) goto yy68;
goto yy39;
}
} else {
if (yych <= '&') {
if (yych <= '!') goto yy68;
if (yych <= '#') goto yy39;
goto yy68;
} else {
if (yych <= '\'') goto yy39;
if (yych != ':') goto yy68;
}
}
YYDEBUG(70, *YYCURSOR);
++YYCURSOR;
YYFILL(1);
yych = *YYCURSOR;
if (yych == '\\') goto yy68;
goto yy45;
yy71:
YYDEBUG(71, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych != 'd') goto yy43;
YYDEBUG(72, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych != '_') goto yy43;
yy73:
YYDEBUG(73, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yybm[0+yych] & 4) {
goto yy74;
}
goto yy43;
yy74:
YYDEBUG(74, *YYCURSOR);
yyaccept = 3;
YYMARKER = ++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;
} else {
if (yych == '\r') goto yy76;
if (yych <= 0x1F) goto yy42;
}
} else {
if (yych <= '&') {
if (yych <= '!') goto yy42;
if (yych <= '"') goto yy62;
if (yych >= '$') goto yy42;
} else {
if (yych <= '\'') goto yy62;
if (yych == ':') goto yy61;
goto yy42;
}
}
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;
yych = *(YYMARKER = ++YYCURSOR);
if (yych != 'N') goto yy43;
YYDEBUG(78, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych != 'D') goto yy43;
YYDEBUG(79, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych == '_') goto yy73;
goto yy43;
yy80:
YYDEBUG(80, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych == 'S') goto yy81;
if (yych != 's') goto yy43;
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;
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 924 "sapi/phpdbg/phpdbg_lexer.c"
yy84:
YYDEBUG(84, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych == 'U') goto yy85;
if (yych != 'u') goto yy43;
yy85:
YYDEBUG(85, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych == 'E') goto yy81;
if (yych == 'e') goto yy81;
goto yy43;
yy86:
YYDEBUG(86, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych == 'F') goto yy87;
if (yych != 'f') goto yy43;
yy87:
YYDEBUG(87, *YYCURSOR);
YYCTXMARKER = YYCURSOR + 1;
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych <= '\f') {
if (yych <= 0x00) goto yy88;
if (yych <= 0x08) goto yy43;
if (yych >= '\v') goto yy43;
} else {
if (yych <= '\r') goto yy88;
if (yych != ' ') goto yy43;
}
yy88:
YYDEBUG(88, *YYCURSOR);
++YYCURSOR;
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"
yy90:
YYDEBUG(90, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych == 'L') goto yy91;
if (yych != 'l') goto yy43;
yy91:
YYDEBUG(91, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych == 'S') goto yy92;
if (yych != 's') goto yy43;
yy92:
YYDEBUG(92, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych == 'E') goto yy87;
if (yych == 'e') goto yy87;
goto yy43;
yy93:
YYDEBUG(93, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych == 'A') goto yy94;
if (yych != 'a') goto yy43;
yy94:
YYDEBUG(94, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych == 'B') goto yy95;
if (yych != 'b') goto yy43;
yy95:
YYDEBUG(95, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych == 'L') goto yy96;
if (yych != 'l') goto yy43;
yy96:
YYDEBUG(96, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych == 'E') goto yy97;
if (yych != 'e') goto yy43;
yy97:
YYDEBUG(97, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych == 'D') goto yy81;
if (yych == 'd') goto yy81;
goto yy43;
yy98:
YYDEBUG(98, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych == 'S') goto yy99;
if (yych != 's') goto yy43;
yy99:
YYDEBUG(99, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych == 'A') goto yy100;
if (yych != 'a') goto yy43;
yy100:
YYDEBUG(100, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych == 'B') goto yy101;
if (yych != 'b') goto yy43;
yy101:
YYDEBUG(101, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych == 'L') goto yy102;
if (yych != 'l') goto yy43;
yy102:
YYDEBUG(102, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych == 'E') goto yy103;
if (yych != 'e') goto yy43;
yy103:
YYDEBUG(103, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych == 'D') goto yy87;
if (yych == 'd') goto yy87;
goto yy43;
yy104:
YYDEBUG(104, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yybm[0+yych] & 8) {
goto yy105;
}
goto yy43;
yy105:
YYDEBUG(105, *YYCURSOR);
yyaccept = 4;
YYMARKER = ++YYCURSOR;
YYFILL(3);
yych = *YYCURSOR;
YYDEBUG(106, *YYCURSOR);
if (yybm[0+yych] & 8) {
goto yy105;
}
if (yych <= ' ') {
if (yych <= '\n') {
if (yych <= 0x00) goto yy107;
if (yych <= 0x08) goto yy42;
} else {
if (yych == '\r') goto yy107;
if (yych <= 0x1F) goto yy42;
}
} else {
if (yych <= '&') {
if (yych <= '!') goto yy42;
if (yych <= '"') goto yy62;
if (yych >= '$') goto yy42;
} else {
if (yych <= '\'') goto yy62;
if (yych <= '/') goto yy42;
if (yych <= ':') goto yy61;
goto yy42;
}
}
yy107:
YYDEBUG(107, *YYCURSOR);
yyleng = (size_t) YYCURSOR - (size_t) yytext;
#line 148 "sapi/phpdbg/phpdbg_lexer.l"
{
phpdbg_init_param(yylval, ADDR_PARAM);
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;
yy113:
YYDEBUG(113, *YYCURSOR);
++YYCURSOR;
YYFILL(3);
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;
}
}
yy114:
YYDEBUG(114, *YYCURSOR);
yych = *++YYCURSOR;
if (yych == '/') goto yy117;
goto yy111;
yy115:
YYDEBUG(115, *YYCURSOR);
yych = *++YYCURSOR;
goto yy39;
yy116:
YYDEBUG(116, *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;
}
} else {
if (yych <= ' ') {
if (yych <= 0x1F) goto yy63;
goto yy39;
} else {
if (yych == '#') goto yy39;
goto yy63;
}
}
yy119:
YYDEBUG(119, *YYCURSOR);
++YYCURSOR;
YYFILL(4);
yych = *YYCURSOR;
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;
yy122:
YYDEBUG(122, *YYCURSOR);
if (yybm[0+yych] & 128) {
goto yy121;
}
if (yych <= '\n') goto yy45;
if (yych <= '"') goto yy115;
goto yy126;
yy123:
YYDEBUG(123, *YYCURSOR);
yych = *++YYCURSOR;
if (yych == '/') goto yy125;
goto yy122;
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;
}
}
yy125:
YYDEBUG(125, *YYCURSOR);
yych = *++YYCURSOR;
if (yych == '/') goto yy127;
goto yy122;
yy126:
YYDEBUG(126, *YYCURSOR);
++YYCURSOR;
YYFILL(1);
yych = *YYCURSOR;
if (yych == '"') goto yy121;
if (yych == '\\') goto yy121;
goto yy45;
yy127:
YYDEBUG(127, *YYCURSOR);
yyaccept = 5;
yych = *(YYMARKER = ++YYCURSOR);
if (yych <= 0x00) goto yy67;
if (yych == '\n') goto yy67;
goto yy122;
yy128:
YYDEBUG(128, *YYCURSOR);
++YYCURSOR;
YYDEBUG(129, *YYCURSOR);
YYCURSOR = YYCTXMARKER;
yyleng = (size_t) YYCURSOR - (size_t) yytext;
#line 119 "sapi/phpdbg/phpdbg_lexer.l"
{
return T_COLON;
}
#line 1309 "sapi/phpdbg/phpdbg_lexer.c"
yy130:
YYDEBUG(130, *YYCURSOR);
++YYCURSOR;
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"
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(134, *YYCURSOR);
if (yych <= '\f') {
if (yych == '\t') goto yy133;
} else {
if (yych <= '\r') goto yy133;
if (yych == ' ') goto yy133;
}
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"
yy136:
YYDEBUG(136, *YYCURSOR);
yyaccept = 1;
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;
}
}
yy137:
YYDEBUG(137, *YYCURSOR);
++YYCURSOR;
YYFILL(2);
yych = *YYCURSOR;
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;
}
}
yy139:
YYDEBUG(139, *YYCURSOR);
yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
if (yych == '.') goto yy140;
if (yych <= '/') goto yy43;
if (yych >= ':') goto yy43;
yy140:
YYDEBUG(140, *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;
} else {
if (yych <= 0x1F) {
if (yych >= 0x0E) goto yy42;
} else {
if (yych <= ' ') goto yy142;
if (yych <= '!') goto yy42;
goto yy62;
}
}
} else {
if (yych <= '-') {
if (yych <= '#') goto yy142;
if (yych == '\'') goto yy62;
goto yy42;
} else {
if (yych <= '/') {
if (yych <= '.') goto yy140;
goto yy42;
} else {
if (yych <= '9') goto yy140;
if (yych <= ':') goto yy61;
goto yy42;
}
}
}
yy142:
YYDEBUG(142, *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 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;
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"
}
/* *********************************** */
yyc_PRE_RAW:
{
static const unsigned char yybm[] = {
0, 0, 0, 0, 0, 0, 0, 0,
0, 64, 0, 0, 0, 64, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
64, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 128, 0,
128, 128, 128, 128, 128, 128, 128, 128,
128, 128, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
};
YYDEBUG(150, *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;
}
} else {
if (yych <= '"') {
if (yych == ' ') goto yy154;
goto yy160;
} else {
if (yych <= '#') goto yy157;
if (yych == '-') goto yy159;
goto yy160;
}
}
YYDEBUG(152, *YYCURSOR);
++YYCURSOR;
if (yybm[0+(yych = *YYCURSOR)] & 64) {
goto yy154;
}
yy153:
YYDEBUG(153, *YYCURSOR);
yyleng = (size_t) YYCURSOR - (size_t) yytext;
#line 199 "sapi/phpdbg/phpdbg_lexer.l"
{
YYSETCONDITION(RAW);
YYCURSOR = LEX(text);
goto restart;
}
#line 1568 "sapi/phpdbg/phpdbg_lexer.c"
yy154:
YYDEBUG(154, *YYCURSOR);
++YYCURSOR;
YYFILL(1);
yych = *YYCURSOR;
YYDEBUG(155, *YYCURSOR);
if (yybm[0+yych] & 64) {
goto yy154;
}
YYDEBUG(156, *YYCURSOR);
yyleng = (size_t) YYCURSOR - (size_t) yytext;
#line 175 "sapi/phpdbg/phpdbg_lexer.l"
{
/* ignore whitespace */
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;
yych = *(YYMARKER = ++YYCURSOR);
if (yych == 'r') goto yy161;
goto yy153;
yy160:
YYDEBUG(160, *YYCURSOR);
yych = *++YYCURSOR;
goto yy153;
yy161:
YYDEBUG(161, *YYCURSOR);
++YYCURSOR;
YYFILL(2);
yych = *YYCURSOR;
YYDEBUG(162, *YYCURSOR);
if (yybm[0+yych] & 128) {
goto yy165;
}
if (yych <= '\r') {
if (yych == '\t') goto yy161;
if (yych >= '\r') goto yy161;
} else {
if (yych <= ' ') {
if (yych >= ' ') goto yy161;
} else {
if (yych == '-') goto yy164;
}
}
yy163:
YYDEBUG(163, *YYCURSOR);
YYCURSOR = YYMARKER;
goto yy153;
yy164:
YYDEBUG(164, *YYCURSOR);
yych = *++YYCURSOR;
if (yybm[0+yych] & 128) {
goto yy165;
}
goto yy163;
yy165:
YYDEBUG(165, *YYCURSOR);
++YYCURSOR;
YYFILL(1);
yych = *YYCURSOR;
YYDEBUG(166, *YYCURSOR);
if (yybm[0+yych] & 128) {
goto yy165;
}
YYDEBUG(167, *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 1653 "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, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232,
236, 232, 32, 224, 232, 232, 232, 128,
232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 16, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232,
232, 232, 232, 232, 232, 232, 232, 232,
};
YYDEBUG(168, *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;
}
}
yy170:
YYDEBUG(170, *YYCURSOR);
yyaccept = 0;
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);
yyleng = (size_t) YYCURSOR - (size_t) yytext;
#line 168 "sapi/phpdbg/phpdbg_lexer.l"
{
phpdbg_init_param(yylval, STR_PARAM);
yylval->str = estrdup(yytext);
yylval->len = yyleng;
return T_INPUT;
}
#line 1755 "sapi/phpdbg/phpdbg_lexer.c"
yy173:
YYDEBUG(173, *YYCURSOR);
++YYCURSOR;
YYDEBUG(174, *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"
yy175:
YYDEBUG(175, *YYCURSOR);
++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"
yy177:
YYDEBUG(177, *YYCURSOR);
yyaccept = 0;
YYMARKER = ++YYCURSOR;
YYFILL(1);
yych = *YYCURSOR;
YYDEBUG(178, *YYCURSOR);
if (yybm[0+yych] & 8) {
goto yy177;
}
if (yych <= '\n') goto yy172;
if (yych <= '"') goto yy181;
if (yych <= '#') goto yy172;
if (yych <= '\'') goto yy183;
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;
goto yy177;
}
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;
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 (yych <= '\n') goto yy182;
if (yych >= '(') goto yy186;
yy188:
YYDEBUG(188, *YYCURSOR);
yyaccept = 0;
YYMARKER = ++YYCURSOR;
YYFILL(1);
yych = *YYCURSOR;
YYDEBUG(189, *YYCURSOR);
if (yych <= '"') {
if (yych <= '\t') {
if (yych <= 0x00) goto yy172;
goto yy188;
} else {
if (yych <= '\n') goto yy172;
if (yych <= '!') goto yy188;
goto yy192;
}
} else {
if (yych <= '\'') {
if (yych <= '#') goto yy184;
if (yych <= '&') goto yy188;
goto yy193;
} else {
if (yych != '\\') goto yy188;
}
}
yy190:
YYDEBUG(190, *YYCURSOR);
++YYCURSOR;
YYFILL(1);
yych = *YYCURSOR;
YYDEBUG(191, *YYCURSOR);
if (yych <= '!') {
if (yych <= 0x00) goto yy172;
if (yych == '\n') goto yy172;
goto yy188;
} 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 <= '\n') goto yy182;
if (yych <= '"') goto yy184;
if (yych <= '\'') goto yy194;
goto yy198;
yy193:
YYDEBUG(193, *YYCURSOR);
yyaccept = 0;
YYMARKER = ++YYCURSOR;
YYFILL(1);
yych = *YYCURSOR;
if (yych <= '"') {
if (yych <= '\t') {
if (yych <= 0x00) goto yy172;
goto yy188;
} else {
if (yych <= '\n') goto yy172;
if (yych <= '!') goto yy188;
goto yy192;
}
} else {
if (yych <= '\'') {
if (yych <= '#') goto yy184;
if (yych <= '&') goto yy188;
goto yy183;
} else {
if (yych == '\\') goto yy190;
goto yy188;
}
}
yy194:
YYDEBUG(194, *YYCURSOR);
yyaccept = 0;
YYMARKER = ++YYCURSOR;
YYFILL(1);
yych = *YYCURSOR;
YYDEBUG(195, *YYCURSOR);
if (yych <= '"') {
if (yych <= '\t') {
if (yych <= 0x00) goto yy172;
goto yy194;
} else {
if (yych <= '\n') goto yy172;
if (yych <= '!') goto yy194;
goto yy211;
}
} else {
if (yych <= '\'') {
if (yych <= '#') goto yy207;
if (yych <= '&') goto yy194;
goto yy206;
} else {
if (yych == '\\') goto yy212;
goto yy194;
}
}
yy196:
YYDEBUG(196, *YYCURSOR);
++YYCURSOR;
YYFILL(1);
yych = *YYCURSOR;
YYDEBUG(197, *YYCURSOR);
if (yybm[0+yych] & 64) {
goto yy196;
}
if (yych <= '\n') goto yy182;
if (yych <= '"') goto yy188;
if (yych <= '\'') goto yy194;
yy198:
YYDEBUG(198, *YYCURSOR);
++YYCURSOR;
YYFILL(1);
yych = *YYCURSOR;
YYDEBUG(199, *YYCURSOR);
if (yybm[0+yych] & 64) {
goto yy196;
}
if (yych <= '\n') goto yy182;
if (yych >= '(') goto yy198;
yy200:
YYDEBUG(200, *YYCURSOR);
yyaccept = 0;
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;
goto yy203;
}
} else {
if (yych <= '\'') {
if (yych <= '#') goto yy196;
if (yych <= '&') goto yy200;
} else {
if (yych == '\\') goto yy204;
goto yy200;
}
}
yy202:
YYDEBUG(202, *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;
}
} else {
if (yych <= '\'') {
if (yych <= '#') goto yy196;
if (yych <= '&') goto yy200;
goto yy206;
} else {
if (yych == '\\') goto yy204;
goto yy200;
}
}
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;
} else {
if (yych <= '\n') goto yy172;
if (yych <= '!') goto yy194;
goto yy181;
}
} else {
if (yych <= '\'') {
if (yych <= '#') goto yy207;
if (yych <= '&') goto yy194;
goto yy206;
} else {
if (yych != '\\') goto yy194;
}
}
yy212:
YYDEBUG(212, *YYCURSOR);
++YYCURSOR;
YYFILL(1);
yych = *YYCURSOR;
YYDEBUG(213, *YYCURSOR);
if (yych <= '&') {
if (yych <= 0x00) goto yy172;
if (yych == '\n') goto yy172;
goto yy194;
} else {
if (yych <= '\'') goto yy202;
if (yych == '\\') goto yy212;
goto yy194;
}
}
}
#line 213 "sapi/phpdbg/phpdbg_lexer.l"
}