ref: 137fa07a5497bf9394dea69c263f651695c900f9
parent: b087a9736048f974abbd068d4ef434c668dc6626
author: Roberto E. Vargas Caballero <[email protected]>
date: Fri Dec 15 06:41:30 EST 2017
[as] Add more information to error in as() Knowing the offending instruction is a good thing.
--- a/as/main.c
+++ b/as/main.c
@@ -59,7 +59,7 @@
break;
}
if (op == lim) {
- error("invalid operands");
+ error("invalid operands for '%s'", text);
return;
}
(*op->format)(op, args);