shithub: riscv

ref: f35d5ee5b036b7b4fa59b1839f52fca15b7f99f9
dir: /sys/src/cmd/7l/mkcname/

View raw version
ed - l.h <<'!'
v/^	C_/d
g/^	C_NCLASS/s//&,/
g/[ 	]*=.*,/s//,/
v/,/p
,s/^	C_/	"/
,s/,.*$/",/
1i
char	*cnames[] =
{
.
,a
};
.
w cnam.c
Q
!