mirror of
https://github.com/pocketpy/pocketpy
synced 2025-11-10 13:40:16 +00:00
merge
This commit is contained in:
parent
266b6ff6e1
commit
5b9a69ebf9
@ -14,12 +14,13 @@
|
|||||||
#include "_generated.h"
|
#include "_generated.h"
|
||||||
#include "export.h"
|
#include "export.h"
|
||||||
#include "vm.h"
|
#include "vm.h"
|
||||||
#include "isolated_os.h"
|
|
||||||
#include "re.h"
|
#include "re.h"
|
||||||
#include "random.h"
|
#include "random.h"
|
||||||
|
|
||||||
namespace pkpy {
|
namespace pkpy {
|
||||||
|
|
||||||
|
inline std::function<Bytes(const Str&)> _default_import_handler = [](const Str& str){return pkpy::Bytes();};
|
||||||
|
|
||||||
inline CodeObject_ VM::compile(Str source, Str filename, CompileMode mode, bool unknown_global_scope) {
|
inline 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, source, filename, mode, unknown_global_scope);
|
||||||
try{
|
try{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user