shithub: riscv

ref: a38e34bead8788b81def8ebe03683c2ce2edb576
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
!