diff options
author | John Hodge <tpg@mutabah.net> | 2016-02-27 14:15:30 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-02-27 14:15:30 +0800 |
commit | e7f360039578f4453c3b16db8541347d6bcaca5a (patch) | |
tree | 029211f5c43a2417348ff971c9b0c6bc035f5638 /src/dump_as_rust.cpp | |
parent | eddcbab76c3c23bd211de322f551865f35bf8d40 (diff) | |
download | mrust-e7f360039578f4453c3b16db8541347d6bcaca5a.tar.gz |
Parse/expr - Support `in PLACE { val }` syntax
Diffstat (limited to 'src/dump_as_rust.cpp')
-rw-r--r-- | src/dump_as_rust.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dump_as_rust.cpp b/src/dump_as_rust.cpp index 86439115..fc338267 100644 --- a/src/dump_as_rust.cpp +++ b/src/dump_as_rust.cpp @@ -485,6 +485,7 @@ public: case AST::ExprNode_BinOp::ADD: m_os << "+"; break; case AST::ExprNode_BinOp::SUB: m_os << "-"; break; case AST::ExprNode_BinOp::RANGE: m_os << ".."; break; + case AST::ExprNode_BinOp::PLACE_IN: m_os << "<-"; break; } m_os << " "; if( IS(*n.m_right, AST::ExprNode_BinOp) ) |