mirror of
https://github.com/php/php-src.git
synced 2024-12-18 14:30:35 +08:00
f66f55edc5
[DOC]
8931 lines
203 KiB
C
8931 lines
203 KiB
C
/* Generated by re2c 0.13.4.dev on Wed Mar 26 23:08:45 2008 */
|
|
#line 1 "Zend/zend_language_scanner.l"
|
|
/*
|
|
+----------------------------------------------------------------------+
|
|
| Zend Engine |
|
|
+----------------------------------------------------------------------+
|
|
| Copyright (c) 1998-2006 Zend Technologies Ltd. (http://www.zend.com) |
|
|
+----------------------------------------------------------------------+
|
|
| This source file is subject to version 2.00 of the Zend license, |
|
|
| that is bundled with this package in the file LICENSE, and is |
|
|
| available through the world-wide-web at the following url: |
|
|
| http://www.zend.com/license/2_00.txt. |
|
|
| If you did not receive a copy of the Zend license and are unable to |
|
|
| obtain it through the world-wide-web, please send a note to |
|
|
| license@zend.com so we can mail you a copy immediately. |
|
|
+----------------------------------------------------------------------+
|
|
| Authors: Marcus Boerger <helly@php.net> |
|
|
| Nuno Lopes <nlopess@php.net> |
|
|
| Scott MacVicar <scottmac@php.net> |
|
|
| Flex version authors: |
|
|
| Andi Gutmans <andi@zend.com> |
|
|
| Zeev Suraski <zeev@zend.com> |
|
|
+----------------------------------------------------------------------+
|
|
*/
|
|
|
|
/* $Id$ */
|
|
|
|
#if 0
|
|
# define YYDEBUG(s, c) printf("state: %d char: %c\n", s, c)
|
|
#else
|
|
# define YYDEBUG(s, c)
|
|
#endif
|
|
|
|
#include "zend_language_scanner_defs.h"
|
|
|
|
#include <errno.h>
|
|
#include "zend.h"
|
|
#include "zend_alloc.h"
|
|
#include <zend_language_parser.h>
|
|
#include "zend_compile.h"
|
|
#include "zend_language_scanner.h"
|
|
#include "zend_highlight.h"
|
|
#include "zend_constants.h"
|
|
#include "zend_variables.h"
|
|
#include "zend_operators.h"
|
|
#include "zend_API.h"
|
|
#include "zend_strtod.h"
|
|
#include "zend_exceptions.h"
|
|
#include "tsrm_virtual_cwd.h"
|
|
#include "tsrm_config_common.h"
|
|
|
|
#define YYCTYPE unsigned char
|
|
#define YYFILL(n) { if (YYCURSOR >= YYLIMIT) return 0; }
|
|
#define YYCURSOR SCNG(yy_cursor)
|
|
#define YYLIMIT SCNG(yy_limit)
|
|
#define YYMARKER SCNG(yy_marker)
|
|
|
|
#define YYGETCONDITION() SCNG(yy_state)
|
|
#define YYSETCONDITION(s) SCNG(yy_state) = s
|
|
|
|
#define STATE(name) yyc##name
|
|
|
|
/* emulate flex constructs */
|
|
#define BEGIN(state) YYSETCONDITION(STATE(state))
|
|
#define YYSTATE YYGETCONDITION()
|
|
#define yytext ((char*)SCNG(yy_text))
|
|
#define yyleng SCNG(yy_leng)
|
|
#define yyless(x) YYCURSOR = yytext + x
|
|
#define yymore() goto yymore_restart
|
|
|
|
#ifdef HAVE_STDARG_H
|
|
# include <stdarg.h>
|
|
#endif
|
|
|
|
#ifdef HAVE_UNISTD_H
|
|
# include <unistd.h>
|
|
#endif
|
|
|
|
/* Globals Macros */
|
|
#define SCNG LANG_SCNG
|
|
#ifdef ZTS
|
|
ZEND_API ts_rsrc_id language_scanner_globals_id;
|
|
#else
|
|
ZEND_API zend_php_scanner_globals language_scanner_globals;
|
|
#endif
|
|
|
|
#define HANDLE_NEWLINES(s, l) \
|
|
do { \
|
|
char *p = (s), *boundary = p+(l); \
|
|
\
|
|
while (p<boundary) { \
|
|
if (*p == '\n' || (*p == '\r' && (*(p+1) != '\n'))) { \
|
|
CG(zend_lineno)++; \
|
|
} \
|
|
p++; \
|
|
} \
|
|
} while (0)
|
|
|
|
#define HANDLE_NEWLINE(c) \
|
|
{ \
|
|
if (c == '\n' || c == '\r') { \
|
|
CG(zend_lineno)++; \
|
|
} \
|
|
}
|
|
|
|
#define ZEND_IS_OCT(c) ((c)>='0' && (c)<='7')
|
|
#define ZEND_IS_HEX(c) (((c)>='0' && (c)<='9') || ((c)>='a' && (c)<='f') || ((c)>='A' && (c)<='F'))
|
|
|
|
BEGIN_EXTERN_C()
|
|
|
|
static void _yy_push_state(int new_state TSRMLS_DC)
|
|
{
|
|
zend_stack_push(&SCNG(state_stack), (void *) &YYGETCONDITION(), sizeof(int));
|
|
YYSETCONDITION(new_state);
|
|
}
|
|
|
|
#define yy_push_state(state_and_tsrm) _yy_push_state(yyc##state_and_tsrm)
|
|
|
|
static void yy_pop_state(TSRMLS_D)
|
|
{
|
|
int *stack_state;
|
|
zend_stack_top(&SCNG(state_stack), (void **) &stack_state);
|
|
YYSETCONDITION(*stack_state);
|
|
zend_stack_del_top(&SCNG(state_stack));
|
|
}
|
|
|
|
static void yy_scan_buffer(char *str, unsigned int len TSRMLS_DC)
|
|
{
|
|
YYCURSOR = (YYCTYPE*)str;
|
|
SCNG(yy_start) = YYCURSOR;
|
|
YYLIMIT = YYCURSOR + len;
|
|
}
|
|
|
|
void startup_scanner(TSRMLS_D)
|
|
{
|
|
CG(heredoc) = NULL;
|
|
CG(heredoc_len) = 0;
|
|
CG(doc_comment) = NULL;
|
|
CG(doc_comment_len) = 0;
|
|
zend_llist_init(&SCNG(used_state_stacks), sizeof(zend_stack), (llist_dtor_func_t) zend_stack_destroy, 0);
|
|
zend_stack_init(&SCNG(state_stack));
|
|
zend_llist_add_element(&SCNG(used_state_stacks), &SCNG(state_stack));
|
|
}
|
|
|
|
void shutdown_scanner(TSRMLS_D)
|
|
{
|
|
if (CG(heredoc)) {
|
|
efree(CG(heredoc));
|
|
CG(heredoc_len)=0;
|
|
}
|
|
zend_llist_destroy(&SCNG(used_state_stacks));
|
|
RESET_DOC_COMMENT();
|
|
}
|
|
|
|
static int compare_stacks(zend_stack *stack1, zend_stack *stack2)
|
|
{
|
|
return (stack1 == stack2);
|
|
}
|
|
|
|
ZEND_API void zend_save_lexical_state(zend_lex_state *lex_state TSRMLS_DC)
|
|
{
|
|
lex_state->yy_leng = SCNG(yy_leng);
|
|
lex_state->yy_start = SCNG(yy_start);
|
|
lex_state->yy_text = SCNG(yy_text);
|
|
lex_state->yy_cursor = SCNG(yy_cursor);
|
|
lex_state->yy_marker = SCNG(yy_marker);
|
|
lex_state->yy_limit = SCNG(yy_limit);
|
|
|
|
lex_state->state_stack = SCNG(state_stack);
|
|
zend_stack_init(&SCNG(state_stack));
|
|
zend_llist_add_element(&SCNG(used_state_stacks), &SCNG(state_stack));
|
|
|
|
lex_state->in = SCNG(yy_in);
|
|
lex_state->yy_state = YYSTATE;
|
|
lex_state->filename = zend_get_compiled_filename(TSRMLS_C);
|
|
lex_state->lineno = CG(zend_lineno);
|
|
}
|
|
|
|
ZEND_API void zend_restore_lexical_state(zend_lex_state *lex_state TSRMLS_DC)
|
|
{
|
|
SCNG(yy_leng) = lex_state->yy_leng;
|
|
SCNG(yy_start) = lex_state->yy_start;
|
|
SCNG(yy_text) = lex_state->yy_text;
|
|
SCNG(yy_cursor) = lex_state->yy_cursor;
|
|
SCNG(yy_marker) = lex_state->yy_marker;
|
|
SCNG(yy_limit) = lex_state->yy_limit;
|
|
|
|
zend_llist_del_element(&SCNG(used_state_stacks), &SCNG(state_stack), (int (*)(void *, void *)) compare_stacks);
|
|
SCNG(state_stack) = lex_state->state_stack;
|
|
|
|
SCNG(yy_in) = lex_state->in;
|
|
YYSETCONDITION(lex_state->yy_state);
|
|
CG(zend_lineno) = lex_state->lineno;
|
|
zend_restore_compiled_filename(lex_state->filename TSRMLS_CC);
|
|
}
|
|
|
|
ZEND_API void zend_destroy_file_handle(zend_file_handle *file_handle TSRMLS_DC)
|
|
{
|
|
zend_llist_del_element(&CG(open_files), file_handle, (int (*)(void *, void *)) zend_compare_file_handles);
|
|
/* zend_file_handle_dtor() operates on the copy, so we have to NULLify the original here */
|
|
file_handle->opened_path = NULL;
|
|
if (file_handle->free_filename) {
|
|
file_handle->filename = NULL;
|
|
}
|
|
}
|
|
|
|
|
|
ZEND_API int open_file_for_scanning(zend_file_handle *file_handle TSRMLS_DC)
|
|
{
|
|
char *file_path = NULL, *buf;
|
|
size_t size;
|
|
|
|
if (zend_stream_fixup(file_handle, &buf, &size TSRMLS_CC) == FAILURE) {
|
|
return FAILURE;
|
|
}
|
|
|
|
zend_llist_add_element(&CG(open_files), file_handle);
|
|
if (file_handle->handle.stream.handle >= (void*)file_handle && file_handle->handle.stream.handle <= (void*)(file_handle+1)) {
|
|
zend_file_handle *fh = (zend_file_handle*)zend_llist_get_last(&CG(open_files));
|
|
size_t diff = (char*)file_handle->handle.stream.handle - (char*)file_handle;
|
|
fh->handle.stream.handle = (void*)(((char*)fh) + diff);
|
|
file_handle->handle.stream.handle = fh->handle.stream.handle;
|
|
}
|
|
|
|
/* Reset the scanner for scanning the new file */
|
|
SCNG(yy_in) = file_handle;
|
|
|
|
if (size != -1) {
|
|
/* TODO: For MULTIBYTE we need to do some clever re-encoding */
|
|
yy_scan_buffer(buf, size TSRMLS_CC);
|
|
} else {
|
|
zend_error_noreturn(E_COMPILE_ERROR, "zend_stream_mmap() failed");
|
|
}
|
|
|
|
BEGIN(INITIAL);
|
|
|
|
if (file_handle->opened_path) {
|
|
file_path = file_handle->opened_path;
|
|
} else {
|
|
file_path = file_handle->filename;
|
|
}
|
|
|
|
zend_set_compiled_filename(file_path TSRMLS_CC);
|
|
|
|
if (CG(start_lineno)) {
|
|
CG(zend_lineno) = CG(start_lineno);
|
|
CG(start_lineno) = 0;
|
|
} else {
|
|
CG(zend_lineno) = 1;
|
|
}
|
|
|
|
CG(increment_lineno) = 0;
|
|
return SUCCESS;
|
|
}
|
|
END_EXTERN_C()
|
|
|
|
|
|
ZEND_API zend_op_array *compile_file(zend_file_handle *file_handle, int type TSRMLS_DC)
|
|
{
|
|
zend_lex_state original_lex_state;
|
|
zend_op_array *op_array = (zend_op_array *) emalloc(sizeof(zend_op_array));
|
|
zend_op_array *original_active_op_array = CG(active_op_array);
|
|
zend_op_array *retval=NULL;
|
|
int compiler_result;
|
|
zend_bool compilation_successful=0;
|
|
znode retval_znode;
|
|
zend_bool original_in_compilation = CG(in_compilation);
|
|
|
|
retval_znode.op_type = IS_CONST;
|
|
retval_znode.u.constant.type = IS_LONG;
|
|
retval_znode.u.constant.value.lval = 1;
|
|
Z_UNSET_ISREF(retval_znode.u.constant);
|
|
Z_SET_REFCOUNT(retval_znode.u.constant, 1);
|
|
|
|
zend_save_lexical_state(&original_lex_state TSRMLS_CC);
|
|
|
|
retval = op_array; /* success oriented */
|
|
|
|
if (open_file_for_scanning(file_handle TSRMLS_CC)==FAILURE) {
|
|
if (type==ZEND_REQUIRE) {
|
|
zend_message_dispatcher(ZMSG_FAILED_REQUIRE_FOPEN, file_handle->filename);
|
|
zend_bailout();
|
|
} else {
|
|
zend_message_dispatcher(ZMSG_FAILED_INCLUDE_FOPEN, file_handle->filename);
|
|
}
|
|
compilation_successful=0;
|
|
} else {
|
|
init_op_array(op_array, ZEND_USER_FUNCTION, INITIAL_OP_ARRAY_SIZE TSRMLS_CC);
|
|
CG(in_compilation) = 1;
|
|
CG(active_op_array) = op_array;
|
|
compiler_result = zendparse(TSRMLS_C);
|
|
zend_do_return(&retval_znode, 0 TSRMLS_CC);
|
|
CG(in_compilation) = original_in_compilation;
|
|
if (compiler_result==1) { /* parser error */
|
|
zend_bailout();
|
|
}
|
|
compilation_successful=1;
|
|
}
|
|
|
|
if (retval) {
|
|
CG(active_op_array) = original_active_op_array;
|
|
if (compilation_successful) {
|
|
pass_two(op_array TSRMLS_CC);
|
|
zend_release_labels(TSRMLS_C);
|
|
} else {
|
|
efree(op_array);
|
|
retval = NULL;
|
|
}
|
|
}
|
|
if (compilation_successful) {
|
|
zend_restore_lexical_state(&original_lex_state TSRMLS_CC);
|
|
}
|
|
return retval;
|
|
}
|
|
|
|
|
|
zend_op_array *compile_filename(int type, zval *filename TSRMLS_DC)
|
|
{
|
|
zend_file_handle file_handle;
|
|
zval tmp;
|
|
zend_op_array *retval;
|
|
char *opened_path = NULL;
|
|
|
|
if (filename->type != IS_STRING) {
|
|
tmp = *filename;
|
|
zval_copy_ctor(&tmp);
|
|
convert_to_string(&tmp);
|
|
filename = &tmp;
|
|
}
|
|
file_handle.filename = filename->value.str.val;
|
|
file_handle.free_filename = 0;
|
|
file_handle.type = ZEND_HANDLE_FILENAME;
|
|
file_handle.opened_path = NULL;
|
|
file_handle.handle.fp = NULL;
|
|
|
|
retval = zend_compile_file(&file_handle, type TSRMLS_CC);
|
|
if (retval && file_handle.handle.stream.handle) {
|
|
int dummy = 1;
|
|
|
|
if (!file_handle.opened_path) {
|
|
file_handle.opened_path = opened_path = estrndup(filename->value.str.val, filename->value.str.len);
|
|
}
|
|
|
|
zend_hash_add(&EG(included_files), file_handle.opened_path, strlen(file_handle.opened_path)+1, (void *)&dummy, sizeof(int), NULL);
|
|
|
|
if (opened_path) {
|
|
efree(opened_path);
|
|
}
|
|
}
|
|
zend_destroy_file_handle(&file_handle TSRMLS_CC);
|
|
|
|
if (filename==&tmp) {
|
|
zval_dtor(&tmp);
|
|
}
|
|
return retval;
|
|
}
|
|
|
|
ZEND_API int zend_prepare_string_for_scanning(zval *str, char *filename TSRMLS_DC)
|
|
{
|
|
/* enforce two trailing NULLs for flex... */
|
|
STR_REALLOC(str->value.str.val, str->value.str.len+2);
|
|
|
|
str->value.str.val[str->value.str.len+1]=0;
|
|
|
|
SCNG(yy_in)=NULL;
|
|
|
|
/* TODO: For MULTIBYTE we need to do some clever re-encoding */
|
|
yy_scan_buffer(str->value.str.val, str->value.str.len TSRMLS_CC);
|
|
|
|
zend_set_compiled_filename(filename TSRMLS_CC);
|
|
CG(zend_lineno) = 1;
|
|
CG(increment_lineno) = 0;
|
|
return SUCCESS;
|
|
}
|
|
|
|
|
|
ZEND_API int zend_get_scanned_file_offset(TSRMLS_D)
|
|
{
|
|
return SCNG(yy_cursor) - SCNG(yy_start);
|
|
}
|
|
|
|
|
|
zend_op_array *compile_string(zval *source_string, char *filename TSRMLS_DC)
|
|
{
|
|
zend_lex_state original_lex_state;
|
|
zend_op_array *op_array = (zend_op_array *) emalloc(sizeof(zend_op_array));
|
|
zend_op_array *original_active_op_array = CG(active_op_array);
|
|
zend_op_array *retval;
|
|
zval tmp;
|
|
int compiler_result;
|
|
zend_bool original_in_compilation = CG(in_compilation);
|
|
|
|
if (source_string->value.str.len==0) {
|
|
efree(op_array);
|
|
return NULL;
|
|
}
|
|
|
|
CG(in_compilation) = 1;
|
|
|
|
tmp = *source_string;
|
|
zval_copy_ctor(&tmp);
|
|
convert_to_string(&tmp);
|
|
source_string = &tmp;
|
|
|
|
zend_save_lexical_state(&original_lex_state TSRMLS_CC);
|
|
if (zend_prepare_string_for_scanning(source_string, filename TSRMLS_CC)==FAILURE) {
|
|
efree(op_array);
|
|
retval = NULL;
|
|
} else {
|
|
zend_bool orig_interactive = CG(interactive);
|
|
|
|
CG(interactive) = 0;
|
|
init_op_array(op_array, ZEND_EVAL_CODE, INITIAL_OP_ARRAY_SIZE TSRMLS_CC);
|
|
CG(interactive) = orig_interactive;
|
|
CG(active_op_array) = op_array;
|
|
BEGIN(ST_IN_SCRIPTING);
|
|
compiler_result = zendparse(TSRMLS_C);
|
|
|
|
if (compiler_result==1) {
|
|
CG(active_op_array) = original_active_op_array;
|
|
CG(unclean_shutdown)=1;
|
|
retval = NULL;
|
|
} else {
|
|
zend_do_return(NULL, 0 TSRMLS_CC);
|
|
CG(active_op_array) = original_active_op_array;
|
|
pass_two(op_array TSRMLS_CC);
|
|
zend_release_labels(TSRMLS_C);
|
|
retval = op_array;
|
|
}
|
|
zend_restore_lexical_state(&original_lex_state TSRMLS_CC);
|
|
}
|
|
zval_dtor(&tmp);
|
|
CG(in_compilation) = original_in_compilation;
|
|
return retval;
|
|
}
|
|
|
|
|
|
BEGIN_EXTERN_C()
|
|
int highlight_file(char *filename, zend_syntax_highlighter_ini *syntax_highlighter_ini TSRMLS_DC)
|
|
{
|
|
zend_lex_state original_lex_state;
|
|
zend_file_handle file_handle;
|
|
|
|
file_handle.type = ZEND_HANDLE_FILENAME;
|
|
file_handle.filename = filename;
|
|
file_handle.free_filename = 0;
|
|
file_handle.opened_path = NULL;
|
|
zend_save_lexical_state(&original_lex_state TSRMLS_CC);
|
|
if (open_file_for_scanning(&file_handle TSRMLS_CC)==FAILURE) {
|
|
zend_message_dispatcher(ZMSG_FAILED_HIGHLIGHT_FOPEN, filename);
|
|
return FAILURE;
|
|
}
|
|
zend_highlight(syntax_highlighter_ini TSRMLS_CC);
|
|
zend_destroy_file_handle(&file_handle TSRMLS_CC);
|
|
zend_restore_lexical_state(&original_lex_state TSRMLS_CC);
|
|
return SUCCESS;
|
|
}
|
|
|
|
int highlight_string(zval *str, zend_syntax_highlighter_ini *syntax_highlighter_ini, char *str_name TSRMLS_DC)
|
|
{
|
|
zend_lex_state original_lex_state;
|
|
zval tmp = *str;
|
|
|
|
str = &tmp;
|
|
zval_copy_ctor(str);
|
|
zend_save_lexical_state(&original_lex_state TSRMLS_CC);
|
|
if (zend_prepare_string_for_scanning(str, str_name TSRMLS_CC)==FAILURE) {
|
|
return FAILURE;
|
|
}
|
|
BEGIN(INITIAL);
|
|
zend_highlight(syntax_highlighter_ini TSRMLS_CC);
|
|
zend_restore_lexical_state(&original_lex_state TSRMLS_CC);
|
|
zval_dtor(str);
|
|
return SUCCESS;
|
|
}
|
|
END_EXTERN_C()
|
|
|
|
# define zend_copy_value(zendlval, yytext, yyleng) \
|
|
zendlval->value.str.val = (char *)estrndup(yytext, yyleng); \
|
|
zendlval->value.str.len = yyleng;
|
|
|
|
static void zend_scan_escape_string(zval *zendlval, char *str, int len, char quote_type TSRMLS_DC)
|
|
{
|
|
register char *s, *t;
|
|
char *end;
|
|
|
|
ZVAL_STRINGL(zendlval, str, len, 1);
|
|
|
|
/* convert escape sequences */
|
|
s = t = zendlval->value.str.val;
|
|
end = s+zendlval->value.str.len;
|
|
while (s<end) {
|
|
if (*s=='\\') {
|
|
s++;
|
|
if (s>=end) {
|
|
continue;
|
|
}
|
|
switch(*s) {
|
|
case 'n':
|
|
*t++ = '\n';
|
|
zendlval->value.str.len--;
|
|
break;
|
|
case 'r':
|
|
*t++ = '\r';
|
|
zendlval->value.str.len--;
|
|
break;
|
|
case 't':
|
|
*t++ = '\t';
|
|
zendlval->value.str.len--;
|
|
break;
|
|
case 'f':
|
|
*t++ = '\f';
|
|
zendlval->value.str.len--;
|
|
break;
|
|
case 'v':
|
|
*t++ = '\v';
|
|
zendlval->value.str.len--;
|
|
break;
|
|
case '"':
|
|
case '`':
|
|
if (*s != quote_type) {
|
|
*t++ = '\\';
|
|
*t++ = *s;
|
|
break;
|
|
}
|
|
case '\\':
|
|
case '$':
|
|
*t++ = *s;
|
|
zendlval->value.str.len--;
|
|
break;
|
|
case 'x':
|
|
case 'X':
|
|
if (ZEND_IS_HEX(*(s+1))) {
|
|
char hex_buf[3] = { 0, 0, 0 };
|
|
|
|
zendlval->value.str.len--; /* for the 'x' */
|
|
|
|
hex_buf[0] = *(++s);
|
|
zendlval->value.str.len--;
|
|
if (ZEND_IS_HEX(*(s+1))) {
|
|
hex_buf[1] = *(++s);
|
|
zendlval->value.str.len--;
|
|
}
|
|
*t++ = (char) strtol(hex_buf, NULL, 16);
|
|
} else {
|
|
*t++ = '\\';
|
|
*t++ = *s;
|
|
}
|
|
break;
|
|
default:
|
|
/* check for an octal */
|
|
if (ZEND_IS_OCT(*s)) {
|
|
char octal_buf[4] = { 0, 0, 0, 0 };
|
|
|
|
octal_buf[0] = *s;
|
|
zendlval->value.str.len--;
|
|
if (ZEND_IS_OCT(*(s+1))) {
|
|
octal_buf[1] = *(++s);
|
|
zendlval->value.str.len--;
|
|
if (ZEND_IS_OCT(*(s+1))) {
|
|
octal_buf[2] = *(++s);
|
|
zendlval->value.str.len--;
|
|
}
|
|
}
|
|
*t++ = (char) strtol(octal_buf, NULL, 8);
|
|
} else {
|
|
*t++ = '\\';
|
|
*t++ = *s;
|
|
}
|
|
break;
|
|
}
|
|
} else {
|
|
*t++ = *s;
|
|
}
|
|
|
|
if (*s == '\n' || (*s == '\r' && (*(s+1) != '\n'))) {
|
|
CG(zend_lineno)++;
|
|
}
|
|
s++;
|
|
}
|
|
*t = 0;
|
|
}
|
|
|
|
|
|
int lex_scan(zval *zendlval TSRMLS_DC)
|
|
{
|
|
restart:
|
|
SCNG(yy_text) = YYCURSOR;
|
|
|
|
yymore_restart:
|
|
|
|
/* detect EOF */
|
|
if (YYCURSOR >= YYLIMIT) {
|
|
/* special case */
|
|
if (YYSTATE == STATE(ST_COMMENT) || YYSTATE == STATE(ST_DOC_COMMENT)) {
|
|
zend_error(E_COMPILE_WARNING,"Unterminated comment starting line %d", CG(comment_start_line));
|
|
}
|
|
|
|
return 0;
|
|
}
|
|
|
|
|
|
#line 604 "Zend/zend_language_scanner.c"
|
|
{
|
|
YYCTYPE yych;
|
|
unsigned int yyaccept = 0;
|
|
if (YYGETCONDITION() < 8) {
|
|
if (YYGETCONDITION() < 4) {
|
|
if (YYGETCONDITION() < 2) {
|
|
if (YYGETCONDITION() < 1) {
|
|
goto yyc_ST_IN_SCRIPTING;
|
|
} else {
|
|
goto yyc_ST_LOOKING_FOR_PROPERTY;
|
|
}
|
|
} else {
|
|
if (YYGETCONDITION() < 3) {
|
|
goto yyc_ST_BACKQUOTE;
|
|
} else {
|
|
goto yyc_ST_DOUBLE_QUOTES;
|
|
}
|
|
}
|
|
} else {
|
|
if (YYGETCONDITION() < 6) {
|
|
if (YYGETCONDITION() < 5) {
|
|
goto yyc_ST_HEREDOC;
|
|
} else {
|
|
goto yyc_ST_LOOKING_FOR_VARNAME;
|
|
}
|
|
} else {
|
|
if (YYGETCONDITION() < 7) {
|
|
goto yyc_ST_VAR_OFFSET;
|
|
} else {
|
|
goto yyc_INITIAL;
|
|
}
|
|
}
|
|
}
|
|
} else {
|
|
if (YYGETCONDITION() < 12) {
|
|
if (YYGETCONDITION() < 10) {
|
|
if (YYGETCONDITION() < 9) {
|
|
goto yyc_ST_ONE_LINE_COMMENT;
|
|
} else {
|
|
goto yyc_ST_COMMENT;
|
|
}
|
|
} else {
|
|
if (YYGETCONDITION() < 11) {
|
|
goto yyc_ST_DOC_COMMENT;
|
|
} else {
|
|
goto yyc_ST_START_HEREDOC;
|
|
}
|
|
}
|
|
} else {
|
|
if (YYGETCONDITION() < 14) {
|
|
if (YYGETCONDITION() < 13) {
|
|
goto yyc_ST_END_HEREDOC;
|
|
} else {
|
|
goto yyc_ST_START_NOWDOC;
|
|
}
|
|
} else {
|
|
if (YYGETCONDITION() < 15) {
|
|
goto yyc_ST_NOWDOC;
|
|
} else {
|
|
goto yyc_ST_END_NOWDOC;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
/* *********************************** */
|
|
yyc_INITIAL:
|
|
{
|
|
static const unsigned char yybm[] = {
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 160, 128, 32, 32, 192, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
160, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
};
|
|
|
|
YYDEBUG(0, *YYCURSOR);
|
|
YYFILL(8);
|
|
yych = *YYCURSOR;
|
|
if (yych == '#') goto yy4;
|
|
if (yych != '<') goto yy5;
|
|
YYDEBUG(2, *YYCURSOR);
|
|
yyaccept = 0;
|
|
yych = *(YYMARKER = ++YYCURSOR);
|
|
if (yych <= '?') {
|
|
if (yych == '%') goto yy14;
|
|
if (yych >= '?') goto yy12;
|
|
} else {
|
|
if (yych <= 'S') {
|
|
if (yych >= 'S') goto yy16;
|
|
} else {
|
|
if (yych == 's') goto yy16;
|
|
}
|
|
}
|
|
yy3:
|
|
YYDEBUG(3, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1390 "Zend/zend_language_scanner.l"
|
|
{
|
|
|
|
while (1) {
|
|
YYCTYPE *ptr = memchr(YYCURSOR, '<', YYLIMIT - YYCURSOR);
|
|
|
|
if (ptr == NULL) {
|
|
YYCURSOR = YYLIMIT;
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
break;
|
|
|
|
} else {
|
|
YYCURSOR = ptr + 1;
|
|
|
|
/* if it can be an opening tag, stop */
|
|
if (ptr < YYLIMIT && (*YYCURSOR == '?' || *YYCURSOR == '%')) {
|
|
--YYCURSOR;
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
inline_char_handler:
|
|
|
|
zendlval->value.str.val = (char *) estrndup(yytext, yyleng);
|
|
zendlval->value.str.len = yyleng;
|
|
zendlval->type = IS_STRING;
|
|
HANDLE_NEWLINES(yytext, yyleng);
|
|
return T_INLINE_HTML;
|
|
}
|
|
#line 759 "Zend/zend_language_scanner.c"
|
|
yy4:
|
|
YYDEBUG(4, *YYCURSOR);
|
|
yyaccept = 0;
|
|
yych = *(YYMARKER = ++YYCURSOR);
|
|
if (yych == '\n') goto yy3;
|
|
goto yy6;
|
|
yy5:
|
|
YYDEBUG(5, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
goto yy3;
|
|
yy6:
|
|
YYDEBUG(6, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(7, *YYCURSOR);
|
|
if (yybm[0+yych] & 32) {
|
|
goto yy6;
|
|
}
|
|
if (yych >= '\r') goto yy10;
|
|
yy8:
|
|
YYDEBUG(8, *YYCURSOR);
|
|
++YYCURSOR;
|
|
yy9:
|
|
YYDEBUG(9, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1381 "Zend/zend_language_scanner.l"
|
|
{
|
|
if ((YYCTYPE*)yytext == SCNG(yy_start)) {
|
|
/* ignore first line when it's started with a # */
|
|
goto restart;
|
|
} else {
|
|
goto inline_char_handler;
|
|
}
|
|
}
|
|
#line 795 "Zend/zend_language_scanner.c"
|
|
yy10:
|
|
YYDEBUG(10, *YYCURSOR);
|
|
yyaccept = 1;
|
|
YYMARKER = ++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(11, *YYCURSOR);
|
|
if (yybm[0+yych] & 32) {
|
|
goto yy6;
|
|
}
|
|
if (yych <= '\f') goto yy8;
|
|
goto yy10;
|
|
yy12:
|
|
YYDEBUG(12, *YYCURSOR);
|
|
yyaccept = 2;
|
|
yych = *(YYMARKER = ++YYCURSOR);
|
|
if (yych <= 'O') {
|
|
if (yych == '=') goto yy52;
|
|
} else {
|
|
if (yych <= 'P') goto yy54;
|
|
if (yych == 'p') goto yy54;
|
|
}
|
|
yy13:
|
|
YYDEBUG(13, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1365 "Zend/zend_language_scanner.l"
|
|
{
|
|
HANDLE_NEWLINES(yytext, yyleng);
|
|
if (CG(short_tags)) {
|
|
zendlval->value.str.val = yytext; /* no copying - intentional */
|
|
zendlval->value.str.len = yyleng;
|
|
zendlval->type = IS_STRING;
|
|
BEGIN(ST_IN_SCRIPTING);
|
|
return T_OPEN_TAG;
|
|
} else {
|
|
zendlval->value.str.val = (char *) estrndup(yytext, yyleng);
|
|
zendlval->value.str.len = yyleng;
|
|
zendlval->type = IS_STRING;
|
|
return T_INLINE_HTML;
|
|
}
|
|
}
|
|
#line 837 "Zend/zend_language_scanner.c"
|
|
yy14:
|
|
YYDEBUG(14, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if ((yych = *YYCURSOR) == '=') goto yy50;
|
|
YYDEBUG(15, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1339 "Zend/zend_language_scanner.l"
|
|
{
|
|
if (CG(asp_tags)) {
|
|
zendlval->value.str.val = yytext; /* no copying - intentional */
|
|
zendlval->value.str.len = yyleng;
|
|
zendlval->type = IS_STRING;
|
|
BEGIN(ST_IN_SCRIPTING);
|
|
return T_OPEN_TAG;
|
|
} else {
|
|
zendlval->value.str.val = (char *) estrndup(yytext, yyleng);
|
|
zendlval->value.str.len = yyleng;
|
|
zendlval->type = IS_STRING;
|
|
return T_INLINE_HTML;
|
|
}
|
|
}
|
|
#line 859 "Zend/zend_language_scanner.c"
|
|
yy16:
|
|
YYDEBUG(16, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'C') goto yy18;
|
|
if (yych == 'c') goto yy18;
|
|
yy17:
|
|
YYDEBUG(17, *YYCURSOR);
|
|
YYCURSOR = YYMARKER;
|
|
if (yyaccept <= 1) {
|
|
if (yyaccept <= 0) {
|
|
goto yy3;
|
|
} else {
|
|
goto yy9;
|
|
}
|
|
} else {
|
|
goto yy13;
|
|
}
|
|
yy18:
|
|
YYDEBUG(18, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'R') goto yy19;
|
|
if (yych != 'r') goto yy17;
|
|
yy19:
|
|
YYDEBUG(19, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'I') goto yy20;
|
|
if (yych != 'i') goto yy17;
|
|
yy20:
|
|
YYDEBUG(20, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'P') goto yy21;
|
|
if (yych != 'p') goto yy17;
|
|
yy21:
|
|
YYDEBUG(21, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'T') goto yy22;
|
|
if (yych != 't') goto yy17;
|
|
yy22:
|
|
YYDEBUG(22, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'L') goto yy17;
|
|
if (yych == 'l') goto yy17;
|
|
goto yy24;
|
|
yy23:
|
|
YYDEBUG(23, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(8);
|
|
yych = *YYCURSOR;
|
|
yy24:
|
|
YYDEBUG(24, *YYCURSOR);
|
|
if (yybm[0+yych] & 128) {
|
|
goto yy23;
|
|
}
|
|
if (yych == 'L') goto yy25;
|
|
if (yych != 'l') goto yy17;
|
|
yy25:
|
|
YYDEBUG(25, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'A') goto yy26;
|
|
if (yych != 'a') goto yy17;
|
|
yy26:
|
|
YYDEBUG(26, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'N') goto yy27;
|
|
if (yych != 'n') goto yy17;
|
|
yy27:
|
|
YYDEBUG(27, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'G') goto yy28;
|
|
if (yych != 'g') goto yy17;
|
|
yy28:
|
|
YYDEBUG(28, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'U') goto yy29;
|
|
if (yych != 'u') goto yy17;
|
|
yy29:
|
|
YYDEBUG(29, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'A') goto yy30;
|
|
if (yych != 'a') goto yy17;
|
|
yy30:
|
|
YYDEBUG(30, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'G') goto yy31;
|
|
if (yych != 'g') goto yy17;
|
|
yy31:
|
|
YYDEBUG(31, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy32;
|
|
if (yych != 'e') goto yy17;
|
|
yy32:
|
|
YYDEBUG(32, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(33, *YYCURSOR);
|
|
if (yych <= '\r') {
|
|
if (yych <= 0x08) goto yy17;
|
|
if (yych <= '\n') goto yy32;
|
|
if (yych <= '\f') goto yy17;
|
|
goto yy32;
|
|
} else {
|
|
if (yych <= ' ') {
|
|
if (yych <= 0x1F) goto yy17;
|
|
goto yy32;
|
|
} else {
|
|
if (yych != '=') goto yy17;
|
|
}
|
|
}
|
|
yy34:
|
|
YYDEBUG(34, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(5);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(35, *YYCURSOR);
|
|
if (yych <= '!') {
|
|
if (yych <= '\f') {
|
|
if (yych <= 0x08) goto yy17;
|
|
if (yych <= '\n') goto yy34;
|
|
goto yy17;
|
|
} else {
|
|
if (yych <= '\r') goto yy34;
|
|
if (yych == ' ') goto yy34;
|
|
goto yy17;
|
|
}
|
|
} else {
|
|
if (yych <= 'O') {
|
|
if (yych <= '"') goto yy37;
|
|
if (yych == '\'') goto yy38;
|
|
goto yy17;
|
|
} else {
|
|
if (yych <= 'P') goto yy36;
|
|
if (yych != 'p') goto yy17;
|
|
}
|
|
}
|
|
yy36:
|
|
YYDEBUG(36, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'H') goto yy49;
|
|
if (yych == 'h') goto yy49;
|
|
goto yy17;
|
|
yy37:
|
|
YYDEBUG(37, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'P') goto yy46;
|
|
if (yych == 'p') goto yy46;
|
|
goto yy17;
|
|
yy38:
|
|
YYDEBUG(38, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'P') goto yy39;
|
|
if (yych != 'p') goto yy17;
|
|
yy39:
|
|
YYDEBUG(39, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'H') goto yy40;
|
|
if (yych != 'h') goto yy17;
|
|
yy40:
|
|
YYDEBUG(40, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'P') goto yy41;
|
|
if (yych != 'p') goto yy17;
|
|
yy41:
|
|
YYDEBUG(41, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != '\'') goto yy17;
|
|
yy42:
|
|
YYDEBUG(42, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(43, *YYCURSOR);
|
|
if (yych <= '\r') {
|
|
if (yych <= 0x08) goto yy17;
|
|
if (yych <= '\n') goto yy42;
|
|
if (yych <= '\f') goto yy17;
|
|
goto yy42;
|
|
} else {
|
|
if (yych <= ' ') {
|
|
if (yych <= 0x1F) goto yy17;
|
|
goto yy42;
|
|
} else {
|
|
if (yych != '>') goto yy17;
|
|
}
|
|
}
|
|
YYDEBUG(44, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(45, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1297 "Zend/zend_language_scanner.l"
|
|
{
|
|
HANDLE_NEWLINES(yytext, yyleng);
|
|
zendlval->value.str.val = yytext; /* no copying - intentional */
|
|
zendlval->value.str.len = yyleng;
|
|
zendlval->type = IS_STRING;
|
|
BEGIN(ST_IN_SCRIPTING);
|
|
return T_OPEN_TAG;
|
|
}
|
|
#line 1058 "Zend/zend_language_scanner.c"
|
|
yy46:
|
|
YYDEBUG(46, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'H') goto yy47;
|
|
if (yych != 'h') goto yy17;
|
|
yy47:
|
|
YYDEBUG(47, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'P') goto yy48;
|
|
if (yych != 'p') goto yy17;
|
|
yy48:
|
|
YYDEBUG(48, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == '"') goto yy42;
|
|
goto yy17;
|
|
yy49:
|
|
YYDEBUG(49, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'P') goto yy42;
|
|
if (yych == 'p') goto yy42;
|
|
goto yy17;
|
|
yy50:
|
|
YYDEBUG(50, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(51, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1307 "Zend/zend_language_scanner.l"
|
|
{
|
|
if (CG(asp_tags)) {
|
|
zendlval->value.str.val = yytext; /* no copying - intentional */
|
|
zendlval->value.str.len = yyleng;
|
|
zendlval->type = IS_STRING;
|
|
BEGIN(ST_IN_SCRIPTING);
|
|
return T_OPEN_TAG_WITH_ECHO;
|
|
} else {
|
|
zendlval->value.str.val = (char *) estrndup(yytext, yyleng);
|
|
zendlval->value.str.len = yyleng;
|
|
zendlval->type = IS_STRING;
|
|
return T_INLINE_HTML;
|
|
}
|
|
}
|
|
#line 1100 "Zend/zend_language_scanner.c"
|
|
yy52:
|
|
YYDEBUG(52, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(53, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1323 "Zend/zend_language_scanner.l"
|
|
{
|
|
if (CG(short_tags)) {
|
|
zendlval->value.str.val = yytext; /* no copying - intentional */
|
|
zendlval->value.str.len = yyleng;
|
|
zendlval->type = IS_STRING;
|
|
BEGIN(ST_IN_SCRIPTING);
|
|
return T_OPEN_TAG_WITH_ECHO;
|
|
} else {
|
|
zendlval->value.str.val = (char *) estrndup(yytext, yyleng);
|
|
zendlval->value.str.len = yyleng;
|
|
zendlval->type = IS_STRING;
|
|
return T_INLINE_HTML;
|
|
}
|
|
}
|
|
#line 1121 "Zend/zend_language_scanner.c"
|
|
yy54:
|
|
YYDEBUG(54, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'H') goto yy55;
|
|
if (yych != 'h') goto yy17;
|
|
yy55:
|
|
YYDEBUG(55, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'P') goto yy56;
|
|
if (yych != 'p') goto yy17;
|
|
yy56:
|
|
YYDEBUG(56, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= '\f') {
|
|
if (yych <= 0x08) goto yy17;
|
|
if (yych >= '\v') goto yy17;
|
|
} else {
|
|
if (yych <= '\r') goto yy59;
|
|
if (yych != ' ') goto yy17;
|
|
}
|
|
yy57:
|
|
YYDEBUG(57, *YYCURSOR);
|
|
++YYCURSOR;
|
|
yy58:
|
|
YYDEBUG(58, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1355 "Zend/zend_language_scanner.l"
|
|
{
|
|
zendlval->value.str.val = yytext; /* no copying - intentional */
|
|
zendlval->value.str.len = yyleng;
|
|
zendlval->type = IS_STRING;
|
|
HANDLE_NEWLINE(yytext[yyleng-1]);
|
|
BEGIN(ST_IN_SCRIPTING);
|
|
return T_OPEN_TAG;
|
|
}
|
|
#line 1157 "Zend/zend_language_scanner.c"
|
|
yy59:
|
|
YYDEBUG(59, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if ((yych = *YYCURSOR) == '\n') goto yy57;
|
|
goto yy58;
|
|
}
|
|
/* *********************************** */
|
|
yyc_ST_BACKQUOTE:
|
|
{
|
|
static const unsigned char yybm[] = {
|
|
16, 16, 16, 16, 16, 16, 16, 16,
|
|
16, 16, 16, 16, 16, 16, 16, 16,
|
|
16, 16, 16, 16, 16, 16, 16, 16,
|
|
16, 16, 16, 16, 16, 16, 16, 16,
|
|
16, 16, 16, 16, 32, 16, 16, 16,
|
|
16, 16, 16, 16, 16, 16, 16, 16,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 16, 16, 16, 16, 16, 16,
|
|
16, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 16, 0, 16, 16, 144,
|
|
0, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 64, 16, 16, 16, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
};
|
|
YYDEBUG(60, *YYCURSOR);
|
|
YYFILL(2);
|
|
yych = *YYCURSOR;
|
|
if (yybm[0+yych] & 16) {
|
|
goto yy64;
|
|
}
|
|
if (yych <= '[') goto yy62;
|
|
if (yych <= '\\') goto yy67;
|
|
if (yych <= 'z') goto yy68;
|
|
goto yy63;
|
|
yy62:
|
|
YYDEBUG(62, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yybm[0+yych] & 32) {
|
|
goto yy74;
|
|
}
|
|
if (yych <= '^') {
|
|
if (yych <= 'Z') {
|
|
if (yych <= '@') goto yy64;
|
|
goto yy82;
|
|
} else {
|
|
if (yych == '\\') goto yy73;
|
|
goto yy64;
|
|
}
|
|
} else {
|
|
if (yych <= 'z') {
|
|
if (yych == '`') goto yy77;
|
|
goto yy82;
|
|
} else {
|
|
if (yych <= '{') goto yy85;
|
|
if (yych <= '~') goto yy64;
|
|
goto yy82;
|
|
}
|
|
}
|
|
yy63:
|
|
YYDEBUG(63, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yybm[0+yych] & 64) {
|
|
goto yy78;
|
|
}
|
|
if (yych == '$') goto yy80;
|
|
if (yych == '`') goto yy77;
|
|
goto yy65;
|
|
yy64:
|
|
YYDEBUG(64, *YYCURSOR);
|
|
yyaccept = 0;
|
|
YYMARKER = ++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
yy65:
|
|
YYDEBUG(65, *YYCURSOR);
|
|
if (yybm[0+yych] & 16) {
|
|
goto yy64;
|
|
}
|
|
if (yych <= '[') goto yy72;
|
|
if (yych <= '\\') goto yy67;
|
|
if (yych >= '{') goto yy70;
|
|
yy66:
|
|
YYDEBUG(66, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1782 "Zend/zend_language_scanner.l"
|
|
{
|
|
zend_scan_escape_string(zendlval, yytext, yyleng, '`' TSRMLS_CC);
|
|
return T_ENCAPSED_AND_WHITESPACE;
|
|
}
|
|
#line 1266 "Zend/zend_language_scanner.c"
|
|
yy67:
|
|
YYDEBUG(67, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
goto yy64;
|
|
yy68:
|
|
YYDEBUG(68, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(69, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1914 "Zend/zend_language_scanner.l"
|
|
{
|
|
BEGIN(ST_IN_SCRIPTING);
|
|
return '`';
|
|
}
|
|
#line 1283 "Zend/zend_language_scanner.c"
|
|
yy70:
|
|
YYDEBUG(70, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if (yybm[0+yych] & 16) {
|
|
goto yy64;
|
|
}
|
|
if (yych <= '[') goto yy71;
|
|
if (yych <= '\\') goto yy67;
|
|
if (yych <= 'z') goto yy77;
|
|
goto yy78;
|
|
yy71:
|
|
YYDEBUG(71, *YYCURSOR);
|
|
YYCURSOR = YYMARKER;
|
|
if (yyaccept <= 1) {
|
|
if (yyaccept <= 0) {
|
|
goto yy66;
|
|
} else {
|
|
goto yy76;
|
|
}
|
|
} else {
|
|
goto yy84;
|
|
}
|
|
yy72:
|
|
YYDEBUG(72, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if (yybm[0+yych] & 32) {
|
|
goto yy74;
|
|
}
|
|
if (yych <= '^') {
|
|
if (yych <= 'Z') {
|
|
if (yych <= '@') goto yy64;
|
|
goto yy71;
|
|
} else {
|
|
if (yych != '\\') goto yy64;
|
|
}
|
|
} else {
|
|
if (yych <= '`') {
|
|
if (yych <= '_') goto yy71;
|
|
goto yy77;
|
|
} else {
|
|
if (yych <= '{') goto yy71;
|
|
if (yych <= '~') goto yy64;
|
|
goto yy71;
|
|
}
|
|
}
|
|
yy73:
|
|
YYDEBUG(73, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
goto yy64;
|
|
yy74:
|
|
YYDEBUG(74, *YYCURSOR);
|
|
yyaccept = 1;
|
|
YYMARKER = ++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(75, *YYCURSOR);
|
|
if (yybm[0+yych] & 32) {
|
|
goto yy74;
|
|
}
|
|
if (yych <= '^') {
|
|
if (yych <= 'Z') {
|
|
if (yych <= '@') goto yy64;
|
|
} else {
|
|
if (yych == '\\') goto yy73;
|
|
goto yy64;
|
|
}
|
|
} else {
|
|
if (yych <= '`') {
|
|
if (yych >= '`') goto yy77;
|
|
} else {
|
|
if (yych <= '{') goto yy76;
|
|
if (yych <= '~') goto yy64;
|
|
}
|
|
}
|
|
yy76:
|
|
YYDEBUG(76, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1787 "Zend/zend_language_scanner.l"
|
|
{
|
|
yyless(yyleng - 1);
|
|
zend_scan_escape_string(zendlval, yytext, yyleng, '`' TSRMLS_CC);
|
|
return T_ENCAPSED_AND_WHITESPACE;
|
|
}
|
|
#line 1373 "Zend/zend_language_scanner.c"
|
|
yy77:
|
|
YYDEBUG(77, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
goto yy76;
|
|
yy78:
|
|
YYDEBUG(78, *YYCURSOR);
|
|
yyaccept = 1;
|
|
YYMARKER = ++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(79, *YYCURSOR);
|
|
if (yybm[0+yych] & 16) {
|
|
goto yy64;
|
|
}
|
|
if (yych <= '[') goto yy76;
|
|
if (yych <= '\\') goto yy67;
|
|
if (yych <= 'z') goto yy77;
|
|
goto yy78;
|
|
yy80:
|
|
YYDEBUG(80, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(81, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1755 "Zend/zend_language_scanner.l"
|
|
{
|
|
zendlval->value.lval = (long) '{';
|
|
yy_push_state(ST_IN_SCRIPTING TSRMLS_CC);
|
|
yyless(1);
|
|
return T_CURLY_OPEN;
|
|
}
|
|
#line 1404 "Zend/zend_language_scanner.c"
|
|
yy82:
|
|
YYDEBUG(82, *YYCURSOR);
|
|
yyaccept = 2;
|
|
YYMARKER = ++YYCURSOR;
|
|
YYFILL(3);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(83, *YYCURSOR);
|
|
if (yybm[0+yych] & 128) {
|
|
goto yy82;
|
|
}
|
|
if (yych == '-') goto yy87;
|
|
if (yych == '[') goto yy88;
|
|
yy84:
|
|
YYDEBUG(84, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1443 "Zend/zend_language_scanner.l"
|
|
{
|
|
zend_copy_value(zendlval, (yytext+1), (yyleng-1));
|
|
zendlval->type = IS_STRING;
|
|
return T_VARIABLE;
|
|
}
|
|
#line 1426 "Zend/zend_language_scanner.c"
|
|
yy85:
|
|
YYDEBUG(85, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(86, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1089 "Zend/zend_language_scanner.l"
|
|
{
|
|
yy_push_state(ST_LOOKING_FOR_VARNAME TSRMLS_CC);
|
|
return T_DOLLAR_OPEN_CURLY_BRACES;
|
|
}
|
|
#line 1437 "Zend/zend_language_scanner.c"
|
|
yy87:
|
|
YYDEBUG(87, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == '>') goto yy90;
|
|
goto yy71;
|
|
yy88:
|
|
YYDEBUG(88, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(89, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1435 "Zend/zend_language_scanner.l"
|
|
{
|
|
yyless(yyleng - 1);
|
|
yy_push_state(ST_VAR_OFFSET TSRMLS_CC);
|
|
zend_copy_value(zendlval, (yytext+1), (yyleng-2));
|
|
zendlval->type = IS_STRING;
|
|
return T_VARIABLE;
|
|
}
|
|
#line 1456 "Zend/zend_language_scanner.c"
|
|
yy90:
|
|
YYDEBUG(90, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= '_') {
|
|
if (yych <= '@') goto yy71;
|
|
if (yych <= 'Z') goto yy91;
|
|
if (yych <= '^') goto yy71;
|
|
} else {
|
|
if (yych <= '`') goto yy71;
|
|
if (yych <= 'z') goto yy91;
|
|
if (yych <= '~') goto yy71;
|
|
}
|
|
yy91:
|
|
YYDEBUG(91, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(92, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1425 "Zend/zend_language_scanner.l"
|
|
{
|
|
yyless(yyleng - 3);
|
|
yy_push_state(ST_LOOKING_FOR_PROPERTY TSRMLS_CC);
|
|
zend_copy_value(zendlval, (yytext+1), (yyleng-4));
|
|
zendlval->type = IS_STRING;
|
|
return T_VARIABLE;
|
|
}
|
|
#line 1482 "Zend/zend_language_scanner.c"
|
|
}
|
|
/* *********************************** */
|
|
yyc_ST_COMMENT:
|
|
{
|
|
static const unsigned char yybm[] = {
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 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, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
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(93, *YYCURSOR);
|
|
YYFILL(2);
|
|
yych = *YYCURSOR;
|
|
if (yybm[0+yych] & 128) {
|
|
goto yy95;
|
|
}
|
|
goto yy98;
|
|
yy95:
|
|
YYDEBUG(95, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(96, *YYCURSOR);
|
|
if (yybm[0+yych] & 128) {
|
|
goto yy95;
|
|
}
|
|
YYDEBUG(97, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1547 "Zend/zend_language_scanner.l"
|
|
{
|
|
yymore();
|
|
}
|
|
#line 1543 "Zend/zend_language_scanner.c"
|
|
yy98:
|
|
YYDEBUG(98, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if ((yych = *YYCURSOR) == '/') goto yy100;
|
|
YYDEBUG(99, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1565 "Zend/zend_language_scanner.l"
|
|
{
|
|
yymore();
|
|
}
|
|
#line 1554 "Zend/zend_language_scanner.c"
|
|
yy100:
|
|
YYDEBUG(100, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(101, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1559 "Zend/zend_language_scanner.l"
|
|
{
|
|
HANDLE_NEWLINES(yytext, yyleng);
|
|
BEGIN(ST_IN_SCRIPTING);
|
|
return T_COMMENT;
|
|
}
|
|
#line 1566 "Zend/zend_language_scanner.c"
|
|
}
|
|
/* *********************************** */
|
|
yyc_ST_DOC_COMMENT:
|
|
{
|
|
static const unsigned char yybm[] = {
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 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, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
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(102, *YYCURSOR);
|
|
YYFILL(2);
|
|
yych = *YYCURSOR;
|
|
if (yybm[0+yych] & 128) {
|
|
goto yy104;
|
|
}
|
|
goto yy107;
|
|
yy104:
|
|
YYDEBUG(104, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(105, *YYCURSOR);
|
|
if (yybm[0+yych] & 128) {
|
|
goto yy104;
|
|
}
|
|
YYDEBUG(106, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1547 "Zend/zend_language_scanner.l"
|
|
{
|
|
yymore();
|
|
}
|
|
#line 1627 "Zend/zend_language_scanner.c"
|
|
yy107:
|
|
YYDEBUG(107, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if ((yych = *YYCURSOR) == '/') goto yy109;
|
|
YYDEBUG(108, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1565 "Zend/zend_language_scanner.l"
|
|
{
|
|
yymore();
|
|
}
|
|
#line 1638 "Zend/zend_language_scanner.c"
|
|
yy109:
|
|
YYDEBUG(109, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(110, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1551 "Zend/zend_language_scanner.l"
|
|
{
|
|
CG(doc_comment) = estrndup(yytext, yyleng);
|
|
CG(doc_comment_len) = yyleng;
|
|
HANDLE_NEWLINES(yytext, yyleng);
|
|
BEGIN(ST_IN_SCRIPTING);
|
|
return T_DOC_COMMENT;
|
|
}
|
|
#line 1652 "Zend/zend_language_scanner.c"
|
|
}
|
|
/* *********************************** */
|
|
yyc_ST_DOUBLE_QUOTES:
|
|
{
|
|
static const unsigned char yybm[] = {
|
|
16, 16, 16, 16, 16, 16, 16, 16,
|
|
16, 16, 16, 16, 16, 16, 16, 16,
|
|
16, 16, 16, 16, 16, 16, 16, 16,
|
|
16, 16, 16, 16, 16, 16, 16, 16,
|
|
16, 16, 0, 16, 32, 16, 16, 16,
|
|
16, 16, 16, 16, 16, 16, 16, 16,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 16, 16, 16, 16, 16, 16,
|
|
16, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 16, 0, 16, 16, 144,
|
|
16, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 64, 16, 16, 16, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
144, 144, 144, 144, 144, 144, 144, 144,
|
|
};
|
|
YYDEBUG(111, *YYCURSOR);
|
|
YYFILL(2);
|
|
yych = *YYCURSOR;
|
|
if (yybm[0+yych] & 16) {
|
|
goto yy115;
|
|
}
|
|
if (yych <= '#') goto yy119;
|
|
if (yych <= '$') goto yy113;
|
|
if (yych <= 'z') goto yy118;
|
|
goto yy114;
|
|
yy113:
|
|
YYDEBUG(113, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yybm[0+yych] & 32) {
|
|
goto yy125;
|
|
}
|
|
if (yych <= '\\') {
|
|
if (yych <= '@') {
|
|
if (yych == '"') goto yy128;
|
|
goto yy115;
|
|
} else {
|
|
if (yych <= 'Z') goto yy133;
|
|
if (yych <= '[') goto yy115;
|
|
goto yy124;
|
|
}
|
|
} else {
|
|
if (yych <= '`') {
|
|
if (yych == '_') goto yy133;
|
|
goto yy115;
|
|
} else {
|
|
if (yych <= 'z') goto yy133;
|
|
if (yych <= '{') goto yy136;
|
|
if (yych <= '~') goto yy115;
|
|
goto yy133;
|
|
}
|
|
}
|
|
yy114:
|
|
YYDEBUG(114, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yybm[0+yych] & 64) {
|
|
goto yy129;
|
|
}
|
|
if (yych == '"') goto yy128;
|
|
if (yych == '$') goto yy131;
|
|
goto yy116;
|
|
yy115:
|
|
YYDEBUG(115, *YYCURSOR);
|
|
yyaccept = 0;
|
|
YYMARKER = ++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
yy116:
|
|
YYDEBUG(116, *YYCURSOR);
|
|
if (yybm[0+yych] & 16) {
|
|
goto yy115;
|
|
}
|
|
if (yych <= '#') goto yy117;
|
|
if (yych <= '$') goto yy123;
|
|
if (yych <= 'z') goto yy118;
|
|
goto yy121;
|
|
yy117:
|
|
YYDEBUG(117, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1763 "Zend/zend_language_scanner.l"
|
|
{
|
|
zend_scan_escape_string(zendlval, yytext, yyleng, '"' TSRMLS_CC);
|
|
return T_ENCAPSED_AND_WHITESPACE;
|
|
}
|
|
#line 1759 "Zend/zend_language_scanner.c"
|
|
yy118:
|
|
YYDEBUG(118, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
goto yy115;
|
|
yy119:
|
|
YYDEBUG(119, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(120, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1908 "Zend/zend_language_scanner.l"
|
|
{
|
|
BEGIN(ST_IN_SCRIPTING);
|
|
return '"';
|
|
}
|
|
#line 1776 "Zend/zend_language_scanner.c"
|
|
yy121:
|
|
YYDEBUG(121, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if (yybm[0+yych] & 16) {
|
|
goto yy115;
|
|
}
|
|
if (yych <= '#') goto yy128;
|
|
if (yych <= '$') goto yy122;
|
|
if (yych <= 'z') goto yy118;
|
|
goto yy129;
|
|
yy122:
|
|
YYDEBUG(122, *YYCURSOR);
|
|
YYCURSOR = YYMARKER;
|
|
if (yyaccept <= 1) {
|
|
if (yyaccept <= 0) {
|
|
goto yy117;
|
|
} else {
|
|
goto yy127;
|
|
}
|
|
} else {
|
|
goto yy135;
|
|
}
|
|
yy123:
|
|
YYDEBUG(123, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if (yybm[0+yych] & 32) {
|
|
goto yy125;
|
|
}
|
|
if (yych <= '\\') {
|
|
if (yych <= '@') {
|
|
if (yych == '"') goto yy128;
|
|
goto yy115;
|
|
} else {
|
|
if (yych <= 'Z') goto yy122;
|
|
if (yych <= '[') goto yy115;
|
|
}
|
|
} else {
|
|
if (yych <= '`') {
|
|
if (yych == '_') goto yy122;
|
|
goto yy115;
|
|
} else {
|
|
if (yych <= '{') goto yy122;
|
|
if (yych <= '~') goto yy115;
|
|
goto yy122;
|
|
}
|
|
}
|
|
yy124:
|
|
YYDEBUG(124, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
goto yy115;
|
|
yy125:
|
|
YYDEBUG(125, *YYCURSOR);
|
|
yyaccept = 1;
|
|
YYMARKER = ++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(126, *YYCURSOR);
|
|
if (yybm[0+yych] & 32) {
|
|
goto yy125;
|
|
}
|
|
if (yych <= '\\') {
|
|
if (yych <= '@') {
|
|
if (yych == '"') goto yy128;
|
|
goto yy115;
|
|
} else {
|
|
if (yych <= 'Z') goto yy127;
|
|
if (yych <= '[') goto yy115;
|
|
goto yy124;
|
|
}
|
|
} else {
|
|
if (yych <= '`') {
|
|
if (yych != '_') goto yy115;
|
|
} else {
|
|
if (yych <= '{') goto yy127;
|
|
if (yych <= '~') goto yy115;
|
|
}
|
|
}
|
|
yy127:
|
|
YYDEBUG(127, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1774 "Zend/zend_language_scanner.l"
|
|
{
|
|
yyless(yyleng - 1);
|
|
if (yytext[yyleng-1] == '"') --yyleng;
|
|
zend_scan_escape_string(zendlval, yytext, yyleng, '"' TSRMLS_CC);
|
|
return T_ENCAPSED_AND_WHITESPACE;
|
|
}
|
|
#line 1870 "Zend/zend_language_scanner.c"
|
|
yy128:
|
|
YYDEBUG(128, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
goto yy127;
|
|
yy129:
|
|
YYDEBUG(129, *YYCURSOR);
|
|
yyaccept = 1;
|
|
YYMARKER = ++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(130, *YYCURSOR);
|
|
if (yybm[0+yych] & 16) {
|
|
goto yy115;
|
|
}
|
|
if (yych <= '#') goto yy128;
|
|
if (yych <= '$') goto yy127;
|
|
if (yych <= 'z') goto yy118;
|
|
goto yy129;
|
|
yy131:
|
|
YYDEBUG(131, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(132, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1755 "Zend/zend_language_scanner.l"
|
|
{
|
|
zendlval->value.lval = (long) '{';
|
|
yy_push_state(ST_IN_SCRIPTING TSRMLS_CC);
|
|
yyless(1);
|
|
return T_CURLY_OPEN;
|
|
}
|
|
#line 1901 "Zend/zend_language_scanner.c"
|
|
yy133:
|
|
YYDEBUG(133, *YYCURSOR);
|
|
yyaccept = 2;
|
|
YYMARKER = ++YYCURSOR;
|
|
YYFILL(3);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(134, *YYCURSOR);
|
|
if (yybm[0+yych] & 128) {
|
|
goto yy133;
|
|
}
|
|
if (yych == '-') goto yy138;
|
|
if (yych == '[') goto yy139;
|
|
yy135:
|
|
YYDEBUG(135, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1443 "Zend/zend_language_scanner.l"
|
|
{
|
|
zend_copy_value(zendlval, (yytext+1), (yyleng-1));
|
|
zendlval->type = IS_STRING;
|
|
return T_VARIABLE;
|
|
}
|
|
#line 1923 "Zend/zend_language_scanner.c"
|
|
yy136:
|
|
YYDEBUG(136, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(137, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1089 "Zend/zend_language_scanner.l"
|
|
{
|
|
yy_push_state(ST_LOOKING_FOR_VARNAME TSRMLS_CC);
|
|
return T_DOLLAR_OPEN_CURLY_BRACES;
|
|
}
|
|
#line 1934 "Zend/zend_language_scanner.c"
|
|
yy138:
|
|
YYDEBUG(138, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == '>') goto yy141;
|
|
goto yy122;
|
|
yy139:
|
|
YYDEBUG(139, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(140, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1435 "Zend/zend_language_scanner.l"
|
|
{
|
|
yyless(yyleng - 1);
|
|
yy_push_state(ST_VAR_OFFSET TSRMLS_CC);
|
|
zend_copy_value(zendlval, (yytext+1), (yyleng-2));
|
|
zendlval->type = IS_STRING;
|
|
return T_VARIABLE;
|
|
}
|
|
#line 1953 "Zend/zend_language_scanner.c"
|
|
yy141:
|
|
YYDEBUG(141, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= '_') {
|
|
if (yych <= '@') goto yy122;
|
|
if (yych <= 'Z') goto yy142;
|
|
if (yych <= '^') goto yy122;
|
|
} else {
|
|
if (yych <= '`') goto yy122;
|
|
if (yych <= 'z') goto yy142;
|
|
if (yych <= '~') goto yy122;
|
|
}
|
|
yy142:
|
|
YYDEBUG(142, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(143, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1425 "Zend/zend_language_scanner.l"
|
|
{
|
|
yyless(yyleng - 3);
|
|
yy_push_state(ST_LOOKING_FOR_PROPERTY TSRMLS_CC);
|
|
zend_copy_value(zendlval, (yytext+1), (yyleng-4));
|
|
zendlval->type = IS_STRING;
|
|
return T_VARIABLE;
|
|
}
|
|
#line 1979 "Zend/zend_language_scanner.c"
|
|
}
|
|
/* *********************************** */
|
|
yyc_ST_END_HEREDOC:
|
|
YYDEBUG(144, *YYCURSOR);
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(146, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(147, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1743 "Zend/zend_language_scanner.l"
|
|
{
|
|
zendlval->value.str.val = CG(heredoc);
|
|
zendlval->value.str.len = CG(heredoc_len);
|
|
SCNG(yy_text) = zendlval->value.str.val;
|
|
yyleng = zendlval->value.str.len;
|
|
CG(heredoc) = NULL;
|
|
CG(heredoc_len) = 0;
|
|
BEGIN(ST_IN_SCRIPTING);
|
|
return T_END_HEREDOC;
|
|
}
|
|
#line 2001 "Zend/zend_language_scanner.c"
|
|
/* *********************************** */
|
|
yyc_ST_END_NOWDOC:
|
|
YYDEBUG(148, *YYCURSOR);
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(150, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(151, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1895 "Zend/zend_language_scanner.l"
|
|
{
|
|
Z_STRVAL_P(zendlval) = CG(heredoc);
|
|
Z_STRLEN_P(zendlval) = CG(heredoc_len);
|
|
SCNG(yy_text) = CG(heredoc);
|
|
yyleng = CG(heredoc_len);
|
|
CG(heredoc) = NULL;
|
|
CG(heredoc_len) = 0;
|
|
BEGIN(ST_IN_SCRIPTING);
|
|
return T_END_NOWDOC;
|
|
}
|
|
#line 2022 "Zend/zend_language_scanner.c"
|
|
/* *********************************** */
|
|
yyc_ST_HEREDOC:
|
|
{
|
|
static const unsigned char yybm[] = {
|
|
4, 4, 4, 4, 4, 4, 4, 4,
|
|
4, 4, 16, 4, 4, 32, 4, 4,
|
|
4, 4, 4, 4, 4, 4, 4, 4,
|
|
4, 4, 4, 4, 4, 4, 4, 4,
|
|
4, 4, 4, 4, 64, 4, 4, 4,
|
|
4, 4, 4, 4, 4, 4, 4, 4,
|
|
12, 12, 12, 12, 12, 12, 12, 12,
|
|
12, 12, 4, 4, 4, 4, 4, 4,
|
|
4, 8, 8, 8, 8, 8, 8, 8,
|
|
8, 8, 8, 8, 8, 8, 8, 8,
|
|
8, 8, 8, 8, 8, 8, 8, 8,
|
|
8, 8, 8, 4, 0, 4, 4, 8,
|
|
4, 8, 8, 8, 8, 8, 8, 8,
|
|
8, 8, 8, 8, 8, 8, 8, 8,
|
|
8, 8, 8, 8, 8, 8, 8, 8,
|
|
8, 8, 8, 128, 4, 4, 4, 8,
|
|
8, 8, 8, 8, 8, 8, 8, 8,
|
|
8, 8, 8, 8, 8, 8, 8, 8,
|
|
8, 8, 8, 8, 8, 8, 8, 8,
|
|
8, 8, 8, 8, 8, 8, 8, 8,
|
|
8, 8, 8, 8, 8, 8, 8, 8,
|
|
8, 8, 8, 8, 8, 8, 8, 8,
|
|
8, 8, 8, 8, 8, 8, 8, 8,
|
|
8, 8, 8, 8, 8, 8, 8, 8,
|
|
8, 8, 8, 8, 8, 8, 8, 8,
|
|
8, 8, 8, 8, 8, 8, 8, 8,
|
|
8, 8, 8, 8, 8, 8, 8, 8,
|
|
8, 8, 8, 8, 8, 8, 8, 8,
|
|
8, 8, 8, 8, 8, 8, 8, 8,
|
|
8, 8, 8, 8, 8, 8, 8, 8,
|
|
8, 8, 8, 8, 8, 8, 8, 8,
|
|
8, 8, 8, 8, 8, 8, 8, 8,
|
|
};
|
|
YYDEBUG(152, *YYCURSOR);
|
|
YYFILL(2);
|
|
yych = *(YYMARKER = YYCURSOR);
|
|
if (yybm[0+yych] & 4) {
|
|
goto yy157;
|
|
}
|
|
if (yych <= '[') {
|
|
if (yych <= '\f') goto yy162;
|
|
if (yych <= '\r') goto yy164;
|
|
if (yych <= '@') goto yy155;
|
|
goto yy159;
|
|
} else {
|
|
if (yych <= '\\') goto yy161;
|
|
if (yych == '{') goto yy156;
|
|
goto yy159;
|
|
}
|
|
yy154:
|
|
YYDEBUG(154, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1801 "Zend/zend_language_scanner.l"
|
|
{
|
|
zend_scan_escape_string(zendlval, yytext, yyleng, 0 TSRMLS_CC);
|
|
return T_ENCAPSED_AND_WHITESPACE;
|
|
}
|
|
#line 2084 "Zend/zend_language_scanner.c"
|
|
yy155:
|
|
YYDEBUG(155, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= '\\') {
|
|
if (yych <= '@') {
|
|
if (yych == '$') goto yy199;
|
|
goto yy158;
|
|
} else {
|
|
if (yych <= 'Z') goto yy205;
|
|
if (yych <= '[') goto yy158;
|
|
goto yy192;
|
|
}
|
|
} else {
|
|
if (yych <= '`') {
|
|
if (yych == '_') goto yy205;
|
|
goto yy158;
|
|
} else {
|
|
if (yych <= 'z') goto yy205;
|
|
if (yych <= '{') goto yy208;
|
|
if (yych <= '~') goto yy158;
|
|
goto yy205;
|
|
}
|
|
}
|
|
yy156:
|
|
YYDEBUG(156, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yybm[0+yych] & 16) {
|
|
goto yy162;
|
|
}
|
|
if (yych <= '$') {
|
|
if (yych == '\r') goto yy164;
|
|
if (yych >= '$') goto yy203;
|
|
} else {
|
|
if (yych <= '\\') {
|
|
if (yych >= '\\') goto yy161;
|
|
} else {
|
|
if (yych == '{') goto yy201;
|
|
}
|
|
}
|
|
yy157:
|
|
YYDEBUG(157, *YYCURSOR);
|
|
yyaccept = 0;
|
|
YYMARKER = ++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
yy158:
|
|
YYDEBUG(158, *YYCURSOR);
|
|
if (yybm[0+yych] & 4) {
|
|
goto yy157;
|
|
}
|
|
if (yych <= '[') {
|
|
if (yych <= '\f') goto yy162;
|
|
if (yych <= '\r') goto yy164;
|
|
if (yych <= '@') goto yy198;
|
|
} else {
|
|
if (yych <= '\\') goto yy161;
|
|
if (yych == '{') goto yy197;
|
|
}
|
|
yy159:
|
|
YYDEBUG(159, *YYCURSOR);
|
|
yyaccept = 0;
|
|
YYMARKER = ++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(160, *YYCURSOR);
|
|
if (yybm[0+yych] & 16) {
|
|
goto yy162;
|
|
}
|
|
if (yych <= '@') {
|
|
if (yych <= '$') {
|
|
if (yych == '\r') goto yy164;
|
|
if (yych <= '#') goto yy157;
|
|
goto yy191;
|
|
} else {
|
|
if (yych <= '9') {
|
|
if (yych <= '/') goto yy157;
|
|
goto yy159;
|
|
} else {
|
|
if (yych == ';') goto yy189;
|
|
goto yy157;
|
|
}
|
|
}
|
|
} else {
|
|
if (yych <= '_') {
|
|
if (yych <= '[') {
|
|
if (yych <= 'Z') goto yy159;
|
|
goto yy157;
|
|
} else {
|
|
if (yych <= '\\') goto yy161;
|
|
if (yych <= '^') goto yy157;
|
|
goto yy159;
|
|
}
|
|
} else {
|
|
if (yych <= 'z') {
|
|
if (yych <= '`') goto yy157;
|
|
goto yy159;
|
|
} else {
|
|
if (yych <= '{') goto yy190;
|
|
if (yych <= '~') goto yy157;
|
|
goto yy159;
|
|
}
|
|
}
|
|
}
|
|
yy161:
|
|
YYDEBUG(161, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if (yybm[0+yych] & 16) {
|
|
goto yy162;
|
|
}
|
|
if (yych == '\r') goto yy164;
|
|
goto yy157;
|
|
yy162:
|
|
YYDEBUG(162, *YYCURSOR);
|
|
yyaccept = 0;
|
|
YYMARKER = ++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(163, *YYCURSOR);
|
|
if (yybm[0+yych] & 4) {
|
|
goto yy157;
|
|
}
|
|
if (yych <= '[') {
|
|
if (yych <= '\f') goto yy162;
|
|
if (yych <= '\r') goto yy164;
|
|
if (yych <= '@') goto yy170;
|
|
goto yy166;
|
|
} else {
|
|
if (yych <= '\\') goto yy171;
|
|
if (yych == '{') goto yy168;
|
|
goto yy166;
|
|
}
|
|
yy164:
|
|
YYDEBUG(164, *YYCURSOR);
|
|
yyaccept = 0;
|
|
YYMARKER = ++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(165, *YYCURSOR);
|
|
if (yybm[0+yych] & 4) {
|
|
goto yy157;
|
|
}
|
|
if (yych <= '[') {
|
|
if (yych <= '\f') goto yy162;
|
|
if (yych <= '\r') goto yy164;
|
|
if (yych <= '@') goto yy170;
|
|
} else {
|
|
if (yych <= '\\') goto yy171;
|
|
if (yych == '{') goto yy168;
|
|
}
|
|
yy166:
|
|
YYDEBUG(166, *YYCURSOR);
|
|
yyaccept = 0;
|
|
YYMARKER = ++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(167, *YYCURSOR);
|
|
if (yych <= ';') {
|
|
if (yych <= '#') {
|
|
if (yych <= '\n') {
|
|
if (yych <= '\t') goto yy157;
|
|
goto yy182;
|
|
} else {
|
|
if (yych == '\r') goto yy182;
|
|
goto yy157;
|
|
}
|
|
} else {
|
|
if (yych <= '/') {
|
|
if (yych <= '$') goto yy181;
|
|
goto yy157;
|
|
} else {
|
|
if (yych <= '9') goto yy166;
|
|
if (yych <= ':') goto yy157;
|
|
goto yy178;
|
|
}
|
|
}
|
|
} else {
|
|
if (yych <= '^') {
|
|
if (yych <= 'Z') {
|
|
if (yych <= '@') goto yy157;
|
|
goto yy166;
|
|
} else {
|
|
if (yych == '\\') goto yy179;
|
|
goto yy157;
|
|
}
|
|
} else {
|
|
if (yych <= 'z') {
|
|
if (yych == '`') goto yy157;
|
|
goto yy166;
|
|
} else {
|
|
if (yych <= '{') goto yy180;
|
|
if (yych <= '~') goto yy157;
|
|
goto yy166;
|
|
}
|
|
}
|
|
}
|
|
yy168:
|
|
YYDEBUG(168, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if (yybm[0+yych] & 16) {
|
|
goto yy162;
|
|
}
|
|
if (yych <= '$') {
|
|
if (yych == '\r') goto yy164;
|
|
if (yych <= '#') goto yy157;
|
|
} else {
|
|
if (yych <= '\\') {
|
|
if (yych <= '[') goto yy157;
|
|
goto yy171;
|
|
} else {
|
|
if (yych == '{') goto yy176;
|
|
goto yy157;
|
|
}
|
|
}
|
|
yy169:
|
|
YYDEBUG(169, *YYCURSOR);
|
|
YYCURSOR = YYMARKER;
|
|
if (yyaccept <= 1) {
|
|
if (yyaccept <= 0) {
|
|
goto yy154;
|
|
} else {
|
|
goto yy175;
|
|
}
|
|
} else {
|
|
goto yy207;
|
|
}
|
|
yy170:
|
|
YYDEBUG(170, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if (yybm[0+yych] & 4) {
|
|
goto yy157;
|
|
}
|
|
if (yych <= '@') {
|
|
if (yych <= '\f') goto yy162;
|
|
if (yych <= '\r') goto yy164;
|
|
goto yy173;
|
|
} else {
|
|
if (yych == '\\') goto yy172;
|
|
goto yy169;
|
|
}
|
|
yy171:
|
|
YYDEBUG(171, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if (yybm[0+yych] & 16) {
|
|
goto yy162;
|
|
}
|
|
if (yych == '\r') goto yy164;
|
|
goto yy157;
|
|
yy172:
|
|
YYDEBUG(172, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if (yybm[0+yych] & 16) {
|
|
goto yy162;
|
|
}
|
|
if (yych == '\r') goto yy164;
|
|
goto yy157;
|
|
yy173:
|
|
YYDEBUG(173, *YYCURSOR);
|
|
yyaccept = 1;
|
|
YYMARKER = ++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(174, *YYCURSOR);
|
|
if (yybm[0+yych] & 4) {
|
|
goto yy157;
|
|
}
|
|
if (yych <= '@') {
|
|
if (yych <= '\f') goto yy162;
|
|
if (yych <= '\r') goto yy164;
|
|
goto yy173;
|
|
} else {
|
|
if (yych == '\\') goto yy172;
|
|
}
|
|
yy175:
|
|
YYDEBUG(175, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1806 "Zend/zend_language_scanner.l"
|
|
{
|
|
yyless(yyleng - 1);
|
|
zend_scan_escape_string(zendlval, yytext, yyleng, 0 TSRMLS_CC);
|
|
return T_ENCAPSED_AND_WHITESPACE;
|
|
}
|
|
#line 2376 "Zend/zend_language_scanner.c"
|
|
yy176:
|
|
YYDEBUG(176, *YYCURSOR);
|
|
yyaccept = 1;
|
|
YYMARKER = ++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(177, *YYCURSOR);
|
|
if (yybm[0+yych] & 16) {
|
|
goto yy162;
|
|
}
|
|
if (yych <= '$') {
|
|
if (yych == '\r') goto yy164;
|
|
if (yych <= '#') goto yy157;
|
|
goto yy175;
|
|
} else {
|
|
if (yych <= '\\') {
|
|
if (yych <= '[') goto yy157;
|
|
goto yy171;
|
|
} else {
|
|
if (yych == '{') goto yy176;
|
|
goto yy157;
|
|
}
|
|
}
|
|
yy178:
|
|
YYDEBUG(178, *YYCURSOR);
|
|
yyaccept = 0;
|
|
YYMARKER = ++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if (yych <= '#') {
|
|
if (yych <= '\n') {
|
|
if (yych <= '\t') goto yy157;
|
|
goto yy182;
|
|
} else {
|
|
if (yych == '\r') goto yy182;
|
|
goto yy157;
|
|
}
|
|
} else {
|
|
if (yych <= '\\') {
|
|
if (yych <= '$') goto yy181;
|
|
if (yych <= '[') goto yy157;
|
|
} else {
|
|
if (yych == '{') goto yy180;
|
|
goto yy157;
|
|
}
|
|
}
|
|
yy179:
|
|
YYDEBUG(179, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if (yybm[0+yych] & 16) {
|
|
goto yy162;
|
|
}
|
|
if (yych == '\r') goto yy164;
|
|
goto yy157;
|
|
yy180:
|
|
YYDEBUG(180, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if (yybm[0+yych] & 16) {
|
|
goto yy162;
|
|
}
|
|
if (yych <= '$') {
|
|
if (yych == '\r') goto yy164;
|
|
if (yych <= '#') goto yy157;
|
|
goto yy169;
|
|
} else {
|
|
if (yych <= '\\') {
|
|
if (yych <= '[') goto yy157;
|
|
goto yy179;
|
|
} else {
|
|
if (yych == '{') goto yy187;
|
|
goto yy157;
|
|
}
|
|
}
|
|
yy181:
|
|
YYDEBUG(181, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if (yybm[0+yych] & 4) {
|
|
goto yy157;
|
|
}
|
|
if (yych <= '@') {
|
|
if (yych <= '\f') goto yy162;
|
|
if (yych <= '\r') goto yy164;
|
|
goto yy184;
|
|
} else {
|
|
if (yych == '\\') goto yy186;
|
|
goto yy169;
|
|
}
|
|
yy182:
|
|
YYDEBUG(182, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(183, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1709 "Zend/zend_language_scanner.l"
|
|
{
|
|
char *end = yytext + yyleng - 1;
|
|
|
|
if (end[-1] == ';') {
|
|
end--;
|
|
yyleng--;
|
|
}
|
|
|
|
if (yyleng > CG(heredoc_len) && !memcmp(end - CG(heredoc_len), CG(heredoc), CG(heredoc_len))) {
|
|
int len = yyleng - CG(heredoc_len) - 2; /* 2 for newline before and after label */
|
|
|
|
if (len > 0 && yytext[len - 1] == '\r' && yytext[len] == '\n') {
|
|
len--;
|
|
}
|
|
|
|
/* Go back before last label char, to match in ST_END_HEREDOC state */
|
|
yyless(yyleng - 2);
|
|
|
|
/* Subtract the remaining label length. yyleng must include newline
|
|
* before label, for zend_highlight/strip, tokenizer, etc. */
|
|
yyleng = yyleng - CG(heredoc_len) - 1;
|
|
|
|
CG(increment_lineno) = 1; /* For newline before label */
|
|
BEGIN(ST_END_HEREDOC);
|
|
zend_scan_escape_string(zendlval, yytext, len, 0 TSRMLS_CC);
|
|
return T_ENCAPSED_AND_WHITESPACE;
|
|
} else {
|
|
/* Go back to end of label, so the next match works correctly in case of
|
|
* a variable or another label at the beginning of the next line */
|
|
yyless(yyleng - 1);
|
|
yymore();
|
|
}
|
|
}
|
|
#line 2509 "Zend/zend_language_scanner.c"
|
|
yy184:
|
|
YYDEBUG(184, *YYCURSOR);
|
|
yyaccept = 1;
|
|
YYMARKER = ++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(185, *YYCURSOR);
|
|
if (yybm[0+yych] & 4) {
|
|
goto yy157;
|
|
}
|
|
if (yych <= '@') {
|
|
if (yych <= '\f') goto yy162;
|
|
if (yych <= '\r') goto yy164;
|
|
goto yy184;
|
|
} else {
|
|
if (yych != '\\') goto yy175;
|
|
}
|
|
yy186:
|
|
YYDEBUG(186, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if (yybm[0+yych] & 16) {
|
|
goto yy162;
|
|
}
|
|
if (yych == '\r') goto yy164;
|
|
goto yy157;
|
|
yy187:
|
|
YYDEBUG(187, *YYCURSOR);
|
|
yyaccept = 1;
|
|
YYMARKER = ++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(188, *YYCURSOR);
|
|
if (yybm[0+yych] & 16) {
|
|
goto yy162;
|
|
}
|
|
if (yych <= '$') {
|
|
if (yych == '\r') goto yy164;
|
|
if (yych <= '#') goto yy157;
|
|
goto yy175;
|
|
} else {
|
|
if (yych <= '\\') {
|
|
if (yych <= '[') goto yy157;
|
|
goto yy179;
|
|
} else {
|
|
if (yych == '{') goto yy187;
|
|
goto yy157;
|
|
}
|
|
}
|
|
yy189:
|
|
YYDEBUG(189, *YYCURSOR);
|
|
yyaccept = 0;
|
|
YYMARKER = ++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if (yybm[0+yych] & 4) {
|
|
goto yy157;
|
|
}
|
|
if (yych <= '[') {
|
|
if (yych <= '\f') goto yy162;
|
|
if (yych <= '\r') goto yy164;
|
|
if (yych <= '@') goto yy191;
|
|
goto yy159;
|
|
} else {
|
|
if (yych <= '\\') goto yy161;
|
|
if (yych != '{') goto yy159;
|
|
}
|
|
yy190:
|
|
YYDEBUG(190, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if (yybm[0+yych] & 16) {
|
|
goto yy162;
|
|
}
|
|
if (yych <= '$') {
|
|
if (yych == '\r') goto yy164;
|
|
if (yych <= '#') goto yy157;
|
|
goto yy169;
|
|
} else {
|
|
if (yych <= '\\') {
|
|
if (yych <= '[') goto yy157;
|
|
goto yy161;
|
|
} else {
|
|
if (yych == '{') goto yy195;
|
|
goto yy157;
|
|
}
|
|
}
|
|
yy191:
|
|
YYDEBUG(191, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if (yybm[0+yych] & 4) {
|
|
goto yy157;
|
|
}
|
|
if (yych <= '@') {
|
|
if (yych <= '\f') goto yy162;
|
|
if (yych <= '\r') goto yy164;
|
|
goto yy193;
|
|
} else {
|
|
if (yych != '\\') goto yy169;
|
|
}
|
|
yy192:
|
|
YYDEBUG(192, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if (yybm[0+yych] & 16) {
|
|
goto yy162;
|
|
}
|
|
if (yych == '\r') goto yy164;
|
|
goto yy157;
|
|
yy193:
|
|
YYDEBUG(193, *YYCURSOR);
|
|
yyaccept = 1;
|
|
YYMARKER = ++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(194, *YYCURSOR);
|
|
if (yybm[0+yych] & 4) {
|
|
goto yy157;
|
|
}
|
|
if (yych <= '@') {
|
|
if (yych <= '\f') goto yy162;
|
|
if (yych <= '\r') goto yy164;
|
|
goto yy193;
|
|
} else {
|
|
if (yych == '\\') goto yy192;
|
|
goto yy175;
|
|
}
|
|
yy195:
|
|
YYDEBUG(195, *YYCURSOR);
|
|
yyaccept = 1;
|
|
YYMARKER = ++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(196, *YYCURSOR);
|
|
if (yybm[0+yych] & 16) {
|
|
goto yy162;
|
|
}
|
|
if (yych <= '$') {
|
|
if (yych == '\r') goto yy164;
|
|
if (yych <= '#') goto yy157;
|
|
goto yy175;
|
|
} else {
|
|
if (yych <= '\\') {
|
|
if (yych <= '[') goto yy157;
|
|
goto yy161;
|
|
} else {
|
|
if (yych == '{') goto yy195;
|
|
goto yy157;
|
|
}
|
|
}
|
|
yy197:
|
|
YYDEBUG(197, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if (yybm[0+yych] & 16) {
|
|
goto yy162;
|
|
}
|
|
if (yych <= '$') {
|
|
if (yych == '\r') goto yy164;
|
|
if (yych <= '#') goto yy157;
|
|
goto yy169;
|
|
} else {
|
|
if (yych <= '\\') {
|
|
if (yych <= '[') goto yy157;
|
|
goto yy161;
|
|
} else {
|
|
if (yych == '{') goto yy201;
|
|
goto yy157;
|
|
}
|
|
}
|
|
yy198:
|
|
YYDEBUG(198, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if (yybm[0+yych] & 4) {
|
|
goto yy157;
|
|
}
|
|
if (yych <= '@') {
|
|
if (yych <= '\f') goto yy162;
|
|
if (yych <= '\r') goto yy164;
|
|
} else {
|
|
if (yych == '\\') goto yy192;
|
|
goto yy169;
|
|
}
|
|
yy199:
|
|
YYDEBUG(199, *YYCURSOR);
|
|
yyaccept = 1;
|
|
YYMARKER = ++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(200, *YYCURSOR);
|
|
if (yybm[0+yych] & 4) {
|
|
goto yy157;
|
|
}
|
|
if (yych <= '@') {
|
|
if (yych <= '\f') goto yy162;
|
|
if (yych <= '\r') goto yy164;
|
|
goto yy199;
|
|
} else {
|
|
if (yych == '\\') goto yy192;
|
|
goto yy175;
|
|
}
|
|
yy201:
|
|
YYDEBUG(201, *YYCURSOR);
|
|
yyaccept = 1;
|
|
YYMARKER = ++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(202, *YYCURSOR);
|
|
if (yybm[0+yych] & 16) {
|
|
goto yy162;
|
|
}
|
|
if (yych <= '$') {
|
|
if (yych == '\r') goto yy164;
|
|
if (yych <= '#') goto yy157;
|
|
goto yy175;
|
|
} else {
|
|
if (yych <= '\\') {
|
|
if (yych <= '[') goto yy157;
|
|
goto yy161;
|
|
} else {
|
|
if (yych == '{') goto yy201;
|
|
goto yy157;
|
|
}
|
|
}
|
|
yy203:
|
|
YYDEBUG(203, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(204, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1755 "Zend/zend_language_scanner.l"
|
|
{
|
|
zendlval->value.lval = (long) '{';
|
|
yy_push_state(ST_IN_SCRIPTING TSRMLS_CC);
|
|
yyless(1);
|
|
return T_CURLY_OPEN;
|
|
}
|
|
#line 2754 "Zend/zend_language_scanner.c"
|
|
yy205:
|
|
YYDEBUG(205, *YYCURSOR);
|
|
yyaccept = 2;
|
|
YYMARKER = ++YYCURSOR;
|
|
YYFILL(3);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(206, *YYCURSOR);
|
|
if (yych <= 'Z') {
|
|
if (yych <= '/') {
|
|
if (yych == '-') goto yy210;
|
|
} else {
|
|
if (yych <= '9') goto yy205;
|
|
if (yych >= 'A') goto yy205;
|
|
}
|
|
} else {
|
|
if (yych <= '_') {
|
|
if (yych <= '[') goto yy211;
|
|
if (yych >= '_') goto yy205;
|
|
} else {
|
|
if (yych <= '`') goto yy207;
|
|
if (yych <= 'z') goto yy205;
|
|
if (yych >= 0x7F) goto yy205;
|
|
}
|
|
}
|
|
yy207:
|
|
YYDEBUG(207, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1443 "Zend/zend_language_scanner.l"
|
|
{
|
|
zend_copy_value(zendlval, (yytext+1), (yyleng-1));
|
|
zendlval->type = IS_STRING;
|
|
return T_VARIABLE;
|
|
}
|
|
#line 2788 "Zend/zend_language_scanner.c"
|
|
yy208:
|
|
YYDEBUG(208, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(209, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1089 "Zend/zend_language_scanner.l"
|
|
{
|
|
yy_push_state(ST_LOOKING_FOR_VARNAME TSRMLS_CC);
|
|
return T_DOLLAR_OPEN_CURLY_BRACES;
|
|
}
|
|
#line 2799 "Zend/zend_language_scanner.c"
|
|
yy210:
|
|
YYDEBUG(210, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == '>') goto yy213;
|
|
goto yy169;
|
|
yy211:
|
|
YYDEBUG(211, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(212, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1435 "Zend/zend_language_scanner.l"
|
|
{
|
|
yyless(yyleng - 1);
|
|
yy_push_state(ST_VAR_OFFSET TSRMLS_CC);
|
|
zend_copy_value(zendlval, (yytext+1), (yyleng-2));
|
|
zendlval->type = IS_STRING;
|
|
return T_VARIABLE;
|
|
}
|
|
#line 2818 "Zend/zend_language_scanner.c"
|
|
yy213:
|
|
YYDEBUG(213, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= '_') {
|
|
if (yych <= '@') goto yy169;
|
|
if (yych <= 'Z') goto yy214;
|
|
if (yych <= '^') goto yy169;
|
|
} else {
|
|
if (yych <= '`') goto yy169;
|
|
if (yych <= 'z') goto yy214;
|
|
if (yych <= '~') goto yy169;
|
|
}
|
|
yy214:
|
|
YYDEBUG(214, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(215, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1425 "Zend/zend_language_scanner.l"
|
|
{
|
|
yyless(yyleng - 3);
|
|
yy_push_state(ST_LOOKING_FOR_PROPERTY TSRMLS_CC);
|
|
zend_copy_value(zendlval, (yytext+1), (yyleng-4));
|
|
zendlval->type = IS_STRING;
|
|
return T_VARIABLE;
|
|
}
|
|
#line 2844 "Zend/zend_language_scanner.c"
|
|
}
|
|
/* *********************************** */
|
|
yyc_ST_IN_SCRIPTING:
|
|
{
|
|
static const unsigned char yybm[] = {
|
|
/* table 1 .. 8: 0 */
|
|
2, 2, 2, 2, 2, 2, 2, 2,
|
|
2, 138, 10, 2, 2, 10, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 2, 2,
|
|
138, 2, 0, 2, 4, 2, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 2, 2,
|
|
114, 114, 114, 114, 114, 114, 114, 114,
|
|
114, 114, 2, 2, 2, 2, 2, 2,
|
|
2, 82, 82, 82, 82, 82, 82, 18,
|
|
18, 18, 18, 18, 18, 18, 18, 18,
|
|
18, 18, 18, 18, 18, 18, 18, 18,
|
|
18, 18, 18, 2, 0, 2, 2, 18,
|
|
2, 82, 82, 82, 82, 82, 82, 18,
|
|
18, 18, 18, 18, 18, 18, 18, 18,
|
|
18, 18, 18, 18, 18, 18, 18, 18,
|
|
18, 18, 18, 1, 2, 2, 2, 18,
|
|
18, 18, 18, 18, 18, 18, 18, 18,
|
|
18, 18, 18, 18, 18, 18, 18, 18,
|
|
18, 18, 18, 18, 18, 18, 18, 18,
|
|
18, 18, 18, 18, 18, 18, 18, 18,
|
|
18, 18, 18, 18, 18, 18, 18, 18,
|
|
18, 18, 18, 18, 18, 18, 18, 18,
|
|
18, 18, 18, 18, 18, 18, 18, 18,
|
|
18, 18, 18, 18, 18, 18, 18, 18,
|
|
18, 18, 18, 18, 18, 18, 18, 18,
|
|
18, 18, 18, 18, 18, 18, 18, 18,
|
|
18, 18, 18, 18, 18, 18, 18, 18,
|
|
18, 18, 18, 18, 18, 18, 18, 18,
|
|
18, 18, 18, 18, 18, 18, 18, 18,
|
|
18, 18, 18, 18, 18, 18, 18, 18,
|
|
18, 18, 18, 18, 18, 18, 18, 18,
|
|
18, 18, 18, 18, 18, 18, 18, 18,
|
|
/* table 9 .. 9: 256 */
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 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,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 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, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
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(216, *YYCURSOR);
|
|
YYFILL(16);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(-1, yych);
|
|
switch (yych) {
|
|
case 0x00:
|
|
case 0x01:
|
|
case 0x02:
|
|
case 0x03:
|
|
case 0x04:
|
|
case 0x05:
|
|
case 0x06:
|
|
case 0x07:
|
|
case 0x08:
|
|
case '\v':
|
|
case '\f':
|
|
case 0x0E:
|
|
case 0x0F:
|
|
case 0x10:
|
|
case 0x11:
|
|
case 0x12:
|
|
case 0x13:
|
|
case 0x14:
|
|
case 0x15:
|
|
case 0x16:
|
|
case 0x17:
|
|
case 0x18:
|
|
case 0x19:
|
|
case 0x1A:
|
|
case 0x1B:
|
|
case 0x1C:
|
|
case 0x1D:
|
|
case 0x1E:
|
|
case 0x1F:
|
|
case '\\': goto yy276;
|
|
case '\t':
|
|
case '\n':
|
|
case '\r':
|
|
case ' ': goto yy266;
|
|
case '!': goto yy243;
|
|
case '"': goto yy270;
|
|
case '#': goto yy268;
|
|
case '$': goto yy255;
|
|
case '%': goto yy249;
|
|
case '&': goto yy250;
|
|
case '\'': goto yy272;
|
|
case '(': goto yy237;
|
|
case ')':
|
|
case ',':
|
|
case ';':
|
|
case '@':
|
|
case '[':
|
|
case ']':
|
|
case '~': goto yy256;
|
|
case '*': goto yy246;
|
|
case '+': goto yy242;
|
|
case '-': goto yy232;
|
|
case '.': goto yy248;
|
|
case '/': goto yy247;
|
|
case '0': goto yy262;
|
|
case '1':
|
|
case '2':
|
|
case '3':
|
|
case '4':
|
|
case '5':
|
|
case '6':
|
|
case '7':
|
|
case '8':
|
|
case '9': goto yy264;
|
|
case ':': goto yy234;
|
|
case '<': goto yy244;
|
|
case '=': goto yy240;
|
|
case '>': goto yy245;
|
|
case '?': goto yy257;
|
|
case 'A':
|
|
case 'a': goto yy227;
|
|
case 'B':
|
|
case 'b': goto yy229;
|
|
case 'C':
|
|
case 'c': goto yy222;
|
|
case 'D':
|
|
case 'd': goto yy220;
|
|
case 'E':
|
|
case 'e': goto yy218;
|
|
case 'F':
|
|
case 'f': goto yy221;
|
|
case 'G':
|
|
case 'g': goto yy230;
|
|
case 'I':
|
|
case 'i': goto yy225;
|
|
case 'L':
|
|
case 'l': goto yy241;
|
|
case 'N':
|
|
case 'n': goto yy235;
|
|
case 'O':
|
|
case 'o': goto yy253;
|
|
case 'P':
|
|
case 'p': goto yy231;
|
|
case 'R':
|
|
case 'r': goto yy223;
|
|
case 'S':
|
|
case 's': goto yy228;
|
|
case 'T':
|
|
case 't': goto yy224;
|
|
case 'U':
|
|
case 'u': goto yy238;
|
|
case 'V':
|
|
case 'v': goto yy236;
|
|
case 'W':
|
|
case 'w': goto yy226;
|
|
case 'X':
|
|
case 'x': goto yy254;
|
|
case '^': goto yy252;
|
|
case '_': goto yy239;
|
|
case '`': goto yy274;
|
|
case '{': goto yy258;
|
|
case '|': goto yy251;
|
|
case '}': goto yy260;
|
|
default: goto yy265;
|
|
}
|
|
yy218:
|
|
YYDEBUG(218, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(-1, yych);
|
|
switch ((yych = *YYCURSOR)) {
|
|
case 'C':
|
|
case 'c': goto yy808;
|
|
case 'L':
|
|
case 'l': goto yy809;
|
|
case 'M':
|
|
case 'm': goto yy810;
|
|
case 'N':
|
|
case 'n': goto yy811;
|
|
case 'V':
|
|
case 'v': goto yy812;
|
|
case 'X':
|
|
case 'x': goto yy813;
|
|
default: goto yy296;
|
|
}
|
|
yy219:
|
|
YYDEBUG(219, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1467 "Zend/zend_language_scanner.l"
|
|
{
|
|
zend_copy_value(zendlval, yytext, yyleng);
|
|
zendlval->type = IS_STRING;
|
|
return T_STRING;
|
|
}
|
|
#line 3065 "Zend/zend_language_scanner.c"
|
|
yy220:
|
|
YYDEBUG(220, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= 'O') {
|
|
if (yych <= 'H') {
|
|
if (yych == 'E') goto yy790;
|
|
goto yy296;
|
|
} else {
|
|
if (yych <= 'I') goto yy791;
|
|
if (yych <= 'N') goto yy296;
|
|
goto yy792;
|
|
}
|
|
} else {
|
|
if (yych <= 'h') {
|
|
if (yych == 'e') goto yy790;
|
|
goto yy296;
|
|
} else {
|
|
if (yych <= 'i') goto yy791;
|
|
if (yych == 'o') goto yy792;
|
|
goto yy296;
|
|
}
|
|
}
|
|
yy221:
|
|
YYDEBUG(221, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= 'U') {
|
|
if (yych <= 'N') {
|
|
if (yych == 'I') goto yy769;
|
|
goto yy296;
|
|
} else {
|
|
if (yych <= 'O') goto yy770;
|
|
if (yych <= 'T') goto yy296;
|
|
goto yy771;
|
|
}
|
|
} else {
|
|
if (yych <= 'n') {
|
|
if (yych == 'i') goto yy769;
|
|
goto yy296;
|
|
} else {
|
|
if (yych <= 'o') goto yy770;
|
|
if (yych == 'u') goto yy771;
|
|
goto yy296;
|
|
}
|
|
}
|
|
yy222:
|
|
YYDEBUG(222, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= 'O') {
|
|
if (yych <= 'K') {
|
|
if (yych == 'A') goto yy741;
|
|
goto yy296;
|
|
} else {
|
|
if (yych <= 'L') goto yy742;
|
|
if (yych <= 'N') goto yy296;
|
|
goto yy743;
|
|
}
|
|
} else {
|
|
if (yych <= 'k') {
|
|
if (yych == 'a') goto yy741;
|
|
goto yy296;
|
|
} else {
|
|
if (yych <= 'l') goto yy742;
|
|
if (yych == 'o') goto yy743;
|
|
goto yy296;
|
|
}
|
|
}
|
|
yy223:
|
|
YYDEBUG(223, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy723;
|
|
if (yych == 'e') goto yy723;
|
|
goto yy296;
|
|
yy224:
|
|
YYDEBUG(224, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= 'R') {
|
|
if (yych == 'H') goto yy715;
|
|
if (yych <= 'Q') goto yy296;
|
|
goto yy716;
|
|
} else {
|
|
if (yych <= 'h') {
|
|
if (yych <= 'g') goto yy296;
|
|
goto yy715;
|
|
} else {
|
|
if (yych == 'r') goto yy716;
|
|
goto yy296;
|
|
}
|
|
}
|
|
yy225:
|
|
YYDEBUG(225, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= 'S') {
|
|
if (yych <= 'L') {
|
|
if (yych == 'F') goto yy668;
|
|
goto yy296;
|
|
} else {
|
|
if (yych <= 'M') goto yy670;
|
|
if (yych <= 'N') goto yy671;
|
|
if (yych <= 'R') goto yy296;
|
|
goto yy672;
|
|
}
|
|
} else {
|
|
if (yych <= 'm') {
|
|
if (yych == 'f') goto yy668;
|
|
if (yych <= 'l') goto yy296;
|
|
goto yy670;
|
|
} else {
|
|
if (yych <= 'n') goto yy671;
|
|
if (yych == 's') goto yy672;
|
|
goto yy296;
|
|
}
|
|
}
|
|
yy226:
|
|
YYDEBUG(226, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'H') goto yy663;
|
|
if (yych == 'h') goto yy663;
|
|
goto yy296;
|
|
yy227:
|
|
YYDEBUG(227, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= 'S') {
|
|
if (yych <= 'M') {
|
|
if (yych == 'B') goto yy645;
|
|
goto yy296;
|
|
} else {
|
|
if (yych <= 'N') goto yy646;
|
|
if (yych <= 'Q') goto yy296;
|
|
if (yych <= 'R') goto yy647;
|
|
goto yy648;
|
|
}
|
|
} else {
|
|
if (yych <= 'n') {
|
|
if (yych == 'b') goto yy645;
|
|
if (yych <= 'm') goto yy296;
|
|
goto yy646;
|
|
} else {
|
|
if (yych <= 'q') goto yy296;
|
|
if (yych <= 'r') goto yy647;
|
|
if (yych <= 's') goto yy648;
|
|
goto yy296;
|
|
}
|
|
}
|
|
yy228:
|
|
YYDEBUG(228, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= 'W') {
|
|
if (yych == 'T') goto yy633;
|
|
if (yych <= 'V') goto yy296;
|
|
goto yy634;
|
|
} else {
|
|
if (yych <= 't') {
|
|
if (yych <= 's') goto yy296;
|
|
goto yy633;
|
|
} else {
|
|
if (yych == 'w') goto yy634;
|
|
goto yy296;
|
|
}
|
|
}
|
|
yy229:
|
|
YYDEBUG(229, *YYCURSOR);
|
|
yyaccept = 0;
|
|
yych = *(YYMARKER = ++YYCURSOR);
|
|
if (yych <= 'Q') {
|
|
if (yych <= '/') {
|
|
if (yych <= '"') {
|
|
if (yych <= '!') goto yy219;
|
|
goto yy626;
|
|
} else {
|
|
if (yych == '\'') goto yy277;
|
|
goto yy219;
|
|
}
|
|
} else {
|
|
if (yych <= ';') {
|
|
if (yych <= '9') goto yy295;
|
|
goto yy219;
|
|
} else {
|
|
if (yych <= '<') goto yy625;
|
|
if (yych <= '@') goto yy219;
|
|
goto yy295;
|
|
}
|
|
}
|
|
} else {
|
|
if (yych <= '`') {
|
|
if (yych <= 'Z') {
|
|
if (yych <= 'R') goto yy627;
|
|
goto yy295;
|
|
} else {
|
|
if (yych == '_') goto yy295;
|
|
goto yy219;
|
|
}
|
|
} else {
|
|
if (yych <= 'r') {
|
|
if (yych <= 'q') goto yy295;
|
|
goto yy627;
|
|
} else {
|
|
if (yych <= 'z') goto yy295;
|
|
if (yych <= '~') goto yy219;
|
|
goto yy295;
|
|
}
|
|
}
|
|
}
|
|
yy230:
|
|
YYDEBUG(230, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= 'O') {
|
|
if (yych == 'L') goto yy615;
|
|
if (yych <= 'N') goto yy296;
|
|
goto yy616;
|
|
} else {
|
|
if (yych <= 'l') {
|
|
if (yych <= 'k') goto yy296;
|
|
goto yy615;
|
|
} else {
|
|
if (yych == 'o') goto yy616;
|
|
goto yy296;
|
|
}
|
|
}
|
|
yy231:
|
|
YYDEBUG(231, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= 'U') {
|
|
if (yych == 'R') goto yy591;
|
|
if (yych <= 'T') goto yy296;
|
|
goto yy592;
|
|
} else {
|
|
if (yych <= 'r') {
|
|
if (yych <= 'q') goto yy296;
|
|
goto yy591;
|
|
} else {
|
|
if (yych == 'u') goto yy592;
|
|
goto yy296;
|
|
}
|
|
}
|
|
yy232:
|
|
YYDEBUG(232, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if ((yych = *YYCURSOR) <= '<') {
|
|
if (yych == '-') goto yy587;
|
|
} else {
|
|
if (yych <= '=') goto yy585;
|
|
if (yych <= '>') goto yy589;
|
|
}
|
|
yy233:
|
|
YYDEBUG(233, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1078 "Zend/zend_language_scanner.l"
|
|
{
|
|
return yytext[0];
|
|
}
|
|
#line 3316 "Zend/zend_language_scanner.c"
|
|
yy234:
|
|
YYDEBUG(234, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == ':') goto yy583;
|
|
goto yy233;
|
|
yy235:
|
|
YYDEBUG(235, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= 'E') {
|
|
if (yych == 'A') goto yy571;
|
|
if (yych <= 'D') goto yy296;
|
|
goto yy572;
|
|
} else {
|
|
if (yych <= 'a') {
|
|
if (yych <= '`') goto yy296;
|
|
goto yy571;
|
|
} else {
|
|
if (yych == 'e') goto yy572;
|
|
goto yy296;
|
|
}
|
|
}
|
|
yy236:
|
|
YYDEBUG(236, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'A') goto yy568;
|
|
if (yych == 'a') goto yy568;
|
|
goto yy296;
|
|
yy237:
|
|
YYDEBUG(237, *YYCURSOR);
|
|
yyaccept = 1;
|
|
yych = *(YYMARKER = ++YYCURSOR);
|
|
if (yych <= 'S') {
|
|
if (yych <= 'D') {
|
|
if (yych <= ' ') {
|
|
if (yych == '\t') goto yy489;
|
|
if (yych <= 0x1F) goto yy233;
|
|
goto yy489;
|
|
} else {
|
|
if (yych <= '@') goto yy233;
|
|
if (yych == 'C') goto yy233;
|
|
goto yy489;
|
|
}
|
|
} else {
|
|
if (yych <= 'I') {
|
|
if (yych == 'F') goto yy489;
|
|
if (yych <= 'H') goto yy233;
|
|
goto yy489;
|
|
} else {
|
|
if (yych == 'O') goto yy489;
|
|
if (yych <= 'Q') goto yy233;
|
|
goto yy489;
|
|
}
|
|
}
|
|
} else {
|
|
if (yych <= 'f') {
|
|
if (yych <= 'b') {
|
|
if (yych == 'U') goto yy489;
|
|
if (yych <= '`') goto yy233;
|
|
goto yy489;
|
|
} else {
|
|
if (yych == 'd') goto yy489;
|
|
if (yych <= 'e') goto yy233;
|
|
goto yy489;
|
|
}
|
|
} else {
|
|
if (yych <= 'o') {
|
|
if (yych == 'i') goto yy489;
|
|
if (yych <= 'n') goto yy233;
|
|
goto yy489;
|
|
} else {
|
|
if (yych <= 's') {
|
|
if (yych <= 'q') goto yy233;
|
|
goto yy489;
|
|
} else {
|
|
if (yych == 'u') goto yy489;
|
|
goto yy233;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
yy238:
|
|
YYDEBUG(238, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= 'S') {
|
|
if (yych == 'N') goto yy480;
|
|
if (yych <= 'R') goto yy296;
|
|
goto yy481;
|
|
} else {
|
|
if (yych <= 'n') {
|
|
if (yych <= 'm') goto yy296;
|
|
goto yy480;
|
|
} else {
|
|
if (yych == 's') goto yy481;
|
|
goto yy296;
|
|
}
|
|
}
|
|
yy239:
|
|
YYDEBUG(239, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == '_') goto yy406;
|
|
goto yy296;
|
|
yy240:
|
|
YYDEBUG(240, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= '<') goto yy233;
|
|
if (yych <= '=') goto yy400;
|
|
if (yych <= '>') goto yy402;
|
|
goto yy233;
|
|
yy241:
|
|
YYDEBUG(241, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'I') goto yy396;
|
|
if (yych == 'i') goto yy396;
|
|
goto yy296;
|
|
yy242:
|
|
YYDEBUG(242, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == '+') goto yy394;
|
|
if (yych == '=') goto yy392;
|
|
goto yy233;
|
|
yy243:
|
|
YYDEBUG(243, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == '=') goto yy389;
|
|
goto yy233;
|
|
yy244:
|
|
YYDEBUG(244, *YYCURSOR);
|
|
yyaccept = 1;
|
|
yych = *(YYMARKER = ++YYCURSOR);
|
|
if (yych <= ';') {
|
|
if (yych == '/') goto yy361;
|
|
goto yy233;
|
|
} else {
|
|
if (yych <= '<') goto yy359;
|
|
if (yych <= '=') goto yy362;
|
|
if (yych <= '>') goto yy364;
|
|
goto yy233;
|
|
}
|
|
yy245:
|
|
YYDEBUG(245, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= '<') goto yy233;
|
|
if (yych <= '=') goto yy355;
|
|
if (yych <= '>') goto yy353;
|
|
goto yy233;
|
|
yy246:
|
|
YYDEBUG(246, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == '=') goto yy351;
|
|
goto yy233;
|
|
yy247:
|
|
YYDEBUG(247, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= '.') {
|
|
if (yych == '*') goto yy342;
|
|
goto yy233;
|
|
} else {
|
|
if (yych <= '/') goto yy344;
|
|
if (yych == '=') goto yy345;
|
|
goto yy233;
|
|
}
|
|
yy248:
|
|
YYDEBUG(248, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= '/') goto yy233;
|
|
if (yych <= '9') goto yy338;
|
|
if (yych == '=') goto yy340;
|
|
goto yy233;
|
|
yy249:
|
|
YYDEBUG(249, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= '<') goto yy233;
|
|
if (yych <= '=') goto yy334;
|
|
if (yych <= '>') goto yy332;
|
|
goto yy233;
|
|
yy250:
|
|
YYDEBUG(250, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == '&') goto yy328;
|
|
if (yych == '=') goto yy330;
|
|
goto yy233;
|
|
yy251:
|
|
YYDEBUG(251, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == '=') goto yy326;
|
|
if (yych == '|') goto yy324;
|
|
goto yy233;
|
|
yy252:
|
|
YYDEBUG(252, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == '=') goto yy322;
|
|
goto yy233;
|
|
yy253:
|
|
YYDEBUG(253, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'R') goto yy320;
|
|
if (yych == 'r') goto yy320;
|
|
goto yy296;
|
|
yy254:
|
|
YYDEBUG(254, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'O') goto yy317;
|
|
if (yych == 'o') goto yy317;
|
|
goto yy296;
|
|
yy255:
|
|
YYDEBUG(255, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= '_') {
|
|
if (yych <= '@') goto yy233;
|
|
if (yych <= 'Z') goto yy314;
|
|
if (yych <= '^') goto yy233;
|
|
goto yy314;
|
|
} else {
|
|
if (yych <= '`') goto yy233;
|
|
if (yych <= 'z') goto yy314;
|
|
if (yych <= '~') goto yy233;
|
|
goto yy314;
|
|
}
|
|
yy256:
|
|
YYDEBUG(256, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
goto yy233;
|
|
yy257:
|
|
YYDEBUG(257, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == '>') goto yy310;
|
|
goto yy233;
|
|
yy258:
|
|
YYDEBUG(258, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(259, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1083 "Zend/zend_language_scanner.l"
|
|
{
|
|
yy_push_state(ST_IN_SCRIPTING TSRMLS_CC);
|
|
return '{';
|
|
}
|
|
#line 3554 "Zend/zend_language_scanner.c"
|
|
yy260:
|
|
YYDEBUG(260, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(261, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1095 "Zend/zend_language_scanner.l"
|
|
{
|
|
RESET_DOC_COMMENT();
|
|
/* This is a temporary fix which is dependant on flex and it's implementation */
|
|
if (!zend_stack_is_empty(&SCNG(state_stack))) {
|
|
yy_pop_state(TSRMLS_C);
|
|
}
|
|
return '}';
|
|
}
|
|
#line 3569 "Zend/zend_language_scanner.c"
|
|
yy262:
|
|
YYDEBUG(262, *YYCURSOR);
|
|
yyaccept = 2;
|
|
yych = *(YYMARKER = ++YYCURSOR);
|
|
if (yych <= 'E') {
|
|
if (yych <= '/') {
|
|
if (yych == '.') goto yy297;
|
|
} else {
|
|
if (yych <= '9') goto yy300;
|
|
if (yych >= 'E') goto yy302;
|
|
}
|
|
} else {
|
|
if (yych <= 'd') {
|
|
if (yych == 'X') goto yy306;
|
|
} else {
|
|
if (yych <= 'e') goto yy302;
|
|
if (yych == 'x') goto yy306;
|
|
}
|
|
}
|
|
yy263:
|
|
YYDEBUG(263, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1122 "Zend/zend_language_scanner.l"
|
|
{
|
|
if (yyleng < MAX_LENGTH_OF_LONG - 1) { /* Won't overflow */
|
|
zendlval->value.lval = strtol(yytext, NULL, 0);
|
|
} else {
|
|
errno = 0;
|
|
zendlval->value.lval = strtol(yytext, NULL, 0);
|
|
if (errno == ERANGE) { /* Overflow */
|
|
if (yytext[0] == '0') { /* octal overflow */
|
|
zendlval->value.dval = zend_oct_strtod(yytext, NULL);
|
|
} else {
|
|
zendlval->value.dval = zend_strtod(yytext, NULL);
|
|
}
|
|
zendlval->type = IS_DOUBLE;
|
|
return T_DNUMBER;
|
|
}
|
|
}
|
|
|
|
zendlval->type = IS_LONG;
|
|
return T_LNUMBER;
|
|
}
|
|
#line 3613 "Zend/zend_language_scanner.c"
|
|
yy264:
|
|
YYDEBUG(264, *YYCURSOR);
|
|
yyaccept = 2;
|
|
yych = *(YYMARKER = ++YYCURSOR);
|
|
if (yych <= '9') {
|
|
if (yych == '.') goto yy297;
|
|
if (yych <= '/') goto yy263;
|
|
goto yy300;
|
|
} else {
|
|
if (yych <= 'E') {
|
|
if (yych <= 'D') goto yy263;
|
|
goto yy302;
|
|
} else {
|
|
if (yych == 'e') goto yy302;
|
|
goto yy263;
|
|
}
|
|
}
|
|
yy265:
|
|
YYDEBUG(265, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
goto yy296;
|
|
yy266:
|
|
YYDEBUG(266, *YYCURSOR);
|
|
++YYCURSOR;
|
|
yych = *YYCURSOR;
|
|
goto yy294;
|
|
yy267:
|
|
YYDEBUG(267, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1474 "Zend/zend_language_scanner.l"
|
|
{
|
|
zendlval->value.str.val = yytext; /* no copying - intentional */
|
|
zendlval->value.str.len = yyleng;
|
|
zendlval->type = IS_STRING;
|
|
HANDLE_NEWLINES(yytext, yyleng);
|
|
return T_WHITESPACE;
|
|
}
|
|
#line 3651 "Zend/zend_language_scanner.c"
|
|
yy268:
|
|
YYDEBUG(268, *YYCURSOR);
|
|
++YYCURSOR;
|
|
yy269:
|
|
YYDEBUG(269, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1483 "Zend/zend_language_scanner.l"
|
|
{
|
|
BEGIN(ST_ONE_LINE_COMMENT);
|
|
yymore();
|
|
}
|
|
#line 3663 "Zend/zend_language_scanner.c"
|
|
yy270:
|
|
YYDEBUG(270, *YYCURSOR);
|
|
yyaccept = 3;
|
|
yych = *(YYMARKER = ++YYCURSOR);
|
|
goto yy286;
|
|
yy271:
|
|
YYDEBUG(271, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1646 "Zend/zend_language_scanner.l"
|
|
{
|
|
BEGIN(ST_DOUBLE_QUOTES);
|
|
return '"';
|
|
}
|
|
#line 3677 "Zend/zend_language_scanner.c"
|
|
yy272:
|
|
YYDEBUG(272, *YYCURSOR);
|
|
yyaccept = 4;
|
|
yych = *(YYMARKER = ++YYCURSOR);
|
|
goto yy278;
|
|
yy273:
|
|
YYDEBUG(273, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1920 "Zend/zend_language_scanner.l"
|
|
{
|
|
zend_error(E_COMPILE_WARNING,"Unexpected character in input: '%c' (ASCII=%d) state=%d", yytext[0], yytext[0], YYSTATE);
|
|
goto restart;
|
|
}
|
|
#line 3691 "Zend/zend_language_scanner.c"
|
|
yy274:
|
|
YYDEBUG(274, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(275, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1669 "Zend/zend_language_scanner.l"
|
|
{
|
|
BEGIN(ST_BACKQUOTE);
|
|
return '`';
|
|
}
|
|
#line 3702 "Zend/zend_language_scanner.c"
|
|
yy276:
|
|
YYDEBUG(276, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
goto yy273;
|
|
yy277:
|
|
YYDEBUG(277, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
yy278:
|
|
YYDEBUG(278, *YYCURSOR);
|
|
if (yybm[256+yych] & 128) {
|
|
goto yy277;
|
|
}
|
|
if (yych <= '[') goto yy280;
|
|
YYDEBUG(279, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
goto yy277;
|
|
yy280:
|
|
YYDEBUG(280, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(281, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1602 "Zend/zend_language_scanner.l"
|
|
{
|
|
register char *s, *t;
|
|
char *end;
|
|
int bprefix = (yytext[0] != '\'') ? 1 : 0;
|
|
|
|
zendlval->value.str.val = estrndup(yytext+bprefix+1, yyleng-bprefix-2);
|
|
zendlval->value.str.len = yyleng-bprefix-2;
|
|
zendlval->type = IS_STRING;
|
|
|
|
/* convert escape sequences */
|
|
s = t = zendlval->value.str.val;
|
|
end = s+zendlval->value.str.len;
|
|
while (s<end) {
|
|
if (*s=='\\') {
|
|
s++;
|
|
if (s>=end) {
|
|
continue;
|
|
}
|
|
switch(*s) {
|
|
case '\\':
|
|
case '\'':
|
|
*t++ = *s;
|
|
zendlval->value.str.len--;
|
|
break;
|
|
default:
|
|
*t++ = '\\';
|
|
*t++ = *s;
|
|
break;
|
|
}
|
|
} else {
|
|
*t++ = *s;
|
|
}
|
|
|
|
if (*s == '\n' || (*s == '\r' && (*(s+1) != '\n'))) {
|
|
CG(zend_lineno)++;
|
|
}
|
|
s++;
|
|
}
|
|
*t = 0;
|
|
|
|
return T_CONSTANT_ENCAPSED_STRING;
|
|
}
|
|
#line 3771 "Zend/zend_language_scanner.c"
|
|
yy282:
|
|
YYDEBUG(282, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(283, *YYCURSOR);
|
|
if (yybm[0+yych] & 2) {
|
|
goto yy285;
|
|
}
|
|
if (yych <= '#') goto yy290;
|
|
if (yych <= '$') goto yy284;
|
|
if (yych <= 'z') goto yy287;
|
|
goto yy282;
|
|
yy284:
|
|
YYDEBUG(284, *YYCURSOR);
|
|
YYCURSOR = YYMARKER;
|
|
if (yyaccept <= 3) {
|
|
if (yyaccept <= 1) {
|
|
if (yyaccept <= 0) {
|
|
goto yy219;
|
|
} else {
|
|
goto yy233;
|
|
}
|
|
} else {
|
|
if (yyaccept <= 2) {
|
|
goto yy263;
|
|
} else {
|
|
goto yy271;
|
|
}
|
|
}
|
|
} else {
|
|
if (yyaccept <= 5) {
|
|
if (yyaccept <= 4) {
|
|
goto yy273;
|
|
} else {
|
|
goto yy299;
|
|
}
|
|
} else {
|
|
if (yyaccept <= 6) {
|
|
goto yy343;
|
|
} else {
|
|
goto yy360;
|
|
}
|
|
}
|
|
}
|
|
yy285:
|
|
YYDEBUG(285, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
yy286:
|
|
YYDEBUG(286, *YYCURSOR);
|
|
if (yybm[0+yych] & 2) {
|
|
goto yy285;
|
|
}
|
|
if (yych <= '#') goto yy290;
|
|
if (yych <= '$') goto yy288;
|
|
if (yych >= '{') goto yy282;
|
|
yy287:
|
|
YYDEBUG(287, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
goto yy285;
|
|
yy288:
|
|
YYDEBUG(288, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(289, *YYCURSOR);
|
|
if (yybm[0+yych] & 4) {
|
|
goto yy288;
|
|
}
|
|
if (yych <= '\\') {
|
|
if (yych <= '@') {
|
|
if (yych != '"') goto yy285;
|
|
} else {
|
|
if (yych <= 'Z') goto yy284;
|
|
if (yych <= '[') goto yy285;
|
|
goto yy292;
|
|
}
|
|
} else {
|
|
if (yych <= '`') {
|
|
if (yych == '_') goto yy284;
|
|
goto yy285;
|
|
} else {
|
|
if (yych <= '{') goto yy284;
|
|
if (yych <= '~') goto yy285;
|
|
goto yy284;
|
|
}
|
|
}
|
|
yy290:
|
|
YYDEBUG(290, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(291, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1594 "Zend/zend_language_scanner.l"
|
|
{
|
|
int bprefix = (yytext[0] != '"') ? 1 : 0;
|
|
|
|
zend_scan_escape_string(zendlval, yytext+bprefix+1, yyleng-bprefix-2, '"' TSRMLS_CC);
|
|
return T_CONSTANT_ENCAPSED_STRING;
|
|
}
|
|
#line 3875 "Zend/zend_language_scanner.c"
|
|
yy292:
|
|
YYDEBUG(292, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
goto yy285;
|
|
yy293:
|
|
YYDEBUG(293, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
yy294:
|
|
YYDEBUG(294, *YYCURSOR);
|
|
if (yybm[0+yych] & 8) {
|
|
goto yy293;
|
|
}
|
|
goto yy267;
|
|
yy295:
|
|
YYDEBUG(295, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
yy296:
|
|
YYDEBUG(296, *YYCURSOR);
|
|
if (yybm[0+yych] & 16) {
|
|
goto yy295;
|
|
}
|
|
goto yy219;
|
|
yy297:
|
|
YYDEBUG(297, *YYCURSOR);
|
|
yyaccept = 5;
|
|
YYMARKER = ++YYCURSOR;
|
|
YYFILL(3);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(298, *YYCURSOR);
|
|
if (yybm[0+yych] & 32) {
|
|
goto yy297;
|
|
}
|
|
if (yych == 'E') goto yy302;
|
|
if (yych == 'e') goto yy302;
|
|
yy299:
|
|
YYDEBUG(299, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1183 "Zend/zend_language_scanner.l"
|
|
{
|
|
zendlval->value.dval = zend_strtod(yytext, NULL);
|
|
zendlval->type = IS_DOUBLE;
|
|
return T_DNUMBER;
|
|
}
|
|
#line 3925 "Zend/zend_language_scanner.c"
|
|
yy300:
|
|
YYDEBUG(300, *YYCURSOR);
|
|
yyaccept = 2;
|
|
YYMARKER = ++YYCURSOR;
|
|
YYFILL(3);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(301, *YYCURSOR);
|
|
if (yych <= '9') {
|
|
if (yych == '.') goto yy297;
|
|
if (yych <= '/') goto yy263;
|
|
goto yy300;
|
|
} else {
|
|
if (yych <= 'E') {
|
|
if (yych <= 'D') goto yy263;
|
|
} else {
|
|
if (yych != 'e') goto yy263;
|
|
}
|
|
}
|
|
yy302:
|
|
YYDEBUG(302, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= ',') {
|
|
if (yych != '+') goto yy284;
|
|
} else {
|
|
if (yych <= '-') goto yy303;
|
|
if (yych <= '/') goto yy284;
|
|
if (yych <= '9') goto yy304;
|
|
goto yy284;
|
|
}
|
|
yy303:
|
|
YYDEBUG(303, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= '/') goto yy284;
|
|
if (yych >= ':') goto yy284;
|
|
yy304:
|
|
YYDEBUG(304, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(305, *YYCURSOR);
|
|
if (yych <= '/') goto yy299;
|
|
if (yych <= '9') goto yy304;
|
|
goto yy299;
|
|
yy306:
|
|
YYDEBUG(306, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yybm[0+yych] & 64) {
|
|
goto yy307;
|
|
}
|
|
goto yy284;
|
|
yy307:
|
|
YYDEBUG(307, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(308, *YYCURSOR);
|
|
if (yybm[0+yych] & 64) {
|
|
goto yy307;
|
|
}
|
|
YYDEBUG(309, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1143 "Zend/zend_language_scanner.l"
|
|
{
|
|
char *hex = yytext + 2; /* Skip "0x" */
|
|
int len = yyleng - 2;
|
|
|
|
/* Skip any leading 0s */
|
|
while (*hex == '0') {
|
|
hex++;
|
|
len--;
|
|
}
|
|
|
|
if (len < SIZEOF_LONG * 2 || (len == SIZEOF_LONG * 2 && *hex <= '7')) {
|
|
zendlval->value.lval = strtol(hex, NULL, 16);
|
|
zendlval->type = IS_LONG;
|
|
return T_LNUMBER;
|
|
} else {
|
|
zendlval->value.dval = zend_hex_strtod(hex, NULL);
|
|
zendlval->type = IS_DOUBLE;
|
|
return T_DNUMBER;
|
|
}
|
|
}
|
|
#line 4008 "Zend/zend_language_scanner.c"
|
|
yy310:
|
|
YYDEBUG(310, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if ((yych = *YYCURSOR) == '\n') goto yy312;
|
|
if (yych == '\r') goto yy313;
|
|
yy311:
|
|
YYDEBUG(311, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1569 "Zend/zend_language_scanner.l"
|
|
{
|
|
zendlval->value.str.val = yytext; /* no copying - intentional */
|
|
zendlval->value.str.len = yyleng;
|
|
zendlval->type = IS_STRING;
|
|
BEGIN(INITIAL);
|
|
return T_CLOSE_TAG; /* implicit ';' at php-end tag */
|
|
}
|
|
#line 4025 "Zend/zend_language_scanner.c"
|
|
yy312:
|
|
YYDEBUG(312, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
goto yy311;
|
|
yy313:
|
|
YYDEBUG(313, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == '\n') goto yy312;
|
|
goto yy311;
|
|
yy314:
|
|
YYDEBUG(314, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(315, *YYCURSOR);
|
|
if (yych <= '^') {
|
|
if (yych <= '9') {
|
|
if (yych >= '0') goto yy314;
|
|
} else {
|
|
if (yych <= '@') goto yy316;
|
|
if (yych <= 'Z') goto yy314;
|
|
}
|
|
} else {
|
|
if (yych <= '`') {
|
|
if (yych <= '_') goto yy314;
|
|
} else {
|
|
if (yych <= 'z') goto yy314;
|
|
if (yych >= 0x7F) goto yy314;
|
|
}
|
|
}
|
|
yy316:
|
|
YYDEBUG(316, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1443 "Zend/zend_language_scanner.l"
|
|
{
|
|
zend_copy_value(zendlval, (yytext+1), (yyleng-1));
|
|
zendlval->type = IS_STRING;
|
|
return T_VARIABLE;
|
|
}
|
|
#line 4065 "Zend/zend_language_scanner.c"
|
|
yy317:
|
|
YYDEBUG(317, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'R') goto yy318;
|
|
if (yych != 'r') goto yy296;
|
|
yy318:
|
|
YYDEBUG(318, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(319, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1066 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_LOGICAL_XOR;
|
|
}
|
|
#line 4083 "Zend/zend_language_scanner.c"
|
|
yy320:
|
|
YYDEBUG(320, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(321, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1058 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_LOGICAL_OR;
|
|
}
|
|
#line 4096 "Zend/zend_language_scanner.c"
|
|
yy322:
|
|
YYDEBUG(322, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(323, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1046 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_XOR_EQUAL;
|
|
}
|
|
#line 4106 "Zend/zend_language_scanner.c"
|
|
yy324:
|
|
YYDEBUG(324, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(325, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1050 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_BOOLEAN_OR;
|
|
}
|
|
#line 4116 "Zend/zend_language_scanner.c"
|
|
yy326:
|
|
YYDEBUG(326, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(327, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1042 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_OR_EQUAL;
|
|
}
|
|
#line 4126 "Zend/zend_language_scanner.c"
|
|
yy328:
|
|
YYDEBUG(328, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(329, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1054 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_BOOLEAN_AND;
|
|
}
|
|
#line 4136 "Zend/zend_language_scanner.c"
|
|
yy330:
|
|
YYDEBUG(330, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(331, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1038 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_AND_EQUAL;
|
|
}
|
|
#line 4146 "Zend/zend_language_scanner.c"
|
|
yy332:
|
|
YYDEBUG(332, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if ((yych = *YYCURSOR) == '\n') goto yy336;
|
|
if (yych == '\r') goto yy337;
|
|
yy333:
|
|
YYDEBUG(333, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1578 "Zend/zend_language_scanner.l"
|
|
{
|
|
if (CG(asp_tags)) {
|
|
BEGIN(INITIAL);
|
|
zendlval->value.str.len = yyleng;
|
|
zendlval->type = IS_STRING;
|
|
zendlval->value.str.val = yytext; /* no copying - intentional */
|
|
return T_CLOSE_TAG; /* implicit ';' at php-end tag */
|
|
} else {
|
|
yyless(1);
|
|
return yytext[0];
|
|
}
|
|
}
|
|
#line 4168 "Zend/zend_language_scanner.c"
|
|
yy334:
|
|
YYDEBUG(334, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(335, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1026 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_MOD_EQUAL;
|
|
}
|
|
#line 4178 "Zend/zend_language_scanner.c"
|
|
yy336:
|
|
YYDEBUG(336, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
goto yy333;
|
|
yy337:
|
|
YYDEBUG(337, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == '\n') goto yy336;
|
|
goto yy333;
|
|
yy338:
|
|
YYDEBUG(338, *YYCURSOR);
|
|
yyaccept = 5;
|
|
YYMARKER = ++YYCURSOR;
|
|
YYFILL(3);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(339, *YYCURSOR);
|
|
if (yych <= 'D') {
|
|
if (yych <= '/') goto yy299;
|
|
if (yych <= '9') goto yy338;
|
|
goto yy299;
|
|
} else {
|
|
if (yych <= 'E') goto yy302;
|
|
if (yych == 'e') goto yy302;
|
|
goto yy299;
|
|
}
|
|
yy340:
|
|
YYDEBUG(340, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(341, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1022 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_CONCAT_EQUAL;
|
|
}
|
|
#line 4213 "Zend/zend_language_scanner.c"
|
|
yy342:
|
|
YYDEBUG(342, *YYCURSOR);
|
|
yyaccept = 6;
|
|
yych = *(YYMARKER = ++YYCURSOR);
|
|
if (yych == '*') goto yy347;
|
|
yy343:
|
|
YYDEBUG(343, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1540 "Zend/zend_language_scanner.l"
|
|
{
|
|
CG(comment_start_line) = CG(zend_lineno);
|
|
BEGIN(ST_COMMENT);
|
|
yymore();
|
|
}
|
|
#line 4228 "Zend/zend_language_scanner.c"
|
|
yy344:
|
|
YYDEBUG(344, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
goto yy269;
|
|
yy345:
|
|
YYDEBUG(345, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(346, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1018 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_DIV_EQUAL;
|
|
}
|
|
#line 4242 "Zend/zend_language_scanner.c"
|
|
yy347:
|
|
YYDEBUG(347, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= '\f') {
|
|
if (yych <= 0x08) goto yy284;
|
|
if (yych >= '\v') goto yy284;
|
|
} else {
|
|
if (yych <= '\r') goto yy348;
|
|
if (yych != ' ') goto yy284;
|
|
}
|
|
yy348:
|
|
YYDEBUG(348, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(349, *YYCURSOR);
|
|
if (yych <= '\f') {
|
|
if (yych <= 0x08) goto yy350;
|
|
if (yych <= '\n') goto yy348;
|
|
} else {
|
|
if (yych <= '\r') goto yy348;
|
|
if (yych == ' ') goto yy348;
|
|
}
|
|
yy350:
|
|
YYDEBUG(350, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1533 "Zend/zend_language_scanner.l"
|
|
{
|
|
CG(comment_start_line) = CG(zend_lineno);
|
|
RESET_DOC_COMMENT();
|
|
BEGIN(ST_DOC_COMMENT);
|
|
yymore();
|
|
}
|
|
#line 4276 "Zend/zend_language_scanner.c"
|
|
yy351:
|
|
YYDEBUG(351, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(352, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1014 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_MUL_EQUAL;
|
|
}
|
|
#line 4286 "Zend/zend_language_scanner.c"
|
|
yy353:
|
|
YYDEBUG(353, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if ((yych = *YYCURSOR) == '=') goto yy357;
|
|
YYDEBUG(354, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1074 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_SR;
|
|
}
|
|
#line 4297 "Zend/zend_language_scanner.c"
|
|
yy355:
|
|
YYDEBUG(355, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(356, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1002 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_IS_GREATER_OR_EQUAL;
|
|
}
|
|
#line 4307 "Zend/zend_language_scanner.c"
|
|
yy357:
|
|
YYDEBUG(357, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(358, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1034 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_SR_EQUAL;
|
|
}
|
|
#line 4317 "Zend/zend_language_scanner.c"
|
|
yy359:
|
|
YYDEBUG(359, *YYCURSOR);
|
|
yyaccept = 7;
|
|
yych = *(YYMARKER = ++YYCURSOR);
|
|
if (yych <= ';') goto yy360;
|
|
if (yych <= '<') goto yy375;
|
|
if (yych <= '=') goto yy373;
|
|
yy360:
|
|
YYDEBUG(360, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1070 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_SL;
|
|
}
|
|
#line 4332 "Zend/zend_language_scanner.c"
|
|
yy361:
|
|
YYDEBUG(361, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'S') goto yy366;
|
|
if (yych == 's') goto yy366;
|
|
goto yy284;
|
|
yy362:
|
|
YYDEBUG(362, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(363, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 998 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_IS_SMALLER_OR_EQUAL;
|
|
}
|
|
#line 4348 "Zend/zend_language_scanner.c"
|
|
yy364:
|
|
YYDEBUG(364, *YYCURSOR);
|
|
++YYCURSOR;
|
|
yy365:
|
|
YYDEBUG(365, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 994 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_IS_NOT_EQUAL;
|
|
}
|
|
#line 4359 "Zend/zend_language_scanner.c"
|
|
yy366:
|
|
YYDEBUG(366, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'C') goto yy367;
|
|
if (yych != 'c') goto yy284;
|
|
yy367:
|
|
YYDEBUG(367, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'R') goto yy368;
|
|
if (yych != 'r') goto yy284;
|
|
yy368:
|
|
YYDEBUG(368, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'I') goto yy369;
|
|
if (yych != 'i') goto yy284;
|
|
yy369:
|
|
YYDEBUG(369, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'P') goto yy370;
|
|
if (yych != 'p') goto yy284;
|
|
yy370:
|
|
YYDEBUG(370, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'T') goto yy371;
|
|
if (yych != 't') goto yy284;
|
|
yy371:
|
|
YYDEBUG(371, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(3);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(372, *YYCURSOR);
|
|
if (yych <= '\r') {
|
|
if (yych <= 0x08) goto yy284;
|
|
if (yych <= '\n') goto yy371;
|
|
if (yych <= '\f') goto yy284;
|
|
goto yy371;
|
|
} else {
|
|
if (yych <= ' ') {
|
|
if (yych <= 0x1F) goto yy284;
|
|
goto yy371;
|
|
} else {
|
|
if (yych == '>') goto yy310;
|
|
goto yy284;
|
|
}
|
|
}
|
|
yy373:
|
|
YYDEBUG(373, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(374, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1030 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_SL_EQUAL;
|
|
}
|
|
#line 4414 "Zend/zend_language_scanner.c"
|
|
yy375:
|
|
YYDEBUG(375, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(2);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(376, *YYCURSOR);
|
|
if (yybm[0+yych] & 128) {
|
|
goto yy375;
|
|
}
|
|
if (yych <= '^') {
|
|
if (yych <= '\'') {
|
|
if (yych <= '&') goto yy284;
|
|
} else {
|
|
if (yych <= '@') goto yy284;
|
|
if (yych <= 'Z') goto yy378;
|
|
goto yy284;
|
|
}
|
|
} else {
|
|
if (yych <= '`') {
|
|
if (yych <= '_') goto yy378;
|
|
goto yy284;
|
|
} else {
|
|
if (yych <= 'z') goto yy378;
|
|
if (yych <= '~') goto yy284;
|
|
goto yy378;
|
|
}
|
|
}
|
|
YYDEBUG(377, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == '\'') goto yy284;
|
|
if (yych <= '/') goto yy384;
|
|
if (yych <= '9') goto yy284;
|
|
goto yy384;
|
|
yy378:
|
|
YYDEBUG(378, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(2);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(379, *YYCURSOR);
|
|
if (yych <= '@') {
|
|
if (yych <= '\f') {
|
|
if (yych != '\n') goto yy284;
|
|
} else {
|
|
if (yych <= '\r') goto yy382;
|
|
if (yych <= '/') goto yy284;
|
|
if (yych <= '9') goto yy378;
|
|
goto yy284;
|
|
}
|
|
} else {
|
|
if (yych <= '_') {
|
|
if (yych <= 'Z') goto yy378;
|
|
if (yych <= '^') goto yy284;
|
|
goto yy378;
|
|
} else {
|
|
if (yych <= '`') goto yy284;
|
|
if (yych <= 'z') goto yy378;
|
|
if (yych <= '~') goto yy284;
|
|
goto yy378;
|
|
}
|
|
}
|
|
yy380:
|
|
YYDEBUG(380, *YYCURSOR);
|
|
++YYCURSOR;
|
|
yy381:
|
|
YYDEBUG(381, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1652 "Zend/zend_language_scanner.l"
|
|
{
|
|
char *s;
|
|
int bprefix = (yytext[0] != '<') ? 1 : 0;
|
|
|
|
CG(zend_lineno)++;
|
|
CG(heredoc_len) = yyleng-bprefix-3-1-(yytext[yyleng-2]=='\r'?1:0);
|
|
s = yytext+bprefix+3;
|
|
while ((*s == ' ') || (*s == '\t')) {
|
|
s++;
|
|
CG(heredoc_len)--;
|
|
}
|
|
CG(heredoc) = estrndup(s, CG(heredoc_len));
|
|
BEGIN(ST_START_HEREDOC);
|
|
return T_START_HEREDOC;
|
|
}
|
|
#line 4497 "Zend/zend_language_scanner.c"
|
|
yy382:
|
|
YYDEBUG(382, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == '\n') goto yy380;
|
|
goto yy381;
|
|
yy383:
|
|
YYDEBUG(383, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(3);
|
|
yych = *YYCURSOR;
|
|
yy384:
|
|
YYDEBUG(384, *YYCURSOR);
|
|
if (yych <= 'Z') {
|
|
if (yych <= '/') {
|
|
if (yych != '\'') goto yy284;
|
|
} else {
|
|
if (yych <= '9') goto yy383;
|
|
if (yych <= '@') goto yy284;
|
|
goto yy383;
|
|
}
|
|
} else {
|
|
if (yych <= '`') {
|
|
if (yych == '_') goto yy383;
|
|
goto yy284;
|
|
} else {
|
|
if (yych <= 'z') goto yy383;
|
|
if (yych <= '~') goto yy284;
|
|
goto yy383;
|
|
}
|
|
}
|
|
YYDEBUG(385, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == '\n') goto yy386;
|
|
if (yych == '\r') goto yy388;
|
|
goto yy284;
|
|
yy386:
|
|
YYDEBUG(386, *YYCURSOR);
|
|
++YYCURSOR;
|
|
yy387:
|
|
YYDEBUG(387, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1815 "Zend/zend_language_scanner.l"
|
|
{
|
|
int bprefix = (yytext[0] != '<') ? 1 : 0;
|
|
char *s;
|
|
CG(zend_lineno)++;
|
|
/* 3 is <<<, 2 is quotes, 1 is newline */
|
|
CG(heredoc_len) = yyleng-bprefix-3-2-1-(yytext[yyleng-2]=='\r'?1:0);
|
|
s = yytext+bprefix+3;
|
|
while ((*s == ' ') || (*s == '\t')) {
|
|
s++;
|
|
CG(heredoc_len)--;
|
|
}
|
|
s++; /* first quote */
|
|
CG(heredoc) = estrndup(s, CG(heredoc_len));
|
|
BEGIN(ST_START_NOWDOC);
|
|
return T_START_NOWDOC;
|
|
}
|
|
#line 4556 "Zend/zend_language_scanner.c"
|
|
yy388:
|
|
YYDEBUG(388, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == '\n') goto yy386;
|
|
goto yy387;
|
|
yy389:
|
|
YYDEBUG(389, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != '=') goto yy365;
|
|
YYDEBUG(390, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(391, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 986 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_IS_NOT_IDENTICAL;
|
|
}
|
|
#line 4574 "Zend/zend_language_scanner.c"
|
|
yy392:
|
|
YYDEBUG(392, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(393, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1006 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_PLUS_EQUAL;
|
|
}
|
|
#line 4584 "Zend/zend_language_scanner.c"
|
|
yy394:
|
|
YYDEBUG(394, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(395, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 974 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_INC;
|
|
}
|
|
#line 4594 "Zend/zend_language_scanner.c"
|
|
yy396:
|
|
YYDEBUG(396, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'S') goto yy397;
|
|
if (yych != 's') goto yy296;
|
|
yy397:
|
|
YYDEBUG(397, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'T') goto yy398;
|
|
if (yych != 't') goto yy296;
|
|
yy398:
|
|
YYDEBUG(398, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(399, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 966 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_LIST;
|
|
}
|
|
#line 4617 "Zend/zend_language_scanner.c"
|
|
yy400:
|
|
YYDEBUG(400, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if ((yych = *YYCURSOR) == '=') goto yy404;
|
|
YYDEBUG(401, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 990 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_IS_EQUAL;
|
|
}
|
|
#line 4628 "Zend/zend_language_scanner.c"
|
|
yy402:
|
|
YYDEBUG(402, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(403, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 962 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_DOUBLE_ARROW;
|
|
}
|
|
#line 4638 "Zend/zend_language_scanner.c"
|
|
yy404:
|
|
YYDEBUG(404, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(405, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 982 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_IS_IDENTICAL;
|
|
}
|
|
#line 4648 "Zend/zend_language_scanner.c"
|
|
yy406:
|
|
YYDEBUG(406, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= 'H') {
|
|
if (yych <= 'D') {
|
|
if (yych <= 'B') goto yy296;
|
|
if (yych <= 'C') goto yy408;
|
|
goto yy412;
|
|
} else {
|
|
if (yych == 'F') goto yy409;
|
|
if (yych <= 'G') goto yy296;
|
|
}
|
|
} else {
|
|
if (yych <= 'M') {
|
|
if (yych <= 'K') goto yy296;
|
|
if (yych <= 'L') goto yy411;
|
|
goto yy410;
|
|
} else {
|
|
if (yych <= 'N') goto yy413;
|
|
if (yych != 'h') goto yy296;
|
|
}
|
|
}
|
|
YYDEBUG(407, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'A') goto yy467;
|
|
if (yych == 'a') goto yy467;
|
|
goto yy296;
|
|
yy408:
|
|
YYDEBUG(408, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'L') goto yy460;
|
|
goto yy296;
|
|
yy409:
|
|
YYDEBUG(409, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'I') goto yy444;
|
|
if (yych == 'U') goto yy445;
|
|
goto yy296;
|
|
yy410:
|
|
YYDEBUG(410, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy436;
|
|
goto yy296;
|
|
yy411:
|
|
YYDEBUG(411, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'I') goto yy430;
|
|
goto yy296;
|
|
yy412:
|
|
YYDEBUG(412, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'I') goto yy425;
|
|
goto yy296;
|
|
yy413:
|
|
YYDEBUG(413, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != 'A') goto yy296;
|
|
YYDEBUG(414, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != 'M') goto yy296;
|
|
YYDEBUG(415, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != 'E') goto yy296;
|
|
YYDEBUG(416, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != 'S') goto yy296;
|
|
YYDEBUG(417, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != 'P') goto yy296;
|
|
YYDEBUG(418, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != 'A') goto yy296;
|
|
YYDEBUG(419, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != 'C') goto yy296;
|
|
YYDEBUG(420, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != 'E') goto yy296;
|
|
YYDEBUG(421, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != '_') goto yy296;
|
|
YYDEBUG(422, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != '_') goto yy296;
|
|
YYDEBUG(423, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(424, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1287 "Zend/zend_language_scanner.l"
|
|
{
|
|
if (CG(current_namespace)) {
|
|
*zendlval = *CG(current_namespace);
|
|
zval_copy_ctor(zendlval);
|
|
} else {
|
|
ZVAL_EMPTY_STRING(zendlval);
|
|
}
|
|
return T_NS_C;
|
|
}
|
|
#line 4750 "Zend/zend_language_scanner.c"
|
|
yy425:
|
|
YYDEBUG(425, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != 'R') goto yy296;
|
|
YYDEBUG(426, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != '_') goto yy296;
|
|
YYDEBUG(427, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != '_') goto yy296;
|
|
YYDEBUG(428, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(429, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1260 "Zend/zend_language_scanner.l"
|
|
{
|
|
char *filename = zend_get_compiled_filename(TSRMLS_C);
|
|
const size_t filename_len = strlen(filename);
|
|
char *dirname;
|
|
|
|
if (!filename) {
|
|
filename = "";
|
|
}
|
|
|
|
dirname = estrndup(filename, filename_len);
|
|
zend_dirname(dirname, filename_len);
|
|
|
|
if (strcmp(dirname, ".") == 0) {
|
|
dirname = erealloc(dirname, MAXPATHLEN);
|
|
#if HAVE_GETCWD
|
|
VCWD_GETCWD(dirname, MAXPATHLEN);
|
|
#elif HAVE_GETWD
|
|
VCWD_GETWD(dirname);
|
|
#endif
|
|
}
|
|
|
|
zendlval->value.str.len = strlen(dirname);
|
|
zendlval->value.str.val = dirname;
|
|
zendlval->type = IS_STRING;
|
|
return T_DIR;
|
|
}
|
|
#line 4795 "Zend/zend_language_scanner.c"
|
|
yy430:
|
|
YYDEBUG(430, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != 'N') goto yy296;
|
|
YYDEBUG(431, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != 'E') goto yy296;
|
|
YYDEBUG(432, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != '_') goto yy296;
|
|
YYDEBUG(433, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != '_') goto yy296;
|
|
YYDEBUG(434, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(435, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1242 "Zend/zend_language_scanner.l"
|
|
{
|
|
zendlval->value.lval = CG(zend_lineno);
|
|
zendlval->type = IS_LONG;
|
|
return T_LINE;
|
|
}
|
|
#line 4822 "Zend/zend_language_scanner.c"
|
|
yy436:
|
|
YYDEBUG(436, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != 'T') goto yy296;
|
|
YYDEBUG(437, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != 'H') goto yy296;
|
|
YYDEBUG(438, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != 'O') goto yy296;
|
|
YYDEBUG(439, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != 'D') goto yy296;
|
|
YYDEBUG(440, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != '_') goto yy296;
|
|
YYDEBUG(441, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != '_') goto yy296;
|
|
YYDEBUG(442, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(443, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1221 "Zend/zend_language_scanner.l"
|
|
{
|
|
char *class_name = CG(active_class_entry) ? CG(active_class_entry)->name : NULL;
|
|
char *func_name = CG(active_op_array)? CG(active_op_array)->function_name : NULL;
|
|
size_t len = 0;
|
|
|
|
if (class_name) {
|
|
len += strlen(class_name) + 2;
|
|
}
|
|
if (func_name) {
|
|
len += strlen(func_name);
|
|
}
|
|
|
|
zendlval->value.str.len = zend_spprintf(&zendlval->value.str.val, 0, "%s%s%s",
|
|
class_name ? class_name : "",
|
|
class_name && func_name ? "::" : "",
|
|
func_name ? func_name : ""
|
|
);
|
|
zendlval->type = IS_STRING;
|
|
return T_METHOD_C;
|
|
}
|
|
#line 4870 "Zend/zend_language_scanner.c"
|
|
yy444:
|
|
YYDEBUG(444, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'L') goto yy455;
|
|
goto yy296;
|
|
yy445:
|
|
YYDEBUG(445, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != 'N') goto yy296;
|
|
YYDEBUG(446, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != 'C') goto yy296;
|
|
YYDEBUG(447, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != 'T') goto yy296;
|
|
YYDEBUG(448, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != 'I') goto yy296;
|
|
YYDEBUG(449, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != 'O') goto yy296;
|
|
YYDEBUG(450, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != 'N') goto yy296;
|
|
YYDEBUG(451, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != '_') goto yy296;
|
|
YYDEBUG(452, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != '_') goto yy296;
|
|
YYDEBUG(453, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(454, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1205 "Zend/zend_language_scanner.l"
|
|
{
|
|
char *func_name = NULL;
|
|
|
|
if (CG(active_op_array)) {
|
|
func_name = CG(active_op_array)->function_name;
|
|
}
|
|
|
|
if (!func_name) {
|
|
func_name = "";
|
|
}
|
|
zendlval->value.str.len = strlen(func_name);
|
|
zendlval->value.str.val = estrndup(func_name, zendlval->value.str.len);
|
|
zendlval->type = IS_STRING;
|
|
return T_FUNC_C;
|
|
}
|
|
#line 4924 "Zend/zend_language_scanner.c"
|
|
yy455:
|
|
YYDEBUG(455, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != 'E') goto yy296;
|
|
YYDEBUG(456, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != '_') goto yy296;
|
|
YYDEBUG(457, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != '_') goto yy296;
|
|
YYDEBUG(458, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(459, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1248 "Zend/zend_language_scanner.l"
|
|
{
|
|
char *filename = zend_get_compiled_filename(TSRMLS_C);
|
|
|
|
if (!filename) {
|
|
filename = "";
|
|
}
|
|
zendlval->value.str.len = strlen(filename);
|
|
zendlval->value.str.val = estrndup(filename, zendlval->value.str.len);
|
|
zendlval->type = IS_STRING;
|
|
return T_FILE;
|
|
}
|
|
#line 4954 "Zend/zend_language_scanner.c"
|
|
yy460:
|
|
YYDEBUG(460, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != 'A') goto yy296;
|
|
YYDEBUG(461, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != 'S') goto yy296;
|
|
YYDEBUG(462, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != 'S') goto yy296;
|
|
YYDEBUG(463, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != '_') goto yy296;
|
|
YYDEBUG(464, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != '_') goto yy296;
|
|
YYDEBUG(465, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(466, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1189 "Zend/zend_language_scanner.l"
|
|
{
|
|
char *class_name = NULL;
|
|
|
|
if (CG(active_class_entry)) {
|
|
class_name = CG(active_class_entry)->name;
|
|
}
|
|
|
|
if (!class_name) {
|
|
class_name = "";
|
|
}
|
|
zendlval->value.str.len = strlen(class_name);
|
|
zendlval->value.str.val = estrndup(class_name, zendlval->value.str.len);
|
|
zendlval->type = IS_STRING;
|
|
return T_CLASS_C;
|
|
}
|
|
#line 4994 "Zend/zend_language_scanner.c"
|
|
yy467:
|
|
YYDEBUG(467, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'L') goto yy468;
|
|
if (yych != 'l') goto yy296;
|
|
yy468:
|
|
YYDEBUG(468, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'T') goto yy469;
|
|
if (yych != 't') goto yy296;
|
|
yy469:
|
|
YYDEBUG(469, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != '_') goto yy296;
|
|
YYDEBUG(470, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'C') goto yy471;
|
|
if (yych != 'c') goto yy296;
|
|
yy471:
|
|
YYDEBUG(471, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'O') goto yy472;
|
|
if (yych != 'o') goto yy296;
|
|
yy472:
|
|
YYDEBUG(472, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'M') goto yy473;
|
|
if (yych != 'm') goto yy296;
|
|
yy473:
|
|
YYDEBUG(473, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'P') goto yy474;
|
|
if (yych != 'p') goto yy296;
|
|
yy474:
|
|
YYDEBUG(474, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'I') goto yy475;
|
|
if (yych != 'i') goto yy296;
|
|
yy475:
|
|
YYDEBUG(475, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'L') goto yy476;
|
|
if (yych != 'l') goto yy296;
|
|
yy476:
|
|
YYDEBUG(476, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy477;
|
|
if (yych != 'e') goto yy296;
|
|
yy477:
|
|
YYDEBUG(477, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'R') goto yy478;
|
|
if (yych != 'r') goto yy296;
|
|
yy478:
|
|
YYDEBUG(478, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(479, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 930 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_HALT_COMPILER;
|
|
}
|
|
#line 5060 "Zend/zend_language_scanner.c"
|
|
yy480:
|
|
YYDEBUG(480, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'S') goto yy484;
|
|
if (yych == 's') goto yy484;
|
|
goto yy296;
|
|
yy481:
|
|
YYDEBUG(481, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy482;
|
|
if (yych != 'e') goto yy296;
|
|
yy482:
|
|
YYDEBUG(482, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(483, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 914 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_USE;
|
|
}
|
|
#line 5084 "Zend/zend_language_scanner.c"
|
|
yy484:
|
|
YYDEBUG(484, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy485;
|
|
if (yych != 'e') goto yy296;
|
|
yy485:
|
|
YYDEBUG(485, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'T') goto yy486;
|
|
if (yych != 't') goto yy296;
|
|
yy486:
|
|
YYDEBUG(486, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(487, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 958 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_UNSET;
|
|
}
|
|
#line 5107 "Zend/zend_language_scanner.c"
|
|
yy488:
|
|
YYDEBUG(488, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(7);
|
|
yych = *YYCURSOR;
|
|
yy489:
|
|
YYDEBUG(489, *YYCURSOR);
|
|
if (yych <= 'S') {
|
|
if (yych <= 'D') {
|
|
if (yych <= ' ') {
|
|
if (yych == '\t') goto yy488;
|
|
if (yych <= 0x1F) goto yy284;
|
|
goto yy488;
|
|
} else {
|
|
if (yych <= 'A') {
|
|
if (yych <= '@') goto yy284;
|
|
goto yy493;
|
|
} else {
|
|
if (yych <= 'B') goto yy491;
|
|
if (yych <= 'C') goto yy284;
|
|
goto yy496;
|
|
}
|
|
}
|
|
} else {
|
|
if (yych <= 'I') {
|
|
if (yych == 'F') goto yy497;
|
|
if (yych <= 'H') goto yy284;
|
|
goto yy498;
|
|
} else {
|
|
if (yych <= 'O') {
|
|
if (yych <= 'N') goto yy284;
|
|
goto yy492;
|
|
} else {
|
|
if (yych <= 'Q') goto yy284;
|
|
if (yych <= 'R') goto yy495;
|
|
goto yy494;
|
|
}
|
|
}
|
|
}
|
|
} else {
|
|
if (yych <= 'f') {
|
|
if (yych <= 'a') {
|
|
if (yych == 'U') goto yy490;
|
|
if (yych <= '`') goto yy284;
|
|
goto yy493;
|
|
} else {
|
|
if (yych <= 'c') {
|
|
if (yych <= 'b') goto yy491;
|
|
goto yy284;
|
|
} else {
|
|
if (yych <= 'd') goto yy496;
|
|
if (yych <= 'e') goto yy284;
|
|
goto yy497;
|
|
}
|
|
}
|
|
} else {
|
|
if (yych <= 'q') {
|
|
if (yych <= 'i') {
|
|
if (yych <= 'h') goto yy284;
|
|
goto yy498;
|
|
} else {
|
|
if (yych == 'o') goto yy492;
|
|
goto yy284;
|
|
}
|
|
} else {
|
|
if (yych <= 's') {
|
|
if (yych <= 'r') goto yy495;
|
|
goto yy494;
|
|
} else {
|
|
if (yych != 'u') goto yy284;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
yy490:
|
|
YYDEBUG(490, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'N') goto yy561;
|
|
if (yych == 'n') goto yy561;
|
|
goto yy284;
|
|
yy491:
|
|
YYDEBUG(491, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= 'O') {
|
|
if (yych == 'I') goto yy544;
|
|
if (yych <= 'N') goto yy284;
|
|
goto yy545;
|
|
} else {
|
|
if (yych <= 'i') {
|
|
if (yych <= 'h') goto yy284;
|
|
goto yy544;
|
|
} else {
|
|
if (yych == 'o') goto yy545;
|
|
goto yy284;
|
|
}
|
|
}
|
|
yy492:
|
|
YYDEBUG(492, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'B') goto yy536;
|
|
if (yych == 'b') goto yy536;
|
|
goto yy284;
|
|
yy493:
|
|
YYDEBUG(493, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'R') goto yy529;
|
|
if (yych == 'r') goto yy529;
|
|
goto yy284;
|
|
yy494:
|
|
YYDEBUG(494, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'T') goto yy521;
|
|
if (yych == 't') goto yy521;
|
|
goto yy284;
|
|
yy495:
|
|
YYDEBUG(495, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy519;
|
|
if (yych == 'e') goto yy519;
|
|
goto yy284;
|
|
yy496:
|
|
YYDEBUG(496, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'O') goto yy515;
|
|
if (yych == 'o') goto yy515;
|
|
goto yy284;
|
|
yy497:
|
|
YYDEBUG(497, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'L') goto yy508;
|
|
if (yych == 'l') goto yy508;
|
|
goto yy284;
|
|
yy498:
|
|
YYDEBUG(498, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'N') goto yy499;
|
|
if (yych != 'n') goto yy284;
|
|
yy499:
|
|
YYDEBUG(499, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'T') goto yy500;
|
|
if (yych != 't') goto yy284;
|
|
yy500:
|
|
YYDEBUG(500, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy501;
|
|
if (yych != 'e') goto yy503;
|
|
yy501:
|
|
YYDEBUG(501, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'G') goto yy506;
|
|
if (yych == 'g') goto yy506;
|
|
goto yy284;
|
|
yy502:
|
|
YYDEBUG(502, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
yy503:
|
|
YYDEBUG(503, *YYCURSOR);
|
|
if (yych <= 0x1F) {
|
|
if (yych == '\t') goto yy502;
|
|
goto yy284;
|
|
} else {
|
|
if (yych <= ' ') goto yy502;
|
|
if (yych != ')') goto yy284;
|
|
}
|
|
YYDEBUG(504, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(505, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 858 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_INT_CAST;
|
|
}
|
|
#line 5283 "Zend/zend_language_scanner.c"
|
|
yy506:
|
|
YYDEBUG(506, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy507;
|
|
if (yych != 'e') goto yy284;
|
|
yy507:
|
|
YYDEBUG(507, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'R') goto yy502;
|
|
if (yych == 'r') goto yy502;
|
|
goto yy284;
|
|
yy508:
|
|
YYDEBUG(508, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'O') goto yy509;
|
|
if (yych != 'o') goto yy284;
|
|
yy509:
|
|
YYDEBUG(509, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'A') goto yy510;
|
|
if (yych != 'a') goto yy284;
|
|
yy510:
|
|
YYDEBUG(510, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'T') goto yy511;
|
|
if (yych != 't') goto yy284;
|
|
yy511:
|
|
YYDEBUG(511, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(512, *YYCURSOR);
|
|
if (yych <= 0x1F) {
|
|
if (yych == '\t') goto yy511;
|
|
goto yy284;
|
|
} else {
|
|
if (yych <= ' ') goto yy511;
|
|
if (yych != ')') goto yy284;
|
|
}
|
|
YYDEBUG(513, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(514, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 862 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_DOUBLE_CAST;
|
|
}
|
|
#line 5331 "Zend/zend_language_scanner.c"
|
|
yy515:
|
|
YYDEBUG(515, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'U') goto yy516;
|
|
if (yych != 'u') goto yy284;
|
|
yy516:
|
|
YYDEBUG(516, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'B') goto yy517;
|
|
if (yych != 'b') goto yy284;
|
|
yy517:
|
|
YYDEBUG(517, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'L') goto yy518;
|
|
if (yych != 'l') goto yy284;
|
|
yy518:
|
|
YYDEBUG(518, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy511;
|
|
if (yych == 'e') goto yy511;
|
|
goto yy284;
|
|
yy519:
|
|
YYDEBUG(519, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'A') goto yy520;
|
|
if (yych != 'a') goto yy284;
|
|
yy520:
|
|
YYDEBUG(520, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'L') goto yy511;
|
|
if (yych == 'l') goto yy511;
|
|
goto yy284;
|
|
yy521:
|
|
YYDEBUG(521, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'R') goto yy522;
|
|
if (yych != 'r') goto yy284;
|
|
yy522:
|
|
YYDEBUG(522, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'I') goto yy523;
|
|
if (yych != 'i') goto yy284;
|
|
yy523:
|
|
YYDEBUG(523, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'N') goto yy524;
|
|
if (yych != 'n') goto yy284;
|
|
yy524:
|
|
YYDEBUG(524, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'G') goto yy525;
|
|
if (yych != 'g') goto yy284;
|
|
yy525:
|
|
YYDEBUG(525, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(526, *YYCURSOR);
|
|
if (yych <= 0x1F) {
|
|
if (yych == '\t') goto yy525;
|
|
goto yy284;
|
|
} else {
|
|
if (yych <= ' ') goto yy525;
|
|
if (yych != ')') goto yy284;
|
|
}
|
|
YYDEBUG(527, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(528, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 866 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_STRING_CAST;
|
|
}
|
|
#line 5405 "Zend/zend_language_scanner.c"
|
|
yy529:
|
|
YYDEBUG(529, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'R') goto yy530;
|
|
if (yych != 'r') goto yy284;
|
|
yy530:
|
|
YYDEBUG(530, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'A') goto yy531;
|
|
if (yych != 'a') goto yy284;
|
|
yy531:
|
|
YYDEBUG(531, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'Y') goto yy532;
|
|
if (yych != 'y') goto yy284;
|
|
yy532:
|
|
YYDEBUG(532, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(533, *YYCURSOR);
|
|
if (yych <= 0x1F) {
|
|
if (yych == '\t') goto yy532;
|
|
goto yy284;
|
|
} else {
|
|
if (yych <= ' ') goto yy532;
|
|
if (yych != ')') goto yy284;
|
|
}
|
|
YYDEBUG(534, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(535, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 874 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_ARRAY_CAST;
|
|
}
|
|
#line 5442 "Zend/zend_language_scanner.c"
|
|
yy536:
|
|
YYDEBUG(536, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'J') goto yy537;
|
|
if (yych != 'j') goto yy284;
|
|
yy537:
|
|
YYDEBUG(537, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy538;
|
|
if (yych != 'e') goto yy284;
|
|
yy538:
|
|
YYDEBUG(538, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'C') goto yy539;
|
|
if (yych != 'c') goto yy284;
|
|
yy539:
|
|
YYDEBUG(539, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'T') goto yy540;
|
|
if (yych != 't') goto yy284;
|
|
yy540:
|
|
YYDEBUG(540, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(541, *YYCURSOR);
|
|
if (yych <= 0x1F) {
|
|
if (yych == '\t') goto yy540;
|
|
goto yy284;
|
|
} else {
|
|
if (yych <= ' ') goto yy540;
|
|
if (yych != ')') goto yy284;
|
|
}
|
|
YYDEBUG(542, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(543, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 878 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_OBJECT_CAST;
|
|
}
|
|
#line 5484 "Zend/zend_language_scanner.c"
|
|
yy544:
|
|
YYDEBUG(544, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'N') goto yy554;
|
|
if (yych == 'n') goto yy554;
|
|
goto yy284;
|
|
yy545:
|
|
YYDEBUG(545, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'O') goto yy546;
|
|
if (yych != 'o') goto yy284;
|
|
yy546:
|
|
YYDEBUG(546, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'L') goto yy547;
|
|
if (yych != 'l') goto yy284;
|
|
yy547:
|
|
YYDEBUG(547, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy552;
|
|
if (yych == 'e') goto yy552;
|
|
goto yy549;
|
|
yy548:
|
|
YYDEBUG(548, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
yy549:
|
|
YYDEBUG(549, *YYCURSOR);
|
|
if (yych <= 0x1F) {
|
|
if (yych == '\t') goto yy548;
|
|
goto yy284;
|
|
} else {
|
|
if (yych <= ' ') goto yy548;
|
|
if (yych != ')') goto yy284;
|
|
}
|
|
YYDEBUG(550, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(551, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 882 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_BOOL_CAST;
|
|
}
|
|
#line 5529 "Zend/zend_language_scanner.c"
|
|
yy552:
|
|
YYDEBUG(552, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'A') goto yy553;
|
|
if (yych != 'a') goto yy284;
|
|
yy553:
|
|
YYDEBUG(553, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'N') goto yy548;
|
|
if (yych == 'n') goto yy548;
|
|
goto yy284;
|
|
yy554:
|
|
YYDEBUG(554, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'A') goto yy555;
|
|
if (yych != 'a') goto yy284;
|
|
yy555:
|
|
YYDEBUG(555, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'R') goto yy556;
|
|
if (yych != 'r') goto yy284;
|
|
yy556:
|
|
YYDEBUG(556, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'Y') goto yy557;
|
|
if (yych != 'y') goto yy284;
|
|
yy557:
|
|
YYDEBUG(557, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(558, *YYCURSOR);
|
|
if (yych <= 0x1F) {
|
|
if (yych == '\t') goto yy557;
|
|
goto yy284;
|
|
} else {
|
|
if (yych <= ' ') goto yy557;
|
|
if (yych != ')') goto yy284;
|
|
}
|
|
YYDEBUG(559, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(560, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 870 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_STRING_CAST;
|
|
}
|
|
#line 5577 "Zend/zend_language_scanner.c"
|
|
yy561:
|
|
YYDEBUG(561, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'S') goto yy562;
|
|
if (yych != 's') goto yy284;
|
|
yy562:
|
|
YYDEBUG(562, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy563;
|
|
if (yych != 'e') goto yy284;
|
|
yy563:
|
|
YYDEBUG(563, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'T') goto yy564;
|
|
if (yych != 't') goto yy284;
|
|
yy564:
|
|
YYDEBUG(564, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(565, *YYCURSOR);
|
|
if (yych <= 0x1F) {
|
|
if (yych == '\t') goto yy564;
|
|
goto yy284;
|
|
} else {
|
|
if (yych <= ' ') goto yy564;
|
|
if (yych != ')') goto yy284;
|
|
}
|
|
YYDEBUG(566, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(567, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 886 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_UNSET_CAST;
|
|
}
|
|
#line 5614 "Zend/zend_language_scanner.c"
|
|
yy568:
|
|
YYDEBUG(568, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'R') goto yy569;
|
|
if (yych != 'r') goto yy296;
|
|
yy569:
|
|
YYDEBUG(569, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(570, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 854 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_VAR;
|
|
}
|
|
#line 5632 "Zend/zend_language_scanner.c"
|
|
yy571:
|
|
YYDEBUG(571, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'M') goto yy575;
|
|
if (yych == 'm') goto yy575;
|
|
goto yy296;
|
|
yy572:
|
|
YYDEBUG(572, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'W') goto yy573;
|
|
if (yych != 'w') goto yy296;
|
|
yy573:
|
|
YYDEBUG(573, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(574, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 846 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_NEW;
|
|
}
|
|
#line 5656 "Zend/zend_language_scanner.c"
|
|
yy575:
|
|
YYDEBUG(575, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy576;
|
|
if (yych != 'e') goto yy296;
|
|
yy576:
|
|
YYDEBUG(576, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'S') goto yy577;
|
|
if (yych != 's') goto yy296;
|
|
yy577:
|
|
YYDEBUG(577, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'P') goto yy578;
|
|
if (yych != 'p') goto yy296;
|
|
yy578:
|
|
YYDEBUG(578, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'A') goto yy579;
|
|
if (yych != 'a') goto yy296;
|
|
yy579:
|
|
YYDEBUG(579, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'C') goto yy580;
|
|
if (yych != 'c') goto yy296;
|
|
yy580:
|
|
YYDEBUG(580, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy581;
|
|
if (yych != 'e') goto yy296;
|
|
yy581:
|
|
YYDEBUG(581, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(582, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 910 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_NAMESPACE;
|
|
}
|
|
#line 5699 "Zend/zend_language_scanner.c"
|
|
yy583:
|
|
YYDEBUG(583, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(584, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 842 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_PAAMAYIM_NEKUDOTAYIM;
|
|
}
|
|
#line 5709 "Zend/zend_language_scanner.c"
|
|
yy585:
|
|
YYDEBUG(585, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(586, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1010 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_MINUS_EQUAL;
|
|
}
|
|
#line 5719 "Zend/zend_language_scanner.c"
|
|
yy587:
|
|
YYDEBUG(587, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(588, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 978 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_DEC;
|
|
}
|
|
#line 5729 "Zend/zend_language_scanner.c"
|
|
yy589:
|
|
YYDEBUG(589, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(590, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 815 "Zend/zend_language_scanner.l"
|
|
{
|
|
yy_push_state(ST_LOOKING_FOR_PROPERTY TSRMLS_CC);
|
|
return T_OBJECT_OPERATOR;
|
|
}
|
|
#line 5740 "Zend/zend_language_scanner.c"
|
|
yy591:
|
|
YYDEBUG(591, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= 'O') {
|
|
if (yych == 'I') goto yy598;
|
|
if (yych <= 'N') goto yy296;
|
|
goto yy599;
|
|
} else {
|
|
if (yych <= 'i') {
|
|
if (yych <= 'h') goto yy296;
|
|
goto yy598;
|
|
} else {
|
|
if (yych == 'o') goto yy599;
|
|
goto yy296;
|
|
}
|
|
}
|
|
yy592:
|
|
YYDEBUG(592, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'B') goto yy593;
|
|
if (yych != 'b') goto yy296;
|
|
yy593:
|
|
YYDEBUG(593, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'L') goto yy594;
|
|
if (yych != 'l') goto yy296;
|
|
yy594:
|
|
YYDEBUG(594, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'I') goto yy595;
|
|
if (yych != 'i') goto yy296;
|
|
yy595:
|
|
YYDEBUG(595, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'C') goto yy596;
|
|
if (yych != 'c') goto yy296;
|
|
yy596:
|
|
YYDEBUG(596, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(597, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 954 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_PUBLIC;
|
|
}
|
|
#line 5789 "Zend/zend_language_scanner.c"
|
|
yy598:
|
|
YYDEBUG(598, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= 'V') {
|
|
if (yych == 'N') goto yy607;
|
|
if (yych <= 'U') goto yy296;
|
|
goto yy608;
|
|
} else {
|
|
if (yych <= 'n') {
|
|
if (yych <= 'm') goto yy296;
|
|
goto yy607;
|
|
} else {
|
|
if (yych == 'v') goto yy608;
|
|
goto yy296;
|
|
}
|
|
}
|
|
yy599:
|
|
YYDEBUG(599, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'T') goto yy600;
|
|
if (yych != 't') goto yy296;
|
|
yy600:
|
|
YYDEBUG(600, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy601;
|
|
if (yych != 'e') goto yy296;
|
|
yy601:
|
|
YYDEBUG(601, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'C') goto yy602;
|
|
if (yych != 'c') goto yy296;
|
|
yy602:
|
|
YYDEBUG(602, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'T') goto yy603;
|
|
if (yych != 't') goto yy296;
|
|
yy603:
|
|
YYDEBUG(603, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy604;
|
|
if (yych != 'e') goto yy296;
|
|
yy604:
|
|
YYDEBUG(604, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'D') goto yy605;
|
|
if (yych != 'd') goto yy296;
|
|
yy605:
|
|
YYDEBUG(605, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(606, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 950 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_PROTECTED;
|
|
}
|
|
#line 5848 "Zend/zend_language_scanner.c"
|
|
yy607:
|
|
YYDEBUG(607, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'T') goto yy613;
|
|
if (yych == 't') goto yy613;
|
|
goto yy296;
|
|
yy608:
|
|
YYDEBUG(608, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'A') goto yy609;
|
|
if (yych != 'a') goto yy296;
|
|
yy609:
|
|
YYDEBUG(609, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'T') goto yy610;
|
|
if (yych != 't') goto yy296;
|
|
yy610:
|
|
YYDEBUG(610, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy611;
|
|
if (yych != 'e') goto yy296;
|
|
yy611:
|
|
YYDEBUG(611, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(612, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 946 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_PRIVATE;
|
|
}
|
|
#line 5882 "Zend/zend_language_scanner.c"
|
|
yy613:
|
|
YYDEBUG(613, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(614, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 795 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_PRINT;
|
|
}
|
|
#line 5895 "Zend/zend_language_scanner.c"
|
|
yy615:
|
|
YYDEBUG(615, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'O') goto yy620;
|
|
if (yych == 'o') goto yy620;
|
|
goto yy296;
|
|
yy616:
|
|
YYDEBUG(616, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'T') goto yy617;
|
|
if (yych != 't') goto yy296;
|
|
yy617:
|
|
YYDEBUG(617, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'O') goto yy618;
|
|
if (yych != 'o') goto yy296;
|
|
yy618:
|
|
YYDEBUG(618, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(619, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 787 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_GOTO;
|
|
}
|
|
#line 5924 "Zend/zend_language_scanner.c"
|
|
yy620:
|
|
YYDEBUG(620, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'B') goto yy621;
|
|
if (yych != 'b') goto yy296;
|
|
yy621:
|
|
YYDEBUG(621, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'A') goto yy622;
|
|
if (yych != 'a') goto yy296;
|
|
yy622:
|
|
YYDEBUG(622, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'L') goto yy623;
|
|
if (yych != 'l') goto yy296;
|
|
yy623:
|
|
YYDEBUG(623, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(624, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 918 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_GLOBAL;
|
|
}
|
|
#line 5952 "Zend/zend_language_scanner.c"
|
|
yy625:
|
|
YYDEBUG(625, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == '<') goto yy632;
|
|
goto yy284;
|
|
yy626:
|
|
YYDEBUG(626, *YYCURSOR);
|
|
yyaccept = 3;
|
|
yych = *(YYMARKER = ++YYCURSOR);
|
|
goto yy286;
|
|
yy627:
|
|
YYDEBUG(627, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy628;
|
|
if (yych != 'e') goto yy296;
|
|
yy628:
|
|
YYDEBUG(628, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'A') goto yy629;
|
|
if (yych != 'a') goto yy296;
|
|
yy629:
|
|
YYDEBUG(629, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'K') goto yy630;
|
|
if (yych != 'k') goto yy296;
|
|
yy630:
|
|
YYDEBUG(630, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(631, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 779 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_BREAK;
|
|
}
|
|
#line 5990 "Zend/zend_language_scanner.c"
|
|
yy632:
|
|
YYDEBUG(632, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == '<') goto yy375;
|
|
goto yy284;
|
|
yy633:
|
|
YYDEBUG(633, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'A') goto yy640;
|
|
if (yych == 'a') goto yy640;
|
|
goto yy296;
|
|
yy634:
|
|
YYDEBUG(634, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'I') goto yy635;
|
|
if (yych != 'i') goto yy296;
|
|
yy635:
|
|
YYDEBUG(635, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'T') goto yy636;
|
|
if (yych != 't') goto yy296;
|
|
yy636:
|
|
YYDEBUG(636, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'C') goto yy637;
|
|
if (yych != 'c') goto yy296;
|
|
yy637:
|
|
YYDEBUG(637, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'H') goto yy638;
|
|
if (yych != 'h') goto yy296;
|
|
yy638:
|
|
YYDEBUG(638, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(639, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 763 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_SWITCH;
|
|
}
|
|
#line 6034 "Zend/zend_language_scanner.c"
|
|
yy640:
|
|
YYDEBUG(640, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'T') goto yy641;
|
|
if (yych != 't') goto yy296;
|
|
yy641:
|
|
YYDEBUG(641, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'I') goto yy642;
|
|
if (yych != 'i') goto yy296;
|
|
yy642:
|
|
YYDEBUG(642, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'C') goto yy643;
|
|
if (yych != 'c') goto yy296;
|
|
yy643:
|
|
YYDEBUG(643, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(644, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 934 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_STATIC;
|
|
}
|
|
#line 6062 "Zend/zend_language_scanner.c"
|
|
yy645:
|
|
YYDEBUG(645, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'S') goto yy656;
|
|
if (yych == 's') goto yy656;
|
|
goto yy296;
|
|
yy646:
|
|
YYDEBUG(646, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'D') goto yy654;
|
|
if (yych == 'd') goto yy654;
|
|
goto yy296;
|
|
yy647:
|
|
YYDEBUG(647, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'R') goto yy650;
|
|
if (yych == 'r') goto yy650;
|
|
goto yy296;
|
|
yy648:
|
|
YYDEBUG(648, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(649, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 759 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_AS;
|
|
}
|
|
#line 6093 "Zend/zend_language_scanner.c"
|
|
yy650:
|
|
YYDEBUG(650, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'A') goto yy651;
|
|
if (yych != 'a') goto yy296;
|
|
yy651:
|
|
YYDEBUG(651, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'Y') goto yy652;
|
|
if (yych != 'y') goto yy296;
|
|
yy652:
|
|
YYDEBUG(652, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(653, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 970 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_ARRAY;
|
|
}
|
|
#line 6116 "Zend/zend_language_scanner.c"
|
|
yy654:
|
|
YYDEBUG(654, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(655, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1062 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_LOGICAL_AND;
|
|
}
|
|
#line 6129 "Zend/zend_language_scanner.c"
|
|
yy656:
|
|
YYDEBUG(656, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'T') goto yy657;
|
|
if (yych != 't') goto yy296;
|
|
yy657:
|
|
YYDEBUG(657, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'R') goto yy658;
|
|
if (yych != 'r') goto yy296;
|
|
yy658:
|
|
YYDEBUG(658, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'A') goto yy659;
|
|
if (yych != 'a') goto yy296;
|
|
yy659:
|
|
YYDEBUG(659, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'C') goto yy660;
|
|
if (yych != 'c') goto yy296;
|
|
yy660:
|
|
YYDEBUG(660, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'T') goto yy661;
|
|
if (yych != 't') goto yy296;
|
|
yy661:
|
|
YYDEBUG(661, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(662, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 938 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_ABSTRACT;
|
|
}
|
|
#line 6167 "Zend/zend_language_scanner.c"
|
|
yy663:
|
|
YYDEBUG(663, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'I') goto yy664;
|
|
if (yych != 'i') goto yy296;
|
|
yy664:
|
|
YYDEBUG(664, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'L') goto yy665;
|
|
if (yych != 'l') goto yy296;
|
|
yy665:
|
|
YYDEBUG(665, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy666;
|
|
if (yych != 'e') goto yy296;
|
|
yy666:
|
|
YYDEBUG(666, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(667, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 719 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_WHILE;
|
|
}
|
|
#line 6195 "Zend/zend_language_scanner.c"
|
|
yy668:
|
|
YYDEBUG(668, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(669, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 703 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_IF;
|
|
}
|
|
#line 6208 "Zend/zend_language_scanner.c"
|
|
yy670:
|
|
YYDEBUG(670, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'P') goto yy706;
|
|
if (yych == 'p') goto yy706;
|
|
goto yy296;
|
|
yy671:
|
|
YYDEBUG(671, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= 'T') {
|
|
if (yych <= 'C') {
|
|
if (yych <= 'B') goto yy296;
|
|
goto yy679;
|
|
} else {
|
|
if (yych <= 'R') goto yy296;
|
|
if (yych <= 'S') goto yy677;
|
|
goto yy678;
|
|
}
|
|
} else {
|
|
if (yych <= 'r') {
|
|
if (yych == 'c') goto yy679;
|
|
goto yy296;
|
|
} else {
|
|
if (yych <= 's') goto yy677;
|
|
if (yych <= 't') goto yy678;
|
|
goto yy296;
|
|
}
|
|
}
|
|
yy672:
|
|
YYDEBUG(672, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'S') goto yy673;
|
|
if (yych != 's') goto yy296;
|
|
yy673:
|
|
YYDEBUG(673, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy674;
|
|
if (yych != 'e') goto yy296;
|
|
yy674:
|
|
YYDEBUG(674, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'T') goto yy675;
|
|
if (yych != 't') goto yy296;
|
|
yy675:
|
|
YYDEBUG(675, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(676, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 922 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_ISSET;
|
|
}
|
|
#line 6264 "Zend/zend_language_scanner.c"
|
|
yy677:
|
|
YYDEBUG(677, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'T') goto yy698;
|
|
if (yych == 't') goto yy698;
|
|
goto yy296;
|
|
yy678:
|
|
YYDEBUG(678, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy691;
|
|
if (yych == 'e') goto yy691;
|
|
goto yy296;
|
|
yy679:
|
|
YYDEBUG(679, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'L') goto yy680;
|
|
if (yych != 'l') goto yy296;
|
|
yy680:
|
|
YYDEBUG(680, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'U') goto yy681;
|
|
if (yych != 'u') goto yy296;
|
|
yy681:
|
|
YYDEBUG(681, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'D') goto yy682;
|
|
if (yych != 'd') goto yy296;
|
|
yy682:
|
|
YYDEBUG(682, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy683;
|
|
if (yych != 'e') goto yy296;
|
|
yy683:
|
|
YYDEBUG(683, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if ((yych = *YYCURSOR) <= '^') {
|
|
if (yych <= '9') {
|
|
if (yych >= '0') goto yy295;
|
|
} else {
|
|
if (yych <= '@') goto yy684;
|
|
if (yych <= 'Z') goto yy295;
|
|
}
|
|
} else {
|
|
if (yych <= '`') {
|
|
if (yych <= '_') goto yy685;
|
|
} else {
|
|
if (yych <= 'z') goto yy295;
|
|
if (yych >= 0x7F) goto yy295;
|
|
}
|
|
}
|
|
yy684:
|
|
YYDEBUG(684, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 894 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_INCLUDE;
|
|
}
|
|
#line 6322 "Zend/zend_language_scanner.c"
|
|
yy685:
|
|
YYDEBUG(685, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'O') goto yy686;
|
|
if (yych != 'o') goto yy296;
|
|
yy686:
|
|
YYDEBUG(686, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'N') goto yy687;
|
|
if (yych != 'n') goto yy296;
|
|
yy687:
|
|
YYDEBUG(687, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'C') goto yy688;
|
|
if (yych != 'c') goto yy296;
|
|
yy688:
|
|
YYDEBUG(688, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy689;
|
|
if (yych != 'e') goto yy296;
|
|
yy689:
|
|
YYDEBUG(689, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(690, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 898 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_INCLUDE_ONCE;
|
|
}
|
|
#line 6355 "Zend/zend_language_scanner.c"
|
|
yy691:
|
|
YYDEBUG(691, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'R') goto yy692;
|
|
if (yych != 'r') goto yy296;
|
|
yy692:
|
|
YYDEBUG(692, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'F') goto yy693;
|
|
if (yych != 'f') goto yy296;
|
|
yy693:
|
|
YYDEBUG(693, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'A') goto yy694;
|
|
if (yych != 'a') goto yy296;
|
|
yy694:
|
|
YYDEBUG(694, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'C') goto yy695;
|
|
if (yych != 'c') goto yy296;
|
|
yy695:
|
|
YYDEBUG(695, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy696;
|
|
if (yych != 'e') goto yy296;
|
|
yy696:
|
|
YYDEBUG(696, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(697, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 803 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_INTERFACE;
|
|
}
|
|
#line 6393 "Zend/zend_language_scanner.c"
|
|
yy698:
|
|
YYDEBUG(698, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'A') goto yy699;
|
|
if (yych != 'a') goto yy296;
|
|
yy699:
|
|
YYDEBUG(699, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'N') goto yy700;
|
|
if (yych != 'n') goto yy296;
|
|
yy700:
|
|
YYDEBUG(700, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'C') goto yy701;
|
|
if (yych != 'c') goto yy296;
|
|
yy701:
|
|
YYDEBUG(701, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy702;
|
|
if (yych != 'e') goto yy296;
|
|
yy702:
|
|
YYDEBUG(702, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'O') goto yy703;
|
|
if (yych != 'o') goto yy296;
|
|
yy703:
|
|
YYDEBUG(703, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'F') goto yy704;
|
|
if (yych != 'f') goto yy296;
|
|
yy704:
|
|
YYDEBUG(704, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(705, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 755 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_INSTANCEOF;
|
|
}
|
|
#line 6436 "Zend/zend_language_scanner.c"
|
|
yy706:
|
|
YYDEBUG(706, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'L') goto yy707;
|
|
if (yych != 'l') goto yy296;
|
|
yy707:
|
|
YYDEBUG(707, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy708;
|
|
if (yych != 'e') goto yy296;
|
|
yy708:
|
|
YYDEBUG(708, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'M') goto yy709;
|
|
if (yych != 'm') goto yy296;
|
|
yy709:
|
|
YYDEBUG(709, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy710;
|
|
if (yych != 'e') goto yy296;
|
|
yy710:
|
|
YYDEBUG(710, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'N') goto yy711;
|
|
if (yych != 'n') goto yy296;
|
|
yy711:
|
|
YYDEBUG(711, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'T') goto yy712;
|
|
if (yych != 't') goto yy296;
|
|
yy712:
|
|
YYDEBUG(712, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'S') goto yy713;
|
|
if (yych != 's') goto yy296;
|
|
yy713:
|
|
YYDEBUG(713, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(714, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 811 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_IMPLEMENTS;
|
|
}
|
|
#line 6484 "Zend/zend_language_scanner.c"
|
|
yy715:
|
|
YYDEBUG(715, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'R') goto yy719;
|
|
if (yych == 'r') goto yy719;
|
|
goto yy296;
|
|
yy716:
|
|
YYDEBUG(716, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'Y') goto yy717;
|
|
if (yych != 'y') goto yy296;
|
|
yy717:
|
|
YYDEBUG(717, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(718, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 691 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_TRY;
|
|
}
|
|
#line 6508 "Zend/zend_language_scanner.c"
|
|
yy719:
|
|
YYDEBUG(719, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'O') goto yy720;
|
|
if (yych != 'o') goto yy296;
|
|
yy720:
|
|
YYDEBUG(720, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'W') goto yy721;
|
|
if (yych != 'w') goto yy296;
|
|
yy721:
|
|
YYDEBUG(721, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(722, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 699 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_THROW;
|
|
}
|
|
#line 6531 "Zend/zend_language_scanner.c"
|
|
yy723:
|
|
YYDEBUG(723, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= 'T') {
|
|
if (yych == 'Q') goto yy725;
|
|
if (yych <= 'S') goto yy296;
|
|
} else {
|
|
if (yych <= 'q') {
|
|
if (yych <= 'p') goto yy296;
|
|
goto yy725;
|
|
} else {
|
|
if (yych != 't') goto yy296;
|
|
}
|
|
}
|
|
YYDEBUG(724, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'U') goto yy737;
|
|
if (yych == 'u') goto yy737;
|
|
goto yy296;
|
|
yy725:
|
|
YYDEBUG(725, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'U') goto yy726;
|
|
if (yych != 'u') goto yy296;
|
|
yy726:
|
|
YYDEBUG(726, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'I') goto yy727;
|
|
if (yych != 'i') goto yy296;
|
|
yy727:
|
|
YYDEBUG(727, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'R') goto yy728;
|
|
if (yych != 'r') goto yy296;
|
|
yy728:
|
|
YYDEBUG(728, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy729;
|
|
if (yych != 'e') goto yy296;
|
|
yy729:
|
|
YYDEBUG(729, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if ((yych = *YYCURSOR) <= '^') {
|
|
if (yych <= '9') {
|
|
if (yych >= '0') goto yy295;
|
|
} else {
|
|
if (yych <= '@') goto yy730;
|
|
if (yych <= 'Z') goto yy295;
|
|
}
|
|
} else {
|
|
if (yych <= '`') {
|
|
if (yych <= '_') goto yy731;
|
|
} else {
|
|
if (yych <= 'z') goto yy295;
|
|
if (yych >= 0x7F) goto yy295;
|
|
}
|
|
}
|
|
yy730:
|
|
YYDEBUG(730, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 902 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_REQUIRE;
|
|
}
|
|
#line 6596 "Zend/zend_language_scanner.c"
|
|
yy731:
|
|
YYDEBUG(731, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'O') goto yy732;
|
|
if (yych != 'o') goto yy296;
|
|
yy732:
|
|
YYDEBUG(732, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'N') goto yy733;
|
|
if (yych != 'n') goto yy296;
|
|
yy733:
|
|
YYDEBUG(733, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'C') goto yy734;
|
|
if (yych != 'c') goto yy296;
|
|
yy734:
|
|
YYDEBUG(734, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy735;
|
|
if (yych != 'e') goto yy296;
|
|
yy735:
|
|
YYDEBUG(735, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(736, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 906 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_REQUIRE_ONCE;
|
|
}
|
|
#line 6629 "Zend/zend_language_scanner.c"
|
|
yy737:
|
|
YYDEBUG(737, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'R') goto yy738;
|
|
if (yych != 'r') goto yy296;
|
|
yy738:
|
|
YYDEBUG(738, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'N') goto yy739;
|
|
if (yych != 'n') goto yy296;
|
|
yy739:
|
|
YYDEBUG(739, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(740, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 687 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_RETURN;
|
|
}
|
|
#line 6652 "Zend/zend_language_scanner.c"
|
|
yy741:
|
|
YYDEBUG(741, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= 'T') {
|
|
if (yych <= 'R') goto yy296;
|
|
if (yych <= 'S') goto yy763;
|
|
goto yy762;
|
|
} else {
|
|
if (yych <= 'r') goto yy296;
|
|
if (yych <= 's') goto yy763;
|
|
if (yych <= 't') goto yy762;
|
|
goto yy296;
|
|
}
|
|
yy742:
|
|
YYDEBUG(742, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= 'O') {
|
|
if (yych == 'A') goto yy754;
|
|
if (yych <= 'N') goto yy296;
|
|
goto yy755;
|
|
} else {
|
|
if (yych <= 'a') {
|
|
if (yych <= '`') goto yy296;
|
|
goto yy754;
|
|
} else {
|
|
if (yych == 'o') goto yy755;
|
|
goto yy296;
|
|
}
|
|
}
|
|
yy743:
|
|
YYDEBUG(743, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'N') goto yy744;
|
|
if (yych != 'n') goto yy296;
|
|
yy744:
|
|
YYDEBUG(744, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= 'T') {
|
|
if (yych <= 'R') goto yy296;
|
|
if (yych >= 'T') goto yy746;
|
|
} else {
|
|
if (yych <= 'r') goto yy296;
|
|
if (yych <= 's') goto yy745;
|
|
if (yych <= 't') goto yy746;
|
|
goto yy296;
|
|
}
|
|
yy745:
|
|
YYDEBUG(745, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'T') goto yy752;
|
|
if (yych == 't') goto yy752;
|
|
goto yy296;
|
|
yy746:
|
|
YYDEBUG(746, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'I') goto yy747;
|
|
if (yych != 'i') goto yy296;
|
|
yy747:
|
|
YYDEBUG(747, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'N') goto yy748;
|
|
if (yych != 'n') goto yy296;
|
|
yy748:
|
|
YYDEBUG(748, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'U') goto yy749;
|
|
if (yych != 'u') goto yy296;
|
|
yy749:
|
|
YYDEBUG(749, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy750;
|
|
if (yych != 'e') goto yy296;
|
|
yy750:
|
|
YYDEBUG(750, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(751, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 783 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_CONTINUE;
|
|
}
|
|
#line 6737 "Zend/zend_language_scanner.c"
|
|
yy752:
|
|
YYDEBUG(752, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(753, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 683 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_CONST;
|
|
}
|
|
#line 6750 "Zend/zend_language_scanner.c"
|
|
yy754:
|
|
YYDEBUG(754, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'S') goto yy759;
|
|
if (yych == 's') goto yy759;
|
|
goto yy296;
|
|
yy755:
|
|
YYDEBUG(755, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'N') goto yy756;
|
|
if (yych != 'n') goto yy296;
|
|
yy756:
|
|
YYDEBUG(756, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy757;
|
|
if (yych != 'e') goto yy296;
|
|
yy757:
|
|
YYDEBUG(757, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(758, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 850 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_CLONE;
|
|
}
|
|
#line 6779 "Zend/zend_language_scanner.c"
|
|
yy759:
|
|
YYDEBUG(759, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'S') goto yy760;
|
|
if (yych != 's') goto yy296;
|
|
yy760:
|
|
YYDEBUG(760, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(761, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 799 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_CLASS;
|
|
}
|
|
#line 6797 "Zend/zend_language_scanner.c"
|
|
yy762:
|
|
YYDEBUG(762, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'C') goto yy766;
|
|
if (yych == 'c') goto yy766;
|
|
goto yy296;
|
|
yy763:
|
|
YYDEBUG(763, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy764;
|
|
if (yych != 'e') goto yy296;
|
|
yy764:
|
|
YYDEBUG(764, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(765, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 771 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_CASE;
|
|
}
|
|
#line 6821 "Zend/zend_language_scanner.c"
|
|
yy766:
|
|
YYDEBUG(766, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'H') goto yy767;
|
|
if (yych != 'h') goto yy296;
|
|
yy767:
|
|
YYDEBUG(767, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(768, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 695 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_CATCH;
|
|
}
|
|
#line 6839 "Zend/zend_language_scanner.c"
|
|
yy769:
|
|
YYDEBUG(769, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'N') goto yy786;
|
|
if (yych == 'n') goto yy786;
|
|
goto yy296;
|
|
yy770:
|
|
YYDEBUG(770, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'R') goto yy779;
|
|
if (yych == 'r') goto yy779;
|
|
goto yy296;
|
|
yy771:
|
|
YYDEBUG(771, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'N') goto yy772;
|
|
if (yych != 'n') goto yy296;
|
|
yy772:
|
|
YYDEBUG(772, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'C') goto yy773;
|
|
if (yych != 'c') goto yy296;
|
|
yy773:
|
|
YYDEBUG(773, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'T') goto yy774;
|
|
if (yych != 't') goto yy296;
|
|
yy774:
|
|
YYDEBUG(774, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'I') goto yy775;
|
|
if (yych != 'i') goto yy296;
|
|
yy775:
|
|
YYDEBUG(775, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'O') goto yy776;
|
|
if (yych != 'o') goto yy296;
|
|
yy776:
|
|
YYDEBUG(776, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'N') goto yy777;
|
|
if (yych != 'n') goto yy296;
|
|
yy777:
|
|
YYDEBUG(777, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(778, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 679 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_FUNCTION;
|
|
}
|
|
#line 6894 "Zend/zend_language_scanner.c"
|
|
yy779:
|
|
YYDEBUG(779, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if ((yych = *YYCURSOR) <= '^') {
|
|
if (yych <= '@') {
|
|
if (yych <= '/') goto yy780;
|
|
if (yych <= '9') goto yy295;
|
|
} else {
|
|
if (yych == 'E') goto yy781;
|
|
if (yych <= 'Z') goto yy295;
|
|
}
|
|
} else {
|
|
if (yych <= 'd') {
|
|
if (yych != '`') goto yy295;
|
|
} else {
|
|
if (yych <= 'e') goto yy781;
|
|
if (yych <= 'z') goto yy295;
|
|
if (yych >= 0x7F) goto yy295;
|
|
}
|
|
}
|
|
yy780:
|
|
YYDEBUG(780, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 731 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_FOR;
|
|
}
|
|
#line 6922 "Zend/zend_language_scanner.c"
|
|
yy781:
|
|
YYDEBUG(781, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'A') goto yy782;
|
|
if (yych != 'a') goto yy296;
|
|
yy782:
|
|
YYDEBUG(782, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'C') goto yy783;
|
|
if (yych != 'c') goto yy296;
|
|
yy783:
|
|
YYDEBUG(783, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'H') goto yy784;
|
|
if (yych != 'h') goto yy296;
|
|
yy784:
|
|
YYDEBUG(784, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(785, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 739 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_FOREACH;
|
|
}
|
|
#line 6950 "Zend/zend_language_scanner.c"
|
|
yy786:
|
|
YYDEBUG(786, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'A') goto yy787;
|
|
if (yych != 'a') goto yy296;
|
|
yy787:
|
|
YYDEBUG(787, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'L') goto yy788;
|
|
if (yych != 'l') goto yy296;
|
|
yy788:
|
|
YYDEBUG(788, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(789, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 942 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_FINAL;
|
|
}
|
|
#line 6973 "Zend/zend_language_scanner.c"
|
|
yy790:
|
|
YYDEBUG(790, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= 'F') {
|
|
if (yych == 'C') goto yy796;
|
|
if (yych <= 'E') goto yy296;
|
|
goto yy797;
|
|
} else {
|
|
if (yych <= 'c') {
|
|
if (yych <= 'b') goto yy296;
|
|
goto yy796;
|
|
} else {
|
|
if (yych == 'f') goto yy797;
|
|
goto yy296;
|
|
}
|
|
}
|
|
yy791:
|
|
YYDEBUG(791, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy794;
|
|
if (yych == 'e') goto yy794;
|
|
goto yy296;
|
|
yy792:
|
|
YYDEBUG(792, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(793, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 727 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_DO;
|
|
}
|
|
#line 7008 "Zend/zend_language_scanner.c"
|
|
yy794:
|
|
YYDEBUG(794, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(795, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 675 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_EXIT;
|
|
}
|
|
#line 7021 "Zend/zend_language_scanner.c"
|
|
yy796:
|
|
YYDEBUG(796, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'L') goto yy803;
|
|
if (yych == 'l') goto yy803;
|
|
goto yy296;
|
|
yy797:
|
|
YYDEBUG(797, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'A') goto yy798;
|
|
if (yych != 'a') goto yy296;
|
|
yy798:
|
|
YYDEBUG(798, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'U') goto yy799;
|
|
if (yych != 'u') goto yy296;
|
|
yy799:
|
|
YYDEBUG(799, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'L') goto yy800;
|
|
if (yych != 'l') goto yy296;
|
|
yy800:
|
|
YYDEBUG(800, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'T') goto yy801;
|
|
if (yych != 't') goto yy296;
|
|
yy801:
|
|
YYDEBUG(801, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(802, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 775 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_DEFAULT;
|
|
}
|
|
#line 7060 "Zend/zend_language_scanner.c"
|
|
yy803:
|
|
YYDEBUG(803, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'A') goto yy804;
|
|
if (yych != 'a') goto yy296;
|
|
yy804:
|
|
YYDEBUG(804, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'R') goto yy805;
|
|
if (yych != 'r') goto yy296;
|
|
yy805:
|
|
YYDEBUG(805, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy806;
|
|
if (yych != 'e') goto yy296;
|
|
yy806:
|
|
YYDEBUG(806, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(807, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 747 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_DECLARE;
|
|
}
|
|
#line 7088 "Zend/zend_language_scanner.c"
|
|
yy808:
|
|
YYDEBUG(808, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'H') goto yy870;
|
|
if (yych == 'h') goto yy870;
|
|
goto yy296;
|
|
yy809:
|
|
YYDEBUG(809, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'S') goto yy864;
|
|
if (yych == 's') goto yy864;
|
|
goto yy296;
|
|
yy810:
|
|
YYDEBUG(810, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'P') goto yy860;
|
|
if (yych == 'p') goto yy860;
|
|
goto yy296;
|
|
yy811:
|
|
YYDEBUG(811, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'D') goto yy826;
|
|
if (yych == 'd') goto yy826;
|
|
goto yy296;
|
|
yy812:
|
|
YYDEBUG(812, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'A') goto yy823;
|
|
if (yych == 'a') goto yy823;
|
|
goto yy296;
|
|
yy813:
|
|
YYDEBUG(813, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych <= 'T') {
|
|
if (yych == 'I') goto yy814;
|
|
if (yych <= 'S') goto yy296;
|
|
goto yy815;
|
|
} else {
|
|
if (yych <= 'i') {
|
|
if (yych <= 'h') goto yy296;
|
|
} else {
|
|
if (yych == 't') goto yy815;
|
|
goto yy296;
|
|
}
|
|
}
|
|
yy814:
|
|
YYDEBUG(814, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'T') goto yy821;
|
|
if (yych == 't') goto yy821;
|
|
goto yy296;
|
|
yy815:
|
|
YYDEBUG(815, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy816;
|
|
if (yych != 'e') goto yy296;
|
|
yy816:
|
|
YYDEBUG(816, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'N') goto yy817;
|
|
if (yych != 'n') goto yy296;
|
|
yy817:
|
|
YYDEBUG(817, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'D') goto yy818;
|
|
if (yych != 'd') goto yy296;
|
|
yy818:
|
|
YYDEBUG(818, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'S') goto yy819;
|
|
if (yych != 's') goto yy296;
|
|
yy819:
|
|
YYDEBUG(819, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(820, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 807 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_EXTENDS;
|
|
}
|
|
#line 7172 "Zend/zend_language_scanner.c"
|
|
yy821:
|
|
YYDEBUG(821, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(822, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 671 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_EXIT;
|
|
}
|
|
#line 7185 "Zend/zend_language_scanner.c"
|
|
yy823:
|
|
YYDEBUG(823, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'L') goto yy824;
|
|
if (yych != 'l') goto yy296;
|
|
yy824:
|
|
YYDEBUG(824, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(825, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 890 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_EVAL;
|
|
}
|
|
#line 7203 "Zend/zend_language_scanner.c"
|
|
yy826:
|
|
YYDEBUG(826, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
YYDEBUG(-1, yych);
|
|
switch (yych) {
|
|
case 'D':
|
|
case 'd': goto yy827;
|
|
case 'F':
|
|
case 'f': goto yy828;
|
|
case 'I':
|
|
case 'i': goto yy829;
|
|
case 'S':
|
|
case 's': goto yy830;
|
|
case 'W':
|
|
case 'w': goto yy831;
|
|
default: goto yy296;
|
|
}
|
|
yy827:
|
|
YYDEBUG(827, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy853;
|
|
if (yych == 'e') goto yy853;
|
|
goto yy296;
|
|
yy828:
|
|
YYDEBUG(828, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'O') goto yy845;
|
|
if (yych == 'o') goto yy845;
|
|
goto yy296;
|
|
yy829:
|
|
YYDEBUG(829, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'F') goto yy843;
|
|
if (yych == 'f') goto yy843;
|
|
goto yy296;
|
|
yy830:
|
|
YYDEBUG(830, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'W') goto yy837;
|
|
if (yych == 'w') goto yy837;
|
|
goto yy296;
|
|
yy831:
|
|
YYDEBUG(831, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'H') goto yy832;
|
|
if (yych != 'h') goto yy296;
|
|
yy832:
|
|
YYDEBUG(832, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'I') goto yy833;
|
|
if (yych != 'i') goto yy296;
|
|
yy833:
|
|
YYDEBUG(833, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'L') goto yy834;
|
|
if (yych != 'l') goto yy296;
|
|
yy834:
|
|
YYDEBUG(834, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy835;
|
|
if (yych != 'e') goto yy296;
|
|
yy835:
|
|
YYDEBUG(835, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(836, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 723 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_ENDWHILE;
|
|
}
|
|
#line 7277 "Zend/zend_language_scanner.c"
|
|
yy837:
|
|
YYDEBUG(837, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'I') goto yy838;
|
|
if (yych != 'i') goto yy296;
|
|
yy838:
|
|
YYDEBUG(838, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'T') goto yy839;
|
|
if (yych != 't') goto yy296;
|
|
yy839:
|
|
YYDEBUG(839, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'C') goto yy840;
|
|
if (yych != 'c') goto yy296;
|
|
yy840:
|
|
YYDEBUG(840, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'H') goto yy841;
|
|
if (yych != 'h') goto yy296;
|
|
yy841:
|
|
YYDEBUG(841, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(842, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 767 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_ENDSWITCH;
|
|
}
|
|
#line 7310 "Zend/zend_language_scanner.c"
|
|
yy843:
|
|
YYDEBUG(843, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(844, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 711 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_ENDIF;
|
|
}
|
|
#line 7323 "Zend/zend_language_scanner.c"
|
|
yy845:
|
|
YYDEBUG(845, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'R') goto yy846;
|
|
if (yych != 'r') goto yy296;
|
|
yy846:
|
|
YYDEBUG(846, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if ((yych = *YYCURSOR) <= '^') {
|
|
if (yych <= '@') {
|
|
if (yych <= '/') goto yy847;
|
|
if (yych <= '9') goto yy295;
|
|
} else {
|
|
if (yych == 'E') goto yy848;
|
|
if (yych <= 'Z') goto yy295;
|
|
}
|
|
} else {
|
|
if (yych <= 'd') {
|
|
if (yych != '`') goto yy295;
|
|
} else {
|
|
if (yych <= 'e') goto yy848;
|
|
if (yych <= 'z') goto yy295;
|
|
if (yych >= 0x7F) goto yy295;
|
|
}
|
|
}
|
|
yy847:
|
|
YYDEBUG(847, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 735 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_ENDFOR;
|
|
}
|
|
#line 7356 "Zend/zend_language_scanner.c"
|
|
yy848:
|
|
YYDEBUG(848, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'A') goto yy849;
|
|
if (yych != 'a') goto yy296;
|
|
yy849:
|
|
YYDEBUG(849, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'C') goto yy850;
|
|
if (yych != 'c') goto yy296;
|
|
yy850:
|
|
YYDEBUG(850, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'H') goto yy851;
|
|
if (yych != 'h') goto yy296;
|
|
yy851:
|
|
YYDEBUG(851, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(852, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 743 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_ENDFOREACH;
|
|
}
|
|
#line 7384 "Zend/zend_language_scanner.c"
|
|
yy853:
|
|
YYDEBUG(853, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'C') goto yy854;
|
|
if (yych != 'c') goto yy296;
|
|
yy854:
|
|
YYDEBUG(854, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'L') goto yy855;
|
|
if (yych != 'l') goto yy296;
|
|
yy855:
|
|
YYDEBUG(855, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'A') goto yy856;
|
|
if (yych != 'a') goto yy296;
|
|
yy856:
|
|
YYDEBUG(856, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'R') goto yy857;
|
|
if (yych != 'r') goto yy296;
|
|
yy857:
|
|
YYDEBUG(857, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy858;
|
|
if (yych != 'e') goto yy296;
|
|
yy858:
|
|
YYDEBUG(858, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(859, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 751 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_ENDDECLARE;
|
|
}
|
|
#line 7422 "Zend/zend_language_scanner.c"
|
|
yy860:
|
|
YYDEBUG(860, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'T') goto yy861;
|
|
if (yych != 't') goto yy296;
|
|
yy861:
|
|
YYDEBUG(861, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'Y') goto yy862;
|
|
if (yych != 'y') goto yy296;
|
|
yy862:
|
|
YYDEBUG(862, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(863, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 926 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_EMPTY;
|
|
}
|
|
#line 7445 "Zend/zend_language_scanner.c"
|
|
yy864:
|
|
YYDEBUG(864, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'E') goto yy865;
|
|
if (yych != 'e') goto yy296;
|
|
yy865:
|
|
YYDEBUG(865, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if ((yych = *YYCURSOR) <= '^') {
|
|
if (yych <= '@') {
|
|
if (yych <= '/') goto yy866;
|
|
if (yych <= '9') goto yy295;
|
|
} else {
|
|
if (yych == 'I') goto yy867;
|
|
if (yych <= 'Z') goto yy295;
|
|
}
|
|
} else {
|
|
if (yych <= 'h') {
|
|
if (yych != '`') goto yy295;
|
|
} else {
|
|
if (yych <= 'i') goto yy867;
|
|
if (yych <= 'z') goto yy295;
|
|
if (yych >= 0x7F) goto yy295;
|
|
}
|
|
}
|
|
yy866:
|
|
YYDEBUG(866, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 715 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_ELSE;
|
|
}
|
|
#line 7478 "Zend/zend_language_scanner.c"
|
|
yy867:
|
|
YYDEBUG(867, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'F') goto yy868;
|
|
if (yych != 'f') goto yy296;
|
|
yy868:
|
|
YYDEBUG(868, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(869, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 707 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_ELSEIF;
|
|
}
|
|
#line 7496 "Zend/zend_language_scanner.c"
|
|
yy870:
|
|
YYDEBUG(870, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == 'O') goto yy871;
|
|
if (yych != 'o') goto yy296;
|
|
yy871:
|
|
YYDEBUG(871, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if (yybm[0+(yych = *YYCURSOR)] & 16) {
|
|
goto yy295;
|
|
}
|
|
YYDEBUG(872, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 791 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_ECHO;
|
|
}
|
|
#line 7514 "Zend/zend_language_scanner.c"
|
|
}
|
|
/* *********************************** */
|
|
yyc_ST_LOOKING_FOR_PROPERTY:
|
|
{
|
|
static const unsigned char yybm[] = {
|
|
0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 128, 128, 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,
|
|
64, 64, 64, 64, 64, 64, 64, 64,
|
|
64, 64, 0, 0, 0, 0, 0, 0,
|
|
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, 0, 0, 0, 0, 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, 0, 0, 0, 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,
|
|
};
|
|
YYDEBUG(873, *YYCURSOR);
|
|
YYFILL(2);
|
|
yych = *YYCURSOR;
|
|
if (yych <= '-') {
|
|
if (yych <= '\r') {
|
|
if (yych <= 0x08) goto yy881;
|
|
if (yych <= '\n') goto yy877;
|
|
if (yych <= '\f') goto yy881;
|
|
goto yy877;
|
|
} else {
|
|
if (yych == ' ') goto yy877;
|
|
if (yych <= ',') goto yy881;
|
|
}
|
|
} else {
|
|
if (yych <= '_') {
|
|
if (yych <= '@') goto yy881;
|
|
if (yych <= 'Z') goto yy879;
|
|
if (yych <= '^') goto yy881;
|
|
goto yy879;
|
|
} else {
|
|
if (yych <= '`') goto yy881;
|
|
if (yych <= 'z') goto yy879;
|
|
if (yych <= '~') goto yy881;
|
|
goto yy879;
|
|
}
|
|
}
|
|
YYDEBUG(875, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if ((yych = *YYCURSOR) == '>') goto yy886;
|
|
yy876:
|
|
YYDEBUG(876, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 836 "Zend/zend_language_scanner.l"
|
|
{
|
|
yyless(0);
|
|
yy_pop_state(TSRMLS_C);
|
|
goto restart;
|
|
}
|
|
#line 7591 "Zend/zend_language_scanner.c"
|
|
yy877:
|
|
YYDEBUG(877, *YYCURSOR);
|
|
++YYCURSOR;
|
|
yych = *YYCURSOR;
|
|
goto yy885;
|
|
yy878:
|
|
YYDEBUG(878, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 824 "Zend/zend_language_scanner.l"
|
|
{
|
|
/* do nothing */
|
|
goto restart;
|
|
}
|
|
#line 7605 "Zend/zend_language_scanner.c"
|
|
yy879:
|
|
YYDEBUG(879, *YYCURSOR);
|
|
++YYCURSOR;
|
|
yych = *YYCURSOR;
|
|
goto yy883;
|
|
yy880:
|
|
YYDEBUG(880, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 829 "Zend/zend_language_scanner.l"
|
|
{
|
|
yy_pop_state(TSRMLS_C);
|
|
zend_copy_value(zendlval, yytext, yyleng);
|
|
zendlval->type = IS_STRING;
|
|
return T_STRING;
|
|
}
|
|
#line 7621 "Zend/zend_language_scanner.c"
|
|
yy881:
|
|
YYDEBUG(881, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
goto yy876;
|
|
yy882:
|
|
YYDEBUG(882, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
yy883:
|
|
YYDEBUG(883, *YYCURSOR);
|
|
if (yybm[0+yych] & 64) {
|
|
goto yy882;
|
|
}
|
|
goto yy880;
|
|
yy884:
|
|
YYDEBUG(884, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
yy885:
|
|
YYDEBUG(885, *YYCURSOR);
|
|
if (yybm[0+yych] & 128) {
|
|
goto yy884;
|
|
}
|
|
goto yy878;
|
|
yy886:
|
|
YYDEBUG(886, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(887, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 820 "Zend/zend_language_scanner.l"
|
|
{
|
|
return T_OBJECT_OPERATOR;
|
|
}
|
|
#line 7657 "Zend/zend_language_scanner.c"
|
|
}
|
|
/* *********************************** */
|
|
yyc_ST_LOOKING_FOR_VARNAME:
|
|
{
|
|
static const unsigned char yybm[] = {
|
|
0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 0, 0, 0, 0, 0, 0,
|
|
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, 0, 0, 0, 0, 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, 0, 0, 0, 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,
|
|
};
|
|
YYDEBUG(888, *YYCURSOR);
|
|
YYFILL(2);
|
|
yych = *YYCURSOR;
|
|
if (yych <= '_') {
|
|
if (yych <= '@') goto yy892;
|
|
if (yych <= 'Z') goto yy890;
|
|
if (yych <= '^') goto yy892;
|
|
} else {
|
|
if (yych <= '`') goto yy892;
|
|
if (yych <= 'z') goto yy890;
|
|
if (yych <= '~') goto yy892;
|
|
}
|
|
yy890:
|
|
YYDEBUG(890, *YYCURSOR);
|
|
++YYCURSOR;
|
|
yych = *YYCURSOR;
|
|
goto yy895;
|
|
yy891:
|
|
YYDEBUG(891, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1105 "Zend/zend_language_scanner.l"
|
|
{
|
|
zend_copy_value(zendlval, yytext, yyleng);
|
|
zendlval->type = IS_STRING;
|
|
yy_pop_state(TSRMLS_C);
|
|
yy_push_state(ST_IN_SCRIPTING TSRMLS_CC);
|
|
return T_STRING_VARNAME;
|
|
}
|
|
#line 7724 "Zend/zend_language_scanner.c"
|
|
yy892:
|
|
YYDEBUG(892, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(893, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1114 "Zend/zend_language_scanner.l"
|
|
{
|
|
yyless(0);
|
|
yy_pop_state(TSRMLS_C);
|
|
yy_push_state(ST_IN_SCRIPTING TSRMLS_CC);
|
|
goto restart;
|
|
}
|
|
#line 7737 "Zend/zend_language_scanner.c"
|
|
yy894:
|
|
YYDEBUG(894, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
yy895:
|
|
YYDEBUG(895, *YYCURSOR);
|
|
if (yybm[0+yych] & 128) {
|
|
goto yy894;
|
|
}
|
|
goto yy891;
|
|
}
|
|
/* *********************************** */
|
|
yyc_ST_NOWDOC:
|
|
{
|
|
static const unsigned char yybm[] = {
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 8, 32, 32, 16, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
96, 96, 96, 96, 96, 96, 96, 96,
|
|
96, 96, 32, 32, 32, 32, 32, 32,
|
|
32, 192, 192, 192, 192, 192, 192, 192,
|
|
192, 192, 192, 192, 192, 192, 192, 192,
|
|
192, 192, 192, 192, 192, 192, 192, 192,
|
|
192, 192, 192, 32, 32, 32, 32, 192,
|
|
32, 192, 192, 192, 192, 192, 192, 192,
|
|
192, 192, 192, 192, 192, 192, 192, 192,
|
|
192, 192, 192, 192, 192, 192, 192, 192,
|
|
192, 192, 192, 32, 32, 32, 32, 192,
|
|
192, 192, 192, 192, 192, 192, 192, 192,
|
|
192, 192, 192, 192, 192, 192, 192, 192,
|
|
192, 192, 192, 192, 192, 192, 192, 192,
|
|
192, 192, 192, 192, 192, 192, 192, 192,
|
|
192, 192, 192, 192, 192, 192, 192, 192,
|
|
192, 192, 192, 192, 192, 192, 192, 192,
|
|
192, 192, 192, 192, 192, 192, 192, 192,
|
|
192, 192, 192, 192, 192, 192, 192, 192,
|
|
192, 192, 192, 192, 192, 192, 192, 192,
|
|
192, 192, 192, 192, 192, 192, 192, 192,
|
|
192, 192, 192, 192, 192, 192, 192, 192,
|
|
192, 192, 192, 192, 192, 192, 192, 192,
|
|
192, 192, 192, 192, 192, 192, 192, 192,
|
|
192, 192, 192, 192, 192, 192, 192, 192,
|
|
192, 192, 192, 192, 192, 192, 192, 192,
|
|
192, 192, 192, 192, 192, 192, 192, 192,
|
|
};
|
|
YYDEBUG(896, *YYCURSOR);
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if (yybm[0+yych] & 32) {
|
|
goto yy902;
|
|
}
|
|
if (yych <= '\f') goto yy898;
|
|
if (yych <= '\r') goto yy900;
|
|
goto yy904;
|
|
yy898:
|
|
YYDEBUG(898, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(899, *YYCURSOR);
|
|
if (yybm[0+yych] & 32) {
|
|
goto yy902;
|
|
}
|
|
if (yych <= '\f') goto yy898;
|
|
if (yych >= 0x0E) goto yy928;
|
|
yy900:
|
|
YYDEBUG(900, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(901, *YYCURSOR);
|
|
if (yybm[0+yych] & 32) {
|
|
goto yy902;
|
|
}
|
|
if (yych <= '\f') goto yy898;
|
|
if (yych <= '\r') goto yy900;
|
|
goto yy928;
|
|
yy902:
|
|
YYDEBUG(902, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(903, *YYCURSOR);
|
|
if (yybm[0+yych] & 32) {
|
|
goto yy902;
|
|
}
|
|
if (yych <= '\f') goto yy898;
|
|
if (yych <= '\r') goto yy900;
|
|
goto yy926;
|
|
yy904:
|
|
YYDEBUG(904, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(2);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(905, *YYCURSOR);
|
|
if (yybm[0+yych] & 64) {
|
|
goto yy904;
|
|
}
|
|
if (yych <= '\f') {
|
|
if (yych != '\n') goto yy908;
|
|
} else {
|
|
if (yych <= '\r') goto yy906;
|
|
if (yych == ';') goto yy907;
|
|
goto yy908;
|
|
}
|
|
yy906:
|
|
YYDEBUG(906, *YYCURSOR);
|
|
yy907:
|
|
YYDEBUG(907, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == '\n') goto yy906;
|
|
if (yych == '\r') goto yy906;
|
|
goto yy919;
|
|
yy908:
|
|
YYDEBUG(908, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if (yybm[0+yych] & 8) {
|
|
goto yy898;
|
|
}
|
|
if (yych <= '^') {
|
|
if (yych <= '\r') {
|
|
if (yych >= '\r') goto yy900;
|
|
} else {
|
|
if (yych <= '@') goto yy909;
|
|
if (yych <= 'Z') goto yy911;
|
|
}
|
|
} else {
|
|
if (yych <= '`') {
|
|
if (yych <= '_') goto yy911;
|
|
} else {
|
|
if (yych <= 'z') goto yy911;
|
|
if (yych >= 0x7F) goto yy911;
|
|
}
|
|
}
|
|
yy909:
|
|
YYDEBUG(909, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(910, *YYCURSOR);
|
|
if (yybm[0+yych] & 8) {
|
|
goto yy898;
|
|
}
|
|
if (yych <= '^') {
|
|
if (yych <= '\r') {
|
|
if (yych <= '\f') goto yy909;
|
|
goto yy900;
|
|
} else {
|
|
if (yych <= '@') goto yy909;
|
|
if (yych <= 'Z') goto yy913;
|
|
goto yy909;
|
|
}
|
|
} else {
|
|
if (yych <= '`') {
|
|
if (yych <= '_') goto yy913;
|
|
goto yy909;
|
|
} else {
|
|
if (yych <= 'z') goto yy913;
|
|
if (yych <= '~') goto yy909;
|
|
goto yy913;
|
|
}
|
|
}
|
|
yy911:
|
|
YYDEBUG(911, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(912, *YYCURSOR);
|
|
if (yybm[0+yych] & 8) {
|
|
goto yy898;
|
|
}
|
|
if (yych <= '@') {
|
|
if (yych <= '/') {
|
|
if (yych == '\r') goto yy900;
|
|
goto yy909;
|
|
} else {
|
|
if (yych <= '9') goto yy913;
|
|
if (yych == ';') goto yy915;
|
|
goto yy909;
|
|
}
|
|
} else {
|
|
if (yych <= '_') {
|
|
if (yych <= 'Z') goto yy911;
|
|
if (yych <= '^') goto yy909;
|
|
goto yy911;
|
|
} else {
|
|
if (yych <= '`') goto yy909;
|
|
if (yych <= 'z') goto yy911;
|
|
if (yych <= '~') goto yy909;
|
|
goto yy911;
|
|
}
|
|
}
|
|
yy913:
|
|
YYDEBUG(913, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(914, *YYCURSOR);
|
|
if (yybm[0+yych] & 8) {
|
|
goto yy898;
|
|
}
|
|
if (yych <= '@') {
|
|
if (yych <= '/') {
|
|
if (yych == '\r') goto yy900;
|
|
goto yy909;
|
|
} else {
|
|
if (yych <= '9') goto yy913;
|
|
if (yych != ';') goto yy909;
|
|
}
|
|
} else {
|
|
if (yych <= '_') {
|
|
if (yych <= 'Z') goto yy913;
|
|
if (yych <= '^') goto yy909;
|
|
goto yy913;
|
|
} else {
|
|
if (yych <= '`') goto yy909;
|
|
if (yych <= 'z') goto yy913;
|
|
if (yych <= '~') goto yy909;
|
|
goto yy913;
|
|
}
|
|
}
|
|
yy915:
|
|
YYDEBUG(915, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(916, *YYCURSOR);
|
|
if (yybm[0+yych] & 8) {
|
|
goto yy898;
|
|
}
|
|
if (yych <= '^') {
|
|
if (yych <= '\r') {
|
|
if (yych <= '\f') goto yy915;
|
|
goto yy900;
|
|
} else {
|
|
if (yych <= '@') goto yy915;
|
|
if (yych >= '[') goto yy915;
|
|
}
|
|
} else {
|
|
if (yych <= '`') {
|
|
if (yych >= '`') goto yy915;
|
|
} else {
|
|
if (yych <= 'z') goto yy917;
|
|
if (yych <= '~') goto yy915;
|
|
}
|
|
}
|
|
yy917:
|
|
YYDEBUG(917, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(918, *YYCURSOR);
|
|
if (yybm[0+yych] & 8) {
|
|
goto yy898;
|
|
}
|
|
if (yych <= 'Z') {
|
|
if (yych <= '/') {
|
|
if (yych == '\r') goto yy900;
|
|
goto yy915;
|
|
} else {
|
|
if (yych <= '9') goto yy917;
|
|
if (yych <= '@') goto yy915;
|
|
goto yy917;
|
|
}
|
|
} else {
|
|
if (yych <= '`') {
|
|
if (yych == '_') goto yy917;
|
|
goto yy915;
|
|
} else {
|
|
if (yych <= 'z') goto yy917;
|
|
if (yych <= '~') goto yy915;
|
|
goto yy917;
|
|
}
|
|
}
|
|
yy919:
|
|
YYDEBUG(919, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if (yybm[0+yych] & 8) {
|
|
goto yy898;
|
|
}
|
|
if (yych <= '^') {
|
|
if (yych <= '\r') {
|
|
if (yych >= '\r') goto yy900;
|
|
} else {
|
|
if (yych <= '@') goto yy920;
|
|
if (yych <= 'Z') goto yy922;
|
|
}
|
|
} else {
|
|
if (yych <= '`') {
|
|
if (yych <= '_') goto yy922;
|
|
} else {
|
|
if (yych <= 'z') goto yy922;
|
|
if (yych >= 0x7F) goto yy922;
|
|
}
|
|
}
|
|
yy920:
|
|
YYDEBUG(920, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(921, *YYCURSOR);
|
|
if (yybm[0+yych] & 8) {
|
|
goto yy898;
|
|
}
|
|
if (yych <= '^') {
|
|
if (yych <= '\r') {
|
|
if (yych <= '\f') goto yy920;
|
|
goto yy900;
|
|
} else {
|
|
if (yych <= '@') goto yy920;
|
|
if (yych <= 'Z') goto yy924;
|
|
goto yy920;
|
|
}
|
|
} else {
|
|
if (yych <= '`') {
|
|
if (yych <= '_') goto yy924;
|
|
goto yy920;
|
|
} else {
|
|
if (yych <= 'z') goto yy924;
|
|
if (yych <= '~') goto yy920;
|
|
goto yy924;
|
|
}
|
|
}
|
|
yy922:
|
|
YYDEBUG(922, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(923, *YYCURSOR);
|
|
if (yybm[0+yych] & 8) {
|
|
goto yy898;
|
|
}
|
|
if (yych <= '@') {
|
|
if (yych <= '/') {
|
|
if (yych == '\r') goto yy900;
|
|
goto yy915;
|
|
} else {
|
|
if (yych <= '9') goto yy924;
|
|
if (yych == ';') goto yy920;
|
|
goto yy915;
|
|
}
|
|
} else {
|
|
if (yych <= '_') {
|
|
if (yych <= 'Z') goto yy922;
|
|
if (yych <= '^') goto yy915;
|
|
goto yy922;
|
|
} else {
|
|
if (yych <= '`') goto yy915;
|
|
if (yych <= 'z') goto yy922;
|
|
if (yych <= '~') goto yy915;
|
|
goto yy922;
|
|
}
|
|
}
|
|
yy924:
|
|
YYDEBUG(924, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(925, *YYCURSOR);
|
|
if (yybm[0+yych] & 8) {
|
|
goto yy898;
|
|
}
|
|
if (yych <= '@') {
|
|
if (yych <= '/') {
|
|
if (yych == '\r') goto yy900;
|
|
goto yy915;
|
|
} else {
|
|
if (yych <= '9') goto yy924;
|
|
if (yych == ';') goto yy920;
|
|
goto yy915;
|
|
}
|
|
} else {
|
|
if (yych <= '_') {
|
|
if (yych <= 'Z') goto yy924;
|
|
if (yych <= '^') goto yy915;
|
|
goto yy924;
|
|
} else {
|
|
if (yych <= '`') goto yy915;
|
|
if (yych <= 'z') goto yy924;
|
|
if (yych <= '~') goto yy915;
|
|
goto yy924;
|
|
}
|
|
}
|
|
yy926:
|
|
YYDEBUG(926, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(927, *YYCURSOR);
|
|
if (yybm[0+yych] & 8) {
|
|
goto yy898;
|
|
}
|
|
if (yych <= '@') {
|
|
if (yych <= '/') {
|
|
if (yych == '\r') goto yy900;
|
|
goto yy909;
|
|
} else {
|
|
if (yych <= '9') goto yy926;
|
|
if (yych == ';') goto yy920;
|
|
goto yy909;
|
|
}
|
|
} else {
|
|
if (yych <= '_') {
|
|
if (yych <= 'Z') goto yy926;
|
|
if (yych <= '^') goto yy909;
|
|
goto yy926;
|
|
} else {
|
|
if (yych <= '`') goto yy909;
|
|
if (yych <= 'z') goto yy926;
|
|
if (yych <= '~') goto yy909;
|
|
goto yy926;
|
|
}
|
|
}
|
|
yy928:
|
|
YYDEBUG(928, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(929, *YYCURSOR);
|
|
if (yych <= ';') {
|
|
if (yych <= '\r') {
|
|
if (yych == '\n') goto yy931;
|
|
if (yych <= '\f') goto yy908;
|
|
goto yy931;
|
|
} else {
|
|
if (yych <= '/') goto yy908;
|
|
if (yych <= '9') goto yy928;
|
|
if (yych <= ':') goto yy908;
|
|
}
|
|
} else {
|
|
if (yych <= '_') {
|
|
if (yych <= '@') goto yy908;
|
|
if (yych <= 'Z') goto yy928;
|
|
if (yych <= '^') goto yy908;
|
|
goto yy928;
|
|
} else {
|
|
if (yych <= '`') goto yy908;
|
|
if (yych <= 'z') goto yy928;
|
|
if (yych <= '~') goto yy908;
|
|
goto yy928;
|
|
}
|
|
}
|
|
YYDEBUG(930, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if (yych == '\n') goto yy931;
|
|
if (yych != '\r') goto yy919;
|
|
yy931:
|
|
YYDEBUG(931, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(932, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1858 "Zend/zend_language_scanner.l"
|
|
{
|
|
char *end = yytext + yyleng - 1;
|
|
|
|
if (end[-1] == ';') {
|
|
end--;
|
|
yyleng--;
|
|
}
|
|
|
|
if (yyleng > CG(heredoc_len) && !memcmp(end - CG(heredoc_len), CG(heredoc), CG(heredoc_len))) {
|
|
int len = yyleng - CG(heredoc_len) - 2; /* 2 for newline before and after label */
|
|
|
|
if (len > 0 && yytext[len - 1] == '\r' && yytext[len] == '\n') {
|
|
len--;
|
|
}
|
|
|
|
/* Go back before last label char, to match in ST_END_HEREDOC state */
|
|
yyless(yyleng - 2);
|
|
|
|
/* Subtract the remaining label length. yyleng must include newline
|
|
* before label, for zend_highlight/strip, tokenizer, etc. */
|
|
yyleng = yyleng - CG(heredoc_len) - 1;
|
|
|
|
CG(increment_lineno) = 1; /* For newline before label */
|
|
BEGIN(ST_END_NOWDOC);
|
|
|
|
HANDLE_NEWLINES(yytext, len);
|
|
zend_copy_value(zendlval, yytext, len);
|
|
zendlval->type = IS_STRING;
|
|
return T_ENCAPSED_AND_WHITESPACE;
|
|
} else {
|
|
/* Go back to end of label, so the next match works correctly in case of
|
|
* a variable or another label at the beginning of the next line */
|
|
yyless(yyleng - 1);
|
|
yymore();
|
|
}
|
|
}
|
|
#line 8236 "Zend/zend_language_scanner.c"
|
|
}
|
|
/* *********************************** */
|
|
yyc_ST_ONE_LINE_COMMENT:
|
|
{
|
|
static const unsigned char yybm[] = {
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 0, 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, 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, 0, 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,
|
|
};
|
|
YYDEBUG(933, *YYCURSOR);
|
|
YYFILL(2);
|
|
yych = *YYCURSOR;
|
|
if (yybm[0+yych] & 128) {
|
|
goto yy939;
|
|
}
|
|
if (yych <= '\f') goto yy942;
|
|
if (yych <= '\r') goto yy943;
|
|
if (yych <= '=') goto yy935;
|
|
if (yych <= '>') goto yy937;
|
|
goto yy938;
|
|
yy935:
|
|
YYDEBUG(935, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if ((yych = *YYCURSOR) == '>') goto yy947;
|
|
yy936:
|
|
YYDEBUG(936, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1488 "Zend/zend_language_scanner.l"
|
|
{
|
|
yymore();
|
|
}
|
|
#line 8297 "Zend/zend_language_scanner.c"
|
|
yy937:
|
|
YYDEBUG(937, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
goto yy936;
|
|
yy938:
|
|
YYDEBUG(938, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == '>') goto yy947;
|
|
goto yy936;
|
|
yy939:
|
|
YYDEBUG(939, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(940, *YYCURSOR);
|
|
if (yybm[0+yych] & 128) {
|
|
goto yy939;
|
|
}
|
|
goto yy946;
|
|
yy941:
|
|
YYDEBUG(941, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1492 "Zend/zend_language_scanner.l"
|
|
{
|
|
switch (yytext[yyleng-1]) {
|
|
case '?': case '%': case '>':
|
|
yyless(yyleng-1);
|
|
yymore();
|
|
break;
|
|
case '\n':
|
|
CG(zend_lineno)++;
|
|
/* intentional fall through */
|
|
default:
|
|
zendlval->value.str.val = yytext; /* no copying - intentional */
|
|
zendlval->value.str.len = yyleng;
|
|
zendlval->type = IS_STRING;
|
|
BEGIN(ST_IN_SCRIPTING);
|
|
return T_COMMENT;
|
|
}
|
|
}
|
|
#line 8338 "Zend/zend_language_scanner.c"
|
|
yy942:
|
|
YYDEBUG(942, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
goto yy941;
|
|
yy943:
|
|
YYDEBUG(943, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych != '\n') goto yy941;
|
|
YYDEBUG(944, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(945, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1510 "Zend/zend_language_scanner.l"
|
|
{
|
|
zendlval->value.str.val = yytext; /* no copying - intentional */
|
|
zendlval->value.str.len = yyleng;
|
|
zendlval->type = IS_STRING;
|
|
BEGIN(ST_IN_SCRIPTING);
|
|
CG(zend_lineno)++;
|
|
return T_COMMENT;
|
|
}
|
|
#line 8360 "Zend/zend_language_scanner.c"
|
|
yy946:
|
|
YYDEBUG(946, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
goto yy941;
|
|
yy947:
|
|
YYDEBUG(947, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(948, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1519 "Zend/zend_language_scanner.l"
|
|
{
|
|
if (CG(asp_tags) || yytext[yyleng-2] != '%') { /* asp comment? */
|
|
zendlval->value.str.val = yytext; /* no copying - intentional */
|
|
zendlval->value.str.len = yyleng-2;
|
|
zendlval->type = IS_STRING;
|
|
yyleng -= 2;
|
|
yyless(yyleng);
|
|
BEGIN(ST_IN_SCRIPTING);
|
|
return T_COMMENT;
|
|
} else {
|
|
yymore();
|
|
}
|
|
}
|
|
#line 8384 "Zend/zend_language_scanner.c"
|
|
}
|
|
/* *********************************** */
|
|
yyc_ST_START_HEREDOC:
|
|
{
|
|
static const unsigned char yybm[] = {
|
|
0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 0, 0, 0, 0, 0, 0,
|
|
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, 0, 0, 0, 0, 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, 0, 0, 0, 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,
|
|
};
|
|
YYDEBUG(949, *YYCURSOR);
|
|
YYFILL(3);
|
|
yych = *YYCURSOR;
|
|
if (yych <= '_') {
|
|
if (yych <= '@') goto yy951;
|
|
if (yych <= 'Z') goto yy953;
|
|
if (yych >= '_') goto yy953;
|
|
} else {
|
|
if (yych <= '`') goto yy951;
|
|
if (yych <= 'z') goto yy953;
|
|
if (yych >= 0x7F) goto yy953;
|
|
}
|
|
yy951:
|
|
YYDEBUG(951, *YYCURSOR);
|
|
++YYCURSOR;
|
|
yy952:
|
|
YYDEBUG(952, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1675 "Zend/zend_language_scanner.l"
|
|
{
|
|
yyless(0);
|
|
BEGIN(ST_HEREDOC);
|
|
goto restart;
|
|
}
|
|
#line 8447 "Zend/zend_language_scanner.c"
|
|
yy953:
|
|
YYDEBUG(953, *YYCURSOR);
|
|
yyaccept = 0;
|
|
yych = *(YYMARKER = ++YYCURSOR);
|
|
if (yybm[0+yych] & 128) {
|
|
goto yy954;
|
|
}
|
|
if (yych <= '\f') {
|
|
if (yych == '\n') goto yy958;
|
|
goto yy952;
|
|
} else {
|
|
if (yych <= '\r') goto yy958;
|
|
if (yych == ';') goto yy957;
|
|
goto yy952;
|
|
}
|
|
yy954:
|
|
YYDEBUG(954, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(2);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(955, *YYCURSOR);
|
|
if (yybm[0+yych] & 128) {
|
|
goto yy954;
|
|
}
|
|
if (yych <= '\f') {
|
|
if (yych == '\n') goto yy958;
|
|
} else {
|
|
if (yych <= '\r') goto yy958;
|
|
if (yych == ';') goto yy957;
|
|
}
|
|
yy956:
|
|
YYDEBUG(956, *YYCURSOR);
|
|
YYCURSOR = YYMARKER;
|
|
goto yy952;
|
|
yy957:
|
|
YYDEBUG(957, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == '\n') goto yy958;
|
|
if (yych != '\r') goto yy956;
|
|
yy958:
|
|
YYDEBUG(958, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(959, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1681 "Zend/zend_language_scanner.l"
|
|
{
|
|
int label_len = yyleng - 1;
|
|
|
|
if (yytext[label_len-1]==';') {
|
|
label_len--;
|
|
}
|
|
|
|
yyless(label_len);
|
|
|
|
if (label_len==CG(heredoc_len) && !memcmp(yytext, CG(heredoc), label_len)) {
|
|
zendlval->value.str.val = CG(heredoc);
|
|
zendlval->value.str.len = label_len;
|
|
CG(heredoc)=NULL;
|
|
CG(heredoc_len)=0;
|
|
BEGIN(ST_IN_SCRIPTING);
|
|
return T_END_HEREDOC;
|
|
} else {
|
|
BEGIN(ST_HEREDOC);
|
|
yymore();
|
|
}
|
|
}
|
|
#line 8514 "Zend/zend_language_scanner.c"
|
|
}
|
|
/* *********************************** */
|
|
yyc_ST_START_NOWDOC:
|
|
{
|
|
static const unsigned char yybm[] = {
|
|
0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0,
|
|
128, 128, 128, 128, 128, 128, 128, 128,
|
|
128, 128, 0, 0, 0, 0, 0, 0,
|
|
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, 0, 0, 0, 0, 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, 0, 0, 0, 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,
|
|
};
|
|
YYDEBUG(960, *YYCURSOR);
|
|
YYFILL(3);
|
|
yych = *YYCURSOR;
|
|
if (yych <= '_') {
|
|
if (yych <= '@') goto yy962;
|
|
if (yych <= 'Z') goto yy964;
|
|
if (yych >= '_') goto yy964;
|
|
} else {
|
|
if (yych <= '`') goto yy962;
|
|
if (yych <= 'z') goto yy964;
|
|
if (yych >= 0x7F) goto yy964;
|
|
}
|
|
yy962:
|
|
YYDEBUG(962, *YYCURSOR);
|
|
++YYCURSOR;
|
|
yy963:
|
|
YYDEBUG(963, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1832 "Zend/zend_language_scanner.l"
|
|
{
|
|
yyless(0);
|
|
BEGIN(ST_NOWDOC);
|
|
goto restart;
|
|
}
|
|
#line 8577 "Zend/zend_language_scanner.c"
|
|
yy964:
|
|
YYDEBUG(964, *YYCURSOR);
|
|
yyaccept = 0;
|
|
yych = *(YYMARKER = ++YYCURSOR);
|
|
if (yybm[0+yych] & 128) {
|
|
goto yy965;
|
|
}
|
|
if (yych <= '\f') {
|
|
if (yych == '\n') goto yy969;
|
|
goto yy963;
|
|
} else {
|
|
if (yych <= '\r') goto yy969;
|
|
if (yych == ';') goto yy968;
|
|
goto yy963;
|
|
}
|
|
yy965:
|
|
YYDEBUG(965, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(2);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(966, *YYCURSOR);
|
|
if (yybm[0+yych] & 128) {
|
|
goto yy965;
|
|
}
|
|
if (yych <= '\f') {
|
|
if (yych == '\n') goto yy969;
|
|
} else {
|
|
if (yych <= '\r') goto yy969;
|
|
if (yych == ';') goto yy968;
|
|
}
|
|
yy967:
|
|
YYDEBUG(967, *YYCURSOR);
|
|
YYCURSOR = YYMARKER;
|
|
goto yy963;
|
|
yy968:
|
|
YYDEBUG(968, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yych == '\n') goto yy969;
|
|
if (yych != '\r') goto yy967;
|
|
yy969:
|
|
YYDEBUG(969, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(970, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1838 "Zend/zend_language_scanner.l"
|
|
{
|
|
int label_len = yyleng - 1;
|
|
|
|
if (yytext[label_len-1]==';') {
|
|
label_len--;
|
|
}
|
|
|
|
if (label_len==CG(heredoc_len) && !memcmp(yytext, CG(heredoc), label_len)) {
|
|
yyless(label_len-1);
|
|
yyleng = 0;
|
|
BEGIN(ST_END_NOWDOC);
|
|
ZVAL_EMPTY_STRING(zendlval);
|
|
return T_ENCAPSED_AND_WHITESPACE;
|
|
} else {
|
|
BEGIN(ST_NOWDOC);
|
|
yyless(label_len);
|
|
yymore();
|
|
}
|
|
}
|
|
#line 8642 "Zend/zend_language_scanner.c"
|
|
}
|
|
/* *********************************** */
|
|
yyc_ST_VAR_OFFSET:
|
|
{
|
|
static const unsigned char yybm[] = {
|
|
0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0,
|
|
224, 224, 224, 224, 224, 224, 224, 224,
|
|
224, 224, 0, 0, 0, 0, 0, 0,
|
|
0, 160, 160, 160, 160, 160, 160, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 0, 0, 0, 0, 32,
|
|
0, 160, 160, 160, 160, 160, 160, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 0, 0, 0, 0, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
32, 32, 32, 32, 32, 32, 32, 32,
|
|
};
|
|
YYDEBUG(971, *YYCURSOR);
|
|
YYFILL(3);
|
|
yych = *YYCURSOR;
|
|
if (yych <= '/') {
|
|
if (yych <= ' ') {
|
|
if (yych <= '\f') {
|
|
if (yych <= 0x08) goto yy985;
|
|
if (yych <= '\n') goto yy981;
|
|
goto yy985;
|
|
} else {
|
|
if (yych <= '\r') goto yy981;
|
|
if (yych <= 0x1F) goto yy985;
|
|
goto yy981;
|
|
}
|
|
} else {
|
|
if (yych <= '$') {
|
|
if (yych <= '"') goto yy980;
|
|
if (yych <= '#') goto yy981;
|
|
goto yy976;
|
|
} else {
|
|
if (yych == '\'') goto yy981;
|
|
goto yy980;
|
|
}
|
|
}
|
|
} else {
|
|
if (yych <= '\\') {
|
|
if (yych <= '@') {
|
|
if (yych <= '0') goto yy973;
|
|
if (yych <= '9') goto yy975;
|
|
goto yy980;
|
|
} else {
|
|
if (yych <= 'Z') goto yy983;
|
|
if (yych <= '[') goto yy980;
|
|
goto yy981;
|
|
}
|
|
} else {
|
|
if (yych <= '_') {
|
|
if (yych <= ']') goto yy978;
|
|
if (yych <= '^') goto yy980;
|
|
goto yy983;
|
|
} else {
|
|
if (yych <= '`') goto yy980;
|
|
if (yych <= 'z') goto yy983;
|
|
if (yych <= '~') goto yy980;
|
|
goto yy983;
|
|
}
|
|
}
|
|
}
|
|
yy973:
|
|
YYDEBUG(973, *YYCURSOR);
|
|
yyaccept = 0;
|
|
yych = *(YYMARKER = ++YYCURSOR);
|
|
if (yych <= 'W') {
|
|
if (yych <= '/') goto yy974;
|
|
if (yych <= '9') goto yy996;
|
|
} else {
|
|
if (yych <= 'X') goto yy994;
|
|
if (yych == 'x') goto yy994;
|
|
}
|
|
yy974:
|
|
YYDEBUG(974, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1164 "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)) {
|
|
zendlval->value.lval = strtol(yytext, NULL, 10);
|
|
zendlval->type = IS_LONG;
|
|
} else {
|
|
zendlval->value.str.val = (char *)estrndup(yytext, yyleng);
|
|
zendlval->value.str.len = yyleng;
|
|
zendlval->type = IS_STRING;
|
|
}
|
|
return T_NUM_STRING;
|
|
}
|
|
#line 8755 "Zend/zend_language_scanner.c"
|
|
yy975:
|
|
YYDEBUG(975, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
goto yy993;
|
|
yy976:
|
|
YYDEBUG(976, *YYCURSOR);
|
|
++YYCURSOR;
|
|
if ((yych = *YYCURSOR) <= '_') {
|
|
if (yych <= '@') goto yy977;
|
|
if (yych <= 'Z') goto yy989;
|
|
if (yych >= '_') goto yy989;
|
|
} else {
|
|
if (yych <= '`') goto yy977;
|
|
if (yych <= 'z') goto yy989;
|
|
if (yych >= 0x7F) goto yy989;
|
|
}
|
|
yy977:
|
|
YYDEBUG(977, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1454 "Zend/zend_language_scanner.l"
|
|
{
|
|
/* Only '[' can be valid, but returning other tokens will allow a more explicit parse error */
|
|
return yytext[0];
|
|
}
|
|
#line 8780 "Zend/zend_language_scanner.c"
|
|
yy978:
|
|
YYDEBUG(978, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(979, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1449 "Zend/zend_language_scanner.l"
|
|
{
|
|
yy_pop_state(TSRMLS_C);
|
|
return ']';
|
|
}
|
|
#line 8791 "Zend/zend_language_scanner.c"
|
|
yy980:
|
|
YYDEBUG(980, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
goto yy977;
|
|
yy981:
|
|
YYDEBUG(981, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(982, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1459 "Zend/zend_language_scanner.l"
|
|
{
|
|
/* Invalid rule to return a more explicit parse error with proper line number */
|
|
yyless(0);
|
|
yy_pop_state(TSRMLS_C);
|
|
ZVAL_EMPTY_STRING(zendlval); /* Empty since it won't be used */
|
|
return T_ENCAPSED_AND_WHITESPACE;
|
|
}
|
|
#line 8809 "Zend/zend_language_scanner.c"
|
|
yy983:
|
|
YYDEBUG(983, *YYCURSOR);
|
|
++YYCURSOR;
|
|
yych = *YYCURSOR;
|
|
goto yy988;
|
|
yy984:
|
|
YYDEBUG(984, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1467 "Zend/zend_language_scanner.l"
|
|
{
|
|
zend_copy_value(zendlval, yytext, yyleng);
|
|
zendlval->type = IS_STRING;
|
|
return T_STRING;
|
|
}
|
|
#line 8824 "Zend/zend_language_scanner.c"
|
|
yy985:
|
|
YYDEBUG(985, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYDEBUG(986, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1920 "Zend/zend_language_scanner.l"
|
|
{
|
|
zend_error(E_COMPILE_WARNING,"Unexpected character in input: '%c' (ASCII=%d) state=%d", yytext[0], yytext[0], YYSTATE);
|
|
goto restart;
|
|
}
|
|
#line 8835 "Zend/zend_language_scanner.c"
|
|
yy987:
|
|
YYDEBUG(987, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
yy988:
|
|
YYDEBUG(988, *YYCURSOR);
|
|
if (yybm[0+yych] & 32) {
|
|
goto yy987;
|
|
}
|
|
goto yy984;
|
|
yy989:
|
|
YYDEBUG(989, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(990, *YYCURSOR);
|
|
if (yych <= '^') {
|
|
if (yych <= '9') {
|
|
if (yych >= '0') goto yy989;
|
|
} else {
|
|
if (yych <= '@') goto yy991;
|
|
if (yych <= 'Z') goto yy989;
|
|
}
|
|
} else {
|
|
if (yych <= '`') {
|
|
if (yych <= '_') goto yy989;
|
|
} else {
|
|
if (yych <= 'z') goto yy989;
|
|
if (yych >= 0x7F) goto yy989;
|
|
}
|
|
}
|
|
yy991:
|
|
YYDEBUG(991, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1443 "Zend/zend_language_scanner.l"
|
|
{
|
|
zend_copy_value(zendlval, (yytext+1), (yyleng-1));
|
|
zendlval->type = IS_STRING;
|
|
return T_VARIABLE;
|
|
}
|
|
#line 8877 "Zend/zend_language_scanner.c"
|
|
yy992:
|
|
YYDEBUG(992, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
yy993:
|
|
YYDEBUG(993, *YYCURSOR);
|
|
if (yybm[0+yych] & 64) {
|
|
goto yy992;
|
|
}
|
|
goto yy974;
|
|
yy994:
|
|
YYDEBUG(994, *YYCURSOR);
|
|
yych = *++YYCURSOR;
|
|
if (yybm[0+yych] & 128) {
|
|
goto yy999;
|
|
}
|
|
YYDEBUG(995, *YYCURSOR);
|
|
YYCURSOR = YYMARKER;
|
|
goto yy974;
|
|
yy996:
|
|
YYDEBUG(996, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(997, *YYCURSOR);
|
|
if (yych <= '/') goto yy998;
|
|
if (yych <= '9') goto yy996;
|
|
yy998:
|
|
YYDEBUG(998, *YYCURSOR);
|
|
yyleng = YYCURSOR - SCNG(yy_text);
|
|
#line 1176 "Zend/zend_language_scanner.l"
|
|
{ /* Offset must be treated as a string */
|
|
zendlval->value.str.val = (char *)estrndup(yytext, yyleng);
|
|
zendlval->value.str.len = yyleng;
|
|
zendlval->type = IS_STRING;
|
|
return T_NUM_STRING;
|
|
}
|
|
#line 8916 "Zend/zend_language_scanner.c"
|
|
yy999:
|
|
YYDEBUG(999, *YYCURSOR);
|
|
++YYCURSOR;
|
|
YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
YYDEBUG(1000, *YYCURSOR);
|
|
if (yybm[0+yych] & 128) {
|
|
goto yy999;
|
|
}
|
|
goto yy998;
|
|
}
|
|
}
|
|
#line 1925 "Zend/zend_language_scanner.l"
|
|
|
|
}
|