about summary refs log tree commit diff stats
path: root/411string.mu
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2021-02-07 00:17:17 -0800
committerKartik Agaram <vc@akkartik.com>2021-02-07 00:20:29 -0800
commit74f1512ff113cf35706af57e9d40c78b7d77f49e (patch)
tree7c7acb23e1a26387117e464ec6ab01126dbc8ae8 /411string.mu
parent6c4c25555c7df0d78ad41c813345f63cae1819de (diff)
downloadmu-74f1512ff113cf35706af57e9d40c78b7d77f49e.tar.gz
7690
Convert comments about magic constants into metadata.
Diffstat (limited to '411string.mu')
-rw-r--r--411string.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/411string.mu b/411string.mu
index c16de016..cf0471ac 100644
--- a/411string.mu
+++ b/411string.mu
@@ -13,7 +13,7 @@ fn substring in: (addr array byte), start: int, len: int, out-ah: (addr handle a
       break-if->=
       {
         var dummy/eax: grapheme <- read-grapheme in-stream-addr
-        compare dummy, 0xffffffff  # end-of-file
+        compare dummy, 0xffffffff/end-of-file
         break-if-= $substring:core
       }
       i <- increment
@@ -26,7 +26,7 @@ fn substring in: (addr array byte), start: int, len: int, out-ah: (addr handle a
       break-if->=
       {
         var g/eax: grapheme <- read-grapheme in-stream-addr
-        compare g, 0xffffffff  # end-of-file
+        compare g, 0xffffffff/end-of-file
         break-if-= $substring:core
         write-grapheme out-stream-addr, g
       }