mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Improve error message when using functions as values #2856
This commit is contained in:
@@ -65,7 +65,8 @@ void compiler_init(BuildOptions *build_options)
|
||||
|
||||
INFO_LOG("Version: %s", COMPILER_VERSION);
|
||||
|
||||
compiler.context = (GlobalContext) { .in_panic_mode = false };
|
||||
GlobalContext new_context = { .in_panic_mode = false };
|
||||
compiler.context = new_context;
|
||||
// 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