summaryrefslogtreecommitdiff
path: root/asm.myr
diff options
context:
space:
mode:
Diffstat (limited to 'asm.myr')
-rw-r--r--asm.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/asm.myr b/asm.myr
index 250f242..2d2d172 100644
--- a/asm.myr
+++ b/asm.myr
@@ -129,7 +129,7 @@ const emitinstr = {p
;;
;;
| _:
- -> `std.Err("unrecognized instruction")
+ -> `std.Err(std.fmt("unrecognized instruction {}", p[0]))
;;
-> `std.Ok((b, mark))