about summary refs log tree commit diff stats
path: root/shell
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-07-28 23:08:07 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-07-28 23:08:07 -0700
commite2f6e9011eb64b9f2372dbed6ed3838ce8e26ec0 (patch)
tree55a658bea2036b0aae63f03f59fc7c666d9fdb5e /shell
parent9f52758dfe26b84ac9636b07d77e11360aafe452 (diff)
downloadmu-e2f6e9011eb64b9f2372dbed6ed3838ce8e26ec0.tar.gz
saving definitions containing string literals
This was the whole proximal goal in implementing balanced terminals.

Printing these is still unreliable. It always surrounds in [], which may
not work.
Diffstat (limited to 'shell')
-rw-r--r--shell/global.mu2
1 files changed, 0 insertions, 2 deletions
diff --git a/shell/global.mu b/shell/global.mu
index f5cb2678..cd5a4244 100644
--- a/shell/global.mu
+++ b/shell/global.mu
@@ -93,8 +93,6 @@ fn write-globals out: (addr stream byte), _self: (addr global-table) {
       break-if-=
       compare *curr-type, 6/keyboard
       break-if-=
-      compare *curr-type, 3/stream  # not implemented yet
-      break-if-=
       write out, "    ("
       var curr-name-ah/eax: (addr handle array byte) <- get curr, name
       var curr-name/eax: (addr array byte) <- lookup *curr-name-ah