diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2023-10-04 20:14:12 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2023-10-04 20:16:13 +0200 |
commit | abae806efdf6ac5f919c93057dd8df1faff1058c (patch) | |
tree | 4238ecc5184f252d79e3ccf61ddfe67487b85342 /conf | |
parent | ab47c2ae466f785212f0519388417ebb31b2cf24 (diff) |
Conf: Fix 'show symbols'
Seems like the root scope was not marked as active.
Diffstat (limited to 'conf')
-rw-r--r-- | conf/cf-lex.l | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/cf-lex.l b/conf/cf-lex.l index 5fb88e03..0fa4628a 100644 --- a/conf/cf-lex.l +++ b/conf/cf-lex.l @@ -739,6 +739,7 @@ cf_lex_init(int is_cli, struct config *c) BEGIN(INITIAL); c->root_scope = c->current_scope = cfg_allocz(sizeof(struct sym_scope)); + c->root_scope->active = 1; if (is_cli) c->current_scope->next = config->root_scope; |