From c0f9c6a23469f9234e10cf6549bfae8f90f559fb Mon Sep 17 00:00:00 2001 From: Syed Daanish Date: Mon, 31 Aug 2026 10:16:25 +0100 Subject: [PATCH] Make r fucntion allow zero. --- src/internal/functions/posix.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal/functions/posix.cc b/src/internal/functions/posix.cc index 14b0f50..ac535b1 100644 --- a/src/internal/functions/posix.cc +++ b/src/internal/functions/posix.cc @@ -433,7 +433,7 @@ void Function::register_posix(BEd &ctx) { .input_mode = Function::InputMode::None, .desc = "Read from file into buffer.", .default_address = "$", - .accept_zero = false, + .accept_zero = true, .pre_text_mode = nullptr, .handle = [](BEd &ctx, const buffer::Address &addr_, vase::Shard *, const Argument &arg, std::vector *) { auto &addr = std::get(addr_);