Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').

This commit is contained in:
Xinchen Hui 2013-03-25 23:48:21 +08:00
parent c6e911e154
commit 975d26667b
2 changed files with 9 additions and 5 deletions

2
NEWS
View File

@ -3,6 +3,8 @@ PHP NEWS
?? ??? 20??, PHP 5.5.0 Beta 2
- Core:
. Fixed bug #64503 (Compilation fails with error: conflicting types for
'zendparse'). (Laruence)
. Fixed bug #64239 (Debug backtrace changed behavior since 5.4.10 or 5.4.11).
(Dmitry, Laruence)

View File

@ -41,17 +41,19 @@ static YYSIZE_T zend_yytnamerr(char*, const char*);
#define YYERROR_VERBOSE
#define YYSTYPE znode
#ifdef ZTS
# define YYPARSE_PARAM tsrm_ls
# define YYLEX_PARAM tsrm_ls
#endif
%}
%pure_parser
%expect 3
%code requires {
#ifdef ZTS
# define YYPARSE_PARAM tsrm_ls
# define YYLEX_PARAM tsrm_ls
#endif
}
%token END 0 "end of file"
%left T_INCLUDE T_INCLUDE_ONCE T_EVAL T_REQUIRE T_REQUIRE_ONCE
%token T_INCLUDE "include (T_INCLUDE)"