Replace deprecated ArrayListUnmanaged with ArrayList

std.ArrayListUnmanaged is now std.ArrayList in Zig 0.15.
The old managed ArrayList is deprecated as std.array_list.Managed.
This commit is contained in:
2026-01-22 12:45:49 +05:30
parent 0f2f19f9b1
commit ca573f3166
6 changed files with 49 additions and 49 deletions

View File

@@ -128,8 +128,8 @@ pub const Lexer = struct {
pos: usize,
line: usize,
column: usize,
indent_stack: std.ArrayListUnmanaged(usize),
tokens: std.ArrayListUnmanaged(Token),
indent_stack: std.ArrayList(usize),
tokens: std.ArrayList(Token),
allocator: std.mem.Allocator,
at_line_start: bool,
current_indent: usize,