diff options
| author | Irene Knapp <ireneista@irenes.space> | 2026-09-22 03:07:23 -0700 |
|---|---|---|
| committer | Irene Knapp <ireneista@irenes.space> | 2026-09-22 03:07:23 -0700 |
| commit | a569f93740bbbac3230434ee56bc51aa38be21ac (patch) | |
| tree | ae7bd7a2165ddb6c8d7ff433f9eeb3252f23007d /interpret.e | |
| parent | 70361dab75dd03c17df24a807859135fc423e766 (diff) | |
add a file descriptor field to the input buffer metadata struct
and use it where appropriate Force-Push: yes Change-Id: I68c478460780a6ea6ac8d1cc437981e2899ef122
Diffstat (limited to 'interpret.e')
| -rw-r--r-- | interpret.e | 3 |
1 files changed, 2 insertions, 1 deletions
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 ! ; |