summaryrefslogtreecommitdiff
path: root/core/Plumb.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/Plumb.zig')
-rw-r--r--core/Plumb.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Plumb.zig b/core/Plumb.zig
index 89f1a52d..a28ba5a8 100644
--- a/core/Plumb.zig
+++ b/core/Plumb.zig
@@ -477,7 +477,7 @@ const Parser = struct {
var buf: [4096]u8 = undefined;
const p = ps.p orelse return ps.fail("can't open {s} for inclusion", .{name});
const path = if (name[0] == '/') name else std.fmt.bufPrint(&buf, "{s}/{s}", .{ p.configDir() orelse "", name }) catch name;
- break :text fs.readFile(ps.arena, path) catch return ps.fail("can't open {s} for inclusion", .{path});
+ break :text fs.readFile(p.tape, ps.arena, path) catch return ps.fail("can't open {s} for inclusion", .{path});
};
const file = ps.file;
const line = ps.line;