diff --git a/ASTree.cpp b/ASTree.cpp index c2794d3f3..9031e390a 100644 --- a/ASTree.cpp +++ b/ASTree.cpp @@ -432,7 +432,7 @@ PycRef BuildFromCode(PycRef code, PycModule* mod) PycRef TOS = stack.top(); int TOS_type = TOS.type(); // bases are NODE_NAME at TOS - while (TOS_type == ASTNode::NODE_NAME) { + while (TOS_type == ASTNode::NODE_NAME || TOS_type == ASTNode::NODE_BINARY) { bases.resize(basecnt + 1); bases[basecnt] = TOS; basecnt++;