--- embedaddon/php/Zend/zend_language_parser.y 2013/07/22 01:32:16 1.1.1.3 +++ embedaddon/php/Zend/zend_language_parser.y 2013/10/14 08:02:49 1.1.1.4 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_language_parser.y,v 1.1.1.3 2013/07/22 01:32:16 misho Exp $ */ +/* $Id: zend_language_parser.y,v 1.1.1.4 2013/10/14 08:02:49 misho Exp $ */ /* * LALR shift/reduce conflicts and how they are resolved: @@ -41,16 +41,18 @@ 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