Get rid of source path in module.
It wasn't useful anyway since it always had the module name for all but the main script.
This commit is contained in:
+2
-2
@@ -206,7 +206,7 @@ void runFile(const char* path)
|
||||
|
||||
initVM();
|
||||
|
||||
WrenInterpretResult result = wrenInterpret(vm, path, source);
|
||||
WrenInterpretResult result = wrenInterpret(vm, source);
|
||||
|
||||
if (afterLoadFn != NULL) afterLoadFn(vm);
|
||||
|
||||
@@ -247,7 +247,7 @@ int runRepl()
|
||||
}
|
||||
|
||||
// TODO: Handle failure.
|
||||
wrenInterpret(vm, "Prompt", line);
|
||||
wrenInterpret(vm, line);
|
||||
|
||||
// TODO: Automatically print the result of expressions.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user