Skip to content

Commit

Permalink
Fixup unrelated changes from PR
Browse files Browse the repository at this point in the history
  • Loading branch information
zrax committed Feb 28, 2023
1 parent 4d81a16 commit 2e76e56
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ASTree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -541,8 +541,7 @@ PycRef<ASTNode> BuildFromCode(PycRef<PycCode> code, PycModule* mod)

pparamList.push_front(decor_name);
}
}
else {
} else {
pparamList.push_front(param);
}
}
Expand Down Expand Up @@ -1037,6 +1036,10 @@ PycRef<ASTNode> BuildFromCode(PycRef<PycCode> code, PycModule* mod)
stack.push(new ASTAwaitable(object));
}
break;
case Pyc::GET_ITER:
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));
Expand Down Expand Up @@ -2546,9 +2549,6 @@ PycRef<ASTNode> BuildFromCode(PycRef<PycCode> code, PycModule* mod)
case Pyc::SETUP_ANNOTATIONS:
variable_annotations = true;
break;
case Pyc::GET_ITER:
case Pyc::GET_YIELD_FROM_ITER:
break;
case Pyc::PRECALL_A:
case Pyc::RESUME_A:
/* We just entirely ignore this / no-op */
Expand Down

0 comments on commit 2e76e56

Please sign in to comment.