mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
...
This commit is contained in:
parent
03342a5230
commit
32b89d45f0
@ -1,5 +1,4 @@
|
||||
#include "pocketpy/io.h"
|
||||
#include "pocketpy/common.h"
|
||||
|
||||
namespace pkpy{
|
||||
|
||||
|
@ -1701,7 +1701,7 @@ void VM::post_init(){
|
||||
}
|
||||
|
||||
CodeObject_ VM::compile(Str source, Str filename, CompileMode mode, bool unknown_global_scope) {
|
||||
Compiler compiler(this, source, filename, mode, unknown_global_scope);
|
||||
Compiler compiler(this, std::move(source), filename, mode, unknown_global_scope);
|
||||
try{
|
||||
return compiler.compile();
|
||||
}catch(Exception& e){
|
||||
|
Loading…
x
Reference in New Issue
Block a user