From 2122e32f072378758c8a4c693036678300d40631 Mon Sep 17 00:00:00 2001 From: "Jakob L. Kreuze" Date: Fri, 27 Dec 2019 16:59:16 -0500 Subject: Improve error message for unrecognized instructions. --- asm.myr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'asm.myr') 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)) -- cgit v1.3