shithub: scc

Download patch

ref: 34fbebfbdb9eefea9c87a4065b95aee8c454cdbb
parent: 596504739eeeb3e90ba9f7615b1a9c81b2ed4326
author: Roberto E. Vargas Caballero <[email protected]>
date: Sat Jun 13 14:41:11 EDT 2020

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.

--- a/src/cmd/as/mktbl.awk
+++ b/src/cmd/as/mktbl.awk
@@ -92,7 +92,7 @@
 
 		if (!found) {
 			print FILENAME ":" NR ":" \
-			      $0 ":wrong arg", a > "/dev/stderr"
+			      $0 ":wrong arg in opcode list", a > "/dev/stderr"
 			exit 1
 		}