aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorDanielGavin <danielgavin5@hotmail.com>2021-04-02 12:36:57 +0200
committerDanielGavin <danielgavin5@hotmail.com>2021-04-02 12:36:57 +0200
commit111f6ccb5221734ba5ef8f95a03253df83df1a70 (patch)
tree4de0da6d45b1010c55b0146e8fe5e5e8938fa90a /src/common
parent8a760dfbebffbdd091508c026c26c792ef11bb29 (diff)
extract the distinct type in locals and globals
Diffstat (limited to 'src/common')
-rw-r--r--src/common/ast.odin1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/common/ast.odin b/src/common/ast.odin
index 4f5850f..4f6a3c8 100644
--- a/src/common/ast.odin
+++ b/src/common/ast.odin
@@ -50,7 +50,6 @@ collect_value_decl :: proc(exprs: ^[dynamic]GlobalExpr, file: ast.File, stmt: ^a
}
}
-//TODO(add a sub procedure to avoid repeating the value decl work)
collect_globals :: proc(file: ast.File) -> []GlobalExpr {
exprs := make([dynamic]GlobalExpr, context.temp_allocator);