ref: c79199da3e3565e28c2220a8474712a9fabc76e4
dir: /src/cmd/cc/cc2/generror.awk/
/^enum nerrors \{/ {print "char *errlist[] = {"; inhome = 1} inhome && /E[A-Z]*, / {sub(/,/, "", $1) printf("\t[%s] = \"", $1) for (i = 3; i <= NF-1; ++i) printf("%s%s", $i, (i == NF-1) ? "\"" : " ") print ","} inhome && /^}/ {print "};" ; inhome = 0}