about summary refs log tree commit diff stats
path: root/apps/mu.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-10-01 22:49:31 -0700
committerKartik Agaram <vc@akkartik.com>2020-10-01 22:49:31 -0700
commit4230946e6a48a94e40b117d24397f2787f950f45 (patch)
treee45719a73c85558f798c2f9d3f967c060426b5dd /apps/mu.subx
parent8e607b128c85dc7f6e17fd40e0a10a6d5bdb12ac (diff)
downloadmu-4230946e6a48a94e40b117d24397f2787f950f45.tar.gz
6925 - tile: don't try to print escape sequences
Diffstat (limited to 'apps/mu.subx')
-rw-r--r--apps/mu.subx12
1 files changed, 11 insertions, 1 deletions
diff --git a/apps/mu.subx b/apps/mu.subx
index 590fa595..5b8418d9 100644
--- a/apps/mu.subx
+++ b/apps/mu.subx
@@ -13500,7 +13500,7 @@ $check-mu-numberlike-output:check-int:
     # if t is an int, return
     (is-simple-mu-type? %esi 1)  # int => eax
     3d/compare-eax-and 0/imm32/false
-    75/jump-if-!= $check-mu-numberlike-output:end/disp8
+    0f 85/jump-if-!= $check-mu-numberlike-output:end/disp32
 $check-mu-numberlike-output:check-float:
     # if t is a float, return
     (is-simple-mu-type? %esi 0xf)  # float => eax
@@ -13516,6 +13516,16 @@ $check-mu-numberlike-output:check-byte:
     (is-simple-mu-type? %esi 8)  # byte => eax
     3d/compare-eax-and 0/imm32/false
     75/jump-if-!= $check-mu-numberlike-output:end/disp8
+$check-mu-numberlike-output:check-code-point:
+    # if t is a code-point, return
+    (is-simple-mu-type? %esi 0xd)  # code-point => eax
+    3d/compare-eax-and 0/imm32/false
+    75/jump-if-!= $check-mu-numberlike-output:end/disp8
+$check-mu-numberlike-output:check-grapheme:
+    # if t is a grapheme, return
+    (is-simple-mu-type? %esi 0xe)  # grapheme => eax
+    3d/compare-eax-and 0/imm32/false
+    75/jump-if-!= $check-mu-numberlike-output:end/disp8
     e9/jump $check-mu-numberlike-output:fail/disp32
 $check-mu-numberlike-output:end:
     # . restore registers