about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-09-02 16:24:43 -0700
committerKartik Agaram <vc@akkartik.com>2019-09-02 16:34:31 -0700
commitae07bf353c71fb43ab108b306f81aa8d4bdadfca (patch)
treefce70f892207d41a4cb7b370be17511b76f0787d
parente8a1153af1bc5fe394837b9cefb6165ea9c6b416 (diff)
downloadmu-ae07bf353c71fb43ab108b306f81aa8d4bdadfca.tar.gz
5612
-rw-r--r--apps/calls.subx2
-rw-r--r--html/apps/calls.subx.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/calls.subx b/apps/calls.subx
index c07de7da..00d7c3ac 100644
--- a/apps/calls.subx
+++ b/apps/calls.subx
@@ -183,7 +183,7 @@ emit-call:  # out : (address buffered-file), words : (address stream slice)
     #   # emit pushes
     #   while true
     #     if (curr <= min) break
-    #     if (*curr == '%' || *curr == '*')
+    #     if *curr in '%' '*'
     #       write-buffered(out, "ff 6/subop/push ")
     #       write-slice-buffered(out, curr)
     #       write-buffered(out, "/imm32\n")
diff --git a/html/apps/calls.subx.html b/html/apps/calls.subx.html
index 2004977e..78ba551b 100644
--- a/html/apps/calls.subx.html
+++ b/html/apps/calls.subx.html
@@ -242,7 +242,7 @@ if ('onhashchange' in window) {
 <span id="L183" class="LineNr">183 </span>    <span class="subxComment">#   # emit pushes</span>
 <span id="L184" class="LineNr">184 </span>    <span class="subxComment">#   while true</span>
 <span id="L185" class="LineNr">185 </span>    <span class="subxComment">#     if (curr &lt;= min) break</span>
-<span id="L186" class="LineNr">186 </span>    <span class="subxComment">#     if (*curr == '%' || *curr == '*')</span>
+<span id="L186" class="LineNr">186 </span>    <span class="subxComment">#     if *curr in '%' '*'</span>
 <span id="L187" class="LineNr">187 </span>    <span class="subxComment">#       write-buffered(out, &quot;ff 6/subop/push &quot;)</span>
 <span id="L188" class="LineNr">188 </span>    <span class="subxComment">#       write-slice-buffered(out, curr)</span>
 <span id="L189" class="LineNr">189 </span>    <span class="subxComment">#       write-buffered(out, &quot;/imm32\n&quot;)</span>