summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-05-31 18:04:11 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-05-31 18:04:11 -0700
commita488d2e3d4ffd9148083c30c318a4f127bca65f0 (patch)
tree609a9d7929d3413118ad6ae2195be151fe6d6877
parentd940980bde994778887d64e4c2b28dfcc95e75dc (diff)
downloadtxr-a488d2e3d4ffd9148083c30c318a4f127bca65f0.tar.gz
txr-a488d2e3d4ffd9148083c30c318a4f127bca65f0.tar.bz2
txr-a488d2e3d4ffd9148083c30c318a4f127bca65f0.zip
vm: bugfix: bungled no-block-visible diagnosis.
* vm.c (vm_no_block_err): Fix passing extra name argument to format that is not used in the format string.
-rw-r--r--vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index 05946b22..890ddf02 100644
--- a/vm.c
+++ b/vm.c
@@ -810,7 +810,7 @@ NOINLINE static void vm_no_block_err(struct vm *vm, val name)
else
eval_error(vm->vd->bytecode,
lit("return: no anonymous block is visible"),
- name, nao);
+ nao);
}
NOINLINE static void vm_retsr(struct vm *vm, vm_word_t insn)