mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
Refactoring.
This commit is contained in:
@@ -75,8 +75,10 @@ void context_change_scope_for_label(SemaContext *context, DeclId label_id)
|
||||
}
|
||||
}
|
||||
|
||||
AstId context_get_defers(SemaContext *context, AstId defer_top, AstId defer_bottom, bool is_success)
|
||||
|
||||
AstId context_get_defers(SemaContext *context, AstId defer_bottom, bool is_success)
|
||||
{
|
||||
AstId defer_top = context->active_scope.defer_last;
|
||||
AstId first = 0;
|
||||
AstId *next = &first;
|
||||
while (defer_bottom != defer_top)
|
||||
|
||||
Reference in New Issue
Block a user