Basic order independent decls working

This commit is contained in:
Krzosa Karol
2022-05-26 21:30:50 +02:00
parent b773ad1c17
commit 18a895153e
4 changed files with 51 additions and 62 deletions

View File

@@ -180,7 +180,7 @@ gen_ast(Ast *ast){
switch(ast->kind){
Ast_Begin(AST_PACKAGE, Ast_Package){
For(node->decls) {
For(node->ordered) {
genln("");
gen_ast(*it);
}