diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-04-29 23:53:28 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-04-29 23:53:28 -0700 |
commit | 3385febc11dbe76ac86ef00992e7fdded19c58fc (patch) | |
tree | 4976cfa64913ba32ff4a13d226534911e68f7427 /shell/evaluate.mu | |
parent | d46c4b06b279e6dc43d2f8278cc91a8f2a137be4 (diff) | |
download | mu-3385febc11dbe76ac86ef00992e7fdded19c58fc.tar.gz |
shell: allow 'def' to overwrite
Diffstat (limited to 'shell/evaluate.mu')
-rw-r--r-- | shell/evaluate.mu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/evaluate.mu b/shell/evaluate.mu index 23ec8e3a..491a2022 100644 --- a/shell/evaluate.mu +++ b/shell/evaluate.mu @@ -199,7 +199,7 @@ fn evaluate _in: (addr handle cell), out: (addr handle cell), env-h: (handle cel stream-to-array first-arg-data, tmp-ah var first-arg-data-string/eax: (addr array byte) <- lookup *tmp-ah var out2/edi: (addr handle cell) <- copy out - append-global globals, first-arg-data-string, *out2, trace + assign-or-create-global globals, first-arg-data-string, *out2, trace trace-higher trace return } |