libk  errtbl.awk at [b9dd92f73e]

File arch/errtbl.awk artifact 4d84a940c1 part of check-in b9dd92f73e


BEGIN {
	FS=" "

	print "#ifndef KIplatform_error"
	print "#define KIplatform_error"
	print "enum k_platform_error {"
}

{ print "\t" $1 " = " $2 "," }

END {
	print "};"
	print "#endif"
}