summaryrefslogtreecommitdiff
path: root/src/ast/expr.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-02-27 14:15:30 +0800
committerJohn Hodge <tpg@mutabah.net>2016-02-27 14:15:30 +0800
commite7f360039578f4453c3b16db8541347d6bcaca5a (patch)
tree029211f5c43a2417348ff971c9b0c6bc035f5638 /src/ast/expr.hpp
parenteddcbab76c3c23bd211de322f551865f35bf8d40 (diff)
downloadmrust-e7f360039578f4453c3b16db8541347d6bcaca5a.tar.gz
Parse/expr - Support `in PLACE { val }` syntax
Diffstat (limited to 'src/ast/expr.hpp')
-rw-r--r--src/ast/expr.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ast/expr.hpp b/src/ast/expr.hpp
index 2b2a89f5..2d6016d7 100644
--- a/src/ast/expr.hpp
+++ b/src/ast/expr.hpp
@@ -527,6 +527,8 @@ struct ExprNode_BinOp:
MODULO,
ADD,
SUB,
+
+ PLACE_IN, // `in PLACE { expr }` or `PLACE <- expr`
};
Type m_type;