summaryrefslogtreecommitdiffstats
path: root/php-5.4.18-bison.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-5.4.18-bison.patch')
-rw-r--r--php-5.4.18-bison.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/php-5.4.18-bison.patch b/php-5.4.18-bison.patch
deleted file mode 100644
index dd2481d..0000000
--- a/php-5.4.18-bison.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff --git a/Zend/zend_language_parser.y b/Zend/zend_language_parser.y
-index ccbc9b1..6a9a24a 100644
---- a/Zend/zend_language_parser.y
-+++ b/Zend/zend_language_parser.y
-@@ -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)"