mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fix of global state init.
This commit is contained in:
@@ -41,7 +41,7 @@ void compiler_init(BuildOptions *build_options)
|
||||
|
||||
INFO_LOG("Version: %s", COMPILER_VERSION);
|
||||
|
||||
compiler = (CompilerState) { .context.in_panic_mode = false };
|
||||
compiler.context = (GlobalContext) { .in_panic_mode = false };
|
||||
// Skip library detection.
|
||||
//compiler.lib_dir = find_lib_dir();
|
||||
//DEBUG_LOG("Found std library: %s", compiler.lib_dir);
|
||||
|
||||
Reference in New Issue
Block a user