about summary refs log tree commit diff stats
path: root/apps/tests.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-10-26 23:42:27 -0700
committerKartik Agaram <vc@akkartik.com>2019-10-26 23:42:27 -0700
commit0fba3393a5becfb38dea19464e02dc17a64b7574 (patch)
tree4fa462062d03169727d6ca884c77d57316634957 /apps/tests.subx
parentf0b7e327c5e612ea2f72f2e41c046a2105076654 (diff)
downloadmu-0fba3393a5becfb38dea19464e02dc17a64b7574.tar.gz
5715
Clean up pseudocode to match planned syntax for the type- and memory-safe
level-2 Mu language.

http://akkartik.name/post/mu-2019-2 is already out of date.
Diffstat (limited to 'apps/tests.subx')
-rw-r--r--apps/tests.subx4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/tests.subx b/apps/tests.subx
index 4e407d50..f6b3fb55 100644
--- a/apps/tests.subx
+++ b/apps/tests.subx
@@ -70,8 +70,8 @@ $subx-tests-main:end:
 subx-gen-run-tests:  # in : (address buffered-file), out : (address buffered-file)
     # pseudocode
     #   bool tests-found = false
-    #   var line = new-stream(512, 1)
-    #   var new-code-segment = new-stream(Segment-size, 1)
+    #   var line : (stream byte 512)
+    #   var new-code-segment : (handle stream byte) = new-stream(Segment-size, 1)
     #   write(new-code-segment, "\n== code\n")
     #   write(new-code-segment, "run-tests:\n")
     #   while true