diff options
Diffstat (limited to 'src/ast/expr.hpp')
-rw-r--r-- | src/ast/expr.hpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/ast/expr.hpp b/src/ast/expr.hpp index 19b7cddc..19c348cb 100644 --- a/src/ast/expr.hpp +++ b/src/ast/expr.hpp @@ -513,6 +513,7 @@ struct ExprNode_BinOp: CMPGTE, RANGE, + RANGE_INC, BOOLAND, BOOLOR, @@ -551,11 +552,12 @@ struct ExprNode_UniOp: public ExprNode { enum Type { - REF, - REFMUT, - BOX, - INVERT, - NEGATE, + REF, // '& <expr>' + REFMUT, // '&mut <expr>' + BOX, // 'box <expr>' + INVERT, // '!<expr>' + NEGATE, // '-<expr>' + QMARK, // '<expr>?' }; enum Type m_type; |