summaryrefslogtreecommitdiff
path: root/source3/aparser/parsefn.awk
diff options
context:
space:
mode:
Diffstat (limited to 'source3/aparser/parsefn.awk')
-rw-r--r--source3/aparser/parsefn.awk5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/aparser/parsefn.awk b/source3/aparser/parsefn.awk
index bff4521ba6..8d8f810319 100644
--- a/source3/aparser/parsefn.awk
+++ b/source3/aparser/parsefn.awk
@@ -16,6 +16,11 @@ function parse_array(f, v, elnum, flags,
v["FLAGS"] = flags;
v["ARRAY_LEN"] = array_len;
+ if (array_len=="+") {
+ print_template(f,"prs_array_optional.tpl", v);
+ return;
+ }
+
if (array_len=="*") {
print_template(f,"prs_array_remainder.tpl", v);
return;