cinera.c: InitScopeBooks() in PrintHelpConfig()

This commit is contained in:
Matt Mascarenhas 2020-05-25 01:29:14 +01:00
parent bc6f21f71d
commit 7edcecfd40
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,7 @@ typedef struct
version CINERA_APP_VERSION = {
.Major = 0,
.Minor = 7,
.Patch = 12
.Patch = 13
};
#include <stdarg.h> // NOTE(matt): varargs
@ -7167,6 +7167,7 @@ enable syntax highlighting:"));
//
NewSection("Defaults", &IndentationLevel);
scope_tree *ScopeTree = calloc(1, sizeof(scope_tree));
InitScopeBooks(ScopeTree);
SetTypeSpec(ScopeTree, &TypeSpecs);
SetDefaults(ScopeTree, &TypeSpecs);
PrintScopeTree(ScopeTree, IndentationLevel);