return NULL;
}
+ /*
+ * Can't assign to [*] or [#]
+ */
+ num = tmpl_num(map->lhs);
+ if ((num == NUM_ALL) || (num == NUM_COUNT)) {
+ cf_log_err(cs, "Invalid array reference in %s", name);
+ goto fail;
+ }
+
/*
* If the DA isn't structural, then it can't have children.
*/
goto fail;
}
}
-
- /*
- * Can't assign to [*] or [#]
- */
- num = tmpl_num(map->lhs);
- if ((num == NUM_ALL) || (num == NUM_COUNT)) {
- cf_log_err(cs, "Invalid array reference in %s", name);
- goto fail;
- }
-
/*
* Do basic sanity checks and resolving.
*/