mirror of
https://github.com/janet-lang/janet
synced 2025-11-17 15:57:12 +00:00
Cleanup boot.janet to be more like normal source code.
Don't use `undef`, just use private defines.
This commit is contained in:
@@ -1206,7 +1206,8 @@ JanetTable *janet_core_env(JanetTable *replacements) {
|
||||
"if native modules are compatible with the host program."));
|
||||
|
||||
/* Allow references to the environment */
|
||||
janet_def(env, "_env", janet_wrap_table(env), JDOC("The environment table for the current scope."));
|
||||
janet_def(env, "root-env", janet_wrap_table(env),
|
||||
JDOC("The root environment used to create environments with (make-env)."));
|
||||
|
||||
janet_load_libs(env);
|
||||
janet_gcroot(janet_wrap_table(env));
|
||||
|
||||
Reference in New Issue
Block a user