Correct output for in-place operators.

This commit is contained in:
Darryl Pogue
2011-09-18 11:59:02 -07:00
parent f907dc76ad
commit 84b8cba005
2 changed files with 43 additions and 4 deletions

View File

@@ -105,6 +105,7 @@ public:
PycRef<ASTNode> left() const { return m_left; }
PycRef<ASTNode> right() const { return m_right; }
int op() const { return m_op; }
bool is_inplace() const { return m_op >= BIN_IP_ADD; }
virtual const char* op_str() const;
protected: