about summary refs log tree commit diff stats
path: root/subx/apps
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-12-09 23:37:34 -0800
committerKartik Agaram <vc@akkartik.com>2018-12-09 23:37:34 -0800
commitf9ec61327a8bf57da6593f445a2712917772959d (patch)
treeb474252dcfea3a63e5fe984981d85a697bb14fb8 /subx/apps
parent5262ed0de315ebd172abbdfbfc5b977d23107b1f (diff)
downloadmu-f9ec61327a8bf57da6593f445a2712917772959d.tar.gz
4862
Diffstat (limited to 'subx/apps')
-rw-r--r--subx/apps/hex.subx3
1 files changed, 1 insertions, 2 deletions
diff --git a/subx/apps/hex.subx b/subx/apps/hex.subx
index d808deba..e88bfb55 100644
--- a/subx/apps/hex.subx
+++ b/subx/apps/hex.subx
@@ -497,7 +497,7 @@ scan-next-byte:  # in : (address buffered-file), err : (address buffered-file),
     #     EAX = read-byte(in)
     #     if EAX == 0xffffffff return EAX
     #     if is-hex-lowercase-byte?(EAX) return EAX
-    #     if EAX == 0x20 continue
+    #     if EAX == ' ' or '\t' or '\n' continue
     #     if EAX == '#' skip-until-newline(in)
     #     else error-byte(ed, err, "invalid byte: " EAX)
     #
@@ -1609,7 +1609,6 @@ $skip-until-newline:loop:
     # . if EAX == 0xffffffff break
     81          7/subop/compare     3/mod/direct    0/rm32/EAX    .           .             .           .           .               0xffffffff/imm32  # compare EAX
     74/jump-if-equal  $skip-until-newline:end/disp8
-$aa:
     # . if EAX != 0xa/newline loop
     81          7/subop/compare     3/mod/direct    0/rm32/EAX    .           .             .           .           .               0xa/imm32         # compare EAX
     75/jump-if-not-equal  $skip-until-newline:loop/disp8