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:
Bob Nystrom
2015-10-15 18:17:42 -07:00
parent d5b9f0096c
commit 3b09b35b59
10 changed files with 22 additions and 50 deletions
+2 -2
View File
@@ -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.
}