summaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse.c b/parse.c
index 4c81213..bd25189 100644
--- a/parse.c
+++ b/parse.c
@@ -1292,6 +1292,7 @@ static Status parse_expr(Parser *p, Expression *e, Token *end) {
++t->token;
if (!parse_block(p, &n->body, 0))
return false;
+ n->body.kind = BLOCK_NMS;
goto success;
}
case KW_IF: