mem: replace size procedures with constants

This commit is contained in:
hikari
2022-04-06 18:44:43 +03:00
parent 426a6a9528
commit 698fcb7813
2 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ print :: proc(p: ^Printer, file: ^ast.File) -> string {
fix_lines(p)
builder := strings.make_builder(0, mem.megabytes(5), p.allocator)
builder := strings.make_builder(0, 5 * mem.Megabyte, p.allocator)
last_line := 0