Index: trunk/mkopcode_spec.awk
===================================================================
--- trunk/mkopcode_spec.awk	(revision 565)
+++ trunk/mkopcode_spec.awk	(revision 566)
@@ -10,14 +10,18 @@
 /OPDEF/ {
 	if (started) {
-		sub(/".*"/, "")
+		name = "";
+		if (match($0, /"([^"]+)"/, m)) { 
+			name = m[1]; 
+		} 
+		sub(/"[^"]*"/, "");
 		if (!match($0, /EXT_([^ |]+).*OP[1S]_([^ |]+).*OP2_([^ |]+).*RES_([^ |)]+).*/, array)) {
 			print "error" $0
 			exit
 		}
-		comment = "";
-		if (match($0, /\/\* (\d+) \*\//, comments)) {
-			comment = comments[1];
+		id = "";
+		if (match($0, /\/\* *([0-9]+) *\*\//, comments)) {
+			id = comments[1];
 		}
-		printf "\tOPSPEC(%10s, %10s, %10s, %10s)%s\n", array[1], array[2], array[3], array[4], comment;
+		printf "\tOPSPEC(%10s, %10s, %10s, %10s) /* %s %-30s */\n", array[1], array[2], array[3], array[4], id, name;
 		next
 	}
