shithub: scc

Download patch

ref: ff68f635591d2e924681d45c8b1485ef02dc442f
parent: 1417acd1528ed0d2d51d5afe41647e8438b54a08
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Mon Dec 18 18:53:52 EST 2017

[as] Add some debug information in generated files

--- a/as/target/gen.awk
+++ b/as/target/gen.awk
@@ -50,6 +50,7 @@
 
 		print "struct op optab[] = {"
 		for (i = 0; i < nvar; i++) {
+			printf "\t/* %d */\n", i
 			printf "\t{\n" \
 			       "\t\t.size = %d,\n"\
 			       "\t\t.format = %s,\n",