mem: replace size procedures with constants

This commit is contained in:
hikari committed 2022-04-06 18:44:43 +03:00
1 parent 426a6a9528
commit 698fcb7813
2 files changed
+7 -6

No files matched your search

+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