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/ast/expr.hpp | |
parent | eddcbab76c3c23bd211de322f551865f35bf8d40 (diff) | |
download | mrust-e7f360039578f4453c3b16db8541347d6bcaca5a.tar.gz |
Parse/expr - Support `in PLACE { val }` syntax
Diffstat (limited to 'src/ast/expr.hpp')
-rw-r--r-- | src/ast/expr.hpp | 2 |
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; |