lang: ast: fix finalise_property not being called when parsing a right paren
This commit is contained in:
@@ -144,6 +144,7 @@ static struct token_parse_result parse_right_paren(
|
|||||||
return PARSE_RESULT(IVY_ERR_BAD_SYNTAX, 0);
|
return PARSE_RESULT(IVY_ERR_BAD_SYNTAX, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
finalise_property(state);
|
||||||
parser_pop_state(ctx, STATE_ADD_NODE_TO_PARENT);
|
parser_pop_state(ctx, STATE_ADD_NODE_TO_PARENT);
|
||||||
return PARSE_RESULT(IVY_OK, 0);
|
return PARSE_RESULT(IVY_OK, 0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user