diff --git a/.gitignore b/.gitignore index 7cfe02d..3b39e81 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,5 @@ /.kdev4 __pycache__ tests-out +build/ +.vscode/ diff --git a/ASTree.cpp b/ASTree.cpp index 1f419d0..10f507e 100644 --- a/ASTree.cpp +++ b/ASTree.cpp @@ -1679,6 +1679,7 @@ PycRef BuildFromCode(PycRef code, PycModule* mod) /* Do nothing. */ break; case Pyc::POP_TOP: + case Pyc::END_FOR: { PycRef value = stack.top(); stack.pop(); @@ -2473,6 +2474,8 @@ PycRef BuildFromCode(PycRef code, PycModule* mod) stack.push(next_tup); } break; + case Pyc::COPY_A: + break; default: fprintf(stderr, "Unsupported opcode: %s (%d)\n", Pyc::OpcodeName(opcode), opcode); cleanBuild = false;