interface-file: break loops using lif_interface_file_parse_state.loaded dictionary
This commit is contained in:
parent
0df3e03b68
commit
8d4c7461af
2 changed files with 11 additions and 9 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue