shithub: riscv

ref: 207cd2812f49e786a95184b296e82452fd7bd717
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
!