wip: verify configuration

We now verify the configuration (currently down to module level, but
not including particles) that are present are of the expected type.
This commit is contained in:
Daniel Eklöf 2019-01-06 20:04:01 +01:00
parent 45e5f11fea
commit aa38063e37
7 changed files with 856 additions and 27 deletions

5
config-verify.h Normal file
View file

@ -0,0 +1,5 @@
#pragma once
#include <stdbool.h>
#include "yml.h"
bool config_verify_bar(const struct yml_node *bar);