Browse Source

merged [1078]

- allow empty arrays


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1335 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.12
Jan Kneschke 16 years ago
parent
commit
f56e3907fe
  1. 3
      src/configparser.y

3
src/configparser.y

@ -274,6 +274,9 @@ value(A) ::= array(B). {
((data_array *)(A))->value = B;
B = NULL;
}
array(A) ::= LPARAN RPARAN. {
A = array_init();
}
array(A) ::= LPARAN aelements(B) RPARAN. {
A = B;
B = NULL;

Loading…
Cancel
Save