diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-03-19 22:41:34 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-03-20 17:31:38 -0700 |
commit | 3fcc2371ec0587d6ab793962bca51fbc8130b2b3 (patch) | |
tree | c59d12644f03138773513afa127937623dc62a4f /subx/071read-line.subx | |
parent | 938185b33ccf30aa8aa20bf8cc22073e140697bf (diff) | |
download | mu-3fcc2371ec0587d6ab793962bca51fbc8130b2b3.tar.gz |
5009
Diffstat (limited to 'subx/071read-line.subx')
-rw-r--r-- | subx/071read-line.subx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/071read-line.subx b/subx/071read-line.subx index b16170b6..c0d01e7d 100644 --- a/subx/071read-line.subx +++ b/subx/071read-line.subx @@ -15,7 +15,7 @@ # just abort if 's' is too small read-line: # f : (address buffered-file), s : (address stream byte) -> <void> # pseudocode: - # loop: + # while true # if (s->write >= s->length) abort # if (f->read >= f->write) populate stream from file # if (f->write == 0) break |