commit 34fbebfbdb9eefea9c87a4065b95aee8c454cdbb
parent 596504739eeeb3e90ba9f7615b1a9c81b2ed4326
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
}