Merge with Zrax's fancy magic mapping stuff :D

This commit is contained in:
Darryl Pogue
2010-09-04 23:53:38 -07:00
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