Add GET_YIELD_FROM_ITER support (#312)

This commit is contained in:
TheHellTower
2023-01-19 19:51:08 +01:00
committed by GitHub
parent 3c129a1128
commit a3e5ebd481
4 changed files with 3 additions and 0 deletions

View File

@@ -1025,6 +1025,9 @@ PycRef<ASTNode> BuildFromCode(PycRef<PycCode> code, PycModule* mod)
case Pyc::GET_ITER:
/* We just entirely ignore this */
break;
case Pyc::GET_YIELD_FROM_ITER:
/* We just entirely ignore this */
break;
case Pyc::IMPORT_NAME_A:
if (mod->majorVer() == 1) {
stack.push(new ASTImport(new ASTName(code->getName(operand)), NULL));

Binary file not shown.