commit 5dd3570c988cbd1b3dc314bd3766e2b458116c97
parent ec8247497f31bd90ffefeeb077ecf6bec8d9e71c
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Fri, 15 Dec 2017 11:41:30 +0000
[as] Add more information to error in as()
Knowing the offending instruction is a good thing.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/as/main.c b/as/main.c
@@ -59,7 +59,7 @@ as(char *text, char *xargs)
break;
}
if (op == lim) {
- error("invalid operands");
+ error("invalid operands for '%s'", text);
return;
}
(*op->format)(op, args);