about summary refs log tree commit diff stats
path: root/subx/apps/hex.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-03-19 22:41:34 -0700
committerKartik Agaram <vc@akkartik.com>2019-03-20 17:31:38 -0700
commit3fcc2371ec0587d6ab793962bca51fbc8130b2b3 (patch)
treec59d12644f03138773513afa127937623dc62a4f /subx/apps/hex.subx
parent938185b33ccf30aa8aa20bf8cc22073e140697bf (diff)
downloadmu-3fcc2371ec0587d6ab793962bca51fbc8130b2b3.tar.gz
5009
Diffstat (limited to 'subx/apps/hex.subx')
-rw-r--r--subx/apps/hex.subx6
1 files changed, 3 insertions, 3 deletions
diff --git a/subx/apps/hex.subx b/subx/apps/hex.subx
index 69f426e7..138b63c0 100644
--- a/subx/apps/hex.subx
+++ b/subx/apps/hex.subx
@@ -72,7 +72,7 @@ $main:end:
 # the main entry point
 convert:  # in : (address buffered-file), out : (address buffered-file), err : (address buffered-file), ed : (address exit-descriptor) -> <void>
     # pseudocode:
-    #   repeatedly
+    #   while true
     #     EAX = convert-next-octet(in, err, ed)
     #     if (EAX == Eof) break
     #     write-byte(out, AL)
@@ -488,7 +488,7 @@ $test-convert-next-octet-aborts-on-single-hex-byte:end:
 # abort on any other byte
 scan-next-byte:  # in : (address buffered-file), err : (address buffered-file), ed : (address exit-descriptor) -> byte-or-Eof/EAX
     # pseudocode:
-    #   repeatedly
+    #   while true
     #     EAX = read-byte(in)
     #     if (EAX == Eof) return EAX
     #     if (is-hex-digit?(EAX)) return EAX
@@ -1412,7 +1412,7 @@ $test-scan-next-byte-aborts-on-invalid-byte:end:
 skip-until-newline:  # in : (address buffered-file) -> <void>
     # pseudocode:
     #   push EAX
-    #   repeatedly:
+    #   while true
     #     EAX = read-byte(in)
     #     if (EAX == Eof) break
     #     if (EAX == 0x0a) break