]> granicus.if.org Git - php/commitdiff
Fix the fix :)
authorZeev Suraski <zeev@php.net>
Tue, 7 Oct 2003 10:05:10 +0000 (10:05 +0000)
committerZeev Suraski <zeev@php.net>
Tue, 7 Oct 2003 10:05:10 +0000 (10:05 +0000)
Not thoroughly tested, but appears to work fine

Zend/zend_ini_parser.y

index 7d8f6b649935bac17d0a497cd98285c94b3c079c..2e20d406b4f4428976ba72104804bd109139a711 100644 (file)
@@ -213,6 +213,7 @@ string_or_value:
        |       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: