mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-21 12:00:18 +00:00
...
This commit is contained in:
parent
2eb3eabcc2
commit
3caca62f2c
@ -1027,7 +1027,7 @@ FrameResult VM__run_top_frame(VM* self) {
|
|||||||
py_TValue* tmp = c11__at(py_TValue, &frame->co->consts, byte.arg);
|
py_TValue* tmp = c11__at(py_TValue, &frame->co->consts, byte.arg);
|
||||||
const char* string = py_tostr(tmp);
|
const char* string = py_tostr(tmp);
|
||||||
// TODO: optimize this
|
// TODO: optimize this
|
||||||
if(!py_exec(string, "<eval>", EVAL_MODE, frame->module)) goto __ERROR;
|
if(!py_exec(string, "<f-string>", EVAL_MODE, frame->module)) goto __ERROR;
|
||||||
PUSH(py_retval());
|
PUSH(py_retval());
|
||||||
DISPATCH();
|
DISPATCH();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user