commit 4cc4df3043b7a24d3f9b100057cf906039e79296
parent 1e2f20ad05210c6e797727b84a0ca8bf66421676
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Sat, 13 Jun 2020 18:41:11 +0200
as: Better error output
Mktbl creates the data needed for operands in every
architecture. This new error message is more helpful
in the case of problems with the compilation.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cmd/as/mktbl.awk b/src/cmd/as/mktbl.awk
@@ -92,7 +92,7 @@ function str2args(s, args, i, j, out, n, found)
if (!found) {
print FILENAME ":" NR ":" \
- $0 ":wrong arg", a > "/dev/stderr"
+ $0 ":wrong arg in opcode list", a > "/dev/stderr"
exit 1
}