Update ceval.h

This commit is contained in:
blueloveTH 2023-05-25 17:21:44 +08:00
parent 8c8ececc83
commit 7b326b326f

View File

@ -70,10 +70,7 @@ __NEXT_STEP:;
TARGET(DUP_TOP) PUSH(TOP()); DISPATCH();
TARGET(ROT_TWO) std::swap(TOP(), SECOND()); DISPATCH();
TARGET(PRINT_EXPR)
if(TOP() != None){
_stdout(this, CAST(Str&, py_repr(TOP())));
_stdout(this, "\n");
}
if(TOP() != None) _stdout(this, CAST(Str&, py_repr(TOP())) + "\n");
POP();
DISPATCH();
/*****************************************/