php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login

Patch zend_language_parser_missing_endif.patch for Compile Failure Bug #65533

Patch version 2013-08-23 11:32 UTC

Return to Bug #65533 | Download this patch
Patch Revisions:

Developer: fk@florian-kaier.net

--- a/Zend/zend_language_parser.h
+++ b/Zend/zend_language_parser.h
@@ -32,6 +32,7 @@
 
 #ifndef YY_ZEND_ZEND_ZEND_LANGUAGE_PARSER_H_INCLUDED
 # define YY_ZEND_ZEND_ZEND_LANGUAGE_PARSER_H_INCLUDED
+#endif
 /* Enabling traces.  */
 #ifndef YYDEBUG
 # define YYDEBUG 0
--- a/Zend/zend_language_parser.c
+++ b/Zend/zend_language_parser.c
@@ -142,6 +142,7 @@ static YYSIZE_T zend_yytnamerr(char*, co
    by #include "zend_language_parser.h".  */
 #ifndef YY_ZEND_ZEND_ZEND_LANGUAGE_PARSER_H_INCLUDED
 # define YY_ZEND_ZEND_ZEND_LANGUAGE_PARSER_H_INCLUDED
+#endif
 /* Enabling traces.  */
 #ifndef YYDEBUG
 # define YYDEBUG 0
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 21 10:02:33 2024 UTC