Fixed not inititalizing load path

This commit is contained in:
Felix Brendel
2020-03-17 12:21:35 +01:00
parent 29d15001f9
commit f1b17dead9
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ namespace Slime {
proc add_to_load_path(const char* path) -> void { proc add_to_load_path(const char* path) -> void {
using Globals::load_path; using Globals::load_path;
load_path.append((void*)path); load_path.append((void*)path);
} }
+2 -1
View File
@@ -224,6 +224,7 @@ namespace Slime::Memory {
Globals::Current_Execution::ats.alloc(); Globals::Current_Execution::ats.alloc();
Globals::Current_Execution::mes.alloc(); Globals::Current_Execution::mes.alloc();
Globals::load_path.alloc();
add_to_load_path(exe_path); add_to_load_path(exe_path);
add_to_load_path("../bin/"); add_to_load_path("../bin/");
@@ -488,7 +489,7 @@ namespace Slime::Memory {
return ret; return ret;
} }
inline proc create_list(Lisp_Object* o1) -> Lisp_Object* { inline proc create_list(Lisp_Object* o1) -> Lisp_Object* {
Lisp_Object* ret; Lisp_Object* ret;
try ret = create_lisp_object_pair(o1, nil); try ret = create_lisp_object_pair(o1, nil);