parser: Properly drop depth after calling `__main__`.
@@ -5379,7 +5379,7 @@ static void main_func_setup(lily_parse_state *parser)
static void main_func_teardown(lily_parse_state *parser)
{
parser->vm->call_chain = parser->vm->call_chain->prev;
- parser->vm->call_depth = 1;
+ parser->vm->call_depth--;
parser->executing = 0;
}
