Much better handling of if/else statements.

This commit is contained in:
Darryl Pogue
2010-09-04 23:51:22 -07:00
parent 6f67603858
commit 6fb01bbbf6
2 changed files with 50 additions and 8 deletions

View File

@@ -337,7 +337,13 @@ private:
class ASTPopHack : public ASTNode {
public:
ASTPopHack() : ASTNode(NODE_POP_HACK) { }
ASTPopHack(PycRef<ASTNode> value)
: ASTNode(NODE_POP_HACK), m_value(value) { }
PycRef<ASTNode> value() const { return m_value; }
private:
PycRef<ASTNode> m_value;
};
#endif