cvs: ZendEngine2 / zend_ini_parser.y
| From: | Zeev Suraski | Date: | Tue, 07 Oct 2003 10:05:10 +0000 |
| Subject: | cvs: ZendEngine2 / zend_ini_parser.y | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-1887@lists.php.net to get a copy of this message | ||
zeev Tue Oct 7 06:05:10 2003 EDT
Modified files:
/ZendEngine2 zend_ini_parser.y
Log:
Fix the fix :)
Not thoroughly tested, but appears to work fine
Index: ZendEngine2/zend_ini_parser.y
diff -u ZendEngine2/zend_ini_parser.y:1.25 ZendEngine2/zend_ini_parser.y:1.26
--- ZendEngine2/zend_ini_parser.y:1.25 Tue Oct 7 05:33:20 2003
+++ ZendEngine2/zend_ini_parser.y Tue Oct 7 06:05:10 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_ini_parser.y,v 1.25 2003/10/07 09:33:20 helly Exp $ */
+/* $Id: zend_ini_parser.y,v 1.26 2003/10/07 10:05:10 zeev Exp $ */
#define DEBUG_CFG_PARSER 0
#include "zend.h"
@@ -213,6 +213,7 @@
| CFG_TRUE { $$ = $1; }
| CFG_FALSE { $$ = $1; }
| '\n' { $$.value.str.val = strdup(""); $$.value.str.len=0; $$.type =
IS_STRING; }
+ | /* empty */ { $$.value.str.val = strdup(""); $$.value.str.len=0; $$.type = IS_STRING;
}
;
expr: