mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Issue with defer copying when triggered by break or continue.
This commit is contained in:
@@ -667,6 +667,7 @@ RETRY:
|
||||
if (ast->contbreak_stmt.is_resolved)
|
||||
{
|
||||
fixup_astid(c, &ast->contbreak_stmt.ast);
|
||||
MACRO_COPY_ASTID(ast->contbreak_stmt.defers);
|
||||
}
|
||||
break;
|
||||
case AST_CASE_STMT:
|
||||
|
||||
Reference in New Issue
Block a user