diff options
Diffstat (limited to 'src/parse.c')
| -rw-r--r-- | src/parse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parse.c b/src/parse.c index c742f88..82c431a 100644 --- a/src/parse.c +++ b/src/parse.c @@ -2304,6 +2304,8 @@ static int eval(AstNode* e) { } else { return eval(e->node_else); } + } else if (e->kind == AstNodeKind_cast_expr) { + return eval(e->node_operand); } else { unimplemented(); } |
