diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-04-21 20:54:18 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-04-21 20:54:18 -0700 |
commit | a5e1a220fde080c0eb7ef2a09ee0a7e9362e5de4 (patch) | |
tree | 3e3b5bbf1095fd286f31e3ff7d6ac89d160d4f01 /shell/evaluate.mu | |
parent | c54b7e96307082fd3d67280acfcfc107553cda98 (diff) | |
download | mu-a5e1a220fde080c0eb7ef2a09ee0a7e9362e5de4.tar.gz |
shell: refuse to 'def' duplicate names
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 3e9cb6b6..e41459a4 100644 --- a/shell/evaluate.mu +++ b/shell/evaluate.mu @@ -191,7 +191,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 + append-global globals, first-arg-data-string, *out2, trace trace-higher trace return } |