mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
MFZE1
This commit is contained in:
parent
43f17d4c9b
commit
0bb780b384
@ -388,9 +388,14 @@ static int input YY_PROTO(( TSRMLS_D ));
|
||||
#endif
|
||||
|
||||
#if YY_STACK_USED
|
||||
#define yy_start_stack_ptr SCNG(yy_start_stack_ptr)
|
||||
#define yy_start_stack_depth SCNG(yy_start_stack_depth)
|
||||
#define yy_start_stack SCNG(yy_start_stack)
|
||||
/*
|
||||
static int yy_start_stack_ptr = 0;
|
||||
static int yy_start_stack_depth = 0;
|
||||
static int *yy_start_stack = 0;
|
||||
*/
|
||||
#ifndef YY_NO_PUSH_STATE
|
||||
static void yy_push_state YY_PROTO(( int new_state TSRMLS_DC ));
|
||||
#endif
|
||||
@ -398,7 +403,7 @@ static void yy_push_state YY_PROTO(( int new_state TSRMLS_DC ));
|
||||
static void yy_pop_state YY_PROTO(( TSRMLS_D ));
|
||||
#endif
|
||||
#ifndef YY_NO_TOP_STATE
|
||||
static int yy_top_state YY_PROTO(( void ));
|
||||
static int yy_top_state YY_PROTO(( TSRMLS_D ));
|
||||
#endif
|
||||
|
||||
#else
|
||||
@ -1495,7 +1500,7 @@ void yyFlexLexer::yy_pop_state(TSRMLS_D)
|
||||
|
||||
#ifndef YY_NO_TOP_STATE
|
||||
%-
|
||||
static int yy_top_state()
|
||||
static int yy_top_state(TSRMLS_D)
|
||||
%+
|
||||
int yyFlexLexer::yy_top_state()
|
||||
%*
|
||||
|
@ -380,7 +380,9 @@ static void scanner_globals_ctor(zend_scanner_globals *scanner_globals_p TSRMLS_
|
||||
scanner_globals_p->yy_out = NULL;
|
||||
scanner_globals_p->_yy_more_flag = 0;
|
||||
scanner_globals_p->_yy_more_len = 0;
|
||||
|
||||
scanner_globals_p->yy_start_stack_ptr = 0;
|
||||
scanner_globals_p->yy_start_stack_depth = 0;
|
||||
scanner_globals_p->yy_start_stack = 0;
|
||||
}
|
||||
|
||||
|
||||
|
@ -255,6 +255,9 @@ struct _zend_scanner_globals {
|
||||
char *_yy_last_accepting_cpos;
|
||||
int _yy_more_flag;
|
||||
int _yy_more_len;
|
||||
int yy_start_stack_ptr;
|
||||
int yy_start_stack_depth;
|
||||
int *yy_start_stack;
|
||||
};
|
||||
|
||||
#endif /* ZEND_GLOBALS_H */
|
||||
|
@ -125,6 +125,9 @@ void startup_scanner(TSRMLS_D)
|
||||
{
|
||||
CG(heredoc) = NULL;
|
||||
CG(heredoc_len)=0;
|
||||
SCNG(yy_start_stack_ptr) = 0;
|
||||
SCNG(yy_start_stack_depth) = 0;
|
||||
SCNG(yy_start_stack) = 0;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user