aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2016-10-08 10:01:29 +0100
committerGinger Bill <bill@gingerbill.org>2016-10-08 10:01:29 +0100
commita5c6340316245f4f63e74d307f9d7c8be09360c6 (patch)
tree43d2c68064a5ca31428e22f978a2f0283e2f3589 /src/parser.cpp
parentc5d20d2eef6c25b23c2aa69cdc1dbc7ce7d6753a (diff)
"Maybe-fy" operator
Diffstat (limited to 'src/parser.cpp')
-rw-r--r--src/parser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser.cpp b/src/parser.cpp
index c8559739e..d44a199ae 100644
--- a/src/parser.cpp
+++ b/src/parser.cpp
@@ -1610,6 +1610,7 @@ AstNode *parse_type(AstFile *f);
AstNode *parse_unary_expr(AstFile *f, b32 lhs) {
switch (f->curr_token.kind) {
case Token_Pointer:
+ case Token_Maybe:
case Token_Add:
case Token_Sub:
case Token_Not: