From a569f93740bbbac3230434ee56bc51aa38be21ac Mon Sep 17 00:00:00 2001 From: Irene Knapp Date: Tue, 22 Sep 2026 03:07:23 -0700 Subject: add a file descriptor field to the input buffer metadata struct and use it where appropriate Force-Push: yes Change-Id: I68c478460780a6ea6ac8d1cc437981e2899ef122 --- interpret.e | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'interpret.e') diff --git a/interpret.e b/interpret.e index 7d5d429..7f839ac 100644 --- a/interpret.e +++ b/interpret.e @@ -574,7 +574,8 @@ dup entry-flags@ 0x80 invert & swap entry-flags! main-input-buffer buffer-logical-start ! 1024 main-input-buffer buffer-physical-length ! 0 main-input-buffer buffer-logical-length ! - [ s" refill-input-buffer-from-stdin" + 0 main-input-buffer buffer-file-descriptor ! + [ s" refill-input-buffer-from-stream" find entry-to-execution-token literal ] main-input-buffer input-buffer-refill ! ; -- cgit 1.4.1