foo.bar = baz
results in the config file parser creating
foo {
bar = baz
}
We should likely forbid that in the parser. But for now, a better
error here is useful
subcs = cf_item_to_section(ci);
token = cf_section_name2_quote(subcs);
+ if (token == T_INVALID) {
+ cf_log_err(ci, "Section '%s { ... }' is missing the '=' operator", cf_section_name1(subcs));
+ goto error;
+ }
+
if (!fr_assignment_op[token]) {
cf_log_err(ci, "Invalid operator '%s'", fr_tokens[token]);
goto error;