From f24098cbd8e757e2f73cd1ab07b46b5b4f85374d Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 17 Oct 2024 07:32:54 -0700 Subject: config: show filepath and line numbers for config errors Fixes #1063 --- src/cli/args.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cli') diff --git a/src/cli/args.zig b/src/cli/args.zig index c5355251e..b1fa9104d 100644 --- a/src/cli/args.zig +++ b/src/cli/args.zig @@ -961,7 +961,7 @@ pub fn LineIterator(comptime ReaderType: type) type { } // Constructs a LineIterator (see docs for that). -pub fn lineIterator(reader: anytype) LineIterator(@TypeOf(reader)) { +fn lineIterator(reader: anytype) LineIterator(@TypeOf(reader)) { return .{ .r = reader }; } -- cgit v1.2.3