interface-file: break loops using lif_interface_file_parse_state.loaded dictionary

This commit is contained in:
Ariadne Conill 2020-10-14 04:07:14 -06:00
parent 0df3e03b68
commit 8d4c7461af
2 changed files with 11 additions and 9 deletions

View file

@ -23,9 +23,10 @@
struct lif_interface_file_parse_state {
struct lif_interface *cur_iface;
struct lif_dict *collection;
struct lif_dict *loaded;
const char *cur_filename;
size_t cur_lineno;
struct lif_dict loaded;
};
extern bool lif_interface_file_parse(struct lif_interface_file_parse_state *state, const char *filename);