summaryrefslogtreecommitdiff
path: root/src/configparser.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/configparser.y')
-rw-r--r--src/configparser.y3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/configparser.y b/src/configparser.y
index 2e9c819..122f424 100644
--- a/src/configparser.y
+++ b/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;