mirror of
https://github.com/CPunch/Cosmo.git
synced 2025-10-13 04:40:10 +00:00
files ran from cli now have baselib again
This commit is contained in:
@@ -89,6 +89,7 @@ static char *readFile(const char* path) {
|
||||
static void runFile(const char* fileName) {
|
||||
char* script = readFile(fileName);
|
||||
CState *state = cosmoV_newState();
|
||||
cosmoB_loadlibrary(state);
|
||||
|
||||
interpret(state, script);
|
||||
|
||||
|
Reference in New Issue
Block a user