@@ -1473,9 +1473,7 @@ PycRef<ASTNode> BuildFromCode(PycRef<PycCode> code, PycModule* mod)
|
||||
{
|
||||
PycRef<ASTNode> name = stack.top();
|
||||
if (name.type() != ASTNode::NODE_IMPORT) {
|
||||
auto arg = operand;
|
||||
if (mod->verCompare(3, 12) >= 0 && (arg & 1))
|
||||
arg >>= 1;
|
||||
auto arg = (mod->verCompare(3, 12) >= 0) ? operand >> 1 : operand;
|
||||
stack.pop();
|
||||
stack.push(new ASTBinary(name, new ASTName(code->getName(arg)), ASTBinary::BIN_ATTR));
|
||||
}
|
||||
|
Reference in New Issue
Block a user