about summary refs log tree commit diff stats
path: root/shell
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-06-11 17:48:12 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-06-11 17:48:12 -0700
commit177fa96a9326fe46e99d14131fe48e5ae139fa84 (patch)
treefd95030ca6abd1c5301b11d0d2887949c7a1d09d /shell
parentc6e3bce98110c807d618519fa74057ef12afdb25 (diff)
downloadmu-177fa96a9326fe46e99d14131fe48e5ae139fa84.tar.gz
.
Diffstat (limited to 'shell')
-rw-r--r--shell/environment.mu2
-rw-r--r--shell/sandbox.mu2
2 files changed, 2 insertions, 2 deletions
diff --git a/shell/environment.mu b/shell/environment.mu
index 9e9a3bb7..f1634470 100644
--- a/shell/environment.mu
+++ b/shell/environment.mu
@@ -371,7 +371,7 @@ fn edit-environment _self: (addr environment), key: grapheme, data-disk: (addr d
   edit-sandbox sandbox, key, globals, data-disk
 }
 
-fn read-evaluate-and-save-to-globals _in-ah: (addr handle gap-buffer), result-ah: (addr handle cell), globals: (addr global-table), definitions-created: (addr stream int), trace: (addr trace), screen-cell: (addr handle cell), keyboard-cell: (addr handle cell) {
+fn read-evaluate-and-save-gap-buffer-to-globals _in-ah: (addr handle gap-buffer), result-ah: (addr handle cell), globals: (addr global-table), definitions-created: (addr stream int), trace: (addr trace), screen-cell: (addr handle cell), keyboard-cell: (addr handle cell) {
   var in-ah/eax: (addr handle gap-buffer) <- copy _in-ah
   var in/eax: (addr gap-buffer) <- lookup *in-ah
   var read-result-h: (handle cell)
diff --git a/shell/sandbox.mu b/shell/sandbox.mu
index 3c492d58..52302ef3 100644
--- a/shell/sandbox.mu
+++ b/shell/sandbox.mu
@@ -632,7 +632,7 @@ fn run-sandbox _self: (addr sandbox), globals: (addr global-table) {
   var keyboard-cell/eax: (addr handle cell) <- get self, keyboard-var
   rewind-keyboard-cell keyboard-cell  # don't clear keys from before
   #
-  read-evaluate-and-save-to-globals data-ah, eval-result-ah, globals, definitions-created, trace, screen-cell, keyboard-cell
+  read-evaluate-and-save-gap-buffer-to-globals data-ah, eval-result-ah, globals, definitions-created, trace, screen-cell, keyboard-cell
   # if necessary, initialize a new gap-buffer for sandbox
   {
     compare globals, 0