shithub: riscv

ref: 20a1d2268d69a0bbe66d0f21999649133878377c
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
!