From e4ce7f658741a7428597da4872435a1b0bae944c Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sat, 3 Oct 2026 20:51:22 +0200 Subject: Rework generics for parameters to be plain types --- source/command_line_interface.elna | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/command_line_interface.elna') diff --git a/source/command_line_interface.elna b/source/command_line_interface.elna index 511d6a0..1318e67 100644 --- a/source/command_line_interface.elna +++ b/source/command_line_interface.elna @@ -23,7 +23,7 @@ var parsed: Bool begin i := 1; - result := malloc(#size(CommandLine)); + result := malloc#[CommandLine](#size(CommandLine)); result^.lex := false; result^.parse := false; result^.input := nil; -- cgit v1.2.3